File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
packages/jupyterlab-lsp/style Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,6 @@ Resource ../Keywords.robot
1010*** Test Cases ***
1111Diagnostics with deprecated tag have strike-through decoration
1212 Wait Until Page Contains Element css:.cm-lsp-diagnostic[title*="is deprecated"] timeout=25s
13+ Wait Until Page Contains Element css:.cm-lsp-diagnostic[title*="Unreachable code"] timeout=5s
1314 Page Should Contain Element css:.cm-lsp-diagnostic-tag-Deprecated
15+ Page Should Contain Element css:.cm-lsp-diagnostic-tag-Unnecessary
Original file line number Diff line number Diff line change 5959 " /**\n " ,
6060 " * @deprecated\n " ,
6161 " */\n " ,
62- " function oldFunc() {}\n " ,
62+ " function oldFunc(test) { \n " ,
63+ " return;\n " ,
64+ " let x = 1;\n " ,
65+ " }\n " ,
6366 " oldFunc"
6467 ]
6568 }
Original file line number Diff line number Diff line change 99 text-decoration-skip-ink : none;
1010}
1111
12- .cm-lsp-diagnostic-tag-Unused {
12+ .cm-lsp-diagnostic-tag-Unnecessary {
1313 /*
1414 * LSP: "Clients are allowed to render diagnostics with this tag faded out instead of having an error squiggle."
1515 */
16- opacity : 0.85 ;
16+ filter : grayscale (1 );
17+ opacity : 0.7 ;
1718 text-decoration : none !important ;
1819}
1920
You can’t perform that action at this time.
0 commit comments