Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →
Nvim-treesitter-refactor Alternatives
Similar projects and alternatives to nvim-treesitter-refactor
-
vim-illuminate
illuminate.vim - (Neo)Vim plugin for automatically highlighting other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
-
nvim-ts-rainbow
Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead
-
refactoring.nvim
The Refactoring library based off the Refactoring book by Martin Fowler
-
trouble.nvim
🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
-
nvim-treesitter
Nvim Treesitter configurations and abstraction layer
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
-
vscode-blockman
VSCode extension to highlight nested code blocks
-
LunarVim
🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
-
-
-
twilight.nvim
🌅 Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing using TreeSitter.
-
nvim-treesitter-textsubjects
Location and syntax aware text objects which *do what you mean*
-
-
-
-
doom-nvim
A Neovim configuration for the advanced martian hacker [Moved to: https://github.com/doom-neovim/doom-nvim] (by NTBBloodbath)
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
nvim-treesitter-refactor reviews and mentions
-
Looking for a cursor highlighting plugin posted recently
These days though I'm using the https://github.com/nvim-treesitter/nvim-treesitter-refactor plugin. It goes one step further and only highlights the matches that are in the same scope. Makes a big difference in a lot of programming languages where you use the same variable named in a lot of smaller functions/methods right next to each other.
-
Anything like Blockman in Neovim?
My desires are not sated, but it seems quite nice. (I recall treesitter-refactor has a similar scope highlighter, but it could be a bit aggressive near root scope -- this might be a more gentle version.
-
How to highlight the symbol under the cursor?
check https://github.com/nvim-treesitter/nvim-treesitter-refactor/
-
Very slow input latency for haskell when treesitter highlighting is enabled
Treesitter performance is a hard problem. First, check the following: 1. Do you use nvim_treesitter#foldexpr()? Try not to use foldmethod=expr in insert mode. Or just switch to nvim-ufo. 2. Do you use nvim-treesitter-refactor's highlight_definitions or highlight_current_scope? These features do slower the performance. Try to disable these features. 3. I've heard some language parser is not good in terms of performance. Since I don't write haskell, I can't help you here. But you can create issue in nvim-treesitter.
-
Looking for treesitter-based (but not LSP-based) plugins with commands like "hover documentation"
For instance, with plugins like nvim-treesitter-refactor and ray-x/navigator.lua, you can use a bunch of commands like "go to definition" and "smart rename" without an LSP server.
-
What do you use treesitter for other than highlighting?
TS Refactor
-
Is there any plugin to highlight occurences of a value under cursor?
If you have treesitter, you can use nvim-treesitter-refactor. It has the highlight_definitions option that will highlight the definitions of a variable.
-
What’s your home office setup?
Oh! I've actually never tried Emacs text navigation. My brief stint with Emacs was with Spacemacs (w/ the evil-mode plugin). If I knew any lisp when I had given Spacemacs a whirl then there's a chance I may have stuck with it. I've played with Clojure a bit. Ah, it appears that you're a data-eng -- heavy on the Python. Are you trying to mimic something that PyCharm provides? I'm just happy that LSP has come where it has in such little time and that's already improved working with code in various languages quite a bit. Neovim moves incredibly fast and having LuaJIT with support for Lua had completely opened the floodgates for ports of old Vim plugins and made way for newer ones with floating windows/floating terminals. There are two projects each with hundreds of stars on GitHub meant to mimic or one-up org-mode (one has an entirely new spec) with immense development activity. The one-up that Neovim has over Vim presently is tree-sitter (because the core team wrote a wrapper) and exposes a Lua interface for plugin devs that want to use it. It's been neat for themes and my new favorite find-and-replace plugin (https://github.com/nvim-treesitter/nvim-treesitter-refactor). Because there's type data coming from the AST, it's much less likely to have accidental replacements (if at all). It looks like Emacs is making some headway here, though: https://github.com/emacs-tree-sitter
-
Does anyone have any examples of how to use vim.lsp.util.buf_highlight_references()?
You can also navigate between the highlights using treesitter-refactor: https://github.com/nvim-treesitter/nvim-treesitter-refactor
- What all can I do with treesitter in neovim ?
-
A note from our sponsor - SonarLint
www.sonarlint.org | 8 Feb 2023
Stats
nvim-treesitter/nvim-treesitter-refactor is an open source project licensed under Apache License 2.0 which is an OSI approved license.
Popular Comparisons
- nvim-treesitter-refactor VS nvim-treesitter-textobjects
- nvim-treesitter-refactor VS nvim-ts-rainbow
- nvim-treesitter-refactor VS vim-illuminate
- nvim-treesitter-refactor VS indent-blankline.nvim
- nvim-treesitter-refactor VS trouble.nvim
- nvim-treesitter-refactor VS refactoring.nvim
- nvim-treesitter-refactor VS nvim-lspconfig
- nvim-treesitter-refactor VS LunarVim
- nvim-treesitter-refactor VS monokai.nvim
- nvim-treesitter-refactor VS betaflight-tx-lua-scripts