Open haberdashPI opened 2 months ago
Hey there!
tools.ts
taking care of a lot of the work (like importing text objects from Helix). The feature set seems satisfying to me. I know there is a "WIP" label in the README, but it's mostly there because I want to be open to changes and feedback in case the API / developer experience could be significantly improved..wasm
files which are loaded lazily when a query is issued in a document of a particular language. With 10 languages, the .vsix
weighs ~700KB, with individual .wasm
files weighing from 30KB to 1.6MB (so .wasm
files compress pretty well). If support for even more languages were to be added (let's say 20 languages, which could bring the extension >1MB), one option would be to release separate extensions on the marketplace, each of which depends on a "core" Tree Sitter extension. I feel like the user experience wouldn't be great, though (notably if breaking changes are introduced), so maybe instead they could be downloaded by the extension automatically, but that feels iffy from a security perspective (although many extensions behave this way).Thanks for the thoughtful answers @71! I might try this out with my own keybinding setup.
Hi there, I'm interested in incorporating tree-sitter queries into my keybindings, and have been thinking about how to do this.
I'm wondering what the status of this package is, and what your experience has been like, attempting to make use of tree-sitter queries in VSCode.
Just curious about any insight you've gained in trying to do this.