vuejs / language-tools

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

Syntax highlighting and intellisense not working #4921

Open KeroZhai opened 1 month ago

KeroZhai commented 1 month ago

Vue - Official extension or vue-tsc version

2.1.6

VSCode version

1.94.1

Vue version

3.4.27

TypeScript version

5.6.2

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (8) x64 Intel(R) Xeon(R) Gold 6254 CPU @ 3.10GHz
    Memory: 11.22 GB / 24.00 GB
  Binaries:
    Node: 18.17.1 - C:\Program Files\nodejs\node.EXE
    npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
    pnpm: 7.6.0 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Chrome: 113.0.5672.127
    Edge: Spartan (44.19041.1266.0), Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.1202
  Binaries:
    Node: 18.17.1 - C:\Program Files\nodejs\node.EXE
    npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
    pnpm: 7.6.0 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Chrome: 113.0.5672.127
  Binaries:
    Node: 18.17.1 - C:\Program Files\nodejs\node.EXE
  Binaries:
  Binaries:
    Node: 18.17.1 - C:\Program Files\nodejs\node.EXE
    npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
    pnpm: 7.6.0 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Chrome: 113.0.5672.127
    Edge: Spartan (44.19041.1266.0), Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.1202

package.json dependencies

No response

Steps to reproduce

  1. Open a vue file
  2. Open Output tab and switch to the Vue Languate Server

What is expected?

Should work properyly.

What is actually happening?

The syntax highlighting and intellisense are not working. And the log shows:

[Vue Named Pipe Client] No server found for xxx.vue

Link to minimal reproduction

No response

Any additional comments?

No response

vzhikness commented 1 month ago

I have this issue. Rolled back extension to 2.1.4.

vzhikness commented 1 month ago

Seems like all 2.1.* versions affected. Rolled back to 2.0.28. So far the issue haven't occurred on this version.

itpropro commented 2 weeks ago

There are a lot of issues with syntax highlighting, bracket coloring, not working collapse etc. currently, is there any known version that works reliably?

KeroZhai commented 2 weeks ago

Like @vzhikness said, 2.0.28 works.

itpropro commented 2 weeks ago

Like @vzhikness said, 2.0.28 works.

Downgrading to a 4 month old version cannot really be the solution to get things like bracket coloring and syntax highlighting to work reliably. Would be great to know if the above reproduction is enough for the team to work on the issue or if there is something else we could do to provide better reproduction to get the problems solved.