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

Re-write extension to use reactive-vscode, align with Vue extension #790

Merged
merged 10 commits into from
Jan 16, 2025

Conversation

machty
Copy link
Contributor

@machty machty commented Jan 15, 2025

The Vue extension which runs atop Volar still has a number of tricks (hacks?) to get typed Vue in TS Plugin mode (aka hybrid mode) working properly. It'll be easier to follow along with these hacks if our extension has as similar a structure as possible.

To that end I've followed along with the Vue extension's refactor to use reactive-vscode. reactive-vscode uses Vue's composition API (similar to starbeam signals/computeds/etc) to provide a more user-friendly reactive layer over the more observer-centric VSCode extension API. It's a nice set of primitives on its on but more importantly this lets us follow Vue's extension logic/hackery more closely.

@machty machty merged commit 8a1788a into main Jan 16, 2025
2 checks passed
@machty machty deleted the reactive-vscode branch January 16, 2025 22:44
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

Successfully merging this pull request may close these issues.

1 participant