Open david-morris opened 2 months ago
That's interesting, thank you. Getting a job at Microsoft is not necessary btw, they are working on Tree Sitter support https://github.com/microsoft/vscode/issues/210475
I don't understand; that looks like they want to use tree-sitter for syntax highlighting? I don't see anything in that issue about exposing the AST to addons.
Syntax highlighting is indeed the first step, I believe the long term plan is to have some way to expose it to extensions
The readme mentioned that some of the limitations of this extension are caused by VSCode not exposing the AST.
That makes sense. To get the AST ourselves, we'd either have to get a job at Microsoft, or build Tree-Sitter as a WASM and figure out how to get it working inside a VSCode addon.
Fortunately, someone's already done the latter. It's called owlbear and I am curious as to whether the two addons could tap into each others' communities.