A Neovim plugin for incremental LSP renaming with live preview using Neovim's command-preview feature.
inc-rename.nvim is a Neovim plugin that provides incremental renaming functionality using the Language Server Protocol (LSP). It allows developers to rename variables, functions, and other identifiers with live visual feedback, showing changes across files in real-time as they type the new name. This solves the problem of uncertain refactoring by making renaming operations predictable and interactive.
Neovim users who regularly refactor code and want a safer, more visual renaming experience integrated with LSP. It's particularly useful for developers working on larger codebases where renaming spans multiple files.
Developers choose inc-rename.nvim because it leverages Neovim's native command-preview feature for zero-lag feedback, requires minimal configuration, and integrates smoothly with existing Neovim ecosystems like noice.nvim and dressing.nvim. Unlike basic LSP rename, it provides incremental previews that prevent mistakes before committing changes.
Incremental LSP renaming based on Neovim's command-preview feature.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Leverages Neovim's built-in command preview feature to show changes in real-time as you type, making refactoring safer by visualizing impacts instantly.
Integrates smoothly with popular Neovim UI plugins like noice.nvim and dressing.nvim, enhancing the interface without adding external dependencies.
Automatically uses the word under the cursor as the starting point for renaming, reducing manual input and speeding up the workflow as shown in the usage examples.
Handles renaming across multiple files with a preview buffer displaying all affected identifiers, detailed in the customization section with examples.
Has known conflicts with plugins like traces.vim and language servers such as custom-elements-languageserver, which can break functionality and require workarounds.
Requires at least Neovim 0.8, limiting usability for users on older versions or other editors like Vim that lack command preview features.
Achieving optimal integration with UI plugins like dressing.nvim requires additional setup and customization, which might be complex for casual users.