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

Visual Studio Code - Insiders Component Syntax Not Working #3183

Closed henrychea closed 1 year ago

henrychea commented 1 year ago

Here's a comparison with VS Code Insiders and VS Code Stable.

VS Code Insiders (1.79.0-insider - Apple M1) image

VS Code Stable (1.78.2 - Apple M1) image

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

aleksanderwalczuk commented 1 year ago

@henrychea, Please notice that VSC stable is currently running TS ^5.0.4, while VSC insiders has set TS .5.1 dev preview which is partially supported by Volar at the moment.

I would set 5.0.4 as project dependency and use the Takeover mode to set it as Workspace version (point to node_modules to resolve TS lib).

henrychea commented 1 year ago

I tried that but the issue persists

VS Code Stable image

VS Code Insider image

almblr commented 1 year ago

same problem here :(

so1ve commented 1 year ago

It should work now.

3268 #3274