syntax-tree-surfer
aerial.nvim
Our great sponsors
syntax-tree-surfer | aerial.nvim | |
---|---|---|
10 | 34 | |
450 | 1,409 | |
- | - | |
5.4 | 8.7 | |
about 2 months ago | 5 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.
syntax-tree-surfer
-
Select text using Treesitter Queries and start typing right away with SelectEase.nvim
Your config, tree-surfer or nvim-treesitter-textobjects follow nodes using the syntax tree. Go to parent / child / next siblings ect....
-
mini.move - Move any selection in any direction
Cool stuff. It might be worth adding this one to a comparison/alternatives list: https://github.com/ziontee113/syntax-tree-surfer
-
What's the one plugin you'd love to see?
The closest to "treesitter-powered jumps" plugin I know is ziontee113/syntax-tree-surfer. Don't use it personally, but video demos look cool.
-
Ask HN: S/W development text editor have feature colorizing every iteration?
treesitter / neovim:
different code block indicators styles : https://github.com/lukas-reineke/indent-blankline.nvim#with-...
collapse / expand / navigate between code blocks : https://github.com/stevearc/aerial.nvim
not exactly colorize, but can customize to just show iteration / loop processes : https://github.com/ziontee113/syntax-tree-surfer
- Syntax Tree Surfer now supports Dot Repeat for Swapping nodes in Normal Mode
-
What do you use treesitter for other than highlighting?
I personally use it for an outline window for my code (aerial.nvim) and quick-selecting code blocks (nvim-treesitter-textsubjects). I've also seen but not used syntax-tree-surfer for code navigation/manipulation and refactoring.nvim for performing refactoring operations. You could also check out awesome-neovim and ctrl-f for "treesitter", though there are many other plugins out there either not on that list or that don't explicitly mention treesitter in their description.
-
How Neovim helped me to grow up as a developer, and a person.
I published syntax-tree-surfer a while ago didn't know that anyone will be interested to use it. Turns out people do enjoy what I do. When I was in school I didn't feel like I mattered to other people. Now I feel like I do, there are people out there that cares about me, giving me help, advices, etc.. It's just really amazing!
-
tree-climber.nvim - climb around the treesitter tree
I admit, the functionality is blatantly similar to syntax-tree-surfer, but tree-climber should work also in files with comments as well (unfortunately, I could not make syntax-tree-surfer work in my neovim setup at all).
-
Extracting JSX into React component
You can use syntax-tree-surfer to select the parent.
aerial.nvim
-
What's this type of plugin called? (it shows the structure of code)
I tried aerial.nvim the other day and it's pretty cool. Haven't tried lspsaga yet so I'm not sure if it fits the same purpose.
-
Configuration passed to plugin's setup is not persistent
I am using aerial found here and I really like it except that when I press a function, it doesn't close the window. And I had thought I fixed it with
-
How do you jump to the beginning of a function
I use https://github.com/stevearc/aerial.nvim, it knows which is the current function. I currently open the telescope display and just press "enter", but AerialPrev would work just as well.
-
Please inform me of the plugin(s) enabling these two features
First one could be lualine and Aerial.
-
Navigation between functions
I also use ]m, but itโs not a very good way to choose and move to functions quickly and with intention. Options include aerial.nvim, symbols-outline.nvim, and the new nvim-navbuddy, from the developer who made nvim-navic.
- Neovim task-focused interface
-
AstroNvim/AstroNvim: AstroNvim is an aesthetic and feature-rich Neovim config
AstroNvim is using aerial.nvim which is a great code outline plugin. It has several supported backends on top of LSP and Treesitter it also supports Man page structure and Markdown structure explicitly. We also use the API for building the breadcrumbs at the top of each window as well!
- How do I get this little tree like hierarchy of the code on the top?
-
Can't find plugin that shows all functions on the right
You might want aerial.nvim
-
Can i show this in NvimTree ?
I use aerial.nvim for this, though I have been debating making an extension for Neo-tree to do this
What are some alternatives?
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
lsp-inlayhints.nvim
overseer.nvim - A task runner and job management plugin for Neovim
nvim-navic - Simple winbar/statusline plugin that shows your current code context
wildfire.vim - Smart selection of the closest text object
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
vista.vim - :cactus: Viewer & Finder for LSP symbols and tags
tagbar - Vim plugin that displays tags in a window, ordered by scope
tree-climber.nvim
SchemaStore.nvim - ๐ JSON schemas for Neovim
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua.