Support Takeover mode
danielelkington opened this issue · 4 comments
The official Vue docs recommend using Takeover Mode when using TypeScript and Volar to improve performance. However when using Takeover Mode, VueDX is automatically disabled as it depends on the built-in "TypeScript and JavaScript Language Features" extension that must be disabled to allow Takeover Mode.
Can VueDX support Takeover Mode? Alternatively if this isn't possible could a note be added to the README advising that Takeover Mode cannot be used if using Volar?
VueDX is an alternative to Volar. They key difference being:
- Volar is implemented using language server protocol and it runs an embedded TypeScript language server.
- VueDX is implemented as a TypeScript server plugin and it enhances already running TypeScript server (in builtin TypeScript extension).
So you should use either one of these.
Use https://marketplace.visualstudio.com/items?itemName=znck.vue for syntax highlighting.
Thanks; all working now. Recommend adding a note to the docs about this project's relationship with Volar to avoid confusion 😃