Skip Navigation
xq_icebreaker @lemmy.ml indieterminacy @lemmy.ml

Combobulate: Structured Movement and Editing with Tree-Sitter

www.masteringemacs.org Combobulate: Structured Movement and Editing with Tree-Sitter

Combobulate is a package that adds advanced structured editing and movement to many programming modes in Emacs. Here's how it works, and how it can enrich your editing experience in Emacs.

Combobulate: Structured Movement and Editing with Tree-Sitter

Just discovered Combobulate:

Combobulate takes the syntax tree created by tree-sitter and uses it to provide structured editing and movement. It can do it better than traditional, imperative or regexp-based approaches, because it has a perfect understanding of your code. That means there’s never any ambiguity as to whether { ... } is a statement block or an object in Javascript, for example.

https://www.masteringemacs.org/article/combobulate-structured-movement-editing-treesitter

https://github.com/mickeynp/combobulate

c/o https://social.coop/@[email protected]/109788552701305561

Im looking forward to Emacs 29 maturing so that I can utilise this functionality.

0
0 comments