Proper way to install language server for Jupyterlab #7213
Replies: 2 comments 1 reply
-
Thanks @Pilgrim1379. Would you mind opening the discussion in the JupyterLab repo, as it will likely have more changes to be seen by JupyterLab developers: https://github.com/jupyterlab/jupyterlab/discussions Thanks! |
Beta Was this translation helpful? Give feedback.
-
Okay so once the jupyter lab is installed enable the jupyter lab language server manager extension in jupyter lab. To do this first launch the jupyter lab by running the following command "jupyter lab" then go to settings menu and select advanced settings editor, then select the jupyter lab configuration on the left-hand side. Then in the right-hand pane, scroll down until you find the "language_servers" section. Then add the configuration for each language server you want to use. Eg: { After adding the configuration tap the save button in the top menu and then close and restart the jupyter lab |
Beta Was this translation helpful? Give feedback.
-
I'm new to using Jupyterlab/Jupyter notebook. What's baffling me is, I have installed all the language servers that I need however Jupyterlab doesn't find them. I'm therefore wondering if there's a proper way to install language servers for Jupyterlab to find and use them.
My setup is as follows:
I'm on a MacOS (latest version) and I installed Jupyterlab via pipx with the following command:
I have other language servers installed via npm:
In a virtual env, I install
ipykernel
and thenpython -m ipykernel install --user --display-name ${PWD} --name ${PWD##*/}
to create a kernel for the virutal environment. With this I'm able to start and use Jupyterlab in the virtual environment.When I start Jupyterlab, it doesn't find python-language-server or vscode-markdown-languageserver.
Will appreaciate any advice or pointers.
Beta Was this translation helpful? Give feedback.
All reactions