vetur icon indicating copy to clipboard operation
vetur copied to clipboard

WSL 2 Setup doesn't offer autocompletion for Vuetify

Open flowreaction opened this issue 4 years ago • 4 comments

  • [✓] I have searched through existing issues
  • [✓] I have read through docs
  • [✓] I have read FAQ

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.

flowreaction avatar Oct 09 '20 19:10 flowreaction

We don't have a WSL2 environment. I think we need help.

yoyo930021 avatar Oct 10 '20 07:10 yoyo930021

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?

flowreaction avatar Oct 10 '20 16:10 flowreaction

The problem may be solve in new version. https://twitter.com/kazuyukimiyake/status/1336950473765470208?s=20

yoyo930021 avatar Dec 10 '20 08:12 yoyo930021

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

fahmiegerton avatar Dec 24 '21 03:12 fahmiegerton