refactoring.nvim
nvim-lsp-ts-utils
refactoring.nvim | nvim-lsp-ts-utils | |
---|---|---|
37 | 30 | |
2,475 | 432 | |
- | - | |
8.8 | 8.0 | |
about 2 months ago | almost 2 years ago | |
Lua | Lua | |
MIT License | The Unlicense |
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.
refactoring.nvim
-
My 2024 PDE: NeoVim
Treesitter is a syntax parser that'll build a tree-like structure to enable anything from excellent syntax highlighting through to complex refactoring. There are so many creative ways you can use Treesitter, from jumping around text objects to commenting sections of code, it's a must-have in my books.
-
Refactoring tools
Is there any refactoring plugins for Neovim besides https://github.com/ThePrimeagen/refactoring.nvim?
-
change arguments of a function
refactoring.nvim is, that I know of, the closest we have to IDE-like refactoring features such as this, but does not have this feature. It would make C development much nicer imo. Perhaps a feature request there may gain traction.
-
What does it mean if TSNode:has_changes() returns true? (implementation of command-preview for refactoring.nvim)
I'm trying to make a naive implementation of command-preview for refactoring.nvim. Currently, my naive implementation is working (since the changes made to a buffer for previewing are discarded by neovim, I'm executing the plugin regularly in order to preview the changes and when the user submits the command to make the changes).
-
First PR using NeoVim, but need help moving forward
refactoring.nvim and null-ls.nvim may help
-
In neovim ,how to do refactoring python code?
refactoring.nvim is one option. Unfortunately what powers VSCode is the proprietary PyLance and AFAIK there is no way to "Move symbol to file (method will be moved) [and have imports renamed subsequently]".
- Discussion: what functionality is Vim missing?
-
New Plugin: ruby toolkit
Just a heads up, I added a lot of Ruby support in ThePrimeagen's Refactoring.nvim plugin some time ago. Covers a lot of what you've created and has support for lots of other languages too
-
Treesitter query language
It's a pain to learn. I used the online playground and also read a lot of the queries from popular plugins. I contributed Ruby support to refactoring.nvim which helped me learn a tonne too
-
neovim-related: Are there good refactor plugin for elixir?
You might be able to take the ruby one and make an elixir one. It uses tree-sitter queries which you would need to align up with the elixir, but the syntax is kinda close. See https://github.com/ThePrimeagen/refactoring.nvim/blob/master/lua/refactoring/treesitter/langs/ruby.lua
nvim-lsp-ts-utils
-
New plugin to support LSP file operations
Wow, cool plugin! Tsserver utils and tsserver extension support these operations https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils https://github.com/jose-elias-alvarez/typescript.nvim
-
Telescope sometimes takes me to the wrong line
Interesting, I work a lot in TypeScript and with inlay hints from nvim-lsp-ts-utils enabled i do have a lot of virtual text.
-
Neovim setup for fullstack web development with typescript.
I also recommend Comment.nvim along with nvim-ts-context-commentstring for easy commenting in mixed syntax files like vue SFCs. nvim-lsp-ts-utils also has some nice utility functions for typescript development.
- Is it possible make lsp definition preview more readable/pretty, and add colors or tree-sitter suport?
-
Is neovim good for webdevelopment?
That depends on your language server. I know the typescript language server has it. There is a plugin: https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils that I think can help.
-
What LSP are you using for ReactJS projects and does it have auto imports?
Hi, I just found out about this https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils , I might help you.
-
Typescript: Coc or Built-in LSP?
I would make a feature request on https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils, as this is not likely exposed via the protocol and would need to be implemented in a plugin.
-
Neo-tree now supports floating windows!
There is one “recipe” for tsserver: https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils/blob/main/lua/nvim-lsp-ts-utils/rename-file.lua
-
Anyone have tips to move from VS Code to Neo Vim for React development?
If you're working with React in TypeScript I'd also highly recommend nvim-lsp-ts-utils which adds some nice LSP features, for instance file renaming that automatically updates your module imports.
- Sort and remove redundant imports
What are some alternatives?
react-extract.nvim - Neovim plugin for extracting jsx into React component
typescript-language-server - TypeScript & JavaScript Language Server
rust.vim - Vim configuration for Rust.
vim-js-file-import - Import/require files in javascript and typescript with single button!
pyright - Static Type Checker for Python
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
nvim-treesitter-refactor - Refactor module for nvim-treesitter
vscode-eslint - VSCode extension to integrate eslint into VSCode
nvim-dap-ruby
nvim-autopairs - autopairs for neovim written in lua
neovim - Vim-fork focused on extensibility and usability
watchman - Watches files and records, or triggers actions, when they change.