When there are a lot of ts files in the project, vue official will still use vue3's v-for syntax rule (vue33) to detect vue2 code. #4292
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
Sorry to bother you again, still a continuation of question #3959, #4242.
After the commit: 32b7c72 merge, it did resolve #4242 issue in projects with few ts files, but my project has tons of ts files.
In this repo: https://github.com/curlykay/vue2-volar, I added "node_modules/**/*.ts" to the "include" in tsconfig and removed the "exclude" to simulate a project with a lot of ts files(Note: This is just for simulating projects with lots of ts files, my real projects have normal tsconfig configurations!--even so the loading time for initializing the ts/js service for my real project is still longer than that repo😅).
Then both "Developer: Reload Window" and "Vue: Restart Vue and TS servers" will trigger this error
2024-04-23.18.49.45.mov
2024-04-23.18.50.31.mov
env:
os: macos 14.4.1
vscode: 1.88.1
Vue Official: 2.0.14
vue: 2.7.16
typescript: 5.4.4
tsconfig.vueCompilerOptions.target: 2.7
The repo provides a vsocde
code-profile
file, which can be imported to get a clean plugin configuration.The text was updated successfully, but these errors were encountered: