vuejs / language-tools

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

Cannot register 'typescript.tsdk'. This property is already registered. #3182

Closed henrychea closed 1 year ago

henrychea commented 1 year ago

Issue only when using VS code Insiders Edition

image

Just load in any Vue project to see this error

https://github.com/henrychea/volar-vuejs2-ts-check-issue-repoduce

bitmonti commented 1 year ago

Same issue using vscode --lts (1.78.2)

so1ve commented 1 year ago

It is not a bug. The property is registered to let volar get the tsdk path when the built-in typescript language extension is disabled and takeover mode is enabled.

so1ve commented 1 year ago

duplicate of #2442

henrychea commented 1 year ago

Thanks I just thought something was wrong @so1ve