language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

Language server critical regression from 2.0.5 to 2.0.6

Open aentwist opened this issue 3 months ago • 6 comments

Actual

Hi, I am facing some critical language server issue on 2.0.6. It was a very mysterious issue, so after seeing 2.0.6 is a new release I decided to regress to 2.0.5, which does not have this problem as it turns out.

I'm not sure what information is needed, if any, but I am willing to provide the required details.

repro

Expected

Language server works; installing 2.0.5 and reloading does this

Environment

Volar (vue.volar)

2.0.6

VSCode
Version: 1.87.1 (user setup)
Commit: 1e790d77f81672c49be070e04474901747115651
Date: 2024-03-06T00:21:36.258Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.22631
Remote

WSL Deb 12

aentwist avatar Mar 08 '24 17:03 aentwist

My colleagues do not seem to be having this issue but it is consistent for me. Feedback appreciated

aentwist avatar Mar 08 '24 17:03 aentwist

Same issue for me in Nuxt. Vue highlighting is not working in 2.0.6.

image

The fix is to revert back to Vue - Official 2.0.5

NothingEverWorks avatar Mar 08 '24 18:03 NothingEverWorks

Just upgraded to 2.0.6 this morning on a vue/webpack project and am not seeing this issue.

I have a separate vue/nuxt project that seems to have lost all typing for any imported components or nuxt builtins though. HTML elements seem fine.

    "nuxt": "^3.10.3",
    "vue": "^3.4.19",
image

Seem to have lost all intellisense for node_modules

image

Downgrading to 2.0.5 did not resolve.

pm0u avatar Mar 15 '24 16:03 pm0u

Not Nuxt related I'm on Vue / Vite (Rollup)

aentwist avatar Mar 15 '24 16:03 aentwist

Got it - in my case it was due to #3942 - having the styled-components extension installed.

disabling styled-components.vscode-styled-components resolved, does not seem to be Vue extension version related. I was able to use v2.0.6 once I disabled. Difference between the 2 contexts for me was due to the extension already being disabled via a workspace extensions.json that I did not account for.

pm0u avatar Mar 15 '24 16:03 pm0u

Does it work now? Should be fixed by https://github.com/vuejs/language-tools/pull/4119

so1ve avatar Apr 08 '24 03:04 so1ve