You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,17 @@
8
8
- completer panel will now always render markdown documentation if available ([#520])
9
9
- the implementation re-renders the panel as it is the best we can do until [jupyterlab#9663](https://github.com/jupyterlab/jupyterlab/pull/9663) is merged
10
10
- the completer now uses `filterText` and `sortText` if available to better filter and sort completions ([#520])
11
+
- completer `suppressInvokeIn` setting was removed; `suppressContinuousHintingIn` and `suppressTriggerCharacterIn` settings were added ([#521])
12
+
-`suppressContinuousHintingIn` by default includes `def` to improve the experience when writing function names ([#521])
11
13
12
14
- bug fixes:
15
+
- user-invoked completion in strings works again ([#521])
13
16
- completer documentation will now consistently show up after filtering the completion items ([#520])
14
17
- completions containing HTML-like syntax will be displayed properly (an upstream issue) ([#520])
15
18
- diagnostics panel will no longer break when foreign documents (e.g. `%%R` cell magics) are removed ([#522])
Copy file name to clipboardExpand all lines: packages/jupyterlab-lsp/schema/completion.json
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,23 @@
17
17
"default": false,
18
18
"description": "Whether to enable continuous hinting (Hinterland mode)."
19
19
},
20
-
"suppressInvokeIn": {
21
-
"title": "Suppress invoke in specific code fragments",
20
+
"suppressContinuousHintingIn": {
21
+
"title": "Suppress invoke continuous hinting in specific code fragments",
22
+
"type": "array",
23
+
"items": {
24
+
"type": "string"
25
+
},
26
+
"default": ["comment", "string", "def"],
27
+
"description": "An array of CodeMirror tokens for which the continuous hinting should be suppressed. The token names vary between languages (modes)."
28
+
},
29
+
"suppressTriggerCharacterIn": {
30
+
"title": "Suppress invoke via trigger character in specific code fragments",
22
31
"type": "array",
23
32
"items": {
24
33
"type": "string"
25
34
},
26
35
"default": ["comment", "string"],
27
-
"description": "An array of CodeMirror tokens for which the auto-invoke should be suppressed. Adding 'def' will prevent continuous hinting when writing a function name in Python, Julia, JavaScript and other languages. The token names vary between languages (modes)."
36
+
"description": "An array of CodeMirror tokens for which the auto-invoke after entering a trigger (e.g. `.` in Python or `::` in R) character should be suppressed. The token names vary between languages (modes)."
0 commit comments