Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code IntelliSense will be lost in new created files #4424

Open
EsunR opened this issue May 29, 2024 · 6 comments
Open

VS Code IntelliSense will be lost in new created files #4424

EsunR opened this issue May 29, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@EsunR
Copy link

EsunR commented May 29, 2024

IntelliSense is working in existing files:

image

But when I create a new file (.js or .vue), vscode IntelliSense not working at all:

image

image

After disable Vue - Official extension, everything is ok. So I guess that's maybe this extension question.

@gustavotoyota
Copy link

What's going on with Vue in VSCode? The official extension is unusable.

@davidmatter
Copy link
Collaborator

@so1ve @johnsoncodehk
Tested in insiders and stable vscode and with/without empty profile:

  • Creating a new vue file throws the following error:
image

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.

@davidmatter
Copy link
Collaborator

davidmatter commented Jun 4, 2024

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

@davidmatter
Copy link
Collaborator

@davidmatter
Copy link
Collaborator

Created bug report @ vscode - I think they should be aware of the effects of the new default microsoft/vscode#214226

@xakoy
Copy link

xakoy commented Jun 14, 2024

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

thanks. It's work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants