Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Owlbear dependency? #28

Open
david-morris opened this issue Aug 20, 2024 · 3 comments
Open

Owlbear dependency? #28

david-morris opened this issue Aug 20, 2024 · 3 comments

Comments

@david-morris
Copy link

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.

@jasonwilliams
Copy link
Owner

jasonwilliams commented Aug 20, 2024

That's interesting, thank you. Getting a job at Microsoft is not necessary btw, they are working on Tree Sitter support microsoft/vscode#210475

@david-morris
Copy link
Author

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.

@jasonwilliams
Copy link
Owner

Syntax highlighting is indeed the first step, I believe the long term plan is to have some way to expose it to extensions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants