microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.75k stars 28.17k forks source link

Activating vscode.html-langauge-features causes error #214960

Open theking2 opened 1 month ago

theking2 commented 1 month ago

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

  1. Open devtools
  2. Attempt to format html/php
  3. See console

ERR Activating extension 'vscode.html-language-features' failed: Pending response rejected since connection got disposed.: Error: Pending response rejected since connection got disposed at Object.dispose (d:\Users\Johannes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\client\dist\node\htmlClientMain.js:1:213082) at Object.dispose (d:\Users\Johannes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\client\dist\node\htmlClientMain.js:1:268408) at w.handleConnectionClosed (d:\Users\Johannes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\client\dist\node\htmlClientMain.js:1:268814) at w.handleConnectionClosed (d:\Users\Johannes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\client\dist\node\htmlClientMain.js:1:432465) at d:\Users\Johannes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\client\dist\node\htmlClientMain.js:1:268557 at o.invoke (d:\Users\Johannes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\client\dist\node\htmlClientMain.js:1:214817) at s.fire (d:\Users\Johannes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\client\dist\node\htmlClientMain.js:1:215582) at ne (d:\Users\Johannes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\client\dist\node\htmlClientMain.js:1:201317) at o.invoke (d:\Users\Johannes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\client\dist\node\htmlClientMain.js:1:214817) at s.fire (d:\Users\Johannes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\client\dist\node\htmlClientMain.js:1:215582) at fireClose (d:\Users\Johannes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\client\dist\node\htmlClientMain.js:1:223569) at ChildProcess.<anonymous> (d:\Users\Johannes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\client\dist\node\htmlClientMain.js:1:235915) at ChildProcess.emit (node:events:526:35) at maybeClose (node:internal/child_process:1105:16) at Socket.<anonymous> (node:internal/child_process:457:11) at Socket.emit (node:events:514:28) at Pipe.<anonymous> (node:net:337:12)

theking2 commented 1 month ago

HTML Language Features v1.0.0 Built-in

theking2 commented 1 month ago

Disabling HTML Language Features works around the problem

aeschli commented 1 month ago

Can you set "html.trace.server": "verbose" and check if there's anything interesting in the HTML Language Server log in the Output view?

image