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

vscode dont see vue-router auto import or vue3 #963

Closed
productdevbook opened this issue Feb 14, 2022 · 1 comment · Fixed by volarjs/volar.js#24
Closed

vscode dont see vue-router auto import or vue3 #963

productdevbook opened this issue Feb 14, 2022 · 1 comment · Fixed by volarjs/volar.js#24
Labels
enhancement New feature or request

Comments

@productdevbook
Copy link
Contributor

It doesn't detect any import library on the vue side.

image

@johnsoncodehk johnsoncodehk added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Mar 1, 2022
blake-newman added a commit to blake-newman/volar.js that referenced this issue Mar 20, 2023
Enable auto import by creating a real TS project and project service
proxing the project methods to the languageServerHost.

As we use a real project behind the scenes the language host no longer
needs the auto import cache package to decorate as the project itself
provides the module specifier and import caching behaviour.

fixes: volarjs#19
fixes: vuejs/language-tools#963
fixes: vuejs/language-tools#1738
blake-newman added a commit to blake-newman/volar.js that referenced this issue Mar 22, 2023
Enable auto import by creating a real TS project and project service
proxing the project methods to the languageServerHost.

As we use a real project behind the scenes the language host no longer
needs the auto import cache package to decorate as the project itself
provides the module specifier and import caching behaviour.

fixes: volarjs#19
fixes: vuejs/language-tools#963
fixes: vuejs/language-tools#1738
blake-newman added a commit to blake-newman/volar.js that referenced this issue Mar 22, 2023
Enable auto import by creating a real TS project and project service
proxing the project methods to the languageServerHost.

As we use a real project behind the scenes the language host no longer
needs the auto import cache package to decorate as the project itself
provides the module specifier and import caching behaviour.

fixes: volarjs#19
fixes: vuejs/language-tools#963
fixes: vuejs/language-tools#1738
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants