VS Code IntelliSense will be lost in new created files
IntelliSense is working in existing files:
But when I create a new file (.js or .vue), vscode IntelliSense not working at all:
After disable Vue - Official extension, everything is ok. So I guess that's maybe this extension question.
What's going on with Vue in VSCode? The official extension is unusable.
@so1ve @johnsoncodehk
Tested in insiders and stable vscode and with/without empty profile:
- Creating a new vue file throws the following error:
Not sure why the tsserver can't find this file. It only works after closing and reopening the file. This error has been bugging me on and off even before version 2.0. Let me know if you need more information.
Huh, it works if I set typescript.tsserver.experimental.useVsCodeWatcher to false. Otherwise, the tsserver can't find newly created vue files. Might be relevant to you, @johnsoncodehk
Relevant: https://code.visualstudio.com/updates/v1_89#_file-watching-handled-by-vs-code-core
Created bug report @ vscode - I think they should be aware of the effects of the new default https://github.com/microsoft/vscode/issues/214226
Huh, it works if I set
typescript.tsserver.experimental.useVsCodeWatchertofalse. Otherwise, the tsserver can't find newly created vue files. Might be relevant to you, @johnsoncodehk
thanks. It's work.
Huh, it works if I set
typescript.tsserver.experimental.useVsCodeWatchertofalse. Otherwise, the tsserver can't find newly created vue files. Might be relevant to you, @johnsoncodehk
It works on me!
Fixed by https://github.com/volarjs/volar.js/pull/226.