Skip to content

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

Merged
machty merged 10 commits intomainfrom
reactive-vscode
Jan 16, 2025
Merged

Re-write extension to use reactive-vscode, align with Vue extension#790
machty merged 10 commits intomainfrom
reactive-vscode

Conversation

@machty
Copy link
Copy Markdown
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
@machty machty deleted the reactive-vscode branch January 16, 2025 22:44
@github-actions github-actions Bot mentioned this pull request Mar 23, 2025
@NullVoxPopuli NullVoxPopuli added the breaking A breaking change label Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking A breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants