Skip to content

Commit 2802387

Browse files
committed
Mention capabilities in extending docs
1 parent b29f9e0 commit 2802387

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

atest/05_Features/Completion.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ Filters Completions In Case Sensitive Mode
3636
Completer Should Suggest test
3737
Completer Should Not Suggest TabError
3838

39-
4039
Can Prioritize Kernel Completions
4140
# note: disabling pre-filtering to get ranking without match scoring
4241
Configure JupyterLab Plugin {"kernelCompletionsFirst": true, "kernelResponseTimeout": -1, "preFilterMatches": false} plugin id=${COMPLETION PLUGIN ID}

atest/05_Features/Diagnostics.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Force Tags feature:diagnostics
44
Test Setup Setup Notebook Python Diagnostic.ipynb
55
Test Teardown Clean Up After Working With File Diagnostic.ipynb
66
Resource ../Keywords.robot
7-
87
# note: diagnostics are also tested in 01_Editor and 04_Interface/DiagnosticsPanel.robot
98

109
*** Test Cases ***

atest/05_Features/Signature.robot

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,16 @@ Details Should Expand On Click
6262
Wait Until Keyword Succeeds 20x 0.5s Page Should Contain Element ${SIGNATURE_BOX}
6363
Wait Until Keyword Succeeds 10x 0.5s Element Should Contain ${SIGNATURE_BOX} Short description.
6464
Page Should Contain Element ${SIGNATURE_DETAILS}
65-
Details Should Be Collapsed ${SIGNATURE_DETAILS_CSS}
65+
Details Should Be Collapsed ${SIGNATURE_DETAILS_CSS}
6666
Click Element ${SIGNATURE_DETAILS}
6767
Details Should Be Expanded ${SIGNATURE_DETAILS_CSS}
6868

6969
*** Keywords ***
70-
7170
Details Should Be Expanded
7271
[Arguments] ${css_locator}
7372
${is_open} Execute JavaScript return document.querySelector('${css_locator}').open
7473
Should Be True ${is_open} == True
7574

76-
7775
Details Should Be Collapsed
7876
[Arguments] ${css_locator}
7977
${is_open} Execute JavaScript return document.querySelector('${css_locator}').open

docs/Extending.ipynb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
" `CodeMirrorIntegration` class.\n",
3535
"- `labIntegration`: an optional object integrating feature with the JupyterLab\n",
3636
" interface\n",
37+
"- `capabilities`: an optional object defining the [client\n",
38+
" capabilities][clientcapabilities] implemented by your feature,\n",
3739
"- optional fields for easy integration of some of the common JupyterLab systems,\n",
3840
" such as:\n",
3941
" - settings system\n",
@@ -46,7 +48,10 @@
4648
"#### How to override the default implementation of a feature?\n",
4749
"\n",
4850
"You can specify a list of extensions to be disabled the the feature manager\n",
49-
"passing their plugin identifiers in `supersedes` field of `IFeatureOptions`."
51+
"passing their plugin identifiers in `supersedes` field of `IFeatureOptions`.\n",
52+
"\n",
53+
"[clientCapabilities]:\n",
54+
"https://microsoft.github.io/language-server-protocol/specifications/specification-3-17/#clientCapabilities]"
5055
]
5156
},
5257
{

0 commit comments

Comments
 (0)