typescript.nvim
nvim-ts-context-commentstring
Our great sponsors
typescript.nvim | nvim-ts-context-commentstring | |
---|---|---|
32 | 26 | |
497 | 1,045 | |
- | - | |
0.0 | 6.7 | |
9 months ago | 6 days ago | |
TypeScript | Lua | |
The Unlicense | 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.
typescript.nvim
-
null-ls will be archived
typescript.nvim will also be archived
-
[TS LSP] "go to source definition"
typescript.nvim has an option to "Go To Source Definition".
-
typescript-tools.nvim - The TypeScript Integration NeoVim Deserves
Same question here: how does it compare to typescript.nvim?
-
Add all missing imports
Im using this plugin, and here is the code, when for example copy some code, and save the file import all missing files, organize imports and remove unused code automatically:
-
Add all missing imports from lsp server
It depends on your language server. Tssever has this functionality builtin into it, you need typescript.nvim to use it
-
Need some guidance on how to tweak a piece of the config
I would suggest installing jose-elias-alvarez/typescript.nvim. It provides commands like TypescriptOrganizeImports, TypescriptAddMissingImports, TypescriptRenameFile and TypescriptGoToSourceDefinition
-
Go to definition in React
Try to use with this typescript.nvim
-
How to change tsserver preferences key using LSP?
The options injection system works properly for other languages. So I think this is some kind of tsserver configuration thing I'm missing. I also checked typescript.nvim but it seems to only provide commands like :TypescriptOrganizeImports that I already get using lsp.
- How can I get the return type of a function?
- Newbie here! TS monorepo setup question!
nvim-ts-context-commentstring
-
Trying to set up a dev environment for Vue.js in Astrovim
I work with Vue every day, but I don't use AstroNvim. The Volar language server with Take Over Mode works great for me. I don't know what exactly is broken for you when commenting, but my plugin nvim-ts-context-commentstring works for setting the correct commentstring in the Vue single file component sections with Treesitter.
-
Comment your code more efficiently in Neovim
Fair enough, although this helps a lot with this issue.
-
What is the best commenter for tsx, jsx and css files with lua config
I haven't tried mini, but judging by the README he would also have to use a plugin the likes of nvim-ts-commentstrung in a p re / post hook to get the adequate comment string in files with multiple languages.
- How to surround a paragraph with multiple charaters/symbols?
-
Commenting both erb and handlebars files
I use https://github.com/JoosepAlviste/nvim-ts-context-commentstring with vim-commentary
-
JavaScript and CSS in HTML files
I think you could use Comment.nvim combine with nvim-ts-context-commentstring like explained in this video
-
Is it possible to configure nvim_comment to change the way it comments if I am inside a jsx/tsx block or outside a jsx/tsx block?
you should be able to integrate it with nvim-ts-context-commentstring as specified in the nvim-comment README
-
Svelte commenting
Are you using nvim-ts-context-commentstring?
-
Plugin suggestion
You can try using comment + context-comment, I've found it better for treesitter supported code commenting personally.
-
Context commenting not woking on ReactJs
I'm using Context Commentstring & Comment.nvim together.
What are some alternatives?
nvim-oxi - :link: Rust bindings to all things Neovim
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
nvim - A non-minimal Neovim config built to work most efficiently with Frontend Development
Comment.nvim - :brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more
neodev.nvim - 💻 Neovim setup for init.lua and plugin development with full signature help, docs and completion for the nvim lua API.
tcomment_vim - An extensible & universal comment vim-plugin that also handles embedded filetypes
nvim-lsp-ts-utils - Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
vim-context-commentstring - Vim plugin that sets the value of ‘commentstring’ to a different value depending on the region of the file you are in.
DotFiles
neovim - Vim-fork focused on extensibility and usability
vim-efm-langserver-settings - vim lsp client - efm-langserver link and configure settings
kommentary - Neovim commenting plugin, written in lua.