syntax-tree-surfer
playground
Our great sponsors
syntax-tree-surfer | playground | |
---|---|---|
10 | 58 | |
455 | 780 | |
- | - | |
5.4 | 0.0 | |
3 months ago | 8 months ago | |
Lua | Lua | |
MIT License | Apache License 2.0 |
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).
-
Small Feature Update for Syntax Tree Surfer plugin: Go to the top most node and do something there
Plugin: https://github.com/ziontee113/syntax-tree-surfer
-
Extracting JSX into React component
You can use syntax-tree-surfer to select the parent.
playground
-
Changing capture groups in neovim treesitter
You can also install the treesitter-playground to learn about the queries.
-
Questions about how to write a treesitter query
I always use https://github.com/nvim-treesitter/playground to write my queries
-
Looking for Tree-sitter query documentations and guides
Are you using treesitter-playground? It's a great resource for making queries.
- Question about treesitter
-
If you want to follow ThePrimeagen 0 to LSP video at https://www.youtube.com/watch?v=w7i4amO_zaE&t=624s but have difficulty following it, I made a textfile of my experience.
In your browser got to 'https://github.com/nvim-treesitter/playground'.
-
How does TJ access this "tree"?
It's nvim-treesitter's playground plugin
-
Emacs Is Not Enough
What do you think about treesitter? https://github.com/tree-sitter/tree-sitter
The idea is to sync changes in the text to a tree structure, then have all the structure manipulation functions built on top of it. See the gif here for a visual representation: https://github.com/nvim-treesitter/playground
-
Neovim config from scratch (Part I)
If you are into compilers/ASP look into https://github.com/nvim-treesitter/playground and catch ThePrimeagen's vide around this timestamp.
-
TSPlayground issue with markdown + markdown_inline
here you go
-
tree-sitter playground
Awesome, it would be nice to have such feature inside emacs, like neovim has https://github.com/nvim-treesitter/playground (right now we have tree-sitter-debug-mode, but without interactivity)
What are some alternatives?
tree-climber.nvim
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler
nvcode-color-schemes.vim - A bunch of generated colorschemes (treesitter supported)
aerial.nvim - Neovim plugin for a code outline window
gruvbox-material - Gruvbox with Material Palette
react-extract.nvim - Neovim plugin for extracting jsx into React component
tree-sitter-scala - Scala grammar for tree-sitter
treesitter-unit - A Neovim plugin to deal with treesitter units
oceanic-next - Oceanic Next theme for neovim
nvim-treesitter-textobjects
doom-one.vim - A dark colorschme for vim, ported from doom-emacs' doom-one theme.