Open jnewton3edinburgh opened 2 years ago
Do other language servers work ok, or is it only an issue with the vscode-html-language-server
? What is the version of vscode-html-language-server
that you got installed?
The Python language server appears to work, though that was installed via Conda which is the only difference I can think of.
The other language servers all have the same issue with unset variables. It's the NPM ones we're having issues with.
vscode-html-language-server
is version 1.4.0
I have rechecked the html and other node language servers this morning, and all have the same issues.
Description
I'm unsure where else to ask this - so I'm raising it here: An error is thrown when trying to use a language server. The Error is:
LSP.WidgetAdapter: CodeMirrorVirtualEditor handler (which should accept a CodeMirror Editor instance) failed
withmessage: "e is undefined"
in the thrown error message object. I see that the lsp extension is installed and enabled, and that the language server(s) are fully initialised and the correct one used on e.g. html file. But the language server does not work due to the error which I cannot find the cause of. In this case - I am editing an html file with thevscode-html0language-server
language server which throws the error. I am using v3.9.0 jupyterlab-lsp and notice 3.10.1 is available, but it doesn't appear in current channels when running `conda install jupyterlab-lsp' to update it.Reproduce
Install Jupyter lab and jupyter-lsp extension:
Ensure NodeJS is installed:
Install language servers:
run Jupyter lab:
When Jupyter Lab was run, I created a new file
test.html
. The language server shows as fully initialised and using thevscode-html-language-server
. When typing, the error mentioned previously is thrown.Expected behavior
Language server should offer suggestions and not error.
Context
Required: installed server extensions
Required: installed lab extensions
Troubleshoot Output
Command Line Output
Browser Output (recommended for all interface issues)