|
15 | 15 | "\n",
|
16 | 16 | "Delivering LSP features to your JupyterLab **requires** three pieces:\n",
|
17 | 17 | "\n",
|
18 |
| - "- `jupyter_lsp`\n", |
19 |
| - " - runs in your `notebook` web application on your server\n", |
20 |
| - " - to run, you need:\n", |
21 |
| - " - `python >=3.5`\n", |
22 |
| - " - `notebook >=4.3`\n", |
23 |
| - "- `jupyterlab-lsp`\n", |
24 |
| - " - runs in your browser\n", |
25 |
| - " - to install it, you need:\n", |
26 |
| - " - `nodejs >8`\n", |
27 |
| - " - `jupyterlab >=1.1,<2`\n", |
28 |
| - "- one or more language servers\n", |
29 |
| - " - run on your server\n", |
30 |
| - " - some can be automatically [detected](./Language%20Servers.ipynb) if\n", |
31 |
| - " installed\n", |
32 |
| - " - others also need to be [configured](./Configuring.ipynb#language_servers)" |
| 18 | + "#### `jupyter_lsp`\n", |
| 19 | + "\n", |
| 20 | + "- runs in your `notebook` web application on your server to handle requests from\n", |
| 21 | + " the browser to _language servers_\n", |
| 22 | + "- to run, you need:\n", |
| 23 | + " - `python >=3.5`\n", |
| 24 | + " - `notebook >=4.3`\n", |
| 25 | + "\n", |
| 26 | + "#### `jupyterlab-lsp`\n", |
| 27 | + "\n", |
| 28 | + "- runs in your browser, as an extension to JupyterLab\n", |
| 29 | + "- to install it, you need:\n", |
| 30 | + " - `nodejs >8`\n", |
| 31 | + " - `jupyterlab >=1.1,<2`\n", |
| 32 | + "\n", |
| 33 | + "#### Language Servers\n", |
| 34 | + "\n", |
| 35 | + "- run on your server,\n", |
| 36 | + " - probably in another language runtime than python\n", |
| 37 | + "- some can be automatically [detected](./Language%20Servers.ipynb) if installed\n", |
| 38 | + "- others also need to be [configured](./Configuring.ipynb#language_servers)" |
33 | 39 | ]
|
34 | 40 | },
|
35 | 41 | {
|
|
49 | 55 | "#### conda (minimal python)\n",
|
50 | 56 | "\n",
|
51 | 57 | "```bash\n",
|
52 |
| - "conda create -c conda-forge -n lsp 'python >=3.7,<3.8' 'jupyterlab=1.2' 'nodejs=11' python-language-server\n", |
| 58 | + "conda create -c conda-forge -n lsp 'python >=3.7,<3.8' 'jupyterlab=1.2' 'nodejs>8' python-language-server\n", |
53 | 59 | "# Also consider: r-languageserver [*]\n",
|
54 | 60 | "source activate lsp\n",
|
55 |
| - "python -m pip install 'jupyter_lsp=0.7' --no-deps\n", |
56 |
| - "jupyter labextension install '@krassowski/jupyterlab-lsp@0.7.1'\n", |
| 61 | + "python -m pip install 'jupyter_lsp=0.8.0' --no-deps\n", |
| 62 | + "jupyter labextension install '@krassowski/jupyterlab-lsp@0.8.0'\n", |
57 | 63 | "```\n",
|
58 | 64 | "\n",
|
59 | 65 | "Then run\n",
|
|
91 | 97 | " 'python-language-server' \\\n",
|
92 | 98 | " 'r-languageserver' \\\n",
|
93 | 99 | " && python3 -m pip install --no-cache-dir --no-deps \\\n",
|
94 |
| - " 'jupyter_lsp==0.7' \\\n", |
| 100 | + " 'jupyter_lsp==0.8.0' \\\n", |
95 | 101 | " && jupyter labextension install --no-build \\\n",
|
96 |
| - " '@krassowski/jupyterlab-lsp@0.7.1' \\\n", |
| 102 | + " '@krassowski/jupyterlab-lsp@0.8.0' \\\n", |
97 | 103 | " && jupyter lab build --dev-build=False --minimize=True \\\n",
|
98 | 104 | " && conda clean --all -f -y \\\n",
|
99 | 105 | " && rm -rf \\\n",
|
|
202 | 208 | "\n",
|
203 | 209 | "```bash\n",
|
204 | 210 | "pip install jupyter_lsp\n",
|
205 |
| - "jupyter labextension install @krassowitz/jupyterlab-lsp\n", |
| 211 | + "jupyter labextension install @krassowski/jupyterlab-lsp\n", |
206 | 212 | "```"
|
207 | 213 | ]
|
208 | 214 | },
|
|
0 commit comments