|
6 | 6 | "source": [
|
7 | 7 | "## Language Servers\n",
|
8 | 8 | "\n",
|
9 |
| - "`jupyter-lsp` does not come with any Language Servers! However, we will try to\n", |
10 |
| - "use them if they _are_ installed and we know about them. For the language\n", |
11 |
| - "servers in the tables below, use one of the suggested package managers to\n", |
12 |
| - "install them: these implementations are tested to work with `jupyter-lsp`.\n", |
| 9 | + "By default `jupyter-lsp` does not come with any language servers preinstalled.\n", |
| 10 | + "However, we will try to use them if they _are_ installed and we know about them\n", |
| 11 | + "(i.e. someone contributed a full specification).\n", |
13 | 12 | "\n",
|
14 |
| - "- _You can disable this feature by configuring_\n", |
15 |
| - " [autodetect](./Configuring.ipynb#autodetect)\n", |
| 13 | + "> _You can disable auto-detection by configuring\n", |
| 14 | + "> [autodetect](./Configuring.ipynb#autodetect)_\n", |
16 | 15 | "\n",
|
17 |
| - "If you do not see a language you would like, but can find it one of these lists:\n", |
| 16 | + "You can add another language server for languages that are not listed on this\n", |
| 17 | + "page:\n", |
18 | 18 | "\n",
|
19 |
| - "- the [official list][lsp-implementations] of language servers\n", |
20 |
| - "- a [community-curated list][langserver] of language servers\n", |
| 19 | + "- using a minimal JSON-based\n", |
| 20 | + " [configuration file](./Configuring.ipynb#language_servers) (good for\n", |
| 21 | + " experimenting or configuring a niche server), or\n", |
| 22 | + "- contributing a [full specification](./Contributing.ipynb#Specs) (to enable\n", |
| 23 | + " better integration and help other users of the same language)\n", |
21 | 24 | "\n",
|
22 |
| - "...you might be able to add it\n", |
23 |
| - "[via configuration](./Configuring.ipynb#language_servers) or\n", |
24 |
| - "[build your own spec](./Contributing.ipynb#Specs) for the server in question.\n", |
| 25 | + "The existing language servers are listed on the [official implementations\n", |
| 26 | + "list][lsp-implementations] and on the [community-curated list][langserver].\n", |
| 27 | + "\n", |
| 28 | + "For the language servers in the tables below, use one of the suggested package\n", |
| 29 | + "managers to install them: these implementations are tested to work with\n", |
| 30 | + "`jupyter-lsp`.\n", |
25 | 31 | "\n",
|
26 | 32 | "[language-server]:\n",
|
27 | 33 | " https://microsoft.github.io/language-server-protocol/specification\n",
|
|
141 | 147 | ")"
|
142 | 148 | ]
|
143 | 149 | },
|
| 150 | + { |
| 151 | + "cell_type": "markdown", |
| 152 | + "metadata": {}, |
| 153 | + "source": [ |
| 154 | + "The Scala language server (`metals`) is not currently auto-detected, but can be\n", |
| 155 | + "configured as demonstrated in the\n", |
| 156 | + "[configuration example](<./Configuring.ipynb#Example:-Scala-Language-Server-(metals)-integration>)." |
| 157 | + ] |
| 158 | + }, |
144 | 159 | {
|
145 | 160 | "cell_type": "markdown",
|
146 | 161 | "metadata": {},
|
|
0 commit comments