Open
Description
Vue - Official extension or vue-tsc version
Vue extension 2.1.2, vue-tsc 2.1.2
VSCode version
1.90.2 (VSCodium 1.90.2.24171)
Vue version
3.4.34
TypeScript version
5.4.5
System Info
No response
Steps to reproduce
Same steps as in #4711
Minimal reproduction: https://github.com/codethief/tsconfig-playground/tree/0362154d1b9ab1260960016338f77db2a265ea92/2024-07-25-vue-setup-with-project-references
What is expected?
Same expectations as in #4711
What is actually happening?
VSCode / the Vue extension complains about imports from HelloWorld.vue
in HelloWorld.spec.ts
:
HelloWorld.vue is not listed within the file list of project […]/tsconfig-playground/2024-07-25-vue-setup-with-project-references/tsconfig.vitest.json'. Projects must list all files or use an 'include' pattern.
Compared to #4711,
- VSCode now does recognize a type error that I added to that file.
- VSCode now does provide code suggestions when using the imported type & component.
Meanwhile, vue-tsc on the command line works fine.
Link to minimal reproduction
Any additional comments?
Overall, this issue sounds very similar to the original #3526 whose fix led to(?) the aforementioned #4711.