Closed wlonghaha closed 2 months ago
2.1.6
1.93.1
3.4.37
5.7.20-dev
System: OS: Windows 11 10.0.26100 CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor Memory: 18.31 GB / 23.93 GB Binaries: Node: 22.8.0 - C:\Program Files\nodejs\node.EXE npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD pnpm: 9.10.0 - ~\AppData\Roaming\npm\pnpm.CMD Browsers: Edge: Chromium (128.0.2739.79)
"dependencies": { "vue": "^3.4.37" }, "devDependencies": { "@vitejs/plugin-vue": "^5.1.2", "typescript": "^5.5.3", "vite": "^5.4.1", "vue-tsc": "^2.0.29" }
1、新建vue项目: pnpm create vite --template vue-ts my-project 2、切换到HelloWorld.vue文件,光标停留在count变量上,所有count变量没有高亮 3、在main.ts进行测试,高亮显示
pnpm create vite --template vue-ts my-project
HelloWorld.vue
count
main.ts
同一个变量应该具有高亮
同一个变量应该没有高亮
No response
thank's your job!❤
Duplicate of #4850
Vue - Official extension or vue-tsc version
2.1.6
VSCode version
1.93.1
Vue version
3.4.37
TypeScript version
5.7.20-dev
System Info
package.json dependencies
Steps to reproduce
1、新建vue项目:
pnpm create vite --template vue-ts my-project
2、切换到HelloWorld.vue
文件,光标停留在count
变量上,所有count变量没有高亮 3、在main.ts
进行测试,高亮显示What is expected?
同一个变量应该具有高亮
What is actually happening?
同一个变量应该没有高亮
Link to minimal reproduction
No response
Any additional comments?
thank's your job!❤