-
-
Notifications
You must be signed in to change notification settings - Fork 473
Closed
Closed
Copy link
Labels
Description
Vue - Official extension or vue-tsc version
2.1.6
VSCode version
1.93.1
Vue version
3.5.8
TypeScript version
5.6.2
System Info
System:
OS: Windows 11 10.0.22631
CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Memory: 17.34 GB / 31.85 GB
Binaries:
Node: 20.13.1 - C:\Program Files\nodejs\node.EXE
npm: 10.8.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (127.0.2651.74)
Internet Explorer: 11.0.22621.3527
package.json dependencies
{
"@incutonez/my-package": "^0.0.4",
"vue": "^3.5.8"
}
Steps to reproduce
- Clone my repo
- cd repo && npm i
- Goto App.vue
- Remove the imports
- Use the quick fix menu "ctrl+." to import TestValue successfully
- Try to use the quick fix menu to import ComponentA in the template, but see that it's not possible
- Manually start typing out the import for ComponentA in the script and see that the IDE allows you to auto-complete
What is expected?
I should be able to see my component's name in the quick fix menu. Maybe my custom package is set up incorrectly, but this seems like a tooling issue.
What is actually happening?
I can't see my component in the quick fix menu.
Link to minimal reproduction
https://github.com/incutonez/ide-import-issue
Any additional comments?
Here's a recording of what I'm talking about. I've also tried to import in IntelliJ, and I get the same issue that VSCode has.
Recording.2024-09-22.172535.mp4
teziovsky and baixiaoyu2997