combobulate
aerial.nvim
Our great sponsors
combobulate | aerial.nvim | |
---|---|---|
16 | 34 | |
808 | 1,467 | |
- | - | |
9.4 | 8.7 | |
8 days ago | 6 days ago | |
Emacs Lisp | Lua | |
GNU General Public License v3.0 only | 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.
combobulate
-
Emacs 29.1 Released
Eh, I've been looking and haven't found anything for other editors that actually tries to use TreeSitter for anything beyond highlighting. The Emacs structural editing packages are still very WIP but at least they exist.
(And also some have been based on the out of tree implementation that's been around for a while now)
Example: https://github.com/mickeynp/combobulate
-
Indent with tree-sitter is nice
Looking at https://github.com/mickeynp/combobulate/blob/master/combobulate-python.el, it at the very least delegates to python-indent-calculate-levels, so the logic is mixed.
- Paredit-like features in non-lisp modes?
-
Could you guys share your experience with different python dev set-ups (elpy, lsp, etc)? What is more simple/beginer friendly?
I went from an old config rich setups from before lsp's to lsp-mode ones etc... Right now I would say that eglot + pylsp gives you the best experience, you can use pyenv and pyvenv mode to manage your virtual environments. Now that treesitter is also being used you can try out https://github.com/mickeynp/combobulate
-
ts-movement: a package to navigate the tree-sitter syntax tree (supports multiple-cursors)
I think the following packages would fit your wishlist, as it is very similar to mine. As mentioned in the replies, there is (https://github.com/magnars/expand-region.el) and (https://github.com/mickeynp/combobulate). I regularly use (https://github.com/Fuco1/smartparens).
-
noob question about tree-sitter in the presence of lsp-mode
re syntactic text objects: https://github.com/mickeynp/combobulate
-
paredit based on treesitter
I haven't used it, but based on the description, it looks like combobulate would be an example of this:
-
Ask HN: S/W development text editor have feature colorizing every iteration?
from github README.rst "Emacs package that provides a standardized framework for manipulating and navigating your source code using tree sitter's concrete syntax tree " -> https://github.com/mickeynp/combobulate
https://www.spacemacs.org/ with https://github.com/emacs-tree-sitter/elisp-tree-sitter then write a iterator/loop query for language(s) editing per https://tree-sitter.github.io/tree-sitter/syntax-highlightin...
tad less installation heavy (sorta) but also makes use of tree-sitter syntax queries : https://www.lunarvim.org (neovim with treesitter syntax)
blockman usage examples: https://www.youtube.com/channel/UC5539gDeAdWqeXcczWuhnBA
Alternative examples / takes (per user interface):
### embedding a block of source code in a document:
** carrotsearch.gethub.io/apidocs/code-blocks
-
Commercial-Emacs
I don't know what this fork brings to table, but you could try tree-sitter today with your vanilla Emacs using a package[1] that works via dynamic module.
Personally I am more interested in getting structural selection and navigation reliably working for any language. There is also a package named combobulate[2] to help with that.
[1] https://emacs-tree-sitter.github.io/
[2] https://github.com/mickeynp/combobulate
-
tree-sitter highlighting rocks
TIL https://github.com/mickeynp/combobulate Thank you, @snafuchs !
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 automatically switch focus to the newly opened aeiral buffer?
I am referring to the aerial plugin found [here[(https://github.com/stevearc/aerial.nvim)
-
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.
-
Introducing nvim-navbuddy! A simple popup window that provides breadcrumbs like navigation feature and more!
This would be amazing if i could open it in a buffer beside (or under...?) my current. Something akin to aerial.nvim.
- Neovim task-focused interface
-
Getting outline of manpage
Yup! Aerial.nvim supports man pages, LSP, treesitter, and markdown for outlining
-
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!
https://github.com/stevearc/aerial.nvim
What are some alternatives?
tree-sitter-org - Org grammar for tree-sitter
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
evil-textobj-tree-sitter - Tree-sitter powered textobjects for evil mode in Emacs
lsp-inlayhints.nvim
tree-sitter-norg - A TreeSitter parser for the Neorg File Format
overseer.nvim - A task runner and job management plugin for Neovim
commercial-emacs - "Evil will always triumph, because good is dumb." -- Spaceballs (1987)
nvim-navic - Simple winbar/statusline plugin that shows your current code context
neorg - Modernity meets insane extensibility. The future of organizing your life in Neovim.
wildfire.vim - Smart selection of the closest text object
smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
tagbar - Vim plugin that displays tags in a window, ordered by scope