Adapt to typescript-plugin approach
rchl opened this issue · comments
Rafał Chłodnicki commented
New version of Vue Language Tools is implemented using a typescript plugin rather than standalone server. We should support that approach.
(We shouldn't need to rush since it will take some time for it to iron out new issues)
Some ways of handling it:
- Let user use LSP-typescript and manually set up the plugin per project
- Bundle VLT plugin with LSP-typescript
- Support some way of auto-registering plugins with LSP-typescript so that it's possible for this package to register the plugin automatically when installed. (Q: will it be OK to enable the plugin even for non-vue projects or could it cause issues?)
- Like 3 but using a separate "LSP-typescript-vue-plugin" package (or whatever would be the appropriate name)
Ivan Nikolić commented
Is there any ETA when can we expect this?
It seems like issue with changes in related files is fixed with TS plugin approach.
Rafał Chłodnicki commented
I don't have time to work on that at the moment. Maybe in few months. But my current thinking is that it should:
- be a separate package like
LSP-typescript-vue
maybe to make it clear that it's a plugin toLSP-typescript
- not activate unless opted-in (how opt-in should work is to be determined)