@theia/editor 1.47.0-next.0 → 1.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/lib/browser/decorations/editor-decorator.js +2 -7
  2. package/lib/browser/decorations/editor-decorator.js.map +1 -1
  3. package/lib/browser/decorations/index.js +4 -13
  4. package/lib/browser/decorations/index.js.map +1 -1
  5. package/lib/browser/diff-navigator.d.ts +0 -1
  6. package/lib/browser/diff-navigator.d.ts.map +1 -1
  7. package/lib/browser/diff-navigator.js.map +1 -1
  8. package/lib/browser/editor-command.js +24 -32
  9. package/lib/browser/editor-command.js.map +1 -1
  10. package/lib/browser/editor-contribution.js +14 -22
  11. package/lib/browser/editor-contribution.js.map +1 -1
  12. package/lib/browser/editor-generated-preference-schema.d.ts +38 -5
  13. package/lib/browser/editor-generated-preference-schema.d.ts.map +1 -1
  14. package/lib/browser/editor-generated-preference-schema.js +413 -278
  15. package/lib/browser/editor-generated-preference-schema.js.map +1 -1
  16. package/lib/browser/editor-keybinding.js +2 -7
  17. package/lib/browser/editor-keybinding.js.map +1 -1
  18. package/lib/browser/editor-linenumber-contribution.d.ts.map +1 -1
  19. package/lib/browser/editor-linenumber-contribution.js +9 -18
  20. package/lib/browser/editor-linenumber-contribution.js.map +1 -1
  21. package/lib/browser/editor-manager.js +15 -23
  22. package/lib/browser/editor-manager.js.map +1 -1
  23. package/lib/browser/editor-menu.js +2 -7
  24. package/lib/browser/editor-menu.js.map +1 -1
  25. package/lib/browser/editor-navigation-contribution.js +18 -26
  26. package/lib/browser/editor-navigation-contribution.js.map +1 -1
  27. package/lib/browser/editor-variable-contribution.js +4 -12
  28. package/lib/browser/editor-variable-contribution.js.map +1 -1
  29. package/lib/browser/editor-widget-factory.js +8 -16
  30. package/lib/browser/editor-widget-factory.js.map +1 -1
  31. package/lib/browser/editor-widget.d.ts.map +1 -1
  32. package/lib/browser/editor-widget.js +8 -0
  33. package/lib/browser/editor-widget.js.map +1 -1
  34. package/lib/browser/editor.d.ts +3 -1
  35. package/lib/browser/editor.d.ts.map +1 -1
  36. package/lib/browser/editor.js.map +1 -1
  37. package/lib/browser/index.js +11 -20
  38. package/lib/browser/index.js.map +1 -1
  39. package/lib/browser/language-status/editor-language-status-service.js +12 -20
  40. package/lib/browser/language-status/editor-language-status-service.js.map +1 -1
  41. package/lib/browser/navigation/navigation-location-service.js +10 -18
  42. package/lib/browser/navigation/navigation-location-service.js.map +1 -1
  43. package/lib/browser/navigation/navigation-location-similarity.js +2 -7
  44. package/lib/browser/navigation/navigation-location-similarity.js.map +1 -1
  45. package/lib/browser/navigation/navigation-location-updater.js +2 -7
  46. package/lib/browser/navigation/navigation-location-updater.js.map +1 -1
  47. package/lib/browser/quick-editor-service.js +8 -16
  48. package/lib/browser/quick-editor-service.js.map +1 -1
  49. package/lib/browser/undo-redo-service.js +2 -7
  50. package/lib/browser/undo-redo-service.js.map +1 -1
  51. package/package.json +6 -5
  52. package/src/browser/diff-navigator.ts +0 -1
  53. package/src/browser/editor-generated-preference-schema.ts +451 -283
  54. package/src/browser/editor-linenumber-contribution.ts +1 -2
  55. package/src/browser/editor-widget.ts +8 -1
  56. package/src/browser/editor.ts +3 -1
@@ -30,43 +30,54 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
30
30
  "type": "number",
31
31
  "default": 4,
32
32
  "minimum": 1,
33
- "markdownDescription": nls.localizeByDefault('The number of spaces a tab is equal to. This setting is overridden based on the file contents when {0} is on.', '`#editor.detectIndentation#`'),
34
- "scope": "language-overridable",
33
+ "markdownDescription": nls.localize("theia/editor/editor.tabSize", "The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on."),
34
+ "restricted": false
35
+ },
36
+ "editor.indentSize": {
37
+ "anyOf": [
38
+ {
39
+ "type": "string",
40
+ "enum": [
41
+ "tabSize"
42
+ ]
43
+ },
44
+ {
45
+ "type": "number",
46
+ "minimum": 1
47
+ }
48
+ ],
49
+ "default": "tabSize",
50
+ "markdownDescription": nls.localizeByDefault("The number of spaces used for indentation or `\"tabSize\"` to use the value from `#editor.tabSize#`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on."),
35
51
  "restricted": false
36
52
  },
37
53
  "editor.insertSpaces": {
38
54
  "type": "boolean",
39
55
  "default": true,
40
- "markdownDescription": nls.localizeByDefault('Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when {0} is on.', `#editor.detectIndentation#`),
41
- "scope": "language-overridable",
56
+ "markdownDescription": nls.localize("theia/editor/editor.insertSpaces", "Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on."),
42
57
  "restricted": false
43
58
  },
44
59
  "editor.detectIndentation": {
45
60
  "type": "boolean",
46
61
  "default": true,
47
- "markdownDescription": nls.localizeByDefault('Controls whether {0} and {1} will be automatically detected when a file is opened based on the file contents.', '`#editor.tabSize#`', '`#editor.insertSpaces#`'),
48
- "scope": "language-overridable",
62
+ "markdownDescription": nls.localize("theia/editor/editor.detectIndentation", "Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents."),
49
63
  "restricted": false
50
64
  },
51
65
  "editor.trimAutoWhitespace": {
52
66
  "type": "boolean",
53
67
  "default": true,
54
68
  "description": nls.localizeByDefault("Remove trailing auto inserted whitespace."),
55
- "scope": "language-overridable",
56
69
  "restricted": false
57
70
  },
58
71
  "editor.largeFileOptimizations": {
59
72
  "type": "boolean",
60
73
  "default": true,
61
74
  "description": nls.localizeByDefault("Special handling for large files to disable certain memory intensive features."),
62
- "scope": "language-overridable",
63
75
  "restricted": false
64
76
  },
65
77
  "editor.wordBasedSuggestions": {
66
78
  "type": "boolean",
67
79
  "default": true,
68
80
  "description": nls.localizeByDefault("Controls whether completions should be computed based on words in the document."),
69
- "scope": "language-overridable",
70
81
  "restricted": false
71
82
  },
72
83
  "editor.wordBasedSuggestionsMode": {
@@ -82,7 +93,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
82
93
  nls.localizeByDefault("Suggest words from all open documents.")
83
94
  ],
84
95
  "description": nls.localizeByDefault("Controls from which documents word based completions are computed."),
85
- "scope": "language-overridable",
86
96
  "restricted": false
87
97
  },
88
98
  "editor.semanticHighlighting.enabled": {
@@ -98,21 +108,42 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
98
108
  ],
99
109
  "default": "configuredByTheme",
100
110
  "description": nls.localizeByDefault("Controls whether the semanticHighlighting is shown for the languages that support it."),
101
- "scope": "language-overridable",
102
111
  "restricted": false
103
112
  },
104
113
  "editor.stablePeek": {
105
114
  "type": "boolean",
106
115
  "default": false,
107
- "markdownDescription": nls.localizeByDefault('Keep peek editors open even when double-clicking their content or when hitting `Escape`.'),
108
- "scope": "language-overridable",
116
+ "markdownDescription": nls.localizeByDefault("Keep peek editors open even when double-clicking their content or when hitting `Escape`."),
109
117
  "restricted": false
110
118
  },
111
119
  "editor.maxTokenizationLineLength": {
112
120
  "type": "integer",
113
121
  "default": 20000,
114
122
  "description": nls.localizeByDefault("Lines above this length will not be tokenized for performance reasons"),
115
- "scope": "language-overridable",
123
+ "restricted": false
124
+ },
125
+ "editor.experimental.asyncTokenization": {
126
+ "type": "boolean",
127
+ "default": false,
128
+ "description": nls.localizeByDefault("Controls whether the tokenization should happen asynchronously on a web worker."),
129
+ "tags": [
130
+ "experimental"
131
+ ],
132
+ "restricted": false
133
+ },
134
+ "editor.experimental.asyncTokenizationLogging": {
135
+ "type": "boolean",
136
+ "default": false,
137
+ "description": nls.localizeByDefault("Controls whether async tokenization should be logged. For debugging only."),
138
+ "restricted": false
139
+ },
140
+ "editor.experimental.asyncTokenizationVerification": {
141
+ "type": "boolean",
142
+ "default": false,
143
+ "description": nls.localizeByDefault("Controls whether async tokenization should be verified against legacy background tokenization. Might slow down tokenization. For debugging only."),
144
+ "tags": [
145
+ "experimental"
146
+ ],
116
147
  "restricted": false
117
148
  },
118
149
  "editor.language.brackets": {
@@ -135,7 +166,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
135
166
  }
136
167
  ]
137
168
  },
138
- "scope": "language-overridable",
139
169
  "restricted": false
140
170
  },
141
171
  "editor.language.colorizedBracketPairs": {
@@ -158,56 +188,60 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
158
188
  }
159
189
  ]
160
190
  },
161
- "scope": "language-overridable",
162
191
  "restricted": false
163
192
  },
164
193
  "diffEditor.maxComputationTime": {
165
194
  "type": "number",
166
195
  "default": 5000,
167
196
  "description": nls.localizeByDefault("Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout."),
168
- "scope": "language-overridable",
169
197
  "restricted": false
170
198
  },
171
199
  "diffEditor.maxFileSize": {
172
200
  "type": "number",
173
201
  "default": 50,
174
202
  "description": nls.localizeByDefault("Maximum file size in MB for which to compute diffs. Use 0 for no limit."),
175
- "scope": "language-overridable",
176
203
  "restricted": false
177
204
  },
178
205
  "diffEditor.renderSideBySide": {
179
206
  "type": "boolean",
180
207
  "default": true,
181
208
  "description": nls.localizeByDefault("Controls whether the diff editor shows the diff side by side or inline."),
182
- "scope": "language-overridable",
209
+ "restricted": false
210
+ },
211
+ "diffEditor.renderSideBySideInlineBreakpoint": {
212
+ "type": "number",
213
+ "default": 900,
214
+ "description": nls.localizeByDefault("If the diff editor width is smaller than this value, the inline view is used."),
215
+ "restricted": false
216
+ },
217
+ "diffEditor.useInlineViewWhenSpaceIsLimited": {
218
+ "type": "boolean",
219
+ "default": true,
220
+ "description": nls.localizeByDefault("If enabled and the editor width is too small, the inline view is used."),
183
221
  "restricted": false
184
222
  },
185
223
  "diffEditor.renderMarginRevertIcon": {
186
224
  "type": "boolean",
187
225
  "default": true,
188
226
  "description": nls.localizeByDefault("When enabled, the diff editor shows arrows in its glyph margin to revert changes."),
189
- "scope": "language-overridable",
190
227
  "restricted": false
191
228
  },
192
229
  "diffEditor.ignoreTrimWhitespace": {
193
230
  "type": "boolean",
194
231
  "default": true,
195
232
  "description": nls.localizeByDefault("When enabled, the diff editor ignores changes in leading or trailing whitespace."),
196
- "scope": "language-overridable",
197
233
  "restricted": false
198
234
  },
199
235
  "diffEditor.renderIndicators": {
200
236
  "type": "boolean",
201
237
  "default": true,
202
238
  "description": nls.localizeByDefault("Controls whether the diff editor shows +/- indicators for added/removed changes."),
203
- "scope": "language-overridable",
204
239
  "restricted": false
205
240
  },
206
241
  "diffEditor.codeLens": {
207
242
  "type": "boolean",
208
243
  "default": false,
209
244
  "description": nls.localizeByDefault("Controls whether the editor shows CodeLens."),
210
- "scope": "language-overridable",
211
245
  "restricted": false
212
246
  },
213
247
  "diffEditor.wordWrap": {
@@ -221,30 +255,69 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
221
255
  "markdownEnumDescriptions": [
222
256
  nls.localizeByDefault("Lines will never wrap."),
223
257
  nls.localizeByDefault("Lines will wrap at the viewport width."),
224
- nls.localizeByDefault('Lines will wrap according to the {0} setting.', '`#editor.wordWrap#`')
258
+ nls.localize("theia/editor/diffEditor.wordWrap2", "Lines will wrap according to the `#editor.wordWrap#` setting.")
225
259
  ],
226
- "scope": "language-overridable",
227
260
  "restricted": false
228
261
  },
229
262
  "diffEditor.diffAlgorithm": {
230
263
  "type": "string",
231
264
  "enum": [
232
- "smart",
233
- "experimental"
265
+ "legacy",
266
+ "advanced"
234
267
  ],
235
- "default": "smart",
268
+ "default": "advanced",
236
269
  "markdownEnumDescriptions": [
237
270
  nls.localizeByDefault("Uses the legacy diffing algorithm."),
238
271
  nls.localizeByDefault("Uses the advanced diffing algorithm.")
239
272
  ],
240
- "scope": "language-overridable",
273
+ "tags": [
274
+ "experimental"
275
+ ],
276
+ "restricted": false
277
+ },
278
+ "diffEditor.hideUnchangedRegions.enabled": {
279
+ "type": "boolean",
280
+ "default": false,
281
+ "markdownDescription": nls.localizeByDefault("Controls whether the diff editor shows unchanged regions."),
282
+ "restricted": false
283
+ },
284
+ "diffEditor.hideUnchangedRegions.revealLineCount": {
285
+ "type": "integer",
286
+ "default": 20,
287
+ "markdownDescription": nls.localizeByDefault("Controls how many lines are used for unchanged regions."),
288
+ "minimum": 1,
289
+ "restricted": false
290
+ },
291
+ "diffEditor.hideUnchangedRegions.minimumLineCount": {
292
+ "type": "integer",
293
+ "default": 3,
294
+ "markdownDescription": nls.localizeByDefault("Controls how many lines are used as a minimum for unchanged regions."),
295
+ "minimum": 1,
296
+ "restricted": false
297
+ },
298
+ "diffEditor.hideUnchangedRegions.contextLineCount": {
299
+ "type": "integer",
300
+ "default": 3,
301
+ "markdownDescription": nls.localizeByDefault("Controls how many lines are used as context when comparing unchanged regions."),
302
+ "minimum": 1,
303
+ "restricted": false
304
+ },
305
+ "diffEditor.experimental.showMoves": {
306
+ "type": "boolean",
307
+ "default": false,
308
+ "markdownDescription": nls.localizeByDefault("Controls whether the diff editor should show detected code moves."),
309
+ "restricted": false
310
+ },
311
+ "diffEditor.experimental.showEmptyDecorations": {
312
+ "type": "boolean",
313
+ "default": true,
314
+ "description": nls.localizeByDefault("Controls whether the diff editor shows empty decorations to see where characters got inserted or deleted."),
241
315
  "restricted": false
242
316
  },
243
317
  "editor.acceptSuggestionOnCommitCharacter": {
244
- "markdownDescription": nls.localizeByDefault('Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.'),
318
+ "markdownDescription": nls.localizeByDefault("Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character."),
245
319
  "type": "boolean",
246
320
  "default": true,
247
- "scope": "language-overridable",
248
321
  "restricted": false
249
322
  },
250
323
  "editor.acceptSuggestionOnEnter": {
@@ -261,7 +334,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
261
334
  "off"
262
335
  ],
263
336
  "default": "on",
264
- "scope": "language-overridable",
265
337
  "restricted": false
266
338
  },
267
339
  "editor.accessibilitySupport": {
@@ -272,22 +344,26 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
272
344
  "off"
273
345
  ],
274
346
  "enumDescriptions": [
275
- nls.localizeByDefault('Use platform APIs to detect when a Screen Reader is attached.'),
276
- nls.localizeByDefault("Optimize for usage with a Screen Reader."),
277
- nls.localizeByDefault("Assume a screen reader is not attached.")
347
+ nls.localize("theia/editor/editor.accessibilitySupport0", "Use platform APIs to detect when a Screen Reader is attached"),
348
+ nls.localize("theia/editor/editor.accessibilitySupport1", "Optimize for usage with a Screen Reader"),
349
+ nls.localize("theia/editor/editor.accessibilitySupport2", "Assume a screen reader is not attached")
278
350
  ],
279
351
  "default": "auto",
352
+ "tags": [
353
+ "accessibility"
354
+ ],
280
355
  "description": nls.localizeByDefault("Controls if the UI should run in a mode where it is optimized for screen readers."),
281
- "scope": "language-overridable",
282
356
  "restricted": false
283
357
  },
284
358
  "editor.accessibilityPageSize": {
285
359
  "description": nls.localizeByDefault("Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),
360
+ "tags": [
361
+ "accessibility"
362
+ ],
286
363
  "type": "integer",
287
364
  "default": 10,
288
365
  "minimum": 1,
289
366
  "maximum": 1073741824,
290
- "scope": "language-overridable",
291
367
  "restricted": false
292
368
  },
293
369
  "editor.autoClosingBrackets": {
@@ -306,7 +382,33 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
306
382
  "never"
307
383
  ],
308
384
  "default": "languageDefined",
309
- "scope": "language-overridable",
385
+ "restricted": false
386
+ },
387
+ "editor.autoClosingComments": {
388
+ "enumDescriptions": [
389
+ "",
390
+ nls.localizeByDefault("Use language configurations to determine when to autoclose comments."),
391
+ nls.localizeByDefault("Autoclose comments only when the cursor is to the left of whitespace."),
392
+ ""
393
+ ],
394
+ "description": nls.localizeByDefault("Controls whether the editor should automatically close comments after the user adds an opening comment."),
395
+ "type": "string",
396
+ "enum": [
397
+ "always",
398
+ "languageDefined",
399
+ "beforeWhitespace",
400
+ "never"
401
+ ],
402
+ "default": "languageDefined",
403
+ "restricted": false
404
+ },
405
+ "editor.screenReaderAnnounceInlineSuggestion": {
406
+ "description": nls.localizeByDefault("Control whether inline suggestions are announced by a screen reader."),
407
+ "tags": [
408
+ "accessibility"
409
+ ],
410
+ "type": "boolean",
411
+ "default": true,
310
412
  "restricted": false
311
413
  },
312
414
  "editor.autoClosingDelete": {
@@ -323,7 +425,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
323
425
  "never"
324
426
  ],
325
427
  "default": "auto",
326
- "scope": "language-overridable",
327
428
  "restricted": false
328
429
  },
329
430
  "editor.autoClosingOvertype": {
@@ -340,7 +441,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
340
441
  "never"
341
442
  ],
342
443
  "default": "auto",
343
- "scope": "language-overridable",
344
444
  "restricted": false
345
445
  },
346
446
  "editor.autoClosingQuotes": {
@@ -359,7 +459,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
359
459
  "never"
360
460
  ],
361
461
  "default": "languageDefined",
362
- "scope": "language-overridable",
363
462
  "restricted": false
364
463
  },
365
464
  "editor.autoIndent": {
@@ -380,7 +479,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
380
479
  "full"
381
480
  ],
382
481
  "default": "full",
383
- "scope": "language-overridable",
384
482
  "restricted": false
385
483
  },
386
484
  "editor.autoSurround": {
@@ -399,21 +497,18 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
399
497
  "never"
400
498
  ],
401
499
  "default": "languageDefined",
402
- "scope": "language-overridable",
403
500
  "restricted": false
404
501
  },
405
502
  "editor.bracketPairColorization.enabled": {
406
503
  "type": "boolean",
407
504
  "default": true,
408
- "markdownDescription": nls.localizeByDefault('Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.', '`#workbench.colorCustomizations#`'),
409
- "scope": "language-overridable",
505
+ "markdownDescription": nls.localize("theia/editor/editor.bracketPairColorization.enabled", "Controls whether bracket pair colorization is enabled or not. Use `#workbench.colorCustomizations#` to override the bracket highlight colors."),
410
506
  "restricted": false
411
507
  },
412
508
  "editor.bracketPairColorization.independentColorPoolPerBracketType": {
413
509
  "type": "boolean",
414
510
  "default": false,
415
511
  "description": nls.localizeByDefault("Controls whether each bracket type has its own independent color pool."),
416
- "scope": "language-overridable",
417
512
  "restricted": false
418
513
  },
419
514
  "editor.guides.bracketPairs": {
@@ -433,7 +528,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
433
528
  ],
434
529
  "default": false,
435
530
  "description": nls.localizeByDefault("Controls whether bracket pair guides are enabled or not."),
436
- "scope": "language-overridable",
437
531
  "restricted": false
438
532
  },
439
533
  "editor.guides.bracketPairsHorizontal": {
@@ -453,21 +547,18 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
453
547
  ],
454
548
  "default": "active",
455
549
  "description": nls.localizeByDefault("Controls whether horizontal bracket pair guides are enabled or not."),
456
- "scope": "language-overridable",
457
550
  "restricted": false
458
551
  },
459
552
  "editor.guides.highlightActiveBracketPair": {
460
553
  "type": "boolean",
461
554
  "default": true,
462
555
  "description": nls.localizeByDefault("Controls whether the editor should highlight the active bracket pair."),
463
- "scope": "language-overridable",
464
556
  "restricted": false
465
557
  },
466
558
  "editor.guides.indentation": {
467
559
  "type": "boolean",
468
560
  "default": true,
469
561
  "description": nls.localizeByDefault("Controls whether the editor should render indent guides."),
470
- "scope": "language-overridable",
471
562
  "restricted": false
472
563
  },
473
564
  "editor.guides.highlightActiveIndentation": {
@@ -487,21 +578,18 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
487
578
  ],
488
579
  "default": true,
489
580
  "description": nls.localizeByDefault("Controls whether the editor should highlight the active indent guide."),
490
- "scope": "language-overridable",
491
581
  "restricted": false
492
582
  },
493
583
  "editor.codeLens": {
494
584
  "description": nls.localizeByDefault("Controls whether the editor shows CodeLens."),
495
585
  "type": "boolean",
496
586
  "default": true,
497
- "scope": "language-overridable",
498
587
  "restricted": false
499
588
  },
500
589
  "editor.codeLensFontFamily": {
501
590
  "description": nls.localizeByDefault("Controls the font family for CodeLens."),
502
591
  "type": "string",
503
592
  "default": "",
504
- "scope": "language-overridable",
505
593
  "restricted": false
506
594
  },
507
595
  "editor.codeLensFontSize": {
@@ -509,43 +597,45 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
509
597
  "default": 0,
510
598
  "minimum": 0,
511
599
  "maximum": 100,
512
- "markdownDescription": nls.localizeByDefault('Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.'),
513
- "scope": "language-overridable",
600
+ "markdownDescription": nls.localizeByDefault("Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used."),
514
601
  "restricted": false
515
602
  },
516
603
  "editor.colorDecorators": {
517
604
  "description": nls.localizeByDefault("Controls whether the editor should render the inline color decorators and color picker."),
518
605
  "type": "boolean",
519
606
  "default": true,
520
- "scope": "language-overridable",
607
+ "restricted": false
608
+ },
609
+ "editor.colorDecoratorsLimit": {
610
+ "markdownDescription": nls.localizeByDefault("Controls the max number of color decorators that can be rendered in an editor at once."),
611
+ "type": "integer",
612
+ "default": 500,
613
+ "minimum": 1,
614
+ "maximum": 1000000,
521
615
  "restricted": false
522
616
  },
523
617
  "editor.columnSelection": {
524
618
  "description": nls.localizeByDefault("Enable that the selection with the mouse and keys is doing column selection."),
525
619
  "type": "boolean",
526
620
  "default": false,
527
- "scope": "language-overridable",
528
621
  "restricted": false
529
622
  },
530
623
  "editor.comments.insertSpace": {
531
624
  "type": "boolean",
532
625
  "default": true,
533
626
  "description": nls.localizeByDefault("Controls whether a space character is inserted when commenting."),
534
- "scope": "language-overridable",
535
627
  "restricted": false
536
628
  },
537
629
  "editor.comments.ignoreEmptyLines": {
538
630
  "type": "boolean",
539
631
  "default": true,
540
632
  "description": nls.localizeByDefault("Controls if empty lines should be ignored with toggle, add or remove actions for line comments."),
541
- "scope": "language-overridable",
542
633
  "restricted": false
543
634
  },
544
635
  "editor.copyWithSyntaxHighlighting": {
545
636
  "description": nls.localizeByDefault("Controls whether syntax highlighting should be copied into the clipboard."),
546
637
  "type": "boolean",
547
638
  "default": true,
548
- "scope": "language-overridable",
549
639
  "restricted": false
550
640
  },
551
641
  "editor.cursorBlinking": {
@@ -559,14 +649,22 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
559
649
  "solid"
560
650
  ],
561
651
  "default": "blink",
562
- "scope": "language-overridable",
563
652
  "restricted": false
564
653
  },
565
654
  "editor.cursorSmoothCaretAnimation": {
655
+ "enumDescriptions": [
656
+ nls.localizeByDefault("Smooth caret animation is disabled."),
657
+ nls.localizeByDefault("Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),
658
+ nls.localizeByDefault("Smooth caret animation is always enabled.")
659
+ ],
566
660
  "description": nls.localizeByDefault("Controls whether the smooth caret animation should be enabled."),
567
- "type": "boolean",
568
- "default": false,
569
- "scope": "language-overridable",
661
+ "type": "string",
662
+ "enum": [
663
+ "off",
664
+ "explicit",
665
+ "on"
666
+ ],
667
+ "default": "off",
570
668
  "restricted": false
571
669
  },
572
670
  "editor.cursorStyle": {
@@ -581,16 +679,14 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
581
679
  "underline-thin"
582
680
  ],
583
681
  "default": "line",
584
- "scope": "language-overridable",
585
682
  "restricted": false
586
683
  },
587
684
  "editor.cursorSurroundingLines": {
588
- "description": nls.localizeByDefault('Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as \'scrollOff\' or \'scrollOffset\' in some other editors.'),
685
+ "description": nls.localizeByDefault("Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors."),
589
686
  "type": "integer",
590
687
  "default": 0,
591
688
  "minimum": 0,
592
689
  "maximum": 1073741824,
593
- "scope": "language-overridable",
594
690
  "restricted": false
595
691
  },
596
692
  "editor.cursorSurroundingLinesStyle": {
@@ -598,14 +694,13 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
598
694
  nls.localizeByDefault("`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),
599
695
  nls.localizeByDefault("`cursorSurroundingLines` is enforced always.")
600
696
  ],
601
- "description": nls.localizeByDefault("Controls when `#cursorSurroundingLines#` should be enforced."),
697
+ "markdownDescription": nls.localizeByDefault("Controls when `#cursorSurroundingLines#` should be enforced."),
602
698
  "type": "string",
603
699
  "enum": [
604
700
  "default",
605
701
  "all"
606
702
  ],
607
703
  "default": "default",
608
- "scope": "language-overridable",
609
704
  "restricted": false
610
705
  },
611
706
  "editor.cursorWidth": {
@@ -614,42 +709,66 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
614
709
  "default": 0,
615
710
  "minimum": 0,
616
711
  "maximum": 1073741824,
617
- "scope": "language-overridable",
618
712
  "restricted": false
619
713
  },
620
714
  "editor.dragAndDrop": {
621
715
  "description": nls.localizeByDefault("Controls whether the editor should allow moving selections via drag and drop."),
622
716
  "type": "boolean",
623
717
  "default": true,
624
- "scope": "language-overridable",
625
718
  "restricted": false
626
719
  },
627
720
  "editor.dropIntoEditor.enabled": {
628
721
  "type": "boolean",
629
722
  "default": true,
630
723
  "markdownDescription": nls.localizeByDefault("Controls whether you can drag and drop a file into a text editor by holding down `shift` (instead of opening the file in an editor)."),
631
- "scope": "language-overridable",
724
+ "restricted": false
725
+ },
726
+ "editor.dropIntoEditor.showDropSelector": {
727
+ "type": "string",
728
+ "markdownDescription": nls.localizeByDefault("Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),
729
+ "enum": [
730
+ "afterDrop",
731
+ "never"
732
+ ],
733
+ "enumDescriptions": [
734
+ nls.localizeByDefault("Show the drop selector widget after a file is dropped into the editor."),
735
+ nls.localizeByDefault("Never show the drop selector widget. Instead the default drop provider is always used.")
736
+ ],
737
+ "default": "afterDrop",
632
738
  "restricted": false
633
739
  },
634
740
  "editor.emptySelectionClipboard": {
635
741
  "description": nls.localizeByDefault("Controls whether copying without a selection copies the current line."),
636
742
  "type": "boolean",
637
743
  "default": true,
638
- "scope": "language-overridable",
744
+ "restricted": false
745
+ },
746
+ "editor.experimentalWhitespaceRendering": {
747
+ "enumDescriptions": [
748
+ nls.localizeByDefault("Use a new rendering method with svgs."),
749
+ nls.localizeByDefault("Use a new rendering method with font characters."),
750
+ nls.localizeByDefault("Use the stable rendering method.")
751
+ ],
752
+ "description": nls.localizeByDefault("Controls whether whitespace is rendered with a new, experimental method."),
753
+ "type": "string",
754
+ "enum": [
755
+ "svg",
756
+ "font",
757
+ "off"
758
+ ],
759
+ "default": "svg",
639
760
  "restricted": false
640
761
  },
641
762
  "editor.fastScrollSensitivity": {
642
763
  "markdownDescription": nls.localizeByDefault("Scrolling speed multiplier when pressing `Alt`."),
643
764
  "type": "number",
644
765
  "default": 5,
645
- "scope": "language-overridable",
646
766
  "restricted": false
647
767
  },
648
768
  "editor.find.cursorMoveOnType": {
649
769
  "type": "boolean",
650
770
  "default": true,
651
771
  "description": nls.localizeByDefault("Controls whether the cursor should jump to find matches while typing."),
652
- "scope": "language-overridable",
653
772
  "restricted": false
654
773
  },
655
774
  "editor.find.seedSearchStringFromSelection": {
@@ -666,7 +785,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
666
785
  nls.localizeByDefault("Only seed search string from the editor selection.")
667
786
  ],
668
787
  "description": nls.localizeByDefault("Controls whether the search string in the Find Widget is seeded from the editor selection."),
669
- "scope": "language-overridable",
670
788
  "restricted": false
671
789
  },
672
790
  "editor.find.autoFindInSelection": {
@@ -678,33 +796,29 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
678
796
  ],
679
797
  "default": "never",
680
798
  "enumDescriptions": [
681
- nls.localizeByDefault('Never turn on Find in Selection automatically (default).'),
682
- nls.localizeByDefault('Always turn on Find in Selection automatically.'),
683
- nls.localizeByDefault('Turn on Find in Selection automatically when multiple lines of content are selected.'),
799
+ nls.localizeByDefault("Never turn on Find in Selection automatically (default)."),
800
+ nls.localizeByDefault("Always turn on Find in Selection automatically."),
801
+ nls.localizeByDefault("Turn on Find in Selection automatically when multiple lines of content are selected.")
684
802
  ],
685
- "description": nls.localizeByDefault('Controls the condition for turning on Find in Selection automatically.'),
686
- "scope": "language-overridable",
803
+ "description": nls.localizeByDefault("Controls the condition for turning on Find in Selection automatically."),
687
804
  "restricted": false
688
805
  },
689
806
  "editor.find.addExtraSpaceOnTop": {
690
807
  "type": "boolean",
691
808
  "default": true,
692
809
  "description": nls.localizeByDefault("Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible."),
693
- "scope": "language-overridable",
694
810
  "restricted": false
695
811
  },
696
812
  "editor.find.loop": {
697
813
  "type": "boolean",
698
814
  "default": true,
699
815
  "description": nls.localizeByDefault("Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found."),
700
- "scope": "language-overridable",
701
816
  "restricted": false
702
817
  },
703
818
  "editor.folding": {
704
819
  "description": nls.localizeByDefault("Controls whether the editor has code folding enabled."),
705
820
  "type": "boolean",
706
821
  "default": true,
707
- "scope": "language-overridable",
708
822
  "restricted": false
709
823
  },
710
824
  "editor.foldingStrategy": {
@@ -719,21 +833,18 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
719
833
  "indentation"
720
834
  ],
721
835
  "default": "auto",
722
- "scope": "language-overridable",
723
836
  "restricted": false
724
837
  },
725
838
  "editor.foldingHighlight": {
726
839
  "description": nls.localizeByDefault("Controls whether the editor should highlight folded ranges."),
727
840
  "type": "boolean",
728
841
  "default": true,
729
- "scope": "language-overridable",
730
842
  "restricted": false
731
843
  },
732
844
  "editor.foldingImportsByDefault": {
733
845
  "description": nls.localizeByDefault("Controls whether the editor automatically collapses import ranges."),
734
846
  "type": "boolean",
735
847
  "default": false,
736
- "scope": "language-overridable",
737
848
  "restricted": false
738
849
  },
739
850
  "editor.foldingMaximumRegions": {
@@ -742,21 +853,18 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
742
853
  "default": 5000,
743
854
  "minimum": 10,
744
855
  "maximum": 65000,
745
- "scope": "language-overridable",
746
856
  "restricted": false
747
857
  },
748
858
  "editor.unfoldOnClickAfterEndOfLine": {
749
859
  "description": nls.localizeByDefault("Controls whether clicking on the empty content after a folded line will unfold the line."),
750
860
  "type": "boolean",
751
861
  "default": false,
752
- "scope": "language-overridable",
753
862
  "restricted": false
754
863
  },
755
864
  "editor.fontFamily": {
756
865
  "description": nls.localizeByDefault("Controls the font family."),
757
866
  "type": "string",
758
867
  "default": isOSX ? 'Menlo, Monaco, \'Courier New\', monospace' : isWindows ? 'Consolas, \'Courier New\', monospace' : '\'Droid Sans Mono\', \'monospace\', monospace',
759
- "scope": "language-overridable",
760
868
  "restricted": false
761
869
  },
762
870
  "editor.fontLigatures": {
@@ -772,7 +880,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
772
880
  ],
773
881
  "description": nls.localizeByDefault("Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),
774
882
  "default": false,
775
- "scope": "language-overridable",
776
883
  "restricted": false
777
884
  },
778
885
  "editor.fontSize": {
@@ -781,7 +888,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
781
888
  "maximum": 100,
782
889
  "default": isOSX ? 12 : 14,
783
890
  "description": nls.localizeByDefault("Controls the font size in pixels."),
784
- "scope": "language-overridable",
785
891
  "restricted": false
786
892
  },
787
893
  "editor.fontWeight": {
@@ -814,34 +920,44 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
814
920
  ],
815
921
  "default": "normal",
816
922
  "description": nls.localizeByDefault("Controls the font weight. Accepts \"normal\" and \"bold\" keywords or numbers between 1 and 1000."),
817
- "scope": "language-overridable",
923
+ "restricted": false
924
+ },
925
+ "editor.fontVariations": {
926
+ "anyOf": [
927
+ {
928
+ "type": "boolean",
929
+ "description": nls.localizeByDefault("Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")
930
+ },
931
+ {
932
+ "type": "string",
933
+ "description": nls.localizeByDefault("Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")
934
+ }
935
+ ],
936
+ "description": nls.localizeByDefault("Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),
937
+ "default": false,
818
938
  "restricted": false
819
939
  },
820
940
  "editor.formatOnPaste": {
821
941
  "description": nls.localizeByDefault("Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document."),
822
942
  "type": "boolean",
823
943
  "default": false,
824
- "scope": "language-overridable",
825
944
  "restricted": false
826
945
  },
827
946
  "editor.formatOnType": {
828
947
  "description": nls.localizeByDefault("Controls whether the editor should automatically format the line after typing."),
829
948
  "type": "boolean",
830
949
  "default": false,
831
- "scope": "language-overridable",
832
950
  "restricted": false
833
951
  },
834
952
  "editor.glyphMargin": {
835
953
  "description": nls.localizeByDefault("Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging."),
836
954
  "type": "boolean",
837
955
  "default": true,
838
- "scope": "language-overridable",
839
956
  "restricted": false
840
957
  },
841
958
  "editor.gotoLocation.multiple": {
842
959
  "deprecationMessage": "This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.",
843
960
  "default": null,
844
- "scope": "language-overridable",
845
961
  "restricted": false
846
962
  },
847
963
  "editor.gotoLocation.multipleDefinitions": {
@@ -856,9 +972,8 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
856
972
  "enumDescriptions": [
857
973
  nls.localizeByDefault("Show Peek view of the results (default)"),
858
974
  nls.localizeByDefault("Go to the primary result and show a Peek view"),
859
- nls.localizeByDefault('Go to the primary result and enable Peek-less navigation to others')
975
+ nls.localizeByDefault("Go to the primary result and enable Peek-less navigation to others")
860
976
  ],
861
- "scope": "language-overridable",
862
977
  "restricted": false
863
978
  },
864
979
  "editor.gotoLocation.multipleTypeDefinitions": {
@@ -873,9 +988,8 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
873
988
  "enumDescriptions": [
874
989
  nls.localizeByDefault("Show Peek view of the results (default)"),
875
990
  nls.localizeByDefault("Go to the primary result and show a Peek view"),
876
- nls.localizeByDefault('Go to the primary result and enable Peek-less navigation to others')
991
+ nls.localizeByDefault("Go to the primary result and enable Peek-less navigation to others")
877
992
  ],
878
- "scope": "language-overridable",
879
993
  "restricted": false
880
994
  },
881
995
  "editor.gotoLocation.multipleDeclarations": {
@@ -890,9 +1004,8 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
890
1004
  "enumDescriptions": [
891
1005
  nls.localizeByDefault("Show Peek view of the results (default)"),
892
1006
  nls.localizeByDefault("Go to the primary result and show a Peek view"),
893
- nls.localizeByDefault('Go to the primary result and enable Peek-less navigation to others')
1007
+ nls.localizeByDefault("Go to the primary result and enable Peek-less navigation to others")
894
1008
  ],
895
- "scope": "language-overridable",
896
1009
  "restricted": false
897
1010
  },
898
1011
  "editor.gotoLocation.multipleImplementations": {
@@ -907,9 +1020,8 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
907
1020
  "enumDescriptions": [
908
1021
  nls.localizeByDefault("Show Peek view of the results (default)"),
909
1022
  nls.localizeByDefault("Go to the primary result and show a Peek view"),
910
- nls.localizeByDefault('Go to the primary result and enable Peek-less navigation to others')
1023
+ nls.localizeByDefault("Go to the primary result and enable Peek-less navigation to others")
911
1024
  ],
912
- "scope": "language-overridable",
913
1025
  "restricted": false
914
1026
  },
915
1027
  "editor.gotoLocation.multipleReferences": {
@@ -924,9 +1036,8 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
924
1036
  "enumDescriptions": [
925
1037
  nls.localizeByDefault("Show Peek view of the results (default)"),
926
1038
  nls.localizeByDefault("Go to the primary result and show a Peek view"),
927
- nls.localizeByDefault('Go to the primary result and enable Peek-less navigation to others')
1039
+ nls.localizeByDefault("Go to the primary result and enable Peek-less navigation to others")
928
1040
  ],
929
- "scope": "language-overridable",
930
1041
  "restricted": false
931
1042
  },
932
1043
  "editor.gotoLocation.alternativeDefinitionCommand": {
@@ -947,7 +1058,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
947
1058
  "editor.action.revealDefinition"
948
1059
  ],
949
1060
  "description": nls.localizeByDefault("Alternative command id that is being executed when the result of 'Go to Definition' is the current location."),
950
- "scope": "language-overridable",
951
1061
  "restricted": false
952
1062
  },
953
1063
  "editor.gotoLocation.alternativeTypeDefinitionCommand": {
@@ -968,7 +1078,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
968
1078
  "editor.action.revealDefinition"
969
1079
  ],
970
1080
  "description": nls.localizeByDefault("Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location."),
971
- "scope": "language-overridable",
972
1081
  "restricted": false
973
1082
  },
974
1083
  "editor.gotoLocation.alternativeDeclarationCommand": {
@@ -989,7 +1098,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
989
1098
  "editor.action.revealDefinition"
990
1099
  ],
991
1100
  "description": nls.localizeByDefault("Alternative command id that is being executed when the result of 'Go to Declaration' is the current location."),
992
- "scope": "language-overridable",
993
1101
  "restricted": false
994
1102
  },
995
1103
  "editor.gotoLocation.alternativeImplementationCommand": {
@@ -1010,7 +1118,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1010
1118
  "editor.action.revealDefinition"
1011
1119
  ],
1012
1120
  "description": nls.localizeByDefault("Alternative command id that is being executed when the result of 'Go to Implementation' is the current location."),
1013
- "scope": "language-overridable",
1014
1121
  "restricted": false
1015
1122
  },
1016
1123
  "editor.gotoLocation.alternativeReferenceCommand": {
@@ -1031,21 +1138,18 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1031
1138
  "editor.action.revealDefinition"
1032
1139
  ],
1033
1140
  "description": nls.localizeByDefault("Alternative command id that is being executed when the result of 'Go to Reference' is the current location."),
1034
- "scope": "language-overridable",
1035
1141
  "restricted": false
1036
1142
  },
1037
1143
  "editor.hideCursorInOverviewRuler": {
1038
1144
  "description": nls.localizeByDefault("Controls whether the cursor should be hidden in the overview ruler."),
1039
1145
  "type": "boolean",
1040
1146
  "default": false,
1041
- "scope": "language-overridable",
1042
1147
  "restricted": false
1043
1148
  },
1044
1149
  "editor.hover.enabled": {
1045
1150
  "type": "boolean",
1046
1151
  "default": true,
1047
1152
  "description": nls.localizeByDefault("Controls whether the hover is shown."),
1048
- "scope": "language-overridable",
1049
1153
  "restricted": false
1050
1154
  },
1051
1155
  "editor.hover.delay": {
@@ -1054,49 +1158,69 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1054
1158
  "minimum": 0,
1055
1159
  "maximum": 10000,
1056
1160
  "description": nls.localizeByDefault("Controls the delay in milliseconds after which the hover is shown."),
1057
- "scope": "language-overridable",
1058
1161
  "restricted": false
1059
1162
  },
1060
1163
  "editor.hover.sticky": {
1061
1164
  "type": "boolean",
1062
1165
  "default": true,
1063
1166
  "description": nls.localizeByDefault("Controls whether the hover should remain visible when mouse is moved over it."),
1064
- "scope": "language-overridable",
1167
+ "restricted": false
1168
+ },
1169
+ "editor.hover.hidingDelay": {
1170
+ "type": "integer",
1171
+ "minimum": 0,
1172
+ "default": 300,
1173
+ "description": nls.localize("theia/editor/editor.hover.hidingDelay", "Controls the delay in milliseconds after thich the hover is hidden. Requires `editor.hover.sticky` to be enabled."),
1065
1174
  "restricted": false
1066
1175
  },
1067
1176
  "editor.hover.above": {
1068
1177
  "type": "boolean",
1069
1178
  "default": true,
1070
1179
  "description": nls.localizeByDefault("Prefer showing hovers above the line, if there's space."),
1071
- "scope": "language-overridable",
1072
1180
  "restricted": false
1073
1181
  },
1074
1182
  "editor.inlineSuggest.enabled": {
1075
1183
  "type": "boolean",
1076
1184
  "default": true,
1077
1185
  "description": nls.localizeByDefault("Controls whether to automatically show inline suggestions in the editor."),
1078
- "scope": "language-overridable",
1186
+ "restricted": false
1187
+ },
1188
+ "editor.inlineSuggest.showToolbar": {
1189
+ "type": "string",
1190
+ "default": "onHover",
1191
+ "enum": [
1192
+ "always",
1193
+ "onHover"
1194
+ ],
1195
+ "enumDescriptions": [
1196
+ nls.localizeByDefault("Show the inline suggestion toolbar whenever an inline suggestion is shown."),
1197
+ nls.localizeByDefault("Show the inline suggestion toolbar when hovering over an inline suggestion.")
1198
+ ],
1199
+ "description": nls.localizeByDefault("Controls when to show the inline suggestion toolbar."),
1200
+ "restricted": false
1201
+ },
1202
+ "editor.inlineSuggest.suppressSuggestions": {
1203
+ "type": "boolean",
1204
+ "default": false,
1205
+ "description": nls.localizeByDefault("Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available."),
1079
1206
  "restricted": false
1080
1207
  },
1081
1208
  "editor.letterSpacing": {
1082
1209
  "description": nls.localizeByDefault("Controls the letter spacing in pixels."),
1083
1210
  "type": "number",
1084
1211
  "default": 0,
1085
- "scope": "language-overridable",
1086
1212
  "restricted": false
1087
1213
  },
1088
1214
  "editor.lightbulb.enabled": {
1089
1215
  "type": "boolean",
1090
1216
  "default": true,
1091
- "description": nls.localizeByDefault('Enables the Code Action lightbulb in the editor.'),
1092
- "scope": "language-overridable",
1217
+ "description": nls.localizeByDefault("Enables the Code Action lightbulb in the editor."),
1093
1218
  "restricted": false
1094
1219
  },
1095
1220
  "editor.lineHeight": {
1096
1221
  "markdownDescription": nls.localizeByDefault("Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values."),
1097
1222
  "type": "number",
1098
1223
  "default": 0,
1099
- "scope": "language-overridable",
1100
1224
  "restricted": false
1101
1225
  },
1102
1226
  "editor.lineNumbers": {
@@ -1115,21 +1239,18 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1115
1239
  ],
1116
1240
  "default": "on",
1117
1241
  "description": nls.localizeByDefault("Controls the display of line numbers."),
1118
- "scope": "language-overridable",
1119
1242
  "restricted": false
1120
1243
  },
1121
1244
  "editor.linkedEditing": {
1122
- "description": nls.localizeByDefault('Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.'),
1245
+ "description": nls.localizeByDefault("Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing."),
1123
1246
  "type": "boolean",
1124
1247
  "default": false,
1125
- "scope": "language-overridable",
1126
1248
  "restricted": false
1127
1249
  },
1128
1250
  "editor.links": {
1129
1251
  "description": nls.localizeByDefault("Controls whether the editor should detect links and make them clickable."),
1130
1252
  "type": "boolean",
1131
1253
  "default": true,
1132
- "scope": "language-overridable",
1133
1254
  "restricted": false
1134
1255
  },
1135
1256
  "editor.matchBrackets": {
@@ -1141,21 +1262,18 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1141
1262
  "never"
1142
1263
  ],
1143
1264
  "default": "always",
1144
- "scope": "language-overridable",
1145
1265
  "restricted": false
1146
1266
  },
1147
1267
  "editor.minimap.enabled": {
1148
1268
  "type": "boolean",
1149
1269
  "default": true,
1150
1270
  "description": nls.localizeByDefault("Controls whether the minimap is shown."),
1151
- "scope": "language-overridable",
1152
1271
  "restricted": false
1153
1272
  },
1154
1273
  "editor.minimap.autohide": {
1155
1274
  "type": "boolean",
1156
1275
  "default": false,
1157
1276
  "description": nls.localizeByDefault("Controls whether the minimap is hidden automatically."),
1158
- "scope": "language-overridable",
1159
1277
  "restricted": false
1160
1278
  },
1161
1279
  "editor.minimap.size": {
@@ -1172,7 +1290,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1172
1290
  ],
1173
1291
  "default": "proportional",
1174
1292
  "description": nls.localizeByDefault("Controls the size of the minimap."),
1175
- "scope": "language-overridable",
1176
1293
  "restricted": false
1177
1294
  },
1178
1295
  "editor.minimap.side": {
@@ -1183,7 +1300,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1183
1300
  ],
1184
1301
  "default": "right",
1185
1302
  "description": nls.localizeByDefault("Controls the side where to render the minimap."),
1186
- "scope": "language-overridable",
1187
1303
  "restricted": false
1188
1304
  },
1189
1305
  "editor.minimap.showSlider": {
@@ -1194,7 +1310,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1194
1310
  ],
1195
1311
  "default": "mouseover",
1196
1312
  "description": nls.localizeByDefault("Controls when the minimap slider is shown."),
1197
- "scope": "language-overridable",
1198
1313
  "restricted": false
1199
1314
  },
1200
1315
  "editor.minimap.scale": {
@@ -1208,42 +1323,36 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1208
1323
  3
1209
1324
  ],
1210
1325
  "description": nls.localizeByDefault("Scale of content drawn in the minimap: 1, 2 or 3."),
1211
- "scope": "language-overridable",
1212
1326
  "restricted": false
1213
1327
  },
1214
1328
  "editor.minimap.renderCharacters": {
1215
1329
  "type": "boolean",
1216
1330
  "default": true,
1217
1331
  "description": nls.localizeByDefault("Render the actual characters on a line as opposed to color blocks."),
1218
- "scope": "language-overridable",
1219
1332
  "restricted": false
1220
1333
  },
1221
1334
  "editor.minimap.maxColumn": {
1222
1335
  "type": "number",
1223
1336
  "default": 120,
1224
1337
  "description": nls.localizeByDefault("Limit the width of the minimap to render at most a certain number of columns."),
1225
- "scope": "language-overridable",
1226
1338
  "restricted": false
1227
1339
  },
1228
1340
  "editor.mouseWheelScrollSensitivity": {
1229
1341
  "markdownDescription": nls.localizeByDefault("A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."),
1230
1342
  "type": "number",
1231
1343
  "default": 1,
1232
- "scope": "language-overridable",
1233
1344
  "restricted": false
1234
1345
  },
1235
1346
  "editor.mouseWheelZoom": {
1236
1347
  "markdownDescription": nls.localizeByDefault("Zoom the font of the editor when using mouse wheel and holding `Ctrl`."),
1237
1348
  "type": "boolean",
1238
1349
  "default": false,
1239
- "scope": "language-overridable",
1240
1350
  "restricted": false
1241
1351
  },
1242
1352
  "editor.multiCursorMergeOverlapping": {
1243
1353
  "description": nls.localizeByDefault("Merge multiple cursors when they are overlapping."),
1244
1354
  "type": "boolean",
1245
1355
  "default": true,
1246
- "scope": "language-overridable",
1247
1356
  "restricted": false
1248
1357
  },
1249
1358
  "editor.multiCursorModifier": {
@@ -1258,7 +1367,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1258
1367
  "alt"
1259
1368
  ],
1260
1369
  "default": "alt",
1261
- "scope": "language-overridable",
1262
1370
  "restricted": false
1263
1371
  },
1264
1372
  "editor.multiCursorPaste": {
@@ -1273,21 +1381,26 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1273
1381
  "full"
1274
1382
  ],
1275
1383
  "default": "spread",
1276
- "scope": "language-overridable",
1384
+ "restricted": false
1385
+ },
1386
+ "editor.multiCursorLimit": {
1387
+ "markdownDescription": nls.localizeByDefault("Controls the max number of cursors that can be in an active editor at once."),
1388
+ "type": "integer",
1389
+ "default": 10000,
1390
+ "minimum": 1,
1391
+ "maximum": 100000,
1277
1392
  "restricted": false
1278
1393
  },
1279
1394
  "editor.occurrencesHighlight": {
1280
1395
  "description": nls.localizeByDefault("Controls whether the editor should highlight semantic symbol occurrences."),
1281
1396
  "type": "boolean",
1282
1397
  "default": true,
1283
- "scope": "language-overridable",
1284
1398
  "restricted": false
1285
1399
  },
1286
1400
  "editor.overviewRulerBorder": {
1287
1401
  "description": nls.localizeByDefault("Controls whether a border should be drawn around the overview ruler."),
1288
1402
  "type": "boolean",
1289
1403
  "default": true,
1290
- "scope": "language-overridable",
1291
1404
  "restricted": false
1292
1405
  },
1293
1406
  "editor.padding.top": {
@@ -1296,7 +1409,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1296
1409
  "minimum": 0,
1297
1410
  "maximum": 1000,
1298
1411
  "description": nls.localizeByDefault("Controls the amount of space between the top edge of the editor and the first line."),
1299
- "scope": "language-overridable",
1300
1412
  "restricted": false
1301
1413
  },
1302
1414
  "editor.padding.bottom": {
@@ -1305,21 +1417,38 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1305
1417
  "minimum": 0,
1306
1418
  "maximum": 1000,
1307
1419
  "description": nls.localizeByDefault("Controls the amount of space between the bottom edge of the editor and the last line."),
1308
- "scope": "language-overridable",
1420
+ "restricted": false
1421
+ },
1422
+ "editor.pasteAs.enabled": {
1423
+ "type": "boolean",
1424
+ "default": true,
1425
+ "markdownDescription": nls.localizeByDefault("Controls whether you can paste content in different ways."),
1426
+ "restricted": false
1427
+ },
1428
+ "editor.pasteAs.showPasteSelector": {
1429
+ "type": "string",
1430
+ "markdownDescription": nls.localizeByDefault("Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),
1431
+ "enum": [
1432
+ "afterPaste",
1433
+ "never"
1434
+ ],
1435
+ "enumDescriptions": [
1436
+ nls.localizeByDefault("Show the paste selector widget after content is pasted into the editor."),
1437
+ nls.localizeByDefault("Never show the paste selector widget. Instead the default pasting behavior is always used.")
1438
+ ],
1439
+ "default": "afterPaste",
1309
1440
  "restricted": false
1310
1441
  },
1311
1442
  "editor.parameterHints.enabled": {
1312
1443
  "type": "boolean",
1313
1444
  "default": true,
1314
1445
  "description": nls.localizeByDefault("Enables a pop-up that shows parameter documentation and type information as you type."),
1315
- "scope": "language-overridable",
1316
1446
  "restricted": false
1317
1447
  },
1318
1448
  "editor.parameterHints.cycle": {
1319
1449
  "type": "boolean",
1320
- "default": false,
1450
+ "default": true,
1321
1451
  "description": nls.localizeByDefault("Controls whether the parameter hints menu cycles or closes when reaching the end of the list."),
1322
- "scope": "language-overridable",
1323
1452
  "restricted": false
1324
1453
  },
1325
1454
  "editor.peekWidgetDefaultFocus": {
@@ -1334,14 +1463,12 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1334
1463
  "editor"
1335
1464
  ],
1336
1465
  "default": "tree",
1337
- "scope": "language-overridable",
1338
1466
  "restricted": false
1339
1467
  },
1340
1468
  "editor.definitionLinkOpensInPeek": {
1341
1469
  "description": nls.localizeByDefault("Controls whether the Go to Definition mouse gesture always opens the peek widget."),
1342
1470
  "type": "boolean",
1343
1471
  "default": false,
1344
- "scope": "language-overridable",
1345
1472
  "restricted": false
1346
1473
  },
1347
1474
  "editor.quickSuggestions": {
@@ -1421,7 +1548,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1421
1548
  "strings": "off"
1422
1549
  },
1423
1550
  "markdownDescription": nls.localize("theia/editor/editor.quickSuggestions", "Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '#editor.suggestOnTriggerCharacters#'-setting which controls if suggestions are triggered by special characters."),
1424
- "scope": "language-overridable",
1425
1551
  "restricted": false
1426
1552
  },
1427
1553
  "editor.quickSuggestionsDelay": {
@@ -1430,7 +1556,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1430
1556
  "default": 10,
1431
1557
  "minimum": 0,
1432
1558
  "maximum": 1073741824,
1433
- "scope": "language-overridable",
1434
1559
  "restricted": false
1435
1560
  },
1436
1561
  "editor.renameOnType": {
@@ -1438,7 +1563,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1438
1563
  "markdownDeprecationMessage": "Deprecated, use `editor.linkedEditing` instead.",
1439
1564
  "type": "boolean",
1440
1565
  "default": false,
1441
- "scope": "language-overridable",
1442
1566
  "restricted": false,
1443
1567
  "deprecationMessage": "Deprecated, use `editor.linkedEditing` instead."
1444
1568
  },
@@ -1446,14 +1570,17 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1446
1570
  "description": nls.localizeByDefault("Controls whether the editor should render control characters."),
1447
1571
  "restricted": true,
1448
1572
  "type": "boolean",
1449
- "default": true,
1450
- "scope": "language-overridable"
1573
+ "default": true
1451
1574
  },
1452
1575
  "editor.renderFinalNewline": {
1453
1576
  "description": nls.localizeByDefault("Render last line number when the file ends with a newline."),
1454
- "type": "boolean",
1455
- "default": true,
1456
- "scope": "language-overridable",
1577
+ "type": "string",
1578
+ "enum": [
1579
+ "off",
1580
+ "on",
1581
+ "dimmed"
1582
+ ],
1583
+ "default": "on",
1457
1584
  "restricted": false
1458
1585
  },
1459
1586
  "editor.renderLineHighlight": {
@@ -1472,14 +1599,12 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1472
1599
  "all"
1473
1600
  ],
1474
1601
  "default": "line",
1475
- "scope": "language-overridable",
1476
1602
  "restricted": false
1477
1603
  },
1478
1604
  "editor.renderLineHighlightOnlyWhenFocus": {
1479
1605
  "description": nls.localizeByDefault("Controls if the editor should render the current line highlight only when the editor is focused."),
1480
1606
  "type": "boolean",
1481
1607
  "default": false,
1482
- "scope": "language-overridable",
1483
1608
  "restricted": false
1484
1609
  },
1485
1610
  "editor.renderWhitespace": {
@@ -1500,14 +1625,12 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1500
1625
  "all"
1501
1626
  ],
1502
1627
  "default": "selection",
1503
- "scope": "language-overridable",
1504
1628
  "restricted": false
1505
1629
  },
1506
1630
  "editor.roundedSelection": {
1507
1631
  "description": nls.localizeByDefault("Controls whether selections should have rounded corners."),
1508
1632
  "type": "boolean",
1509
1633
  "default": true,
1510
- "scope": "language-overridable",
1511
1634
  "restricted": false
1512
1635
  },
1513
1636
  "editor.rulers": {
@@ -1538,7 +1661,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1538
1661
  },
1539
1662
  "default": [],
1540
1663
  "description": nls.localizeByDefault("Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty."),
1541
- "scope": "language-overridable",
1542
1664
  "restricted": false
1543
1665
  },
1544
1666
  "editor.scrollbar.vertical": {
@@ -1555,7 +1677,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1555
1677
  ],
1556
1678
  "default": "auto",
1557
1679
  "description": nls.localizeByDefault("Controls the visibility of the vertical scrollbar."),
1558
- "scope": "language-overridable",
1559
1680
  "restricted": false
1560
1681
  },
1561
1682
  "editor.scrollbar.horizontal": {
@@ -1572,28 +1693,24 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1572
1693
  ],
1573
1694
  "default": "auto",
1574
1695
  "description": nls.localizeByDefault("Controls the visibility of the horizontal scrollbar."),
1575
- "scope": "language-overridable",
1576
1696
  "restricted": false
1577
1697
  },
1578
1698
  "editor.scrollbar.verticalScrollbarSize": {
1579
1699
  "type": "number",
1580
1700
  "default": 14,
1581
1701
  "description": nls.localizeByDefault("The width of the vertical scrollbar."),
1582
- "scope": "language-overridable",
1583
1702
  "restricted": false
1584
1703
  },
1585
1704
  "editor.scrollbar.horizontalScrollbarSize": {
1586
1705
  "type": "number",
1587
1706
  "default": 12,
1588
1707
  "description": nls.localizeByDefault("The height of the horizontal scrollbar."),
1589
- "scope": "language-overridable",
1590
1708
  "restricted": false
1591
1709
  },
1592
1710
  "editor.scrollbar.scrollByPage": {
1593
1711
  "type": "boolean",
1594
1712
  "default": false,
1595
1713
  "description": nls.localizeByDefault("Controls whether clicks scroll by page or jump to click position."),
1596
- "scope": "language-overridable",
1597
1714
  "restricted": false
1598
1715
  },
1599
1716
  "editor.scrollBeyondLastColumn": {
@@ -1602,34 +1719,24 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1602
1719
  "default": 4,
1603
1720
  "minimum": 0,
1604
1721
  "maximum": 1073741824,
1605
- "scope": "language-overridable",
1606
1722
  "restricted": false
1607
1723
  },
1608
1724
  "editor.scrollBeyondLastLine": {
1609
1725
  "description": nls.localizeByDefault("Controls whether the editor will scroll beyond the last line."),
1610
1726
  "type": "boolean",
1611
1727
  "default": true,
1612
- "scope": "language-overridable",
1613
1728
  "restricted": false
1614
1729
  },
1615
1730
  "editor.scrollPredominantAxis": {
1616
1731
  "description": nls.localizeByDefault("Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad."),
1617
1732
  "type": "boolean",
1618
1733
  "default": true,
1619
- "scope": "language-overridable",
1620
1734
  "restricted": false
1621
1735
  },
1622
- "editor.selectionClipboard": {
1623
- "type": "boolean",
1624
- "default": true,
1625
- "description": nls.localizeByDefault("Controls whether the Linux primary clipboard should be supported."),
1626
- "included": !isOSX && !isWindows
1627
- },
1628
1736
  "editor.selectionHighlight": {
1629
1737
  "description": nls.localizeByDefault("Controls whether the editor should highlight matches similar to the selection."),
1630
1738
  "type": "boolean",
1631
1739
  "default": true,
1632
- "scope": "language-overridable",
1633
1740
  "restricted": false
1634
1741
  },
1635
1742
  "editor.showFoldingControls": {
@@ -1646,14 +1753,12 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1646
1753
  "mouseover"
1647
1754
  ],
1648
1755
  "default": "mouseover",
1649
- "scope": "language-overridable",
1650
1756
  "restricted": false
1651
1757
  },
1652
1758
  "editor.showUnused": {
1653
1759
  "description": nls.localizeByDefault("Controls fading out of unused code."),
1654
1760
  "type": "boolean",
1655
1761
  "default": true,
1656
- "scope": "language-overridable",
1657
1762
  "restricted": false
1658
1763
  },
1659
1764
  "editor.snippetSuggestions": {
@@ -1672,28 +1777,30 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1672
1777
  "none"
1673
1778
  ],
1674
1779
  "default": "inline",
1675
- "scope": "language-overridable",
1676
1780
  "restricted": false
1677
1781
  },
1678
1782
  "editor.smartSelect.selectLeadingAndTrailingWhitespace": {
1679
1783
  "description": nls.localizeByDefault("Whether leading and trailing whitespace should always be selected."),
1680
1784
  "default": true,
1681
1785
  "type": "boolean",
1682
- "scope": "language-overridable",
1786
+ "restricted": false
1787
+ },
1788
+ "editor.smartSelect.selectSubwords": {
1789
+ "description": nls.localizeByDefault("Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),
1790
+ "default": true,
1791
+ "type": "boolean",
1683
1792
  "restricted": false
1684
1793
  },
1685
1794
  "editor.smoothScrolling": {
1686
1795
  "description": nls.localizeByDefault("Controls whether the editor will scroll using an animation."),
1687
1796
  "type": "boolean",
1688
1797
  "default": false,
1689
- "scope": "language-overridable",
1690
1798
  "restricted": false
1691
1799
  },
1692
1800
  "editor.stickyScroll.enabled": {
1693
1801
  "type": "boolean",
1694
1802
  "default": false,
1695
1803
  "description": nls.localizeByDefault("Shows the nested current scopes during the scroll at the top of the editor."),
1696
- "scope": "language-overridable",
1697
1804
  "restricted": false
1698
1805
  },
1699
1806
  "editor.stickyScroll.maxLineCount": {
@@ -1702,14 +1809,29 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1702
1809
  "minimum": 1,
1703
1810
  "maximum": 10,
1704
1811
  "description": nls.localizeByDefault("Defines the maximum number of sticky lines to show."),
1705
- "scope": "language-overridable",
1812
+ "restricted": false
1813
+ },
1814
+ "editor.stickyScroll.defaultModel": {
1815
+ "type": "string",
1816
+ "enum": [
1817
+ "outlineModel",
1818
+ "foldingProviderModel",
1819
+ "indentationModel"
1820
+ ],
1821
+ "default": "outlineModel",
1822
+ "description": nls.localizeByDefault("Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases."),
1823
+ "restricted": false
1824
+ },
1825
+ "editor.stickyScroll.scrollWithEditor": {
1826
+ "type": "boolean",
1827
+ "default": true,
1828
+ "description": nls.localize("theia/editor/editor.stickyScroll.scrollWithEditor", "Enable scrolling of the sticky scroll widget with the editor's horizontal scrollbar."),
1706
1829
  "restricted": false
1707
1830
  },
1708
1831
  "editor.stickyTabStops": {
1709
1832
  "description": nls.localizeByDefault("Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops."),
1710
1833
  "type": "boolean",
1711
1834
  "default": false,
1712
- "scope": "language-overridable",
1713
1835
  "restricted": false
1714
1836
  },
1715
1837
  "editor.suggest.insertMode": {
@@ -1724,312 +1846,286 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1724
1846
  ],
1725
1847
  "default": "insert",
1726
1848
  "description": nls.localizeByDefault("Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature."),
1727
- "scope": "language-overridable",
1728
1849
  "restricted": false
1729
1850
  },
1730
1851
  "editor.suggest.filterGraceful": {
1731
1852
  "type": "boolean",
1732
1853
  "default": true,
1733
1854
  "description": nls.localizeByDefault("Controls whether filtering and sorting suggestions accounts for small typos."),
1734
- "scope": "language-overridable",
1735
1855
  "restricted": false
1736
1856
  },
1737
1857
  "editor.suggest.localityBonus": {
1738
1858
  "type": "boolean",
1739
1859
  "default": false,
1740
1860
  "description": nls.localizeByDefault("Controls whether sorting favors words that appear close to the cursor."),
1741
- "scope": "language-overridable",
1742
1861
  "restricted": false
1743
1862
  },
1744
1863
  "editor.suggest.shareSuggestSelections": {
1745
1864
  "type": "boolean",
1746
1865
  "default": false,
1747
1866
  "markdownDescription": nls.localizeByDefault("Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`)."),
1748
- "scope": "language-overridable",
1867
+ "restricted": false
1868
+ },
1869
+ "editor.suggest.selectionMode": {
1870
+ "type": "string",
1871
+ "enum": [
1872
+ "always",
1873
+ "never",
1874
+ "whenTriggerCharacter",
1875
+ "whenQuickSuggestion"
1876
+ ],
1877
+ "enumDescriptions": [
1878
+ nls.localizeByDefault("Always select a suggestion when automatically triggering IntelliSense."),
1879
+ nls.localizeByDefault("Never select a suggestion when automatically triggering IntelliSense."),
1880
+ nls.localizeByDefault("Select a suggestion only when triggering IntelliSense from a trigger character."),
1881
+ nls.localizeByDefault("Select a suggestion only when triggering IntelliSense as you type.")
1882
+ ],
1883
+ "default": "always",
1884
+ "markdownDescription": nls.localizeByDefault("Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`."),
1749
1885
  "restricted": false
1750
1886
  },
1751
1887
  "editor.suggest.snippetsPreventQuickSuggestions": {
1752
1888
  "type": "boolean",
1753
- "default": true,
1889
+ "default": false,
1754
1890
  "description": nls.localizeByDefault("Controls whether an active snippet prevents quick suggestions."),
1755
- "scope": "language-overridable",
1756
1891
  "restricted": false
1757
1892
  },
1758
1893
  "editor.suggest.showIcons": {
1759
1894
  "type": "boolean",
1760
1895
  "default": true,
1761
1896
  "description": nls.localizeByDefault("Controls whether to show or hide icons in suggestions."),
1762
- "scope": "language-overridable",
1763
1897
  "restricted": false
1764
1898
  },
1765
1899
  "editor.suggest.showStatusBar": {
1766
1900
  "type": "boolean",
1767
1901
  "default": false,
1768
1902
  "description": nls.localizeByDefault("Controls the visibility of the status bar at the bottom of the suggest widget."),
1769
- "scope": "language-overridable",
1770
1903
  "restricted": false
1771
1904
  },
1772
1905
  "editor.suggest.preview": {
1773
1906
  "type": "boolean",
1774
1907
  "default": false,
1775
1908
  "description": nls.localizeByDefault("Controls whether to preview the suggestion outcome in the editor."),
1776
- "scope": "language-overridable",
1777
1909
  "restricted": false
1778
1910
  },
1779
1911
  "editor.suggest.showInlineDetails": {
1780
1912
  "type": "boolean",
1781
1913
  "default": true,
1782
- "description": nls.localizeByDefault('Controls whether suggest details show inline with the label or only in the details widget.'),
1783
- "scope": "language-overridable",
1914
+ "description": nls.localizeByDefault("Controls whether suggest details show inline with the label or only in the details widget."),
1784
1915
  "restricted": false
1785
1916
  },
1786
1917
  "editor.suggest.maxVisibleSuggestions": {
1787
1918
  "type": "number",
1788
1919
  "deprecationMessage": "This setting is deprecated. The suggest widget can now be resized.",
1789
1920
  "default": 0,
1790
- "scope": "language-overridable",
1791
1921
  "restricted": false
1792
1922
  },
1793
1923
  "editor.suggest.filteredTypes": {
1794
1924
  "type": "object",
1795
1925
  "deprecationMessage": "This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.",
1796
1926
  "default": {},
1797
- "scope": "language-overridable",
1798
1927
  "restricted": false
1799
1928
  },
1800
1929
  "editor.suggest.showMethods": {
1801
1930
  "type": "boolean",
1802
1931
  "default": true,
1803
1932
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `method`-suggestions."),
1804
- "scope": "language-overridable",
1805
1933
  "restricted": false
1806
1934
  },
1807
1935
  "editor.suggest.showFunctions": {
1808
1936
  "type": "boolean",
1809
1937
  "default": true,
1810
1938
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `function`-suggestions."),
1811
- "scope": "language-overridable",
1812
1939
  "restricted": false
1813
1940
  },
1814
1941
  "editor.suggest.showConstructors": {
1815
1942
  "type": "boolean",
1816
1943
  "default": true,
1817
1944
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `constructor`-suggestions."),
1818
- "scope": "language-overridable",
1819
1945
  "restricted": false
1820
1946
  },
1821
1947
  "editor.suggest.showDeprecated": {
1822
1948
  "type": "boolean",
1823
1949
  "default": true,
1824
1950
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `deprecated`-suggestions."),
1825
- "scope": "language-overridable",
1826
1951
  "restricted": false
1827
1952
  },
1828
1953
  "editor.suggest.matchOnWordStartOnly": {
1829
1954
  "type": "boolean",
1830
1955
  "default": true,
1831
- "markdownDescription": nls.localize("theia/editor/editor.suggest.matchOnWordStartOnly", "When enabled IntelliSense filtering requires that the first character matches on a word start, e.g `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality."),
1832
- "scope": "language-overridable",
1956
+ "markdownDescription": nls.localizeByDefault("When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality."),
1833
1957
  "restricted": false
1834
1958
  },
1835
1959
  "editor.suggest.showFields": {
1836
1960
  "type": "boolean",
1837
1961
  "default": true,
1838
1962
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `field`-suggestions."),
1839
- "scope": "language-overridable",
1840
1963
  "restricted": false
1841
1964
  },
1842
1965
  "editor.suggest.showVariables": {
1843
1966
  "type": "boolean",
1844
1967
  "default": true,
1845
1968
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `variable`-suggestions."),
1846
- "scope": "language-overridable",
1847
1969
  "restricted": false
1848
1970
  },
1849
1971
  "editor.suggest.showClasses": {
1850
1972
  "type": "boolean",
1851
1973
  "default": true,
1852
1974
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `class`-suggestions."),
1853
- "scope": "language-overridable",
1854
1975
  "restricted": false
1855
1976
  },
1856
1977
  "editor.suggest.showStructs": {
1857
1978
  "type": "boolean",
1858
1979
  "default": true,
1859
1980
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `struct`-suggestions."),
1860
- "scope": "language-overridable",
1861
1981
  "restricted": false
1862
1982
  },
1863
1983
  "editor.suggest.showInterfaces": {
1864
1984
  "type": "boolean",
1865
1985
  "default": true,
1866
1986
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `interface`-suggestions."),
1867
- "scope": "language-overridable",
1868
1987
  "restricted": false
1869
1988
  },
1870
1989
  "editor.suggest.showModules": {
1871
1990
  "type": "boolean",
1872
1991
  "default": true,
1873
1992
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `module`-suggestions."),
1874
- "scope": "language-overridable",
1875
1993
  "restricted": false
1876
1994
  },
1877
1995
  "editor.suggest.showProperties": {
1878
1996
  "type": "boolean",
1879
1997
  "default": true,
1880
1998
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `property`-suggestions."),
1881
- "scope": "language-overridable",
1882
1999
  "restricted": false
1883
2000
  },
1884
2001
  "editor.suggest.showEvents": {
1885
2002
  "type": "boolean",
1886
2003
  "default": true,
1887
2004
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `event`-suggestions."),
1888
- "scope": "language-overridable",
1889
2005
  "restricted": false
1890
2006
  },
1891
2007
  "editor.suggest.showOperators": {
1892
2008
  "type": "boolean",
1893
2009
  "default": true,
1894
2010
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `operator`-suggestions."),
1895
- "scope": "language-overridable",
1896
2011
  "restricted": false
1897
2012
  },
1898
2013
  "editor.suggest.showUnits": {
1899
2014
  "type": "boolean",
1900
2015
  "default": true,
1901
2016
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `unit`-suggestions."),
1902
- "scope": "language-overridable",
1903
2017
  "restricted": false
1904
2018
  },
1905
2019
  "editor.suggest.showValues": {
1906
2020
  "type": "boolean",
1907
2021
  "default": true,
1908
2022
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `value`-suggestions."),
1909
- "scope": "language-overridable",
1910
2023
  "restricted": false
1911
2024
  },
1912
2025
  "editor.suggest.showConstants": {
1913
2026
  "type": "boolean",
1914
2027
  "default": true,
1915
2028
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `constant`-suggestions."),
1916
- "scope": "language-overridable",
1917
2029
  "restricted": false
1918
2030
  },
1919
2031
  "editor.suggest.showEnums": {
1920
2032
  "type": "boolean",
1921
2033
  "default": true,
1922
2034
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `enum`-suggestions."),
1923
- "scope": "language-overridable",
1924
2035
  "restricted": false
1925
2036
  },
1926
2037
  "editor.suggest.showEnumMembers": {
1927
2038
  "type": "boolean",
1928
2039
  "default": true,
1929
2040
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `enumMember`-suggestions."),
1930
- "scope": "language-overridable",
1931
2041
  "restricted": false
1932
2042
  },
1933
2043
  "editor.suggest.showKeywords": {
1934
2044
  "type": "boolean",
1935
2045
  "default": true,
1936
2046
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `keyword`-suggestions."),
1937
- "scope": "language-overridable",
1938
2047
  "restricted": false
1939
2048
  },
1940
2049
  "editor.suggest.showWords": {
1941
2050
  "type": "boolean",
1942
2051
  "default": true,
1943
2052
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `text`-suggestions."),
1944
- "scope": "language-overridable",
1945
2053
  "restricted": false
1946
2054
  },
1947
2055
  "editor.suggest.showColors": {
1948
2056
  "type": "boolean",
1949
2057
  "default": true,
1950
2058
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `color`-suggestions."),
1951
- "scope": "language-overridable",
1952
2059
  "restricted": false
1953
2060
  },
1954
2061
  "editor.suggest.showFiles": {
1955
2062
  "type": "boolean",
1956
2063
  "default": true,
1957
2064
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `file`-suggestions."),
1958
- "scope": "language-overridable",
1959
2065
  "restricted": false
1960
2066
  },
1961
2067
  "editor.suggest.showReferences": {
1962
2068
  "type": "boolean",
1963
2069
  "default": true,
1964
2070
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `reference`-suggestions."),
1965
- "scope": "language-overridable",
1966
2071
  "restricted": false
1967
2072
  },
1968
2073
  "editor.suggest.showCustomcolors": {
1969
2074
  "type": "boolean",
1970
2075
  "default": true,
1971
2076
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `customcolor`-suggestions."),
1972
- "scope": "language-overridable",
1973
2077
  "restricted": false
1974
2078
  },
1975
2079
  "editor.suggest.showFolders": {
1976
2080
  "type": "boolean",
1977
2081
  "default": true,
1978
2082
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `folder`-suggestions."),
1979
- "scope": "language-overridable",
1980
2083
  "restricted": false
1981
2084
  },
1982
2085
  "editor.suggest.showTypeParameters": {
1983
2086
  "type": "boolean",
1984
2087
  "default": true,
1985
2088
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `typeParameter`-suggestions."),
1986
- "scope": "language-overridable",
1987
2089
  "restricted": false
1988
2090
  },
1989
2091
  "editor.suggest.showSnippets": {
1990
2092
  "type": "boolean",
1991
2093
  "default": true,
1992
2094
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `snippet`-suggestions."),
1993
- "scope": "language-overridable",
1994
2095
  "restricted": false
1995
2096
  },
1996
2097
  "editor.suggest.showUsers": {
1997
2098
  "type": "boolean",
1998
2099
  "default": true,
1999
2100
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `user`-suggestions."),
2000
- "scope": "language-overridable",
2001
2101
  "restricted": false
2002
2102
  },
2003
2103
  "editor.suggest.showIssues": {
2004
2104
  "type": "boolean",
2005
2105
  "default": true,
2006
2106
  "markdownDescription": nls.localizeByDefault("When enabled IntelliSense shows `issues`-suggestions."),
2007
- "scope": "language-overridable",
2008
2107
  "restricted": false
2009
2108
  },
2010
2109
  "editor.suggestFontSize": {
2011
- "markdownDescription": nls.localizeByDefault('Font size for the suggest widget. When set to {0}, the value of {1} is used.', '`0`', '`#editor.fontSize#`'),
2110
+ "markdownDescription": nls.localize("theia/editor/editor.suggestFontSize", "Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used."),
2012
2111
  "type": "integer",
2013
2112
  "default": 0,
2014
2113
  "minimum": 0,
2015
2114
  "maximum": 1000,
2016
- "scope": "language-overridable",
2017
2115
  "restricted": false
2018
2116
  },
2019
2117
  "editor.suggestLineHeight": {
2020
- "markdownDescription": nls.localizeByDefault('Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.', '`0`', '`#editor.lineHeight#`'),
2118
+ "markdownDescription": nls.localize("theia/editor/editor.suggestLineHeight", "Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used. The minimum value is 8."),
2021
2119
  "type": "integer",
2022
2120
  "default": 0,
2023
2121
  "minimum": 0,
2024
2122
  "maximum": 1000,
2025
- "scope": "language-overridable",
2026
2123
  "restricted": false
2027
2124
  },
2028
2125
  "editor.suggestOnTriggerCharacters": {
2029
2126
  "description": nls.localizeByDefault("Controls whether suggestions should automatically show up when typing trigger characters."),
2030
2127
  "type": "boolean",
2031
2128
  "default": true,
2032
- "scope": "language-overridable",
2033
2129
  "restricted": false
2034
2130
  },
2035
2131
  "editor.suggestSelection": {
@@ -2046,7 +2142,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2046
2142
  "recentlyUsedByPrefix"
2047
2143
  ],
2048
2144
  "default": "first",
2049
- "scope": "language-overridable",
2050
2145
  "restricted": false
2051
2146
  },
2052
2147
  "editor.tabCompletion": {
@@ -2063,7 +2158,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2063
2158
  "onlySnippets"
2064
2159
  ],
2065
2160
  "default": "off",
2066
- "scope": "language-overridable",
2067
2161
  "restricted": false
2068
2162
  },
2069
2163
  "editor.unicodeHighlight.nonBasicASCII": {
@@ -2078,22 +2172,19 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2078
2172
  "inUntrustedWorkspace"
2079
2173
  ],
2080
2174
  "default": "inUntrustedWorkspace",
2081
- "description": nls.localizeByDefault("Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII."),
2082
- "scope": "language-overridable"
2175
+ "description": nls.localizeByDefault("Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")
2083
2176
  },
2084
2177
  "editor.unicodeHighlight.invisibleCharacters": {
2085
2178
  "restricted": true,
2086
2179
  "type": "boolean",
2087
2180
  "default": true,
2088
- "description": nls.localizeByDefault("Controls whether characters that just reserve space or have no width at all are highlighted."),
2089
- "scope": "language-overridable"
2181
+ "description": nls.localizeByDefault("Controls whether characters that just reserve space or have no width at all are highlighted.")
2090
2182
  },
2091
2183
  "editor.unicodeHighlight.ambiguousCharacters": {
2092
2184
  "restricted": true,
2093
2185
  "type": "boolean",
2094
2186
  "default": true,
2095
- "description": nls.localizeByDefault("Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale."),
2096
- "scope": "language-overridable"
2187
+ "description": nls.localizeByDefault("Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")
2097
2188
  },
2098
2189
  "editor.unicodeHighlight.includeComments": {
2099
2190
  "restricted": true,
@@ -2107,8 +2198,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2107
2198
  "inUntrustedWorkspace"
2108
2199
  ],
2109
2200
  "default": "inUntrustedWorkspace",
2110
- "description": nls.localizeByDefault('Controls whether characters in comments should also be subject to Unicode highlighting.'),
2111
- "scope": "language-overridable"
2201
+ "description": nls.localizeByDefault("Controls whether characters in comments should also be subject to Unicode highlighting.")
2112
2202
  },
2113
2203
  "editor.unicodeHighlight.includeStrings": {
2114
2204
  "restricted": true,
@@ -2122,8 +2212,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2122
2212
  "inUntrustedWorkspace"
2123
2213
  ],
2124
2214
  "default": true,
2125
- "description": nls.localizeByDefault('Controls whether characters in strings should also be subject to Unicode highlighting.'),
2126
- "scope": "language-overridable"
2215
+ "description": nls.localizeByDefault("Controls whether characters in strings should also be subject to Unicode highlighting.")
2127
2216
  },
2128
2217
  "editor.unicodeHighlight.allowedCharacters": {
2129
2218
  "restricted": true,
@@ -2132,8 +2221,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2132
2221
  "description": nls.localizeByDefault("Defines allowed characters that are not being highlighted."),
2133
2222
  "additionalProperties": {
2134
2223
  "type": "boolean"
2135
- },
2136
- "scope": "language-overridable"
2224
+ }
2137
2225
  },
2138
2226
  "editor.unicodeHighlight.allowedLocales": {
2139
2227
  "restricted": true,
@@ -2145,8 +2233,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2145
2233
  "_os": true,
2146
2234
  "_vscode": true
2147
2235
  },
2148
- "description": nls.localizeByDefault("Unicode characters that are common in allowed locales are not being highlighted."),
2149
- "scope": "language-overridable"
2236
+ "description": nls.localizeByDefault("Unicode characters that are common in allowed locales are not being highlighted.")
2150
2237
  },
2151
2238
  "editor.unusualLineTerminators": {
2152
2239
  "enumDescriptions": [
@@ -2162,21 +2249,32 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2162
2249
  "prompt"
2163
2250
  ],
2164
2251
  "default": "prompt",
2165
- "scope": "language-overridable",
2166
2252
  "restricted": false
2167
2253
  },
2168
2254
  "editor.useTabStops": {
2169
2255
  "description": nls.localizeByDefault("Inserting and deleting whitespace follows tab stops."),
2170
2256
  "type": "boolean",
2171
2257
  "default": true,
2172
- "scope": "language-overridable",
2258
+ "restricted": false
2259
+ },
2260
+ "editor.wordBreak": {
2261
+ "markdownEnumDescriptions": [
2262
+ nls.localizeByDefault("Use the default line break rule."),
2263
+ nls.localizeByDefault("Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")
2264
+ ],
2265
+ "description": nls.localizeByDefault("Controls the word break rules used for Chinese/Japanese/Korean (CJK) text."),
2266
+ "type": "string",
2267
+ "enum": [
2268
+ "normal",
2269
+ "keepAll"
2270
+ ],
2271
+ "default": "normal",
2173
2272
  "restricted": false
2174
2273
  },
2175
2274
  "editor.wordSeparators": {
2176
2275
  "description": nls.localizeByDefault("Characters that will be used as word separators when doing word related navigations or operations."),
2177
2276
  "type": "string",
2178
2277
  "default": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",
2179
- "scope": "language-overridable",
2180
2278
  "restricted": false
2181
2279
  },
2182
2280
  "editor.wordWrap": {
@@ -2195,7 +2293,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2195
2293
  "bounded"
2196
2294
  ],
2197
2295
  "default": "off",
2198
- "scope": "language-overridable",
2199
2296
  "restricted": false
2200
2297
  },
2201
2298
  "editor.wordWrapColumn": {
@@ -2204,17 +2301,9 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2204
2301
  "default": 80,
2205
2302
  "minimum": 1,
2206
2303
  "maximum": 1073741824,
2207
- "scope": "language-overridable",
2208
2304
  "restricted": false
2209
2305
  },
2210
2306
  "editor.wrappingIndent": {
2211
- "enumDescriptions": [
2212
- nls.localizeByDefault("No indentation. Wrapped lines begin at column 1."),
2213
- nls.localizeByDefault("Wrapped lines get the same indentation as the parent."),
2214
- nls.localizeByDefault("Wrapped lines get +1 indentation toward the parent."),
2215
- nls.localizeByDefault("Wrapped lines get +2 indentation toward the parent.")
2216
- ],
2217
- "description": nls.localizeByDefault("Controls the indentation of wrapped lines."),
2218
2307
  "type": "string",
2219
2308
  "enum": [
2220
2309
  "none",
@@ -2222,8 +2311,14 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2222
2311
  "indent",
2223
2312
  "deepIndent"
2224
2313
  ],
2314
+ "enumDescriptions": [
2315
+ nls.localizeByDefault("No indentation. Wrapped lines begin at column 1."),
2316
+ nls.localizeByDefault("Wrapped lines get the same indentation as the parent."),
2317
+ nls.localizeByDefault("Wrapped lines get +1 indentation toward the parent."),
2318
+ nls.localizeByDefault("Wrapped lines get +2 indentation toward the parent.")
2319
+ ],
2320
+ "description": nls.localizeByDefault("Controls the indentation of wrapped lines."),
2225
2321
  "default": "same",
2226
- "scope": "language-overridable",
2227
2322
  "restricted": false
2228
2323
  },
2229
2324
  "editor.wrappingStrategy": {
@@ -2231,21 +2326,19 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2231
2326
  nls.localizeByDefault("Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),
2232
2327
  nls.localizeByDefault("Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")
2233
2328
  ],
2234
- "description": nls.localizeByDefault('Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.'),
2235
2329
  "type": "string",
2236
2330
  "enum": [
2237
2331
  "simple",
2238
2332
  "advanced"
2239
2333
  ],
2240
2334
  "default": "simple",
2241
- "scope": "language-overridable",
2335
+ "description": nls.localizeByDefault("Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience."),
2242
2336
  "restricted": false
2243
2337
  },
2244
2338
  "editor.showDeprecated": {
2245
2339
  "description": nls.localizeByDefault("Controls strikethrough deprecated variables."),
2246
2340
  "type": "boolean",
2247
2341
  "default": true,
2248
- "scope": "language-overridable",
2249
2342
  "restricted": false
2250
2343
  },
2251
2344
  "editor.inlayHints.enabled": {
@@ -2264,49 +2357,85 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2264
2357
  nls.localize("theia/editor/editor.inlayHints.enabled2", "Inlay hints are hidden by default and show when holding Ctrl+Alt"),
2265
2358
  nls.localizeByDefault("Inlay hints are disabled")
2266
2359
  ],
2267
- "scope": "language-overridable",
2268
2360
  "restricted": false
2269
2361
  },
2270
2362
  "editor.inlayHints.fontSize": {
2271
2363
  "type": "number",
2272
2364
  "default": 0,
2273
- "markdownDescription": nls.localizeByDefault('Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.', '`#editor.fontSize#`'),
2274
- "scope": "language-overridable",
2365
+ "markdownDescription": nls.localize("theia/editor/editor.inlayHints.fontSize", "Controls font size of inlay hints in the editor. As default the `#editor.fontSize#` is used when the configured value is less than `5` or greater than the editor font size."),
2275
2366
  "restricted": false
2276
2367
  },
2277
2368
  "editor.inlayHints.fontFamily": {
2278
2369
  "type": "string",
2279
2370
  "default": "",
2280
- "markdownDescription": nls.localizeByDefault('Controls font family of inlay hints in the editor. When set to empty, the {0} is used.', '`#editor.fontFamily#`'),
2281
- "scope": "language-overridable",
2371
+ "markdownDescription": nls.localize("theia/editor/editor.inlayHints.fontFamily", "Controls font family of inlay hints in the editor. When set to empty, the `#editor.fontFamily#` is used."),
2282
2372
  "restricted": false
2283
2373
  },
2284
2374
  "editor.inlayHints.padding": {
2285
2375
  "type": "boolean",
2286
2376
  "default": false,
2287
2377
  "description": nls.localizeByDefault("Enables the padding around the inlay hints in the editor."),
2288
- "scope": "language-overridable",
2378
+ "restricted": false
2379
+ },
2380
+ "editor.tabFocusMode": {
2381
+ "markdownDescription": nls.localizeByDefault("Controls whether the editor receives tabs or defers them to the workbench for navigation."),
2382
+ "type": "boolean",
2383
+ "default": false,
2384
+ "restricted": false
2385
+ },
2386
+ "editor.defaultColorDecorators": {
2387
+ "markdownDescription": nls.localizeByDefault("Controls whether inline color decorations should be shown using the default document color provider"),
2388
+ "type": "boolean",
2389
+ "default": false,
2390
+ "restricted": false
2391
+ },
2392
+ "editor.colorDecoratorsActivatedOn": {
2393
+ "enumDescriptions": [
2394
+ nls.localizeByDefault("Make the color picker appear both on click and hover of the color decorator"),
2395
+ nls.localizeByDefault("Make the color picker appear on hover of the color decorator"),
2396
+ nls.localizeByDefault("Make the color picker appear on click of the color decorator")
2397
+ ],
2398
+ "description": nls.localizeByDefault("Controls the condition to make a color picker appear from a color decorator"),
2399
+ "type": "string",
2400
+ "enum": [
2401
+ "clickAndHover",
2402
+ "hover",
2403
+ "click"
2404
+ ],
2405
+ "default": "clickAndHover",
2406
+ "restricted": false
2407
+ },
2408
+ "editor.inlineCompletionsAccessibilityVerbose": {
2409
+ "description": nls.localizeByDefault("Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown."),
2410
+ "type": "boolean",
2411
+ "default": false,
2289
2412
  "restricted": false
2290
2413
  },
2291
2414
  "editor.codeActionWidget.showHeaders": {
2292
2415
  "type": "boolean",
2293
- "description": nls.localize("theia/editor/editor.codeActionWidget.showHeaders", "Enable/disable showing group headers in the code action menu."),
2416
+ "description": nls.localizeByDefault("Enable/disable showing group headers in the Code Action menu."),
2294
2417
  "default": true,
2295
- "scope": "language-overridable",
2296
2418
  "restricted": false
2297
2419
  },
2298
- "editor.experimental.pasteActions.enabled": {
2420
+ "editor.codeActionWidget.includeNearbyQuickfixes": {
2299
2421
  "type": "boolean",
2300
- "description": nls.localize('theia/editor/editor.experimental.pasteActions.enabled', "Enable/disable running edits from extensions on paste."),
2422
+ "description": nls.localize("theia/editor/editor.codeActionWidget.includeNearbyQuickfixes", "Enable/disable showing nearest quickfix within a line when not currently on a diagnostic."),
2301
2423
  "default": false,
2302
- "scope": "language-overridable",
2424
+ "restricted": false
2425
+ },
2426
+ "editor.experimental.dropIntoEditor.defaultProvider": {
2427
+ "type": "object",
2428
+ "description": nls.localizeByDefault("Configures the default drop provider to use for content of a given mime type."),
2429
+ "default": {},
2430
+ "additionalProperties": {
2431
+ "type": "string"
2432
+ },
2303
2433
  "restricted": false
2304
2434
  },
2305
2435
  "editor.rename.enablePreview": {
2306
2436
  "description": nls.localizeByDefault("Enable/disable the ability to preview changes before renaming"),
2307
2437
  "default": true,
2308
2438
  "type": "boolean",
2309
- "scope": "language-overridable",
2310
2439
  "restricted": false
2311
2440
  },
2312
2441
  "editor.find.globalFindClipboard": {
@@ -2314,6 +2443,12 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2314
2443
  "default": false,
2315
2444
  "description": nls.localizeByDefault("Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),
2316
2445
  "included": isOSX
2446
+ },
2447
+ "editor.selectionClipboard": {
2448
+ "type": "boolean",
2449
+ "default": true,
2450
+ "description": nls.localizeByDefault("Controls whether the Linux primary clipboard should be supported."),
2451
+ "included": !isOSX && !isWindows
2317
2452
  }
2318
2453
  };
2319
2454
 
@@ -2321,6 +2456,7 @@ type QuickSuggestionValues = boolean | 'on' | 'inline' | 'off';
2321
2456
 
2322
2457
  export interface GeneratedEditorPreferences {
2323
2458
  'editor.tabSize': number;
2459
+ 'editor.indentSize': 'tabSize' | number;
2324
2460
  'editor.insertSpaces': boolean;
2325
2461
  'editor.detectIndentation': boolean;
2326
2462
  'editor.trimAutoWhitespace': boolean;
@@ -2330,22 +2466,35 @@ export interface GeneratedEditorPreferences {
2330
2466
  'editor.semanticHighlighting.enabled': true | false | 'configuredByTheme';
2331
2467
  'editor.stablePeek': boolean;
2332
2468
  'editor.maxTokenizationLineLength': number;
2469
+ 'editor.experimental.asyncTokenization': boolean;
2470
+ 'editor.experimental.asyncTokenizationLogging': boolean;
2471
+ 'editor.experimental.asyncTokenizationVerification': boolean;
2333
2472
  'editor.language.brackets': Array<[string, string]> | null | 'null';
2334
2473
  'editor.language.colorizedBracketPairs': Array<[string, string]> | null;
2335
2474
  'diffEditor.maxComputationTime': number;
2336
2475
  'diffEditor.maxFileSize': number;
2337
2476
  'diffEditor.renderSideBySide': boolean;
2477
+ 'diffEditor.renderSideBySideInlineBreakpoint': number;
2478
+ 'diffEditor.useInlineViewWhenSpaceIsLimited': boolean;
2338
2479
  'diffEditor.renderMarginRevertIcon': boolean;
2339
2480
  'diffEditor.ignoreTrimWhitespace': boolean;
2340
2481
  'diffEditor.renderIndicators': boolean;
2341
2482
  'diffEditor.codeLens': boolean;
2342
2483
  'diffEditor.wordWrap': 'off' | 'on' | 'inherit';
2343
- 'diffEditor.diffAlgorithm': 'smart' | 'experimental';
2484
+ 'diffEditor.diffAlgorithm': 'legacy' | 'advanced';
2485
+ 'diffEditor.hideUnchangedRegions.enabled': boolean;
2486
+ 'diffEditor.hideUnchangedRegions.revealLineCount': number;
2487
+ 'diffEditor.hideUnchangedRegions.minimumLineCount': number;
2488
+ 'diffEditor.hideUnchangedRegions.contextLineCount': number;
2489
+ 'diffEditor.experimental.showMoves': boolean;
2490
+ 'diffEditor.experimental.showEmptyDecorations': boolean;
2344
2491
  'editor.acceptSuggestionOnCommitCharacter': boolean;
2345
2492
  'editor.acceptSuggestionOnEnter': 'on' | 'smart' | 'off';
2346
2493
  'editor.accessibilitySupport': 'auto' | 'on' | 'off';
2347
2494
  'editor.accessibilityPageSize': number;
2348
2495
  'editor.autoClosingBrackets': 'always' | 'languageDefined' | 'beforeWhitespace' | 'never';
2496
+ 'editor.autoClosingComments': 'always' | 'languageDefined' | 'beforeWhitespace' | 'never';
2497
+ 'editor.screenReaderAnnounceInlineSuggestion': boolean;
2349
2498
  'editor.autoClosingDelete': 'always' | 'auto' | 'never';
2350
2499
  'editor.autoClosingOvertype': 'always' | 'auto' | 'never';
2351
2500
  'editor.autoClosingQuotes': 'always' | 'languageDefined' | 'beforeWhitespace' | 'never';
@@ -2362,19 +2511,22 @@ export interface GeneratedEditorPreferences {
2362
2511
  'editor.codeLensFontFamily': string;
2363
2512
  'editor.codeLensFontSize': number;
2364
2513
  'editor.colorDecorators': boolean;
2514
+ 'editor.colorDecoratorsLimit': number;
2365
2515
  'editor.columnSelection': boolean;
2366
2516
  'editor.comments.insertSpace': boolean;
2367
2517
  'editor.comments.ignoreEmptyLines': boolean;
2368
2518
  'editor.copyWithSyntaxHighlighting': boolean;
2369
2519
  'editor.cursorBlinking': 'blink' | 'smooth' | 'phase' | 'expand' | 'solid';
2370
- 'editor.cursorSmoothCaretAnimation': boolean;
2520
+ 'editor.cursorSmoothCaretAnimation': 'off' | 'explicit' | 'on';
2371
2521
  'editor.cursorStyle': 'line' | 'block' | 'underline' | 'line-thin' | 'block-outline' | 'underline-thin';
2372
2522
  'editor.cursorSurroundingLines': number;
2373
2523
  'editor.cursorSurroundingLinesStyle': 'default' | 'all';
2374
2524
  'editor.cursorWidth': number;
2375
2525
  'editor.dragAndDrop': boolean;
2376
2526
  'editor.dropIntoEditor.enabled': boolean;
2527
+ 'editor.dropIntoEditor.showDropSelector': 'afterDrop' | 'never';
2377
2528
  'editor.emptySelectionClipboard': boolean;
2529
+ 'editor.experimentalWhitespaceRendering': 'svg' | 'font' | 'off';
2378
2530
  'editor.fastScrollSensitivity': number;
2379
2531
  'editor.find.cursorMoveOnType': boolean;
2380
2532
  'editor.find.seedSearchStringFromSelection': 'never' | 'always' | 'selection';
@@ -2409,8 +2561,11 @@ export interface GeneratedEditorPreferences {
2409
2561
  'editor.hover.enabled': boolean;
2410
2562
  'editor.hover.delay': number;
2411
2563
  'editor.hover.sticky': boolean;
2564
+ 'editor.hover.hidingDelay': number;
2412
2565
  'editor.hover.above': boolean;
2413
2566
  'editor.inlineSuggest.enabled': boolean;
2567
+ 'editor.inlineSuggest.showToolbar': 'always' | 'onHover';
2568
+ 'editor.inlineSuggest.suppressSuggestions': boolean;
2414
2569
  'editor.letterSpacing': number;
2415
2570
  'editor.lightbulb.enabled': boolean;
2416
2571
  'editor.lineHeight': number;
@@ -2431,10 +2586,13 @@ export interface GeneratedEditorPreferences {
2431
2586
  'editor.multiCursorMergeOverlapping': boolean;
2432
2587
  'editor.multiCursorModifier': 'ctrlCmd' | 'alt';
2433
2588
  'editor.multiCursorPaste': 'spread' | 'full';
2589
+ 'editor.multiCursorLimit': number;
2434
2590
  'editor.occurrencesHighlight': boolean;
2435
2591
  'editor.overviewRulerBorder': boolean;
2436
2592
  'editor.padding.top': number;
2437
2593
  'editor.padding.bottom': number;
2594
+ 'editor.pasteAs.enabled': boolean;
2595
+ 'editor.pasteAs.showPasteSelector': 'afterPaste' | 'never';
2438
2596
  'editor.parameterHints.enabled': boolean;
2439
2597
  'editor.parameterHints.cycle': boolean;
2440
2598
  'editor.peekWidgetDefaultFocus': 'tree' | 'editor';
@@ -2443,7 +2601,7 @@ export interface GeneratedEditorPreferences {
2443
2601
  'editor.quickSuggestionsDelay': number;
2444
2602
  'editor.renameOnType': boolean;
2445
2603
  'editor.renderControlCharacters': boolean;
2446
- 'editor.renderFinalNewline': boolean;
2604
+ 'editor.renderFinalNewline': 'off' | 'on' | 'dimmed';
2447
2605
  'editor.renderLineHighlight': 'none' | 'gutter' | 'line' | 'all';
2448
2606
  'editor.renderLineHighlightOnlyWhenFocus': boolean;
2449
2607
  'editor.renderWhitespace': 'none' | 'boundary' | 'selection' | 'trailing' | 'all';
@@ -2457,20 +2615,23 @@ export interface GeneratedEditorPreferences {
2457
2615
  'editor.scrollBeyondLastColumn': number;
2458
2616
  'editor.scrollBeyondLastLine': boolean;
2459
2617
  'editor.scrollPredominantAxis': boolean;
2460
- 'editor.selectionClipboard': boolean;
2461
2618
  'editor.selectionHighlight': boolean;
2462
2619
  'editor.showFoldingControls': 'always' | 'never' | 'mouseover';
2463
2620
  'editor.showUnused': boolean;
2464
2621
  'editor.snippetSuggestions': 'top' | 'bottom' | 'inline' | 'none';
2465
2622
  'editor.smartSelect.selectLeadingAndTrailingWhitespace': boolean;
2623
+ 'editor.smartSelect.selectSubwords': boolean;
2466
2624
  'editor.smoothScrolling': boolean;
2467
2625
  'editor.stickyScroll.enabled': boolean;
2468
2626
  'editor.stickyScroll.maxLineCount': number;
2627
+ 'editor.stickyScroll.defaultModel': 'outlineModel' | 'foldingProviderModel' | 'indentationModel';
2628
+ 'editor.stickyScroll.scrollWithEditor': boolean;
2469
2629
  'editor.stickyTabStops': boolean;
2470
2630
  'editor.suggest.insertMode': 'insert' | 'replace';
2471
2631
  'editor.suggest.filterGraceful': boolean;
2472
2632
  'editor.suggest.localityBonus': boolean;
2473
2633
  'editor.suggest.shareSuggestSelections': boolean;
2634
+ 'editor.suggest.selectionMode': 'always' | 'never' | 'whenTriggerCharacter' | 'whenQuickSuggestion';
2474
2635
  'editor.suggest.snippetsPreventQuickSuggestions': boolean;
2475
2636
  'editor.suggest.showIcons': boolean;
2476
2637
  'editor.suggest.showStatusBar': boolean;
@@ -2522,6 +2683,7 @@ export interface GeneratedEditorPreferences {
2522
2683
  'editor.unicodeHighlight.allowedLocales': Record<string, boolean>;
2523
2684
  'editor.unusualLineTerminators': 'auto' | 'off' | 'prompt';
2524
2685
  'editor.useTabStops': boolean;
2686
+ 'editor.wordBreak': 'normal' | 'keepAll';
2525
2687
  'editor.wordSeparators': string;
2526
2688
  'editor.wordWrap': 'off' | 'on' | 'wordWrapColumn' | 'bounded';
2527
2689
  'editor.wordWrapColumn': number;
@@ -2532,8 +2694,14 @@ export interface GeneratedEditorPreferences {
2532
2694
  'editor.inlayHints.fontSize': number;
2533
2695
  'editor.inlayHints.fontFamily': string;
2534
2696
  'editor.inlayHints.padding': boolean;
2697
+ 'editor.tabFocusMode': boolean;
2698
+ 'editor.defaultColorDecorators': boolean;
2699
+ 'editor.colorDecoratorsActivatedOn': 'clickAndHover' | 'hover' | 'click';
2700
+ 'editor.inlineCompletionsAccessibilityVerbose': boolean;
2535
2701
  'editor.codeActionWidget.showHeaders': boolean;
2536
- 'editor.experimental.pasteActions.enabled': boolean;
2702
+ 'editor.codeActionWidget.includeNearbyQuickfixes': boolean;
2703
+ 'editor.experimental.dropIntoEditor.defaultProvider': null;
2537
2704
  'editor.rename.enablePreview': boolean;
2538
2705
  'editor.find.globalFindClipboard': boolean;
2706
+ 'editor.selectionClipboard': boolean;
2539
2707
  }