vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.79k stars 390 forks source link

Intellisense can only work in PascalCase when component name using PascalCase #4637

Closed Jasonyou-boy closed 1 month ago

Jasonyou-boy commented 1 month ago

Vue - Official extension or vue-tsc version

2.0.28

VSCode version

1.91.1

Vue version

3.4.31

TypeScript version

5.6.0

System Info

windows 11

Steps to reproduce

empty

What is expected?

when component name using kebab-case,intellisence can work in tow ways.but when component name using PascalCase,intellisence can't word in kebab-case

What is actually happening?

intellisence can work in all ways when component name using PascalCase

Link to minimal reproduction

No response

Any additional comments?

intellisence can work in all ways when component name using PascalCase

RayGuo-ergou commented 1 month ago

You are able to config that. See https://github.com/vuejs/language-tools/blob/master/extensions/vscode/src/config.ts#L41