4 ms·
Very detailed explanations. I learned a bunch about the syntax highlighting and code understanding in Helix & friends just from reading this. All the tree-sitt
by cadamsdotcom 1y ago
Very detailed explanations. I learned a bunch about the syntax highlighting and code understanding in Helix & friends just from reading this.
All the tree-sitter features and datastructures seem ideal for a query language to be bolted on - something that generalises beyond symbol search or “find all references” - guess since there’s an API this is a DSL for writing queries about your code.
Does something like this exist?
- hazn 1y agozed uses tree-sitter and has a powerful query engine (dsl is lisp scheme): https://zed.dev/blog/syntax-aware-editing#tree-queries https://zed.dev/blog/syntax-aware-editing#tree-queries
- teo_zero 1y agoDoes zed have anything like the 'locals' query that Helix has added in this version, according to TFA?