You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried restarting VS Code or running Vetur: Restart VLS
Info
Platform: macOS
Vetur version: 0.19 -> 0.28.0 (I tried to downgrade through a lot of vetur versions but it still doesn't work)
VS Code version: 1.49 -> 1.50 (latest)
Problem
I can't call go to definition or peek definition of all methods when I have any computed property that was declared in the same vue instance, both call from script and template just showed "No definition found for...".
If I remove computed, It will work fine!
I also tried to removed all extensions and then reinstall both vscode and vetur but no luck.
You can check the reproduce repository below that I successfully reproduced.
Reproducible Case
Just install vscode and install only vetur and then try to create a method and a computed property that use this instance inside .vue file.
Vetur: Restart VLS
Info
Problem
I can't call
go to definition
orpeek definition
of all methods when I have any computed property that was declared in the same vue instance, both call fromscript
andtemplate
just showed "No definition found for...".If I remove
computed
, It will work fine!I also tried to removed all extensions and then reinstall both vscode and vetur but no luck.
You can check the reproduce repository below that I successfully reproduced.
Reproducible Case
Just install vscode and install only vetur and then try to create a method and a computed property that use
this
instance inside .vue file.Reproduce commit:
https://github.com/bahung1221/reproduce-vetur-intellisense/commit/088fef34b99c72dc20672e2c833f3ce5c66d9781
Thank you so much!
The text was updated successfully, but these errors were encountered: