combobulate
vlfi
Our great sponsors
combobulate | vlfi | |
---|---|---|
16 | 9 | |
789 | 443 | |
- | - | |
9.4 | 0.0 | |
4 days ago | over 2 years ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | - |
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)
-
Indent with tree-sitter is nice
By default, tree-sitter major modes can't indent as much as you expected. I indented the block using this package: https://github.com/mickeynp/combobulate, which supports python-ts-mode and Lisp modes but does not support other C-like modes, yet.
It's python-ts-mode but the indent command was combobulate-python-indent-for-tab-command that actually uses the parsed tree: https://github.com/mickeynp/combobulate
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?
Check out combobulate. I haven't really tried it yet, but it seems to be exactly what you want. It's based on tree-sitter.
-
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:
vlfi
-
Text Editor Data Structures
That is essentially what VLF[1] does in Emacs. It reads in discrete chunks of the file at a time and doesn’t load the next one till you try to display it. Doesn’t require any fancy data structures, just some extra book keeping and mechanics.
-
Can't learn emacs, can't use anything else (rant)
That is an issue both related to Emacs' internal representation of buffers and modes working in the background on the data in buffers of very large files, for which there are some workarounds like vlf-mode. See for example (info "(emacs) Long Lines") for similar issues with long lines and a solution more similar to what all those other editors you mention are doing to mitigate the issue of large files and large lines.
-
Commercial-Emacs
You can edit gigabyte-large files with no trouble vlf.el https://github.com/m00natic/vlfi – though it's a bit of a separate universe, you have to use vlf-occur instead of occur to find matches over all gigabytes of the file
;; To have it offered when opening large files:
-
Using Emacs in an IDE World
You know how "there's an app for that" used to be a thing? Well, there's an elisp package for that: https://github.com/m00natic/vlfi
-
What do you miss the most from your previous editor/IDE after you moved to Emacs?
Theres always: https://github.com/m00natic/vlfi
-
Got rid of every other text editor on my Mac
I think you might enjoy this mode: vlfi. It is available in the standard Elpa package listing.
What are some alternatives?
emacs-libvterm - Emacs libvterm integration
tree-sitter-org - Org grammar for tree-sitter
evil-textobj-tree-sitter - Tree-sitter powered textobjects for evil mode in Emacs
tree-sitter-norg - A TreeSitter parser for the Neorg File Format
commercial-emacs - "Evil will always triumph, because good is dumb." -- Spaceballs (1987)
neorg - Modernity meets insane extensibility. The future of organizing your life in Neovim.
good-scroll.el - Attempt at good pixel-based smooth scrolling in Emacs
smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
ts-movement - Emacs 29+ minor mode for syntax tree navigation using Tree Sitter
helm-ag - The silver searcher with helm interface
emacs-from-scratch - An example of a fully custom Emacs configuration developed live on YouTube!