|
29 | 29 | },
|
30 | 30 | {
|
31 | 31 | "cell_type": "code",
|
32 |
| - "execution_count": 15, |
| 32 | + "execution_count": null, |
33 | 33 | "metadata": {
|
34 | 34 | "hide_input": true
|
35 | 35 | },
|
|
43 | 43 | },
|
44 | 44 | {
|
45 | 45 | "cell_type": "code",
|
46 |
| - "execution_count": 16, |
| 46 | + "execution_count": null, |
47 | 47 | "metadata": {
|
48 | 48 | "hide_input": true
|
49 | 49 | },
|
|
54 | 54 | },
|
55 | 55 | {
|
56 | 56 | "cell_type": "code",
|
57 |
| - "execution_count": 17, |
| 57 | + "execution_count": null, |
58 | 58 | "metadata": {
|
59 | 59 | "hide_input": true
|
60 | 60 | },
|
|
65 | 65 | },
|
66 | 66 | {
|
67 | 67 | "cell_type": "code",
|
68 |
| - "execution_count": 21, |
| 68 | + "execution_count": null, |
69 | 69 | "metadata": {
|
70 | 70 | "hide_input": true
|
71 | 71 | },
|
|
118 | 118 | },
|
119 | 119 | {
|
120 | 120 | "cell_type": "code",
|
121 |
| - "execution_count": 22, |
| 121 | + "execution_count": null, |
122 | 122 | "metadata": {
|
123 | 123 | "hide_input": true
|
124 | 124 | },
|
125 |
| - "outputs": [ |
126 |
| - { |
127 |
| - "data": { |
128 |
| - "text/html": [ |
129 |
| - "\n", |
130 |
| - " <table class=\"langservers\">\n", |
131 |
| - " <thead>\n", |
132 |
| - " <tr>\n", |
133 |
| - " <th>Languages</th>\n", |
134 |
| - " <th>Implementation</th>\n", |
135 |
| - " <th>Installation</th>\n", |
136 |
| - " </tr>\n", |
137 |
| - " </thead>\n", |
138 |
| - " <tbody>\n", |
139 |
| - " \n", |
140 |
| - " <tr>\n", |
141 |
| - " <th>\n", |
142 |
| - " \n", |
143 |
| - " <a name=\"language-python\"/>python<br/>\n", |
144 |
| - " \n", |
145 |
| - " </th>\n", |
146 |
| - " <td>\n", |
147 |
| - " <a href=\"https://github.com/palantir/python-language-server\">pyls</a>\n", |
148 |
| - " </td>\n", |
149 |
| - " <td>\n", |
150 |
| - " <ul>\n", |
151 |
| - " \n", |
152 |
| - " <li>pip: <code>pip install python-language-server[all]</code></li>\n", |
153 |
| - " \n", |
154 |
| - " <li>conda: <code>conda install -c conda-forge python-language-server</code></li>\n", |
155 |
| - " \n", |
156 |
| - " </ul>\n", |
157 |
| - " </td>\n", |
158 |
| - " </tr>\n", |
159 |
| - " \n", |
160 |
| - " <tr>\n", |
161 |
| - " <th>\n", |
162 |
| - " \n", |
163 |
| - " <a name=\"language-r\"/>r<br/>\n", |
164 |
| - " \n", |
165 |
| - " </th>\n", |
166 |
| - " <td>\n", |
167 |
| - " <a href=\"https://github.com/REditorSupport/languageserver\">r-languageserver</a>\n", |
168 |
| - " </td>\n", |
169 |
| - " <td>\n", |
170 |
| - " <ul>\n", |
171 |
| - " \n", |
172 |
| - " <li>cran: <code>install.packages(\"languageserver\")</code></li>\n", |
173 |
| - " \n", |
174 |
| - " <li>conda: <code>conda install -c conda-forge r-languageserver</code></li>\n", |
175 |
| - " \n", |
176 |
| - " </ul>\n", |
177 |
| - " </td>\n", |
178 |
| - " </tr>\n", |
179 |
| - " \n", |
180 |
| - " </tbody>\n", |
181 |
| - " </table>\n", |
182 |
| - " " |
183 |
| - ], |
184 |
| - "text/plain": [ |
185 |
| - "<IPython.core.display.HTML object>" |
186 |
| - ] |
187 |
| - }, |
188 |
| - "execution_count": 22, |
189 |
| - "metadata": {}, |
190 |
| - "output_type": "execute_result" |
191 |
| - } |
192 |
| - ], |
| 125 | + "outputs": [], |
193 | 126 | "source": [
|
194 | 127 | "nb_langs = [\"pyls\", \"r-languageserver\"]\n",
|
195 | 128 | "lang_server_table({key: spec for key, spec in mgr.language_servers.items() if key in nb_langs})"
|
|
205 | 138 | },
|
206 | 139 | {
|
207 | 140 | "cell_type": "code",
|
208 |
| - "execution_count": 23, |
| 141 | + "execution_count": null, |
209 | 142 | "metadata": {
|
210 | 143 | "hide_input": true
|
211 | 144 | },
|
212 |
| - "outputs": [ |
213 |
| - { |
214 |
| - "data": { |
215 |
| - "text/html": [ |
216 |
| - "\n", |
217 |
| - " <table class=\"langservers\">\n", |
218 |
| - " <thead>\n", |
219 |
| - " <tr>\n", |
220 |
| - " <th>Languages</th>\n", |
221 |
| - " <th>Implementation</th>\n", |
222 |
| - " <th>Installation</th>\n", |
223 |
| - " </tr>\n", |
224 |
| - " </thead>\n", |
225 |
| - " <tbody>\n", |
226 |
| - " \n", |
227 |
| - " <tr>\n", |
228 |
| - " <th>\n", |
229 |
| - " \n", |
230 |
| - " <a name=\"language-bash\"/>bash<br/>\n", |
231 |
| - " \n", |
232 |
| - " <a name=\"language-sh\"/>sh<br/>\n", |
233 |
| - " \n", |
234 |
| - " </th>\n", |
235 |
| - " <td>\n", |
236 |
| - " <a href=\"https://github.com/mads-hartmann/bash-language-server\">bash-language-server</a>\n", |
237 |
| - " </td>\n", |
238 |
| - " <td>\n", |
239 |
| - " <ul>\n", |
240 |
| - " \n", |
241 |
| - " <li>npm: <code>npm install --save-dev bash-language-server</code></li>\n", |
242 |
| - " \n", |
243 |
| - " <li>yarn: <code>yarn add --dev bash-language-server</code></li>\n", |
244 |
| - " \n", |
245 |
| - " <li>jlpm: <code>jlpm add --dev bash-language-server</code></li>\n", |
246 |
| - " \n", |
247 |
| - " </ul>\n", |
248 |
| - " </td>\n", |
249 |
| - " </tr>\n", |
250 |
| - " \n", |
251 |
| - " <tr>\n", |
252 |
| - " <th>\n", |
253 |
| - " \n", |
254 |
| - " <a name=\"language-dockerfile\"/>dockerfile<br/>\n", |
255 |
| - " \n", |
256 |
| - " </th>\n", |
257 |
| - " <td>\n", |
258 |
| - " <a href=\"https://github.com/rcjsuen/dockerfile-language-server-nodejs\">dockerfile-language-server-nodejs</a>\n", |
259 |
| - " </td>\n", |
260 |
| - " <td>\n", |
261 |
| - " <ul>\n", |
262 |
| - " \n", |
263 |
| - " <li>npm: <code>npm install --save-dev dockerfile-language-server-nodejs</code></li>\n", |
264 |
| - " \n", |
265 |
| - " <li>yarn: <code>yarn add --dev dockerfile-language-server-nodejs</code></li>\n", |
266 |
| - " \n", |
267 |
| - " <li>jlpm: <code>jlpm add --dev dockerfile-language-server-nodejs</code></li>\n", |
268 |
| - " \n", |
269 |
| - " </ul>\n", |
270 |
| - " </td>\n", |
271 |
| - " </tr>\n", |
272 |
| - " \n", |
273 |
| - " <tr>\n", |
274 |
| - " <th>\n", |
275 |
| - " \n", |
276 |
| - " <a name=\"language-javascript\"/>javascript<br/>\n", |
277 |
| - " \n", |
278 |
| - " <a name=\"language-jsx\"/>jsx<br/>\n", |
279 |
| - " \n", |
280 |
| - " <a name=\"language-typescript\"/>typescript<br/>\n", |
281 |
| - " \n", |
282 |
| - " <a name=\"language-typescript-jsx\"/>typescript-jsx<br/>\n", |
283 |
| - " \n", |
284 |
| - " <a name=\"language-typescriptreact\"/>typescriptreact<br/>\n", |
285 |
| - " \n", |
286 |
| - " <a name=\"language-javascriptreact\"/>javascriptreact<br/>\n", |
287 |
| - " \n", |
288 |
| - " </th>\n", |
289 |
| - " <td>\n", |
290 |
| - " <a href=\"https://github.com/sourcegraph/javascript-typescript-langserver\">javascript-typescript-langserver</a>\n", |
291 |
| - " </td>\n", |
292 |
| - " <td>\n", |
293 |
| - " <ul>\n", |
294 |
| - " \n", |
295 |
| - " <li>npm: <code>npm install --save-dev javascript-typescript-langserver</code></li>\n", |
296 |
| - " \n", |
297 |
| - " <li>yarn: <code>yarn add --dev javascript-typescript-langserver</code></li>\n", |
298 |
| - " \n", |
299 |
| - " <li>jlpm: <code>jlpm add --dev javascript-typescript-langserver</code></li>\n", |
300 |
| - " \n", |
301 |
| - " </ul>\n", |
302 |
| - " </td>\n", |
303 |
| - " </tr>\n", |
304 |
| - " \n", |
305 |
| - " <tr>\n", |
306 |
| - " <th>\n", |
307 |
| - " \n", |
308 |
| - " <a name=\"language-markdown\"/>markdown<br/>\n", |
309 |
| - " \n", |
310 |
| - " <a name=\"language-ipythongfm\"/>ipythongfm<br/>\n", |
311 |
| - " \n", |
312 |
| - " <a name=\"language-gfm\"/>gfm<br/>\n", |
313 |
| - " \n", |
314 |
| - " </th>\n", |
315 |
| - " <td>\n", |
316 |
| - " <a href=\"https://github.com/unifiedjs/unified-language-server\">unified-language-server</a>\n", |
317 |
| - " </td>\n", |
318 |
| - " <td>\n", |
319 |
| - " <ul>\n", |
320 |
| - " \n", |
321 |
| - " <li>npm: <code>npm install --save-dev unified-language-server</code></li>\n", |
322 |
| - " \n", |
323 |
| - " <li>yarn: <code>yarn add --dev unified-language-server</code></li>\n", |
324 |
| - " \n", |
325 |
| - " <li>jlpm: <code>jlpm add --dev unified-language-server</code></li>\n", |
326 |
| - " \n", |
327 |
| - " </ul>\n", |
328 |
| - " </td>\n", |
329 |
| - " </tr>\n", |
330 |
| - " \n", |
331 |
| - " <tr>\n", |
332 |
| - " <th>\n", |
333 |
| - " \n", |
334 |
| - " <a name=\"language-css\"/>css<br/>\n", |
335 |
| - " \n", |
336 |
| - " <a name=\"language-less\"/>less<br/>\n", |
337 |
| - " \n", |
338 |
| - " <a name=\"language-scss\"/>scss<br/>\n", |
339 |
| - " \n", |
340 |
| - " </th>\n", |
341 |
| - " <td>\n", |
342 |
| - " <a href=\"https://github.com/vscode-langservers/vscode-css-languageserver-bin\">vscode-css-languageserver-bin</a>\n", |
343 |
| - " </td>\n", |
344 |
| - " <td>\n", |
345 |
| - " <ul>\n", |
346 |
| - " \n", |
347 |
| - " <li>npm: <code>npm install --save-dev vscode-css-languageserver-bin</code></li>\n", |
348 |
| - " \n", |
349 |
| - " <li>yarn: <code>yarn add --dev vscode-css-languageserver-bin</code></li>\n", |
350 |
| - " \n", |
351 |
| - " <li>jlpm: <code>jlpm add --dev vscode-css-languageserver-bin</code></li>\n", |
352 |
| - " \n", |
353 |
| - " </ul>\n", |
354 |
| - " </td>\n", |
355 |
| - " </tr>\n", |
356 |
| - " \n", |
357 |
| - " <tr>\n", |
358 |
| - " <th>\n", |
359 |
| - " \n", |
360 |
| - " <a name=\"language-html\"/>html<br/>\n", |
361 |
| - " \n", |
362 |
| - " </th>\n", |
363 |
| - " <td>\n", |
364 |
| - " <a href=\"https://github.com/vscode-langservers/vscode-html-languageserver-bin\">vscode-html-languageserver-bin</a>\n", |
365 |
| - " </td>\n", |
366 |
| - " <td>\n", |
367 |
| - " <ul>\n", |
368 |
| - " \n", |
369 |
| - " <li>npm: <code>npm install --save-dev vscode-html-languageserver-bin</code></li>\n", |
370 |
| - " \n", |
371 |
| - " <li>yarn: <code>yarn add --dev vscode-html-languageserver-bin</code></li>\n", |
372 |
| - " \n", |
373 |
| - " <li>jlpm: <code>jlpm add --dev vscode-html-languageserver-bin</code></li>\n", |
374 |
| - " \n", |
375 |
| - " </ul>\n", |
376 |
| - " </td>\n", |
377 |
| - " </tr>\n", |
378 |
| - " \n", |
379 |
| - " <tr>\n", |
380 |
| - " <th>\n", |
381 |
| - " \n", |
382 |
| - " <a name=\"language-json\"/>json<br/>\n", |
383 |
| - " \n", |
384 |
| - " </th>\n", |
385 |
| - " <td>\n", |
386 |
| - " <a href=\"https://github.com/vscode-langservers/vscode-json-languageserver-bin\">vscode-json-languageserver-bin</a>\n", |
387 |
| - " </td>\n", |
388 |
| - " <td>\n", |
389 |
| - " <ul>\n", |
390 |
| - " \n", |
391 |
| - " <li>npm: <code>npm install --save-dev vscode-json-languageserver-bin</code></li>\n", |
392 |
| - " \n", |
393 |
| - " <li>yarn: <code>yarn add --dev vscode-json-languageserver-bin</code></li>\n", |
394 |
| - " \n", |
395 |
| - " <li>jlpm: <code>jlpm add --dev vscode-json-languageserver-bin</code></li>\n", |
396 |
| - " \n", |
397 |
| - " </ul>\n", |
398 |
| - " </td>\n", |
399 |
| - " </tr>\n", |
400 |
| - " \n", |
401 |
| - " <tr>\n", |
402 |
| - " <th>\n", |
403 |
| - " \n", |
404 |
| - " <a name=\"language-yaml\"/>yaml<br/>\n", |
405 |
| - " \n", |
406 |
| - " </th>\n", |
407 |
| - " <td>\n", |
408 |
| - " <a href=\"https://github.com/redhat-developer/yaml-language-server\">yaml-language-server</a>\n", |
409 |
| - " </td>\n", |
410 |
| - " <td>\n", |
411 |
| - " <ul>\n", |
412 |
| - " \n", |
413 |
| - " <li>npm: <code>npm install --save-dev yaml-language-server</code></li>\n", |
414 |
| - " \n", |
415 |
| - " <li>yarn: <code>yarn add --dev yaml-language-server</code></li>\n", |
416 |
| - " \n", |
417 |
| - " <li>jlpm: <code>jlpm add --dev yaml-language-server</code></li>\n", |
418 |
| - " \n", |
419 |
| - " </ul>\n", |
420 |
| - " </td>\n", |
421 |
| - " </tr>\n", |
422 |
| - " \n", |
423 |
| - " </tbody>\n", |
424 |
| - " </table>\n", |
425 |
| - " " |
426 |
| - ], |
427 |
| - "text/plain": [ |
428 |
| - "<IPython.core.display.HTML object>" |
429 |
| - ] |
430 |
| - }, |
431 |
| - "execution_count": 23, |
432 |
| - "metadata": {}, |
433 |
| - "output_type": "execute_result" |
434 |
| - } |
435 |
| - ], |
| 145 | + "outputs": [], |
436 | 146 | "source": [
|
437 | 147 | "lang_server_table({key: spec for key, spec in mgr.language_servers.items() if \"npm\" in spec[\"install\"]})"
|
438 | 148 | ]
|
|
468 | 178 | },
|
469 | 179 | {
|
470 | 180 | "cell_type": "code",
|
471 |
| - "execution_count": 4, |
| 181 | + "execution_count": null, |
472 | 182 | "metadata": {
|
473 | 183 | "hide_input": true
|
474 | 184 | },
|
475 |
| - "outputs": [ |
476 |
| - { |
477 |
| - "data": { |
478 |
| - "text/html": [ |
479 |
| - "<style>\n", |
480 |
| - " table.langservers thead th {\n", |
481 |
| - " text-align: center !important;\n", |
482 |
| - " }\n", |
483 |
| - "\n", |
484 |
| - " table.langservers tbody td,\n", |
485 |
| - " table.langservers tbody th {\n", |
486 |
| - " text-align: left !important;\n", |
487 |
| - " }\n", |
488 |
| - "</style>\n" |
489 |
| - ], |
490 |
| - "text/plain": [ |
491 |
| - "<IPython.core.display.HTML object>" |
492 |
| - ] |
493 |
| - }, |
494 |
| - "metadata": {}, |
495 |
| - "output_type": "display_data" |
496 |
| - } |
497 |
| - ], |
| 185 | + "outputs": [], |
498 | 186 | "source": [
|
499 | 187 | "%%html\n",
|
500 | 188 | "<style>\n",
|
|
0 commit comments