KDAB / knut

Knut is an automation tool for code transformation using scripts.
Other
5 stars 8 forks source link

Add "select larger syntax node" and "select smaller syntax node" #64

Open narnaud opened 1 week ago

narnaud commented 1 week ago

In the C++ menu, we have something call Select Block Up... It would be nice to move that to CodeDocument, and implement it with TreeSitter with "select larger syntax node" and "select smaller syntax node".

That would make it way more useful.

Ideas coming from this blog: https://zed.dev/blog/syntax-aware-editing