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

Import autocomplete does not suggest components while typing the path #1304

Closed
olivervorasai opened this issue May 13, 2022 · 6 comments
Closed
Labels
bug Something isn't working

Comments

@olivervorasai
Copy link

Environment

Visual Studio 1.67.1 (cleared settings.json)
Volar 0.34.14 (no settings changed)
johnsoncodehk/volar-starter

Describe the bug

While typing the path portion of an import, Volar does not suggest components. Although I am not sure if this is something that Volar isn't suppose to support.

Example 1

image
App.vue does not show up as a suggestion.

Example 2

image
HelloWorld.vue does not show up as a suggestion.

Other Notes

The autocomplete does work when typing the name portion of the component.
image

@johnsoncodehk
Copy link
Member

Thanks for the report, but I can't reproduce this problem in https://github.com/johnsoncodehk/volar-starter.

螢幕截圖 2022-05-22 19 17 10

Could you provide the vscode info by Help: About command?

@olivervorasai
Copy link
Author

Could you provide the vscode info by Help: About command?

Version: 1.67.2 (user setup)
Commit: c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5
Date: 2022-05-17T18:15:52.058Z
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Windows_NT x64 10.0.19042

I wonder if this is a windows issue?

@the-tech-stack
Copy link

I am also facing same issue but in a JavaScript environment.
So, I also installed vetur to see if there is something wrong with my editor/environment.

This is the result with volar enabled (vetur disabled):
volarEnabled

This is the result with vetur enabled (volar disabled):
veturEnabled

Here is my setup info:

  • Version: 1.67.2 (user setup)
  • Date: 2022-05-17T18:15:52.058Z
  • Electron: 17.4.1
  • Chromium: 98.0.4758.141
  • Node.js: 16.13.0
  • V8: 9.8.177.13-electron.0
  • OS: Windows_NT x64 10.0.17763

@johnsoncodehk
Copy link
Member

I'm assuming this is an issue on windows, will switch environments to check it out later.

@johnsoncodehk johnsoncodehk added bug Something isn't working and removed need info labels May 28, 2022
@johnsoncodehk
Copy link
Member

@GentleSevenV
Copy link

that is still not working in Volar 0.38.5

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