vetur
vetur copied to clipboard
WSL 2 Setup doesn't offer autocompletion for Vuetify
Info
- Platform: Windows10/WSL2
- Vetur version: 0.28.0
- VS Code version: 1.50.0
Problem
No autocompletion for Vuetify plugin. I am using Windows 10 and develop on the WSL2 engine which provides me with a Linux VM. To develop using VS Code I am using the Remote-WSL vscode extension. This allows me to code directly on the WSL2 engine using vscode and even install extension on the wsl2 instance.
Vetur doesn't offer any autocompletions using this setup.
Reproducible Case
This seems to be the case with the default veturpack setup after adding Vuetify. The development environment seems to be the problem.
We don't have a WSL2 environment. I think we need help.
checking the logs, I found this:
[exthost] [error] Error: ENOENT: no such file or directory, open 'C:\home\flowmotion\projects\sampleproject\package.json'
It seems, that vetur is using the wrong absolute path, as WSL wont be mounted there. Is it possible to tell Vetur an absolute Path in my jsconfig.json file?
The problem may be solve in new version. https://twitter.com/kazuyukimiyake/status/1336950473765470208?s=20
I still have this issue, not just vuetify, but the vue itself. Format on save take hours, no autocompletion, etc. Any way to fix this? Thanks