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

Highlighting and intellisense randomly stopped working #1608

Closed
TerryDieckmann opened this issue Jul 20, 2022 · 3 comments
Closed

Highlighting and intellisense randomly stopped working #1608

TerryDieckmann opened this issue Jul 20, 2022 · 3 comments

Comments

@TerryDieckmann
Copy link

I've been using Volar for a while now but for a while now the auto-complete and highlighted colors for imported components (from eg npm packages) no longer work when using the Vue 3 Composition API. This has certainly worked.

The local components still work no matter which API I use in Vue 3.

What I notice is that when I use the Options API of Vue 3, and define the components property with the same component as I would have imported if I were using the Vue 3 Composition API, the auto-complete and the highlighted colors work like it is supposed to.

I only have these extensions enabled in Visual Studio Code:

Docker (v1.22.1)
ESLint (v2.2.6)
Volar (v0.38.9)

Nothing else. Downgrading didn't help and reloading/reinstalling didn't help either. Are there any other things I can try?

The photos below shows where it doesn't work:
image
image

The photo below shows where it does work:
image
image
image

@TerryDieckmann
Copy link
Author

Working example of auto-complete (using the Options API):
image

Example of non-working auto-complete (using the Composition API)
image

@TerryDieckmann
Copy link
Author

Uhm, now it's broken everywhere... It doesn't work now either when I use the options API. No highlighting, no auto-complete, nothing.

@johnsoncodehk
Copy link
Member

Do you still have this problem with v0.40.13 / v1.0.0-alpha?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants