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

Intellisense breaks when you import a component. #1766

Closed
boid-com opened this issue Aug 26, 2022 · 1 comment
Closed

Intellisense breaks when you import a component. #1766

boid-com opened this issue Aug 26, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@boid-com
Copy link

Repro

yarn global add @quasar/cli
yarn create quasar

After creating the new quasar project and install dependencies, open src/layouts/MainLayout.vue in vscode with Volar 0.40.0+ and you will see that component data is any type in this file.

image

Inspect the src/components/EssentialLink.vueand see it's working properly there.

image

In MainLayout.vue I found that if I removed the imported component then intellisense starts working again in that file.

Workaround

If you downgrade to 0.39.5 the problem is resolved.

image

Note

It took me a few hours to track this issue down, and looking at previous issues in this repo, I see many comments about Intellisense breaking in edge cases. Maybe it would be good to add some more information to the docs around Intellisense debugging or common issues.

@johnsoncodehk
Copy link
Member

Duplicate of #1731

@johnsoncodehk johnsoncodehk marked this as a duplicate of #1731 Aug 27, 2022
@johnsoncodehk johnsoncodehk added the duplicate This issue or pull request already exists label Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants