inc-rename.nvim
refactoring.nvim
inc-rename.nvim | refactoring.nvim | |
---|---|---|
8 | 37 | |
548 | 2,580 | |
- | - | |
6.5 | 8.6 | |
5 days ago | 22 days ago | |
Lua | Lua | |
MIT License | 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.
inc-rename.nvim
- highlight-undo plugin
-
First PR using NeoVim, but need help moving forward
inc-rename.nvim uses the LSP rename functionality but provides live preview as well.
- Can I do a "live" rename with nvim-lsp?
-
Multi-cursor in place renaming symbol with preview
navigator.lua used to override vim.ui.input with guihua.lua input window to provide a GUI prompet for renaming. Inspired by inc-rename plugin smjonas/inc-rename.nvim, now, user can preview rename in the current buffer will be displayed in runtime with navigator.lua.
-
Neovim now has 'inccommand' preview support for multiple buffers
Thanks for that! Here's a fixed link for our friends on mobile: https://github.com/smjonas/inc-rename.nvim
-
Is there a plugin that provides a search and replace feature like on most GUI editors?
If you mean LSP renaming, then there is inc-rename.nvim (disclaimer: I am the author of that plugin) which will preview and highlight the new name of variables while you are typing.
-
I turned the incremental LSP rename command into a plugin
Since so many of you seemed to like my previous post on the incremental preview command (https://www.reddit.com/r/neovim/comments/v3ylyv/incremental_lsp_rename_command_based_on_neovims/), I turned this command into a plugin. The previous code had some bugs which should now be fixed. E.g. if an identifier is found multiple times on the same row, the highlights are correctly applied. Enjoy! https://github.com/smjonas/inc-rename.nvim
-
Incremental LSP rename command based on Neovim's brand-new command preview feature
Today is your lucky day :) https://github.com/smjonas/inc-rename.nvim
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
What are some alternatives?
searchbox.nvim - Start your search from a more comfortable place, say the upper right corner?
nvim-lsp-ts-utils - Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
live-command.nvim - Easily create previewable commands in Neovim.
react-extract.nvim - Neovim plugin for extracting jsx into React component
highlight-undo.nvim - Highlight changed text after Undo / Redo operations
rust.vim - Vim configuration for Rust.
neovim - Vim-fork focused on extensibility and usability
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
nvim-dap-ruby