ktsn / vuex-class

Binding helpers for Vuex and vue-class-component
MIT License
1.73k stars 86 forks source link

Support for goto definition in tsserver and Vetur #62

Open vegerot opened 4 years ago

vegerot commented 4 years ago

vetur and WebStorm have slowly been adding language server support for vuex. In WebStorm 2020.1, pressing "Goto definition" on a line like this.$store.dispatch('foo/bar') will successfully take you to that action's definition. Vetur for LSP is working on the same functionality.

However, neither of these support vuex-class. Being able to quickly goto reference, or look up types, etc. is a great feature. Is there any plans to add LSP support for vuex-class, either now or after Vue 3 is released?