File tree Expand file tree Collapse file tree 7 files changed +151
-194
lines changed
python_packages/jupyter_lsp/jupyter_lsp/specs Expand file tree Collapse file tree 7 files changed +151
-194
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ Invalidates On Cell Change
60
60
Invalidates On Focus Loss
61
61
Enter Cell Editor 1 line=2
62
62
Press Keys None TAB
63
- Click JupyterLab Menu File
63
+ Click JupyterLab Menu File
64
64
# just to increase chances of catching this on CI (which is slow)
65
65
Sleep 4s
66
66
Completer Should Not Suggest test
Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ Wait Until Fully Initialized
324
324
Wait Until Element Contains ${STATUSBAR } Fully initialized timeout=60s
325
325
326
326
Wait For Ready State
327
- Wait For Condition return document.readyState=="complete"
327
+ Wait For Condition return document.readyState=="complete"
328
328
329
329
Open Context Menu Over
330
330
[Arguments] ${sel }
Original file line number Diff line number Diff line change 250
250
" vscode-css-languageserver-bin \\\n " ,
251
251
" dockerfile-language-server-nodejs \\\n " ,
252
252
" vscode-html-languageserver-bin \\\n " ,
253
- " javascript- typescript-langserver \\\n " ,
253
+ " typescript-language-server \\\n " ,
254
254
" vscode-json-languageserver-bin \\\n " ,
255
255
" yaml-language-server\n " ,
256
256
" ```\n " ,
374
374
},
375
375
"nbformat" : 4 ,
376
376
"nbformat_minor" : 4
377
- }
377
+ }
Original file line number Diff line number Diff line change 13
13
"eslint-plugin-prettier" : " ^3.1.4" ,
14
14
"eslint-plugin-react" : " ^7.21.5" ,
15
15
"husky" : " ^3.0.9" ,
16
- "javascript- typescript-langserver " : " ^2.11.3 " ,
16
+ "typescript-language-server " : " ^0.6.4 " ,
17
17
"jest-github-actions-reporter" : " ^1.0.2" ,
18
18
"lerna" : " ^3.13.2" ,
19
19
"npm-run-all" : " ^4.1.5" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class JavascriptTypescriptLanguageServer(NodeModuleSpec):
13
13
"javascriptreact" ,
14
14
]
15
15
spec = dict (
16
- display_name = key ,
16
+ display_name = key + " (deprecated)" ,
17
17
mime_types = [
18
18
"application/typescript" ,
19
19
"text/typescript-jsx" ,
Original file line number Diff line number Diff line change
1
+ from .utils import NodeModuleSpec
2
+
3
+
4
+ class TypescriptLanguageServer (NodeModuleSpec ):
5
+ node_module = key = "typescript-language-server"
6
+ script = ["lib" , "cli.js" ]
7
+ args = ["--stdio" ]
8
+ languages = [
9
+ "javascript" ,
10
+ "jsx" ,
11
+ "typescript" ,
12
+ "typescript-jsx" ,
13
+ "typescriptreact" ,
14
+ "javascriptreact" ,
15
+ ]
16
+ spec = dict (
17
+ display_name = key ,
18
+ mime_types = [
19
+ "application/typescript" ,
20
+ "text/typescript-jsx" ,
21
+ "text/javascript" ,
22
+ "text/ecmascript" ,
23
+ "application/javascript" ,
24
+ "application/x-javascript" ,
25
+ "application/ecmascript" ,
26
+ "text/jsx" ,
27
+ ],
28
+ urls = dict (
29
+ home = "https://github.com/typescript-language-server/{}" .format (key ),
30
+ issues = "https://github.com/typescript-language-server/{}/issues" .format (
31
+ key
32
+ ),
33
+ ),
34
+ install = dict (
35
+ npm = "npm install --save-dev {}" .format (key ),
36
+ yarn = "yarn add --dev {}" .format (key ),
37
+ jlpm = "jlpm add --dev {}" .format (key ),
38
+ ),
39
+ )
You can’t perform that action at this time.
0 commit comments