dotfiles
vim-js-file-import
Our great sponsors
dotfiles | vim-js-file-import | |
---|---|---|
7 | 2 | |
4 | 141 | |
- | - | |
6.3 | 4.4 | |
about 1 month ago | 7 months ago | |
Shell | Vim Script | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
- What's the best way to add lint fixing and formatting on save with lsp zero?
-
What’s your ya combination of lsp, linter and formatter for JS?
I never figured out null-ls for some reason but currently use formatter.nvim to run prettier on save... I do have eslint and typescript diagnostics ...setup looks like this for lsp https://github.com/cmdcolin/dotfiles/blob/master/lua/settings.lua and this for formatting https://github.com/cmdcolin/dotfiles/blob/master/lua/formatting.lua is
- autoformat with lsp-zero
-
Advice on switching from CoC to LSP
personally, i have not had a good experience with integrating eslint, and the prettier experience required some hand-rolling my own config. methods like null-ls never seemed to click with me, so i don't use it. i have auto-format-on-save with prettier using formatter.nvim. my setup https://github.com/cmdcolin/dotfiles
-
What LSP are you using for ReactJS projects and does it have auto imports?
generally for autoimports I have to hit tab and it brings up an auto-complete popup menu next to the cursor, and then it will auto-import the thing I selected from the auto-complete. I don't have any special code that does this in my config afaik so it might be something lsp helps with https://github.com/cmdcolin/dotfiles/blob/master/.vimrc
- I'm searching for nvim configs of react/js developers
-
How to switch from CoC to built in Nvim-LSP?
I was starting to do this here https://github.com/cmdcolin/dotfiles/pull/1/files
vim-js-file-import
-
What LSP are you using for ReactJS projects and does it have auto imports?
Does this Auto Import exists at all? I'm currently using a plugin called kristijanhusak/vim-js-file-import, which uses ctags to auto import React Components. But when it comes to React Hooks, like import React, {useState} from "react" I'll have to manually type those in.
- Sort javascript imports by path
What are some alternatives?
prettierd - prettier, as a daemon, for improved formatting speed.
nvim-lsp-ts-utils - Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
CNvim - A lightweight Neovim config for web development
tsuquyomi - A Vim plugin for TypeScript
dotfiles
vim-import-cost - 🏋️♂️ Display the import size of the JavaScript packages in Vim!
vim-config - Lean mean Neovim machine, carefully crafted with :heart: Use with latest Neovim.
context.vim - Vim plugin that shows the context of the currently visible buffer contents
neovim - [Moved to: https://github.com/catgoose/nvim]
targets.vim - Vim plugin that provides additional text objects
dotfiles - :house: Personal dotfiles for *NIX systems
vjs - Missing javascript refactoring tools for nvim