@theia/editor 1.57.0 → 1.58.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.
@@ -81,25 +81,20 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
81
81
  "restricted": false
82
82
  },
83
83
  "editor.wordBasedSuggestions": {
84
- "type": "boolean",
85
- "default": true,
86
- "description": nls.localize("theia/editor/editor.wordBasedSuggestions", "Controls whether completions should be computed based on words in the document."),
87
- "scope": "language-overridable",
88
- "restricted": false
89
- },
90
- "editor.wordBasedSuggestionsMode": {
91
84
  "enum": [
85
+ "off",
92
86
  "currentDocument",
93
87
  "matchingDocuments",
94
88
  "allDocuments"
95
89
  ],
96
90
  "default": "matchingDocuments",
97
91
  "enumDescriptions": [
92
+ nls.localizeByDefault("Turn off Word Based Suggestions."),
98
93
  nls.localizeByDefault("Only suggest words from the active document."),
99
94
  nls.localizeByDefault("Suggest words from all open documents of the same language."),
100
95
  nls.localizeByDefault("Suggest words from all open documents.")
101
96
  ],
102
- "description": nls.localize("theia/editor/editor.wordBasedSuggestionsMode", "Controls from which documents word based completions are computed."),
97
+ "description": nls.localizeByDefault("Controls whether completions should be computed based on words in the document and from which documents they are computed."),
103
98
  "scope": "language-overridable",
104
99
  "restricted": false
105
100
  },
@@ -135,7 +130,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
135
130
  },
136
131
  "editor.experimental.asyncTokenization": {
137
132
  "type": "boolean",
138
- "default": false,
133
+ "default": true,
139
134
  "description": nls.localizeByDefault("Controls whether the tokenization should happen asynchronously on a web worker."),
140
135
  "tags": [
141
136
  "experimental"
@@ -160,6 +155,33 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
160
155
  "scope": "language-overridable",
161
156
  "restricted": false
162
157
  },
158
+ "editor.experimental.treeSitterTelemetry": {
159
+ "type": "boolean",
160
+ "default": false,
161
+ "markdownDescription": nls.localize("theia/editor/editor.experimental.treeSitterTelemetry", "Controls whether tree sitter parsing should be turned on and telemetry collected. Setting `editor.experimental.preferTreeSitter` for specific languages will take precedence."),
162
+ "tags": [
163
+ "experimental",
164
+ "onExP"
165
+ ],
166
+ "scope": "language-overridable",
167
+ "restricted": false
168
+ },
169
+ "editor.experimental.preferTreeSitter": {
170
+ "type": "array",
171
+ "items": {
172
+ "type": "string",
173
+ "enum": [
174
+ "typescript"
175
+ ]
176
+ },
177
+ "default": [],
178
+ "markdownDescription": nls.localize("theia/editor/editor.experimental.preferTreeSitter", "Controls whether tree sitter parsing should be turned on for specific languages. This will take precedence over `editor.experimental.treeSitterTelemetry` for the specified languages."),
179
+ "tags": [
180
+ "experimental"
181
+ ],
182
+ "scope": "language-overridable",
183
+ "restricted": false
184
+ },
163
185
  "editor.language.brackets": {
164
186
  "type": [
165
187
  "array",
@@ -248,6 +270,13 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
248
270
  "scope": "language-overridable",
249
271
  "restricted": false
250
272
  },
273
+ "diffEditor.renderGutterMenu": {
274
+ "type": "boolean",
275
+ "default": true,
276
+ "description": nls.localizeByDefault("When enabled, the diff editor shows a special gutter for revert and stage actions."),
277
+ "scope": "language-overridable",
278
+ "restricted": false
279
+ },
251
280
  "diffEditor.ignoreTrimWhitespace": {
252
281
  "type": "boolean",
253
282
  "default": true,
@@ -296,9 +325,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
296
325
  nls.localizeByDefault("Uses the legacy diffing algorithm."),
297
326
  nls.localizeByDefault("Uses the advanced diffing algorithm.")
298
327
  ],
299
- "tags": [
300
- "experimental"
301
- ],
302
328
  "scope": "language-overridable",
303
329
  "restricted": false
304
330
  },
@@ -347,6 +373,13 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
347
373
  "scope": "language-overridable",
348
374
  "restricted": false
349
375
  },
376
+ "diffEditor.experimental.useTrueInlineView": {
377
+ "type": "boolean",
378
+ "default": false,
379
+ "description": nls.localize("theia/editor/diffEditor.experimental.useTrueInlineView", "If enabled and the editor uses the inline view, word changes are rendered inline."),
380
+ "scope": "language-overridable",
381
+ "restricted": false
382
+ },
350
383
  "editor.acceptSuggestionOnCommitCharacter": {
351
384
  "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."),
352
385
  "type": "boolean",
@@ -379,9 +412,9 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
379
412
  "off"
380
413
  ],
381
414
  "enumDescriptions": [
382
- nls.localize("theia/editor/editor.accessibilitySupport0", "Use platform APIs to detect when a Screen Reader is attached"),
383
- nls.localize("theia/editor/editor.accessibilitySupport1", "Optimize for usage with a Screen Reader"),
384
- nls.localize("theia/editor/editor.accessibilitySupport2", "Assume a screen reader is not attached")
415
+ nls.localizeByDefault("Use platform APIs to detect when a Screen Reader is attached."),
416
+ nls.localizeByDefault("Optimize for usage with a Screen Reader."),
417
+ nls.localizeByDefault("Assume a screen reader is not attached.")
385
418
  ],
386
419
  "default": "auto",
387
420
  "tags": [
@@ -731,7 +764,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
731
764
  "restricted": false
732
765
  },
733
766
  "editor.cursorStyle": {
734
- "description": nls.localizeByDefault("Controls the cursor style."),
767
+ "description": nls.localize("theia/editor/editor.cursorStyle", "Controls the cursor style in insert input mode."),
735
768
  "type": "string",
736
769
  "enum": [
737
770
  "line",
@@ -788,7 +821,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
788
821
  "editor.dropIntoEditor.enabled": {
789
822
  "type": "boolean",
790
823
  "default": true,
791
- "markdownDescription": nls.localize("theia/editor/editor.dropIntoEditor.enabled", "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)."),
824
+ "markdownDescription": nls.localizeByDefault("Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor)."),
792
825
  "scope": "language-overridable",
793
826
  "restricted": false
794
827
  },
@@ -807,6 +840,14 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
807
840
  "scope": "language-overridable",
808
841
  "restricted": false
809
842
  },
843
+ "editor.experimentalEditContextEnabled": {
844
+ "description": nls.localize("theia/editor/editor.experimentalEditContextEnabled", "Sets whether the new experimental edit context should be used instead of the text area."),
845
+ "included": true,
846
+ "type": "boolean",
847
+ "default": false,
848
+ "scope": "language-overridable",
849
+ "restricted": false
850
+ },
810
851
  "editor.emptySelectionClipboard": {
811
852
  "description": nls.localizeByDefault("Controls whether copying without a selection copies the current line."),
812
853
  "type": "boolean",
@@ -893,6 +934,21 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
893
934
  "scope": "language-overridable",
894
935
  "restricted": false
895
936
  },
937
+ "editor.find.history": {
938
+ "type": "string",
939
+ "enum": [
940
+ "never",
941
+ "workspace"
942
+ ],
943
+ "default": "workspace",
944
+ "enumDescriptions": [
945
+ nls.localize("theia/editor/editor.find.history0", "Do not store search history from the find widget."),
946
+ nls.localize("theia/editor/editor.find.history1", "Store search history across the active workspace")
947
+ ],
948
+ "description": nls.localize("theia/editor/editor.find.history", "Controls how the find widget history should be stored"),
949
+ "scope": "language-overridable",
950
+ "restricted": false
951
+ },
896
952
  "editor.folding": {
897
953
  "description": nls.localizeByDefault("Controls whether the editor has code folding enabled."),
898
954
  "type": "boolean",
@@ -1049,6 +1105,10 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1049
1105
  },
1050
1106
  "editor.gotoLocation.multiple": {
1051
1107
  "deprecationMessage": "This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.",
1108
+ "type": [
1109
+ "string",
1110
+ "null"
1111
+ ],
1052
1112
  "default": null,
1053
1113
  "scope": "language-overridable",
1054
1114
  "restricted": false
@@ -1277,7 +1337,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1277
1337
  "type": "integer",
1278
1338
  "minimum": 0,
1279
1339
  "default": 300,
1280
- "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."),
1340
+ "description": nls.localizeByDefault("Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled."),
1281
1341
  "scope": "language-overridable",
1282
1342
  "restricted": false
1283
1343
  },
@@ -1300,16 +1360,25 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1300
1360
  "default": "onHover",
1301
1361
  "enum": [
1302
1362
  "always",
1303
- "onHover"
1363
+ "onHover",
1364
+ "never"
1304
1365
  ],
1305
1366
  "enumDescriptions": [
1306
1367
  nls.localizeByDefault("Show the inline suggestion toolbar whenever an inline suggestion is shown."),
1307
- nls.localizeByDefault("Show the inline suggestion toolbar when hovering over an inline suggestion.")
1368
+ nls.localizeByDefault("Show the inline suggestion toolbar when hovering over an inline suggestion."),
1369
+ nls.localizeByDefault("Never show the inline suggestion toolbar.")
1308
1370
  ],
1309
1371
  "description": nls.localizeByDefault("Controls when to show the inline suggestion toolbar."),
1310
1372
  "scope": "language-overridable",
1311
1373
  "restricted": false
1312
1374
  },
1375
+ "editor.inlineSuggest.syntaxHighlightingEnabled": {
1376
+ "type": "boolean",
1377
+ "default": false,
1378
+ "description": nls.localize("theia/editor/editor.inlineSuggest.syntaxHighlightingEnabled", "Controls whether to show syntax highlighting for inline suggestions in the editor."),
1379
+ "scope": "language-overridable",
1380
+ "restricted": false
1381
+ },
1313
1382
  "editor.inlineSuggest.suppressSuggestions": {
1314
1383
  "type": "boolean",
1315
1384
  "default": false,
@@ -1317,6 +1386,50 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1317
1386
  "scope": "language-overridable",
1318
1387
  "restricted": false
1319
1388
  },
1389
+ "editor.inlineSuggest.fontFamily": {
1390
+ "type": "string",
1391
+ "default": "default",
1392
+ "description": nls.localizeByDefault("Controls the font family of the inline suggestions."),
1393
+ "scope": "language-overridable",
1394
+ "restricted": false
1395
+ },
1396
+ "editor.inlineSuggest.edits.experimental.enabled": {
1397
+ "type": "boolean",
1398
+ "default": true,
1399
+ "description": nls.localize("theia/editor/editor.inlineSuggest.edits.experimental.enabled", "Controls whether to enable experimental edits in inline suggestions."),
1400
+ "scope": "language-overridable",
1401
+ "restricted": false
1402
+ },
1403
+ "editor.inlineSuggest.edits.experimental.useMixedLinesDiff": {
1404
+ "type": "string",
1405
+ "default": "never",
1406
+ "description": nls.localize("theia/editor/editor.inlineSuggest.edits.experimental.useMixedLinesDiff", "Controls whether to enable experimental edits in inline suggestions."),
1407
+ "enum": [
1408
+ "never",
1409
+ "whenPossible"
1410
+ ],
1411
+ "scope": "language-overridable",
1412
+ "restricted": false
1413
+ },
1414
+ "editor.inlineSuggest.edits.experimental.useInterleavedLinesDiff": {
1415
+ "type": "string",
1416
+ "default": "never",
1417
+ "description": nls.localize("theia/editor/editor.inlineSuggest.edits.experimental.useInterleavedLinesDiff", "Controls whether to enable experimental interleaved lines diff in inline suggestions."),
1418
+ "enum": [
1419
+ "never",
1420
+ "always",
1421
+ "afterJump"
1422
+ ],
1423
+ "scope": "language-overridable",
1424
+ "restricted": false
1425
+ },
1426
+ "editor.inlineSuggest.edits.experimental.onlyShowWhenCloseToCursor": {
1427
+ "type": "boolean",
1428
+ "default": true,
1429
+ "description": nls.localize("theia/editor/editor.inlineSuggest.edits.experimental.onlyShowWhenCloseToCursor", "Controls whether to only show inline suggestions when the cursor is close to the suggestion."),
1430
+ "scope": "language-overridable",
1431
+ "restricted": false
1432
+ },
1320
1433
  "editor.letterSpacing": {
1321
1434
  "description": nls.localizeByDefault("Controls the letter spacing in pixels."),
1322
1435
  "type": "number",
@@ -1325,8 +1438,18 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1325
1438
  "restricted": false
1326
1439
  },
1327
1440
  "editor.lightbulb.enabled": {
1328
- "type": "boolean",
1329
- "default": true,
1441
+ "type": "string",
1442
+ "enum": [
1443
+ "off",
1444
+ "onCode",
1445
+ "on"
1446
+ ],
1447
+ "default": "onCode",
1448
+ "enumDescriptions": [
1449
+ nls.localizeByDefault("Disable the code action menu."),
1450
+ nls.localizeByDefault("Show the code action menu when the cursor is on lines with code."),
1451
+ nls.localizeByDefault("Show the code action menu when the cursor is on lines with code or on empty lines.")
1452
+ ],
1330
1453
  "description": nls.localizeByDefault("Enables the Code Action lightbulb in the editor."),
1331
1454
  "scope": "language-overridable",
1332
1455
  "restricted": false
@@ -1464,6 +1587,34 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1464
1587
  "scope": "language-overridable",
1465
1588
  "restricted": false
1466
1589
  },
1590
+ "editor.minimap.showRegionSectionHeaders": {
1591
+ "type": "boolean",
1592
+ "default": true,
1593
+ "description": nls.localizeByDefault("Controls whether named regions are shown as section headers in the minimap."),
1594
+ "scope": "language-overridable",
1595
+ "restricted": false
1596
+ },
1597
+ "editor.minimap.showMarkSectionHeaders": {
1598
+ "type": "boolean",
1599
+ "default": true,
1600
+ "description": nls.localizeByDefault("Controls whether MARK: comments are shown as section headers in the minimap."),
1601
+ "scope": "language-overridable",
1602
+ "restricted": false
1603
+ },
1604
+ "editor.minimap.sectionHeaderFontSize": {
1605
+ "type": "number",
1606
+ "default": 9,
1607
+ "description": nls.localizeByDefault("Controls the font size of section headers in the minimap."),
1608
+ "scope": "language-overridable",
1609
+ "restricted": false
1610
+ },
1611
+ "editor.minimap.sectionHeaderLetterSpacing": {
1612
+ "type": "number",
1613
+ "default": 1,
1614
+ "description": nls.localize("theia/editor/editor.minimap.sectionHeaderLetterSpacing", "Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes."),
1615
+ "scope": "language-overridable",
1616
+ "restricted": false
1617
+ },
1467
1618
  "editor.mouseWheelScrollSensitivity": {
1468
1619
  "markdownDescription": nls.localizeByDefault("A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."),
1469
1620
  "type": "number",
@@ -1525,7 +1676,51 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1525
1676
  "restricted": false
1526
1677
  },
1527
1678
  "editor.occurrencesHighlight": {
1528
- "description": nls.localize("theia/editor/editor.occurrencesHighlight", "Controls whether the editor should highlight semantic symbol occurrences."),
1679
+ "markdownEnumDescriptions": [
1680
+ nls.localizeByDefault("Does not highlight occurrences."),
1681
+ nls.localizeByDefault("Highlights occurrences only in the current file."),
1682
+ nls.localizeByDefault("Experimental: Highlights occurrences across all valid open files.")
1683
+ ],
1684
+ "markdownDescription": nls.localizeByDefault("Controls whether occurrences should be highlighted across open files."),
1685
+ "type": "string",
1686
+ "enum": [
1687
+ "off",
1688
+ "singleFile",
1689
+ "multiFile"
1690
+ ],
1691
+ "default": "singleFile",
1692
+ "scope": "language-overridable",
1693
+ "restricted": false
1694
+ },
1695
+ "editor.occurrencesHighlightDelay": {
1696
+ "description": nls.localize("theia/editor/editor.occurrencesHighlightDelay", "Controls the delay in milliseconds after which occurrences are highlighted."),
1697
+ "tags": [
1698
+ "preview"
1699
+ ],
1700
+ "type": "integer",
1701
+ "default": 250,
1702
+ "minimum": 0,
1703
+ "maximum": 2000,
1704
+ "scope": "language-overridable",
1705
+ "restricted": false
1706
+ },
1707
+ "editor.overtypeCursorStyle": {
1708
+ "description": nls.localize("theia/editor/editor.overtypeCursorStyle", "Controls the cursor style in overtype input mode."),
1709
+ "type": "string",
1710
+ "enum": [
1711
+ "line",
1712
+ "block",
1713
+ "underline",
1714
+ "line-thin",
1715
+ "block-outline",
1716
+ "underline-thin"
1717
+ ],
1718
+ "default": "block",
1719
+ "scope": "language-overridable",
1720
+ "restricted": false
1721
+ },
1722
+ "editor.overtypeOnPaste": {
1723
+ "description": nls.localize("theia/editor/editor.overtypeOnPaste", "Controls whether pasting should overtype."),
1529
1724
  "type": "boolean",
1530
1725
  "default": true,
1531
1726
  "scope": "language-overridable",
@@ -1690,7 +1885,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1690
1885
  "comments": "off",
1691
1886
  "strings": "off"
1692
1887
  },
1693
- "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."),
1888
+ "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."),
1694
1889
  "scope": "language-overridable",
1695
1890
  "restricted": false
1696
1891
  },
@@ -1871,6 +2066,13 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1871
2066
  "scope": "language-overridable",
1872
2067
  "restricted": false
1873
2068
  },
2069
+ "editor.scrollbar.ignoreHorizontalScrollbarInContentHeight": {
2070
+ "type": "boolean",
2071
+ "default": false,
2072
+ "description": nls.localizeByDefault("When set, the horizontal scrollbar will not increase the size of the editor's content."),
2073
+ "scope": "language-overridable",
2074
+ "restricted": false
2075
+ },
1874
2076
  "editor.scrollBeyondLastColumn": {
1875
2077
  "description": nls.localizeByDefault("Controls the number of extra characters beyond which the editor will scroll horizontally."),
1876
2078
  "type": "integer",
@@ -1967,7 +2169,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1967
2169
  },
1968
2170
  "editor.stickyScroll.enabled": {
1969
2171
  "type": "boolean",
1970
- "default": false,
2172
+ "default": true,
1971
2173
  "description": nls.localizeByDefault("Shows the nested current scopes during the scroll at the top of the editor."),
1972
2174
  "scope": "language-overridable",
1973
2175
  "restricted": false
@@ -1976,7 +2178,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1976
2178
  "type": "number",
1977
2179
  "default": 5,
1978
2180
  "minimum": 1,
1979
- "maximum": 10,
2181
+ "maximum": 20,
1980
2182
  "description": nls.localizeByDefault("Defines the maximum number of sticky lines to show."),
1981
2183
  "scope": "language-overridable",
1982
2184
  "restricted": false
@@ -1996,7 +2198,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
1996
2198
  "editor.stickyScroll.scrollWithEditor": {
1997
2199
  "type": "boolean",
1998
2200
  "default": true,
1999
- "description": nls.localize("theia/editor/editor.stickyScroll.scrollWithEditor", "Enable scrolling of the sticky scroll widget with the editor's horizontal scrollbar."),
2201
+ "description": nls.localizeByDefault("Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar."),
2000
2202
  "scope": "language-overridable",
2001
2203
  "restricted": false
2002
2204
  },
@@ -2480,7 +2682,7 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2480
2682
  "restricted": false
2481
2683
  },
2482
2684
  "editor.useTabStops": {
2483
- "description": nls.localize("theia/editor/editor.useTabStops", "Inserting and deleting whitespace follows tab stops."),
2685
+ "description": nls.localizeByDefault("Spaces and tabs are inserted and deleted in alignment with tab stops."),
2484
2686
  "type": "boolean",
2485
2687
  "default": true,
2486
2688
  "scope": "language-overridable",
@@ -2501,6 +2703,24 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2501
2703
  "scope": "language-overridable",
2502
2704
  "restricted": false
2503
2705
  },
2706
+ "editor.wordSegmenterLocales": {
2707
+ "anyOf": [
2708
+ {
2709
+ "description": nls.localizeByDefault("Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),
2710
+ "type": "string"
2711
+ },
2712
+ {
2713
+ "description": nls.localizeByDefault("Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."),
2714
+ "type": "array",
2715
+ "items": {
2716
+ "type": "string"
2717
+ }
2718
+ }
2719
+ ],
2720
+ "default": [],
2721
+ "scope": "language-overridable",
2722
+ "restricted": false
2723
+ },
2504
2724
  "editor.wordSeparators": {
2505
2725
  "description": nls.localizeByDefault("Characters that will be used as word separators when doing word related navigations or operations."),
2506
2726
  "type": "string",
@@ -2617,6 +2837,13 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2617
2837
  "scope": "language-overridable",
2618
2838
  "restricted": false
2619
2839
  },
2840
+ "editor.inlayHints.maximumLength": {
2841
+ "type": "number",
2842
+ "default": 43,
2843
+ "markdownDescription": nls.localize("theia/editor/editor.inlayHints.maximumLength", "Maximum overall length of inlay hints, for a single line, before they get truncated by the editor. Set to `0` to never truncate"),
2844
+ "scope": "language-overridable",
2845
+ "restricted": false
2846
+ },
2620
2847
  "editor.tabFocusMode": {
2621
2848
  "markdownDescription": nls.localizeByDefault("Controls whether the editor receives tabs or defers them to the workbench for navigation."),
2622
2849
  "type": "boolean",
@@ -2625,9 +2852,19 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2625
2852
  "restricted": false
2626
2853
  },
2627
2854
  "editor.defaultColorDecorators": {
2628
- "markdownDescription": nls.localizeByDefault("Controls whether inline color decorations should be shown using the default document color provider"),
2629
- "type": "boolean",
2630
- "default": false,
2855
+ "enumDescriptions": [
2856
+ nls.localize("theia/editor/editor.defaultColorDecorators0", "Show default color decorators only when no extension provides colors decorators."),
2857
+ nls.localize("theia/editor/editor.defaultColorDecorators1", "Always show default color decorators."),
2858
+ nls.localize("theia/editor/editor.defaultColorDecorators2", "Never show default color decorators.")
2859
+ ],
2860
+ "description": nls.localize("theia/editor/editor.defaultColorDecorators", "Controls whether inline color decorations should be shown using the default document color provider."),
2861
+ "type": "string",
2862
+ "enum": [
2863
+ "auto",
2864
+ "always",
2865
+ "never"
2866
+ ],
2867
+ "default": "auto",
2631
2868
  "scope": "language-overridable",
2632
2869
  "restricted": false
2633
2870
  },
@@ -2662,21 +2899,18 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2662
2899
  "default": true,
2663
2900
  "restricted": false
2664
2901
  },
2665
- "editor.codeActionWidget.includeNearbyQuickfixes": {
2902
+ "editor.codeActionWidget.includeNearbyQuickFixes": {
2666
2903
  "type": "boolean",
2667
2904
  "scope": "language-overridable",
2668
- "description": nls.localize("theia/editor/editor.codeActionWidget.includeNearbyQuickfixes", "Enable/disable showing nearest quickfix within a line when not currently on a diagnostic."),
2669
- "default": false,
2905
+ "description": nls.localizeByDefault("Enable/disable showing nearest Quick Fix within a line when not currently on a diagnostic."),
2906
+ "default": true,
2670
2907
  "restricted": false
2671
2908
  },
2672
- "editor.experimental.dropIntoEditor.defaultProvider": {
2673
- "type": "object",
2909
+ "editor.codeActions.triggerOnFocusChange": {
2910
+ "type": "boolean",
2674
2911
  "scope": "language-overridable",
2675
- "description": nls.localizeByDefault("Configures the default drop provider to use for content of a given mime type."),
2676
- "default": {},
2677
- "additionalProperties": {
2678
- "type": "string"
2679
- },
2912
+ "markdownDescription": nls.localize("theia/editor/editor.codeActions.triggerOnFocusChange", "Enable triggering `#editor.codeActionsOnSave#` when `#files.autoSave#` is set to `afterDelay`. Code Actions must be set to `always` to be triggered for window and focus changes."),
2913
+ "default": false,
2680
2914
  "restricted": false
2681
2915
  },
2682
2916
  "editor.rename.enablePreview": {
@@ -2700,8 +2934,6 @@ export const editorGeneratedPreferenceProperties: PreferenceSchema['properties']
2700
2934
  }
2701
2935
  };
2702
2936
 
2703
- type QuickSuggestionValues = boolean | 'on' | 'inline' | 'off';
2704
-
2705
2937
  export interface GeneratedEditorPreferences {
2706
2938
  'editor.tabSize': number;
2707
2939
  'editor.indentSize': 'tabSize' | number;
@@ -2709,22 +2941,24 @@ export interface GeneratedEditorPreferences {
2709
2941
  'editor.detectIndentation': boolean;
2710
2942
  'editor.trimAutoWhitespace': boolean;
2711
2943
  'editor.largeFileOptimizations': boolean;
2712
- 'editor.wordBasedSuggestions': boolean;
2713
- 'editor.wordBasedSuggestionsMode': 'currentDocument' | 'matchingDocuments' | 'allDocuments';
2944
+ 'editor.wordBasedSuggestions': 'off' | 'currentDocument' | 'matchingDocuments' | 'allDocuments';
2714
2945
  'editor.semanticHighlighting.enabled': true | false | 'configuredByTheme';
2715
2946
  'editor.stablePeek': boolean;
2716
2947
  'editor.maxTokenizationLineLength': number;
2717
2948
  'editor.experimental.asyncTokenization': boolean;
2718
2949
  'editor.experimental.asyncTokenizationLogging': boolean;
2719
2950
  'editor.experimental.asyncTokenizationVerification': boolean;
2720
- 'editor.language.brackets': Array<[string, string]> | null | 'null';
2721
- 'editor.language.colorizedBracketPairs': Array<[string, string]> | null;
2951
+ 'editor.experimental.treeSitterTelemetry': boolean;
2952
+ 'editor.experimental.preferTreeSitter': 'typescript'[];
2953
+ 'editor.language.brackets': string[][] | 'null';
2954
+ 'editor.language.colorizedBracketPairs': string[][] | 'null';
2722
2955
  'diffEditor.maxComputationTime': number;
2723
2956
  'diffEditor.maxFileSize': number;
2724
2957
  'diffEditor.renderSideBySide': boolean;
2725
2958
  'diffEditor.renderSideBySideInlineBreakpoint': number;
2726
2959
  'diffEditor.useInlineViewWhenSpaceIsLimited': boolean;
2727
2960
  'diffEditor.renderMarginRevertIcon': boolean;
2961
+ 'diffEditor.renderGutterMenu': boolean;
2728
2962
  'diffEditor.ignoreTrimWhitespace': boolean;
2729
2963
  'diffEditor.renderIndicators': boolean;
2730
2964
  'diffEditor.codeLens': boolean;
@@ -2736,6 +2970,7 @@ export interface GeneratedEditorPreferences {
2736
2970
  'diffEditor.hideUnchangedRegions.contextLineCount': number;
2737
2971
  'diffEditor.experimental.showMoves': boolean;
2738
2972
  'diffEditor.experimental.showEmptyDecorations': boolean;
2973
+ 'diffEditor.experimental.useTrueInlineView': boolean;
2739
2974
  'editor.acceptSuggestionOnCommitCharacter': boolean;
2740
2975
  'editor.acceptSuggestionOnEnter': 'on' | 'smart' | 'off';
2741
2976
  'editor.accessibilitySupport': 'auto' | 'on' | 'off';
@@ -2773,6 +3008,7 @@ export interface GeneratedEditorPreferences {
2773
3008
  'editor.dragAndDrop': boolean;
2774
3009
  'editor.dropIntoEditor.enabled': boolean;
2775
3010
  'editor.dropIntoEditor.showDropSelector': 'afterDrop' | 'never';
3011
+ 'editor.experimentalEditContextEnabled': boolean;
2776
3012
  'editor.emptySelectionClipboard': boolean;
2777
3013
  'editor.experimentalWhitespaceRendering': 'svg' | 'font' | 'off';
2778
3014
  'editor.fastScrollSensitivity': number;
@@ -2781,6 +3017,7 @@ export interface GeneratedEditorPreferences {
2781
3017
  'editor.find.autoFindInSelection': 'never' | 'always' | 'multiline';
2782
3018
  'editor.find.addExtraSpaceOnTop': boolean;
2783
3019
  'editor.find.loop': boolean;
3020
+ 'editor.find.history': 'never' | 'workspace';
2784
3021
  'editor.folding': boolean;
2785
3022
  'editor.foldingStrategy': 'auto' | 'indentation';
2786
3023
  'editor.foldingHighlight': boolean;
@@ -2790,12 +3027,12 @@ export interface GeneratedEditorPreferences {
2790
3027
  'editor.fontFamily': string;
2791
3028
  'editor.fontLigatures': boolean | string;
2792
3029
  'editor.fontSize': number;
2793
- 'editor.fontWeight': number | string | 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
3030
+ 'editor.fontWeight': number | string | ('normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900');
2794
3031
  'editor.fontVariations': boolean | string;
2795
3032
  'editor.formatOnPaste': boolean;
2796
3033
  'editor.formatOnType': boolean;
2797
3034
  'editor.glyphMargin': boolean;
2798
- 'editor.gotoLocation.multiple': null;
3035
+ 'editor.gotoLocation.multiple': string | null;
2799
3036
  'editor.gotoLocation.multipleDefinitions': 'peek' | 'gotoAndPeek' | 'goto';
2800
3037
  'editor.gotoLocation.multipleTypeDefinitions': 'peek' | 'gotoAndPeek' | 'goto';
2801
3038
  'editor.gotoLocation.multipleDeclarations': 'peek' | 'gotoAndPeek' | 'goto';
@@ -2813,10 +3050,16 @@ export interface GeneratedEditorPreferences {
2813
3050
  'editor.hover.hidingDelay': number;
2814
3051
  'editor.hover.above': boolean;
2815
3052
  'editor.inlineSuggest.enabled': boolean;
2816
- 'editor.inlineSuggest.showToolbar': 'always' | 'onHover';
3053
+ 'editor.inlineSuggest.showToolbar': 'always' | 'onHover' | 'never';
3054
+ 'editor.inlineSuggest.syntaxHighlightingEnabled': boolean;
2817
3055
  'editor.inlineSuggest.suppressSuggestions': boolean;
3056
+ 'editor.inlineSuggest.fontFamily': string;
3057
+ 'editor.inlineSuggest.edits.experimental.enabled': boolean;
3058
+ 'editor.inlineSuggest.edits.experimental.useMixedLinesDiff': 'never' | 'whenPossible';
3059
+ 'editor.inlineSuggest.edits.experimental.useInterleavedLinesDiff': 'never' | 'always' | 'afterJump';
3060
+ 'editor.inlineSuggest.edits.experimental.onlyShowWhenCloseToCursor': boolean;
2818
3061
  'editor.letterSpacing': number;
2819
- 'editor.lightbulb.enabled': boolean;
3062
+ 'editor.lightbulb.enabled': 'off' | 'onCode' | 'on';
2820
3063
  'editor.lineHeight': number;
2821
3064
  'editor.lineNumbers': 'off' | 'on' | 'relative' | 'interval';
2822
3065
  'editor.linkedEditing': boolean;
@@ -2830,13 +3073,20 @@ export interface GeneratedEditorPreferences {
2830
3073
  'editor.minimap.scale': '1' | '2' | '3';
2831
3074
  'editor.minimap.renderCharacters': boolean;
2832
3075
  'editor.minimap.maxColumn': number;
3076
+ 'editor.minimap.showRegionSectionHeaders': boolean;
3077
+ 'editor.minimap.showMarkSectionHeaders': boolean;
3078
+ 'editor.minimap.sectionHeaderFontSize': number;
3079
+ 'editor.minimap.sectionHeaderLetterSpacing': number;
2833
3080
  'editor.mouseWheelScrollSensitivity': number;
2834
3081
  'editor.mouseWheelZoom': boolean;
2835
3082
  'editor.multiCursorMergeOverlapping': boolean;
2836
3083
  'editor.multiCursorModifier': 'ctrlCmd' | 'alt';
2837
3084
  'editor.multiCursorPaste': 'spread' | 'full';
2838
3085
  'editor.multiCursorLimit': number;
2839
- 'editor.occurrencesHighlight': boolean;
3086
+ 'editor.occurrencesHighlight': 'off' | 'singleFile' | 'multiFile';
3087
+ 'editor.occurrencesHighlightDelay': number;
3088
+ 'editor.overtypeCursorStyle': 'line' | 'block' | 'underline' | 'line-thin' | 'block-outline' | 'underline-thin';
3089
+ 'editor.overtypeOnPaste': boolean;
2840
3090
  'editor.overviewRulerBorder': boolean;
2841
3091
  'editor.padding.top': number;
2842
3092
  'editor.padding.bottom': number;
@@ -2846,7 +3096,11 @@ export interface GeneratedEditorPreferences {
2846
3096
  'editor.parameterHints.cycle': boolean;
2847
3097
  'editor.peekWidgetDefaultFocus': 'tree' | 'editor';
2848
3098
  'editor.definitionLinkOpensInPeek': boolean;
2849
- 'editor.quickSuggestions': boolean | { other?: QuickSuggestionValues; comments?: QuickSuggestionValues; strings?: QuickSuggestionValues };
3099
+ 'editor.quickSuggestions': {
3100
+ strings: 'on' | 'inline' | 'off',
3101
+ comments: 'on' | 'inline' | 'off'
3102
+ other: 'on' | 'inline' | 'off'
3103
+ };
2850
3104
  'editor.quickSuggestionsDelay': number;
2851
3105
  'editor.renameOnType': boolean;
2852
3106
  'editor.renderControlCharacters': boolean;
@@ -2855,12 +3109,13 @@ export interface GeneratedEditorPreferences {
2855
3109
  'editor.renderLineHighlightOnlyWhenFocus': boolean;
2856
3110
  'editor.renderWhitespace': 'none' | 'boundary' | 'selection' | 'trailing' | 'all';
2857
3111
  'editor.roundedSelection': boolean;
2858
- 'editor.rulers': Array<number | { column: number, color: string }>;
3112
+ 'editor.rulers': (number | { column: number, color: string })[];
2859
3113
  'editor.scrollbar.vertical': 'auto' | 'visible' | 'hidden';
2860
3114
  'editor.scrollbar.horizontal': 'auto' | 'visible' | 'hidden';
2861
3115
  'editor.scrollbar.verticalScrollbarSize': number;
2862
3116
  'editor.scrollbar.horizontalScrollbarSize': number;
2863
3117
  'editor.scrollbar.scrollByPage': boolean;
3118
+ 'editor.scrollbar.ignoreHorizontalScrollbarInContentHeight': boolean;
2864
3119
  'editor.scrollBeyondLastColumn': number;
2865
3120
  'editor.scrollBeyondLastLine': boolean;
2866
3121
  'editor.scrollPredominantAxis': boolean;
@@ -2887,7 +3142,7 @@ export interface GeneratedEditorPreferences {
2887
3142
  'editor.suggest.preview': boolean;
2888
3143
  'editor.suggest.showInlineDetails': boolean;
2889
3144
  'editor.suggest.maxVisibleSuggestions': number;
2890
- 'editor.suggest.filteredTypes': Record<string, boolean>;
3145
+ 'editor.suggest.filteredTypes': object;
2891
3146
  'editor.suggest.showMethods': boolean;
2892
3147
  'editor.suggest.showFunctions': boolean;
2893
3148
  'editor.suggest.showConstructors': boolean;
@@ -2933,6 +3188,7 @@ export interface GeneratedEditorPreferences {
2933
3188
  'editor.unusualLineTerminators': 'auto' | 'off' | 'prompt';
2934
3189
  'editor.useTabStops': boolean;
2935
3190
  'editor.wordBreak': 'normal' | 'keepAll';
3191
+ 'editor.wordSegmenterLocales': string | string[];
2936
3192
  'editor.wordSeparators': string;
2937
3193
  'editor.wordWrap': 'off' | 'on' | 'wordWrapColumn' | 'bounded';
2938
3194
  'editor.wordWrapColumn': number;
@@ -2943,13 +3199,14 @@ export interface GeneratedEditorPreferences {
2943
3199
  'editor.inlayHints.fontSize': number;
2944
3200
  'editor.inlayHints.fontFamily': string;
2945
3201
  'editor.inlayHints.padding': boolean;
3202
+ 'editor.inlayHints.maximumLength': number;
2946
3203
  'editor.tabFocusMode': boolean;
2947
- 'editor.defaultColorDecorators': boolean;
3204
+ 'editor.defaultColorDecorators': 'auto' | 'always' | 'never';
2948
3205
  'editor.colorDecoratorsActivatedOn': 'clickAndHover' | 'hover' | 'click';
2949
3206
  'editor.inlineCompletionsAccessibilityVerbose': boolean;
2950
3207
  'editor.codeActionWidget.showHeaders': boolean;
2951
- 'editor.codeActionWidget.includeNearbyQuickfixes': boolean;
2952
- 'editor.experimental.dropIntoEditor.defaultProvider': null;
3208
+ 'editor.codeActionWidget.includeNearbyQuickFixes': boolean;
3209
+ 'editor.codeActions.triggerOnFocusChange': boolean;
2953
3210
  'editor.rename.enablePreview': boolean;
2954
3211
  'editor.find.globalFindClipboard': boolean;
2955
3212
  'editor.selectionClipboard': boolean;