@theia/editor 1.19.0 → 1.20.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.
- package/lib/browser/editor-command.d.ts.map +1 -1
- package/lib/browser/editor-command.js +53 -53
- package/lib/browser/editor-command.js.map +1 -1
- package/lib/browser/editor-contribution.js +3 -3
- package/lib/browser/editor-contribution.js.map +1 -1
- package/lib/browser/editor-menu.js +3 -3
- package/lib/browser/editor-menu.js.map +1 -1
- package/lib/browser/editor-preferences.d.ts.map +1 -1
- package/lib/browser/editor-preferences.js +271 -270
- package/lib/browser/editor-preferences.js.map +1 -1
- package/package.json +5 -5
- package/src/browser/editor-command.ts +53 -53
- package/src/browser/editor-contribution.ts +3 -3
- package/src/browser/editor-menu.ts +3 -3
- package/src/browser/editor-preferences.ts +271 -270
|
@@ -78,7 +78,7 @@ const codeEditorPreferenceProperties = {
|
|
|
78
78
|
'type': 'number',
|
|
79
79
|
'default': EDITOR_MODEL_DEFAULTS.tabSize,
|
|
80
80
|
'minimum': 1,
|
|
81
|
-
'markdownDescription': nls.
|
|
81
|
+
'markdownDescription': nls.localizeByDefault('The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.')
|
|
82
82
|
},
|
|
83
83
|
'editor.defaultFormatter': {
|
|
84
84
|
'type': 'string',
|
|
@@ -88,105 +88,105 @@ const codeEditorPreferenceProperties = {
|
|
|
88
88
|
'editor.insertSpaces': {
|
|
89
89
|
'type': 'boolean',
|
|
90
90
|
'default': EDITOR_MODEL_DEFAULTS.insertSpaces,
|
|
91
|
-
'markdownDescription': nls.
|
|
91
|
+
'markdownDescription': nls.localizeByDefault('Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.')
|
|
92
92
|
},
|
|
93
93
|
'editor.detectIndentation': {
|
|
94
94
|
'type': 'boolean',
|
|
95
95
|
'default': EDITOR_MODEL_DEFAULTS.detectIndentation,
|
|
96
|
-
'markdownDescription': nls.
|
|
96
|
+
'markdownDescription': nls.localizeByDefault('Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.')
|
|
97
97
|
},
|
|
98
98
|
'editor.trimAutoWhitespace': {
|
|
99
99
|
'type': 'boolean',
|
|
100
100
|
'default': EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,
|
|
101
|
-
'description': nls.
|
|
101
|
+
'description': nls.localizeByDefault('Remove trailing auto inserted whitespace.')
|
|
102
102
|
},
|
|
103
103
|
'editor.largeFileOptimizations': {
|
|
104
104
|
'type': 'boolean',
|
|
105
105
|
'default': EDITOR_MODEL_DEFAULTS.largeFileOptimizations,
|
|
106
|
-
'description': nls.
|
|
106
|
+
'description': nls.localizeByDefault('Special handling for large files to disable certain memory intensive features.')
|
|
107
107
|
},
|
|
108
108
|
'editor.wordBasedSuggestions': {
|
|
109
109
|
'type': 'boolean',
|
|
110
110
|
'default': true,
|
|
111
|
-
'description': nls.
|
|
111
|
+
'description': nls.localizeByDefault('Controls whether completions should be computed based on words in the document.')
|
|
112
112
|
},
|
|
113
113
|
'editor.wordBasedSuggestionsMode': {
|
|
114
114
|
'enum': ['currentDocument', 'matchingDocuments', 'allDocuments'],
|
|
115
115
|
'default': 'matchingDocuments',
|
|
116
116
|
'enumDescriptions': [
|
|
117
|
-
nls.
|
|
118
|
-
nls.
|
|
119
|
-
nls.
|
|
117
|
+
nls.localizeByDefault('Only suggest words from the active document.'),
|
|
118
|
+
nls.localizeByDefault('Suggest words from all open documents of the same language.'),
|
|
119
|
+
nls.localizeByDefault('Suggest words from all open documents.')
|
|
120
120
|
],
|
|
121
|
-
'description': nls.
|
|
121
|
+
'description': nls.localizeByDefault('Controls form what documents word based completions are computed.')
|
|
122
122
|
},
|
|
123
123
|
'editor.semanticHighlighting.enabled': {
|
|
124
124
|
'enum': [true, false, 'configuredByTheme'],
|
|
125
125
|
'enumDescriptions': [
|
|
126
|
-
nls.
|
|
127
|
-
nls.
|
|
128
|
-
nls.
|
|
126
|
+
nls.localizeByDefault('Semantic highlighting enabled for all color themes.'),
|
|
127
|
+
nls.localizeByDefault('Semantic highlighting disabled for all color themes.'),
|
|
128
|
+
nls.localizeByDefault('Semantic highlighting is configured by the current color theme\'s `semanticHighlighting` setting.')
|
|
129
129
|
],
|
|
130
130
|
'default': 'configuredByTheme',
|
|
131
|
-
'description': nls.
|
|
131
|
+
'description': nls.localizeByDefault('Controls whether the semanticHighlighting is shown for the languages that support it.')
|
|
132
132
|
},
|
|
133
133
|
'editor.stablePeek': {
|
|
134
134
|
'type': 'boolean',
|
|
135
135
|
'default': false,
|
|
136
|
-
'markdownDescription': nls.
|
|
136
|
+
'markdownDescription': nls.localizeByDefault('Keep peek editors open even when double clicking their content or when hitting `Escape`.')
|
|
137
137
|
},
|
|
138
138
|
'editor.maxTokenizationLineLength': {
|
|
139
139
|
'type': 'integer',
|
|
140
140
|
'default': 400,
|
|
141
|
-
'description': nls.
|
|
141
|
+
'description': nls.localizeByDefault('Lines above this length will not be tokenized for performance reasons')
|
|
142
142
|
},
|
|
143
143
|
'diffEditor.maxComputationTime': {
|
|
144
144
|
'type': 'number',
|
|
145
145
|
'default': 5000,
|
|
146
|
-
'description': nls.
|
|
146
|
+
'description': nls.localizeByDefault('Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.')
|
|
147
147
|
},
|
|
148
148
|
'diffEditor.renderSideBySide': {
|
|
149
149
|
'type': 'boolean',
|
|
150
150
|
'default': true,
|
|
151
|
-
'description': nls.
|
|
151
|
+
'description': nls.localizeByDefault('Controls whether the diff editor shows the diff side by side or inline.')
|
|
152
152
|
},
|
|
153
153
|
'diffEditor.ignoreTrimWhitespace': {
|
|
154
154
|
'type': 'boolean',
|
|
155
155
|
'default': true,
|
|
156
|
-
'description': nls.
|
|
156
|
+
'description': nls.localizeByDefault('When enabled, the diff editor ignores changes in leading or trailing whitespace.')
|
|
157
157
|
},
|
|
158
158
|
'diffEditor.renderIndicators': {
|
|
159
159
|
'type': 'boolean',
|
|
160
160
|
'default': true,
|
|
161
|
-
'description': nls.
|
|
161
|
+
'description': nls.localizeByDefault('Controls whether the diff editor shows +/- indicators for added/removed changes.')
|
|
162
162
|
},
|
|
163
163
|
'diffEditor.codeLens': {
|
|
164
164
|
'type': 'boolean',
|
|
165
165
|
'default': false,
|
|
166
|
-
'description': nls.
|
|
166
|
+
'description': nls.localizeByDefault('Controls whether the editor shows CodeLens.')
|
|
167
167
|
},
|
|
168
168
|
'diffEditor.wordWrap': {
|
|
169
169
|
'type': 'string',
|
|
170
170
|
'enum': ['off', 'on', 'inherit'],
|
|
171
171
|
'default': 'inherit',
|
|
172
172
|
'markdownEnumDescriptions': [
|
|
173
|
-
nls.
|
|
174
|
-
nls.
|
|
175
|
-
nls.
|
|
173
|
+
nls.localizeByDefault('Lines will never wrap.'),
|
|
174
|
+
nls.localizeByDefault('Lines will wrap at the viewport width.'),
|
|
175
|
+
nls.localizeByDefault('Lines will wrap according to the `#editor.wordWrap#` setting.')
|
|
176
176
|
]
|
|
177
177
|
},
|
|
178
178
|
'editor.acceptSuggestionOnCommitCharacter': {
|
|
179
|
-
'markdownDescription': nls.
|
|
179
|
+
'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.'),
|
|
180
180
|
'type': 'boolean',
|
|
181
181
|
'default': true
|
|
182
182
|
},
|
|
183
183
|
'editor.acceptSuggestionOnEnter': {
|
|
184
184
|
'markdownEnumDescriptions': [
|
|
185
185
|
'',
|
|
186
|
-
nls.
|
|
186
|
+
nls.localizeByDefault('Only accept a suggestion with `Enter` when it makes a textual change.'),
|
|
187
187
|
''
|
|
188
188
|
],
|
|
189
|
-
'markdownDescription': nls.
|
|
189
|
+
'markdownDescription': nls.localizeByDefault('Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.'),
|
|
190
190
|
'type': 'string',
|
|
191
191
|
'enum': [
|
|
192
192
|
'on',
|
|
@@ -203,15 +203,15 @@ const codeEditorPreferenceProperties = {
|
|
|
203
203
|
'off'
|
|
204
204
|
],
|
|
205
205
|
'enumDescriptions': [
|
|
206
|
-
nls.
|
|
207
|
-
nls.
|
|
208
|
-
nls.
|
|
206
|
+
nls.localizeByDefault('The editor will use platform APIs to detect when a Screen Reader is attached.'),
|
|
207
|
+
nls.localizeByDefault('The editor will be permanently optimized for usage with a Screen Reader. Word wrapping will be disabled.'),
|
|
208
|
+
nls.localizeByDefault('The editor will never be optimized for usage with a Screen Reader.')
|
|
209
209
|
],
|
|
210
210
|
'default': 'auto',
|
|
211
|
-
'description': nls.
|
|
211
|
+
'description': nls.localizeByDefault('Controls whether the editor should run in a mode where it is optimized for screen readers. Setting to on will disable word wrapping.')
|
|
212
212
|
},
|
|
213
213
|
'editor.accessibilityPageSize': {
|
|
214
|
-
'description': nls.
|
|
214
|
+
'description': nls.localizeByDefault('Controls the number of lines in the editor that can be read out by a screen reader. Warning: this has a performance implication for numbers larger than the default.'),
|
|
215
215
|
'type': 'integer',
|
|
216
216
|
'default': 10,
|
|
217
217
|
'minimum': 1,
|
|
@@ -220,11 +220,11 @@ const codeEditorPreferenceProperties = {
|
|
|
220
220
|
'editor.autoClosingBrackets': {
|
|
221
221
|
'enumDescriptions': [
|
|
222
222
|
'',
|
|
223
|
-
nls.
|
|
224
|
-
nls.
|
|
223
|
+
nls.localizeByDefault('Use language configurations to determine when to autoclose brackets.'),
|
|
224
|
+
nls.localizeByDefault('Autoclose brackets only when the cursor is to the left of whitespace.'),
|
|
225
225
|
''
|
|
226
226
|
],
|
|
227
|
-
'description': nls.
|
|
227
|
+
'description': nls.localizeByDefault('Controls whether the editor should automatically close brackets after the user adds an opening bracket.'),
|
|
228
228
|
'type': 'string',
|
|
229
229
|
'enum': [
|
|
230
230
|
'always',
|
|
@@ -237,10 +237,10 @@ const codeEditorPreferenceProperties = {
|
|
|
237
237
|
'editor.autoClosingOvertype': {
|
|
238
238
|
'enumDescriptions': [
|
|
239
239
|
'',
|
|
240
|
-
nls.
|
|
240
|
+
nls.localizeByDefault('Type over closing quotes or brackets only if they were automatically inserted.'),
|
|
241
241
|
''
|
|
242
242
|
],
|
|
243
|
-
'description': nls.
|
|
243
|
+
'description': nls.localizeByDefault('Controls whether the editor should type over closing quotes or brackets.'),
|
|
244
244
|
'type': 'string',
|
|
245
245
|
'enum': [
|
|
246
246
|
'always',
|
|
@@ -252,11 +252,11 @@ const codeEditorPreferenceProperties = {
|
|
|
252
252
|
'editor.autoClosingQuotes': {
|
|
253
253
|
'enumDescriptions': [
|
|
254
254
|
'',
|
|
255
|
-
nls.
|
|
256
|
-
nls.
|
|
255
|
+
nls.localizeByDefault('Use language configurations to determine when to autoclose quotes.'),
|
|
256
|
+
nls.localizeByDefault('Autoclose quotes only when the cursor is to the left of whitespace.'),
|
|
257
257
|
''
|
|
258
258
|
],
|
|
259
|
-
'description': nls.
|
|
259
|
+
'description': nls.localizeByDefault('Controls whether the editor should automatically close quotes after the user adds an opening quote.'),
|
|
260
260
|
'type': 'string',
|
|
261
261
|
'enum': [
|
|
262
262
|
'always',
|
|
@@ -268,13 +268,13 @@ const codeEditorPreferenceProperties = {
|
|
|
268
268
|
},
|
|
269
269
|
'editor.autoIndent': {
|
|
270
270
|
'enumDescriptions': [
|
|
271
|
-
nls.
|
|
272
|
-
nls.
|
|
273
|
-
nls.
|
|
274
|
-
nls.
|
|
275
|
-
nls.
|
|
271
|
+
nls.localizeByDefault('The editor will not insert indentation automatically.'),
|
|
272
|
+
nls.localizeByDefault('The editor will keep the current line\'s indentation.'),
|
|
273
|
+
nls.localizeByDefault('The editor will keep the current line\'s indentation and honor language defined brackets.'),
|
|
274
|
+
nls.localizeByDefault('The editor will keep the current line\'s indentation, honor language defined brackets and invoke special onEnterRules defined by languages.'),
|
|
275
|
+
nls.localizeByDefault('The editor will keep the current line\'s indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.')
|
|
276
276
|
],
|
|
277
|
-
'description': nls.
|
|
277
|
+
'description': nls.localizeByDefault('Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.'),
|
|
278
278
|
'type': 'string',
|
|
279
279
|
'enum': [
|
|
280
280
|
'none',
|
|
@@ -287,12 +287,12 @@ const codeEditorPreferenceProperties = {
|
|
|
287
287
|
},
|
|
288
288
|
'editor.autoSurround': {
|
|
289
289
|
'enumDescriptions': [
|
|
290
|
-
nls.
|
|
291
|
-
nls.
|
|
292
|
-
nls.
|
|
290
|
+
nls.localizeByDefault('Use language configurations to determine when to automatically surround selections.'),
|
|
291
|
+
nls.localizeByDefault('Surround with quotes but not brackets.'),
|
|
292
|
+
nls.localizeByDefault('Surround with brackets but not quotes.'),
|
|
293
293
|
''
|
|
294
294
|
],
|
|
295
|
-
'description': nls.
|
|
295
|
+
'description': nls.localizeByDefault('Controls whether the editor should automatically surround selections when typing quotes or brackets.'),
|
|
296
296
|
'type': 'string',
|
|
297
297
|
'enum': [
|
|
298
298
|
'languageDefined',
|
|
@@ -313,12 +313,12 @@ const codeEditorPreferenceProperties = {
|
|
|
313
313
|
'description': nls.localize('theia/editor/automaticLayout', 'Enable that the editor will install an interval to check if its container dom node size has changed. Enabling this might have a severe performance impact.')
|
|
314
314
|
},
|
|
315
315
|
'editor.codeLens': {
|
|
316
|
-
'description': nls.
|
|
316
|
+
'description': nls.localizeByDefault('Controls whether the editor shows CodeLens.'),
|
|
317
317
|
'type': 'boolean',
|
|
318
318
|
'default': true
|
|
319
319
|
},
|
|
320
320
|
'editor.codeLensFontFamily': {
|
|
321
|
-
'description': nls.
|
|
321
|
+
'description': nls.localizeByDefault('Controls the font family for CodeLens.'),
|
|
322
322
|
'type': 'string',
|
|
323
323
|
'default': true
|
|
324
324
|
},
|
|
@@ -327,22 +327,22 @@ const codeEditorPreferenceProperties = {
|
|
|
327
327
|
'default': 0,
|
|
328
328
|
'minimum': 0,
|
|
329
329
|
'maximum': 100,
|
|
330
|
-
'description': nls.
|
|
330
|
+
'description': nls.localizeByDefault('Controls the font size in pixels for CodeLens. When set to `0`, the 90% of `#editor.fontSize#` is used.')
|
|
331
331
|
},
|
|
332
332
|
'editor.colorDecorators': {
|
|
333
|
-
'description': nls.
|
|
333
|
+
'description': nls.localizeByDefault('Controls whether the editor should render the inline color decorators and color picker.'),
|
|
334
334
|
'type': 'boolean',
|
|
335
335
|
'default': true
|
|
336
336
|
},
|
|
337
337
|
'editor.comments.insertSpace': {
|
|
338
338
|
'type': 'boolean',
|
|
339
339
|
'default': true,
|
|
340
|
-
'description': nls.
|
|
340
|
+
'description': nls.localizeByDefault('Controls whether a space character is inserted when commenting.')
|
|
341
341
|
},
|
|
342
342
|
'editor.comments.ignoreEmptyLines': {
|
|
343
343
|
'type': 'boolean',
|
|
344
344
|
'default': true,
|
|
345
|
-
'description': nls.
|
|
345
|
+
'description': nls.localizeByDefault('Controls if empty lines should be ignored with toggle, add or remove actions for line comments.')
|
|
346
346
|
},
|
|
347
347
|
'editor.contextmenu': {
|
|
348
348
|
'description': nls.localize('theia/editor/contextmenu', 'Controls whether to enable the custom contextmenu.'),
|
|
@@ -350,12 +350,12 @@ const codeEditorPreferenceProperties = {
|
|
|
350
350
|
'default': true,
|
|
351
351
|
},
|
|
352
352
|
'editor.copyWithSyntaxHighlighting': {
|
|
353
|
-
'description': nls.
|
|
353
|
+
'description': nls.localizeByDefault('Controls whether syntax highlighting should be copied into the clipboard.'),
|
|
354
354
|
'type': 'boolean',
|
|
355
355
|
'default': true
|
|
356
356
|
},
|
|
357
357
|
'editor.cursorBlinking': {
|
|
358
|
-
'description': nls.
|
|
358
|
+
'description': nls.localizeByDefault('Control the cursor animation style.'),
|
|
359
359
|
'type': 'string',
|
|
360
360
|
'enum': [
|
|
361
361
|
'blink',
|
|
@@ -367,12 +367,12 @@ const codeEditorPreferenceProperties = {
|
|
|
367
367
|
'default': 'blink'
|
|
368
368
|
},
|
|
369
369
|
'editor.cursorSmoothCaretAnimation': {
|
|
370
|
-
'description': nls.
|
|
370
|
+
'description': nls.localizeByDefault('Controls whether the smooth caret animation should be enabled.'),
|
|
371
371
|
'type': 'boolean',
|
|
372
372
|
'default': false
|
|
373
373
|
},
|
|
374
374
|
'editor.cursorStyle': {
|
|
375
|
-
'description': nls.
|
|
375
|
+
'description': nls.localizeByDefault('Controls the cursor style.'),
|
|
376
376
|
'type': 'string',
|
|
377
377
|
'enum': [
|
|
378
378
|
'line',
|
|
@@ -385,7 +385,7 @@ const codeEditorPreferenceProperties = {
|
|
|
385
385
|
'default': 'line'
|
|
386
386
|
},
|
|
387
387
|
'editor.cursorSurroundingLines': {
|
|
388
|
-
'description': nls.
|
|
388
|
+
'description': nls.localizeByDefault("Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors."),
|
|
389
389
|
'type': 'integer',
|
|
390
390
|
'default': 0,
|
|
391
391
|
'minimum': 0,
|
|
@@ -393,10 +393,10 @@ const codeEditorPreferenceProperties = {
|
|
|
393
393
|
},
|
|
394
394
|
'editor.cursorSurroundingLinesStyle': {
|
|
395
395
|
'enumDescriptions': [
|
|
396
|
-
nls.
|
|
397
|
-
nls.
|
|
396
|
+
nls.localizeByDefault('`cursorSurroundingLines` is enforced only when triggered via the keyboard or API.'),
|
|
397
|
+
nls.localizeByDefault('`cursorSurroundingLines` is enforced always.')
|
|
398
398
|
],
|
|
399
|
-
'description': nls.
|
|
399
|
+
'description': nls.localizeByDefault('Controls when `cursorSurroundingLines` should be enforced.'),
|
|
400
400
|
'type': 'string',
|
|
401
401
|
'enum': [
|
|
402
402
|
'default',
|
|
@@ -405,7 +405,7 @@ const codeEditorPreferenceProperties = {
|
|
|
405
405
|
'default': 'default'
|
|
406
406
|
},
|
|
407
407
|
'editor.cursorWidth': {
|
|
408
|
-
'markdownDescription': nls.
|
|
408
|
+
'markdownDescription': nls.localizeByDefault('Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.'),
|
|
409
409
|
'type': 'integer',
|
|
410
410
|
'default': 0,
|
|
411
411
|
'minimum': 0,
|
|
@@ -422,12 +422,12 @@ const codeEditorPreferenceProperties = {
|
|
|
422
422
|
'default': false
|
|
423
423
|
},
|
|
424
424
|
'editor.dragAndDrop': {
|
|
425
|
-
'description': nls.
|
|
425
|
+
'description': nls.localizeByDefault('Controls whether the editor should allow moving selections via drag and drop.'),
|
|
426
426
|
'type': 'boolean',
|
|
427
427
|
'default': true
|
|
428
428
|
},
|
|
429
429
|
'editor.emptySelectionClipboard': {
|
|
430
|
-
'description': nls.
|
|
430
|
+
'description': nls.localizeByDefault('Controls whether copying without a selection copies the current line.'),
|
|
431
431
|
'type': 'boolean',
|
|
432
432
|
'default': true
|
|
433
433
|
},
|
|
@@ -437,19 +437,19 @@ const codeEditorPreferenceProperties = {
|
|
|
437
437
|
'default': ''
|
|
438
438
|
},
|
|
439
439
|
'editor.fastScrollSensitivity': {
|
|
440
|
-
'markdownDescription': nls.
|
|
440
|
+
'markdownDescription': nls.localizeByDefault('Scrolling speed multiplier when pressing `Alt`.'),
|
|
441
441
|
'type': 'number',
|
|
442
442
|
'default': 5
|
|
443
443
|
},
|
|
444
444
|
'editor.find.cursorMoveOnType': {
|
|
445
|
-
'description': nls.
|
|
445
|
+
'description': nls.localizeByDefault('Controls whether the cursor should jump to find matches while typing.'),
|
|
446
446
|
'type': 'boolean',
|
|
447
447
|
'default': true
|
|
448
448
|
},
|
|
449
449
|
'editor.find.seedSearchStringFromSelection': {
|
|
450
450
|
'type': 'boolean',
|
|
451
451
|
'default': true,
|
|
452
|
-
'description': nls.
|
|
452
|
+
'description': nls.localizeByDefault('Controls whether the search string in the Find Widget is seeded from the editor selection.')
|
|
453
453
|
},
|
|
454
454
|
'editor.find.autoFindInSelection': {
|
|
455
455
|
'type': 'string',
|
|
@@ -460,27 +460,27 @@ const codeEditorPreferenceProperties = {
|
|
|
460
460
|
],
|
|
461
461
|
'default': 'never',
|
|
462
462
|
'enumDescriptions': [
|
|
463
|
-
nls.
|
|
464
|
-
nls.
|
|
465
|
-
nls.
|
|
463
|
+
nls.localizeByDefault('Never turn on Find in selection automatically (default)'),
|
|
464
|
+
nls.localizeByDefault('Always turn on Find in selection automatically'),
|
|
465
|
+
nls.localizeByDefault('Turn on Find in selection automatically when multiple lines of content are selected.')
|
|
466
466
|
],
|
|
467
|
-
'description': nls.
|
|
467
|
+
'description': nls.localizeByDefault('Controls the condition for turning on find in selection automatically.')
|
|
468
468
|
},
|
|
469
469
|
'editor.find.globalFindClipboard': {
|
|
470
470
|
'type': 'boolean',
|
|
471
471
|
'default': false,
|
|
472
|
-
'description': nls.
|
|
472
|
+
'description': nls.localizeByDefault('Controls whether the Find Widget should read or modify the shared find clipboard on macOS.'),
|
|
473
473
|
'included': isOSX
|
|
474
474
|
},
|
|
475
475
|
'editor.find.addExtraSpaceOnTop': {
|
|
476
476
|
'type': 'boolean',
|
|
477
477
|
'default': true,
|
|
478
|
-
'description': nls.
|
|
478
|
+
'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.')
|
|
479
479
|
},
|
|
480
480
|
'editor.find.loop': {
|
|
481
481
|
'type': 'boolean',
|
|
482
482
|
'default': true,
|
|
483
|
-
'description': nls.
|
|
483
|
+
'description': nls.localizeByDefault('Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.')
|
|
484
484
|
},
|
|
485
485
|
'editor.fixedOverflowWidgets': {
|
|
486
486
|
'markdownDescription': nls.localize('theia/editor/fixedOverflowWidgets', 'Controls whether to display overflow widgets as `fixed`.'),
|
|
@@ -488,35 +488,35 @@ const codeEditorPreferenceProperties = {
|
|
|
488
488
|
'default': false,
|
|
489
489
|
},
|
|
490
490
|
'editor.folding': {
|
|
491
|
-
'description': nls.
|
|
491
|
+
'description': nls.localizeByDefault('Controls whether the editor has code folding enabled.'),
|
|
492
492
|
'type': 'boolean',
|
|
493
493
|
'default': true
|
|
494
494
|
},
|
|
495
495
|
'editor.foldingStrategy': {
|
|
496
|
-
'markdownDescription': nls.
|
|
496
|
+
'markdownDescription': nls.localizeByDefault('Controls the strategy for computing folding ranges.'),
|
|
497
497
|
'type': 'string',
|
|
498
498
|
'enum': [
|
|
499
499
|
'auto',
|
|
500
500
|
'indentation'
|
|
501
501
|
],
|
|
502
502
|
'enumDescriptions': [
|
|
503
|
-
nls.
|
|
504
|
-
nls.
|
|
503
|
+
nls.localizeByDefault('Use a language-specific folding strategy if available, else the indentation-based one.'),
|
|
504
|
+
nls.localizeByDefault('Use the indentation-based folding strategy.'),
|
|
505
505
|
],
|
|
506
506
|
'default': 'auto'
|
|
507
507
|
},
|
|
508
508
|
'editor.foldingHighlight': {
|
|
509
|
-
'description': nls.
|
|
509
|
+
'description': nls.localizeByDefault('Controls whether the editor should highlight folded ranges.'),
|
|
510
510
|
'type': 'boolean',
|
|
511
511
|
'default': true
|
|
512
512
|
},
|
|
513
513
|
'editor.unfoldOnClickAfterEndOfLine': {
|
|
514
|
-
'description': nls.
|
|
514
|
+
'description': nls.localizeByDefault('Controls whether clicking on the empty content after a folded line will unfold the line.'),
|
|
515
515
|
'type': 'boolean',
|
|
516
516
|
'default': false
|
|
517
517
|
},
|
|
518
518
|
'editor.fontFamily': {
|
|
519
|
-
'description': nls.
|
|
519
|
+
'description': nls.localizeByDefault('Controls the font family.'),
|
|
520
520
|
'type': 'string',
|
|
521
521
|
'default': EDITOR_FONT_DEFAULTS.fontFamily
|
|
522
522
|
},
|
|
@@ -524,14 +524,14 @@ const codeEditorPreferenceProperties = {
|
|
|
524
524
|
'anyOf': [
|
|
525
525
|
{
|
|
526
526
|
'type': 'boolean',
|
|
527
|
-
'description': nls.
|
|
527
|
+
'description': nls.localizeByDefault("Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")
|
|
528
528
|
},
|
|
529
529
|
{
|
|
530
530
|
'type': 'string',
|
|
531
|
-
'description': nls.
|
|
531
|
+
'description': nls.localizeByDefault("Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")
|
|
532
532
|
}
|
|
533
533
|
],
|
|
534
|
-
'description': nls.
|
|
534
|
+
'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."),
|
|
535
535
|
'default': false
|
|
536
536
|
},
|
|
537
537
|
'editor.fontSize': {
|
|
@@ -539,7 +539,7 @@ const codeEditorPreferenceProperties = {
|
|
|
539
539
|
'minimum': 6,
|
|
540
540
|
'maximum': 100,
|
|
541
541
|
'default': EDITOR_FONT_DEFAULTS.fontSize,
|
|
542
|
-
'description': nls.
|
|
542
|
+
'description': nls.localizeByDefault('Controls the font size in pixels.')
|
|
543
543
|
},
|
|
544
544
|
'editor.fontWeight': {
|
|
545
545
|
'enum': [
|
|
@@ -555,32 +555,32 @@ const codeEditorPreferenceProperties = {
|
|
|
555
555
|
'800',
|
|
556
556
|
'900'
|
|
557
557
|
],
|
|
558
|
-
'description': nls.
|
|
558
|
+
'description': nls.localizeByDefault('Controls the font weight. Accepts \"normal\" and \"bold\" keywords or numbers between 1 and 1000.'),
|
|
559
559
|
'type': 'string',
|
|
560
560
|
'default': EDITOR_FONT_DEFAULTS.fontWeight
|
|
561
561
|
},
|
|
562
562
|
'editor.formatOnPaste': {
|
|
563
|
-
'description': nls.
|
|
563
|
+
'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.'),
|
|
564
564
|
'type': 'boolean',
|
|
565
565
|
'default': false
|
|
566
566
|
},
|
|
567
567
|
'editor.formatOnType': {
|
|
568
|
-
'description': nls.
|
|
568
|
+
'description': nls.localizeByDefault('Controls whether the editor should automatically format the line after typing.'),
|
|
569
569
|
'type': 'boolean',
|
|
570
570
|
'default': false
|
|
571
571
|
},
|
|
572
572
|
'editor.glyphMargin': {
|
|
573
|
-
'description': nls.
|
|
573
|
+
'description': nls.localizeByDefault('Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.'),
|
|
574
574
|
'type': 'boolean',
|
|
575
575
|
'default': true
|
|
576
576
|
},
|
|
577
577
|
'editor.gotoLocation.multiple': {
|
|
578
578
|
'type': 'string',
|
|
579
579
|
'default': '',
|
|
580
|
-
'deprecationMessage': nls.
|
|
580
|
+
'deprecationMessage': nls.localizeByDefault("This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")
|
|
581
581
|
},
|
|
582
582
|
'editor.gotoLocation.multipleDefinitions': {
|
|
583
|
-
'description': nls.
|
|
583
|
+
'description': nls.localizeByDefault("Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),
|
|
584
584
|
'type': 'string',
|
|
585
585
|
'enum': [
|
|
586
586
|
'peek',
|
|
@@ -589,13 +589,13 @@ const codeEditorPreferenceProperties = {
|
|
|
589
589
|
],
|
|
590
590
|
'default': 'peek',
|
|
591
591
|
'enumDescriptions': [
|
|
592
|
-
nls.
|
|
593
|
-
nls.
|
|
594
|
-
nls.
|
|
592
|
+
nls.localizeByDefault('Show peek view of the results (default)'),
|
|
593
|
+
nls.localizeByDefault('Go to the primary result and show a peek view'),
|
|
594
|
+
nls.localizeByDefault('Go to the primary result and enable peek-less navigation to others')
|
|
595
595
|
]
|
|
596
596
|
},
|
|
597
597
|
'editor.gotoLocation.multipleTypeDefinitions': {
|
|
598
|
-
'description': nls.
|
|
598
|
+
'description': nls.localizeByDefault("Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),
|
|
599
599
|
'type': 'string',
|
|
600
600
|
'enum': [
|
|
601
601
|
'peek',
|
|
@@ -604,13 +604,13 @@ const codeEditorPreferenceProperties = {
|
|
|
604
604
|
],
|
|
605
605
|
'default': 'peek',
|
|
606
606
|
'enumDescriptions': [
|
|
607
|
-
nls.
|
|
608
|
-
nls.
|
|
609
|
-
nls.
|
|
607
|
+
nls.localizeByDefault('Show peek view of the results (default)'),
|
|
608
|
+
nls.localizeByDefault('Go to the primary result and show a peek view'),
|
|
609
|
+
nls.localizeByDefault('Go to the primary result and enable peek-less navigation to others')
|
|
610
610
|
]
|
|
611
611
|
},
|
|
612
612
|
'editor.gotoLocation.multipleDeclarations': {
|
|
613
|
-
'description': nls.
|
|
613
|
+
'description': nls.localizeByDefault("Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),
|
|
614
614
|
'type': 'string',
|
|
615
615
|
'enum': [
|
|
616
616
|
'peek',
|
|
@@ -619,13 +619,13 @@ const codeEditorPreferenceProperties = {
|
|
|
619
619
|
],
|
|
620
620
|
'default': 'peek',
|
|
621
621
|
'enumDescriptions': [
|
|
622
|
-
nls.
|
|
623
|
-
nls.
|
|
624
|
-
nls.
|
|
622
|
+
nls.localizeByDefault('Show peek view of the results (default)'),
|
|
623
|
+
nls.localizeByDefault('Go to the primary result and show a peek view'),
|
|
624
|
+
nls.localizeByDefault('Go to the primary result and enable peek-less navigation to others')
|
|
625
625
|
]
|
|
626
626
|
},
|
|
627
627
|
'editor.gotoLocation.multipleImplementations': {
|
|
628
|
-
'description': nls.
|
|
628
|
+
'description': nls.localizeByDefault("Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),
|
|
629
629
|
'type': 'string',
|
|
630
630
|
'enum': [
|
|
631
631
|
'peek',
|
|
@@ -634,13 +634,13 @@ const codeEditorPreferenceProperties = {
|
|
|
634
634
|
],
|
|
635
635
|
'default': 'peek',
|
|
636
636
|
'enumDescriptions': [
|
|
637
|
-
nls.
|
|
638
|
-
nls.
|
|
639
|
-
nls.
|
|
637
|
+
nls.localizeByDefault('Show peek view of the results (default)'),
|
|
638
|
+
nls.localizeByDefault('Go to the primary result and show a peek view'),
|
|
639
|
+
nls.localizeByDefault('Go to the primary result and enable peek-less navigation to others')
|
|
640
640
|
]
|
|
641
641
|
},
|
|
642
642
|
'editor.gotoLocation.multipleReferences': {
|
|
643
|
-
'description': nls.
|
|
643
|
+
'description': nls.localizeByDefault("Controls the behavior the 'Go to References'-command when multiple target locations exist."),
|
|
644
644
|
'type': 'string',
|
|
645
645
|
'enum': [
|
|
646
646
|
'peek',
|
|
@@ -649,38 +649,38 @@ const codeEditorPreferenceProperties = {
|
|
|
649
649
|
],
|
|
650
650
|
'default': 'peek',
|
|
651
651
|
'enumDescriptions': [
|
|
652
|
-
nls.
|
|
653
|
-
nls.
|
|
654
|
-
nls.
|
|
652
|
+
nls.localizeByDefault('Show peek view of the results (default)'),
|
|
653
|
+
nls.localizeByDefault('Go to the primary result and show a peek view'),
|
|
654
|
+
nls.localizeByDefault('Go to the primary result and enable peek-less navigation to others')
|
|
655
655
|
]
|
|
656
656
|
},
|
|
657
657
|
'editor.gotoLocation.alternativeDefinitionCommand': {
|
|
658
658
|
'type': 'string',
|
|
659
659
|
'default': 'editor.action.goToReferences',
|
|
660
|
-
'description': nls.
|
|
660
|
+
'description': nls.localizeByDefault("Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")
|
|
661
661
|
},
|
|
662
662
|
'editor.gotoLocation.alternativeTypeDefinitionCommand': {
|
|
663
663
|
'type': 'string',
|
|
664
664
|
'default': 'editor.action.goToReferences',
|
|
665
|
-
'description': nls.
|
|
665
|
+
'description': nls.localizeByDefault("Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")
|
|
666
666
|
},
|
|
667
667
|
'editor.gotoLocation.alternativeDeclarationCommand': {
|
|
668
668
|
'type': 'string',
|
|
669
669
|
'default': 'editor.action.goToReferences',
|
|
670
|
-
'description': nls.
|
|
670
|
+
'description': nls.localizeByDefault("Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")
|
|
671
671
|
},
|
|
672
672
|
'editor.gotoLocation.alternativeImplementationCommand': {
|
|
673
673
|
'type': 'string',
|
|
674
674
|
'default': '',
|
|
675
|
-
'description': nls.
|
|
675
|
+
'description': nls.localizeByDefault("Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")
|
|
676
676
|
},
|
|
677
677
|
'editor.gotoLocation.alternativeReferenceCommand': {
|
|
678
678
|
'type': 'string',
|
|
679
679
|
'default': '',
|
|
680
|
-
'description': nls.
|
|
680
|
+
'description': nls.localizeByDefault("Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")
|
|
681
681
|
},
|
|
682
682
|
'editor.hideCursorInOverviewRuler': {
|
|
683
|
-
'description': nls.
|
|
683
|
+
'description': nls.localizeByDefault('Controls whether the cursor should be hidden in the overview ruler.'),
|
|
684
684
|
'type': 'boolean',
|
|
685
685
|
'default': false
|
|
686
686
|
},
|
|
@@ -692,34 +692,34 @@ const codeEditorPreferenceProperties = {
|
|
|
692
692
|
'editor.hover.enabled': {
|
|
693
693
|
'type': 'boolean',
|
|
694
694
|
'default': true,
|
|
695
|
-
'description': nls.
|
|
695
|
+
'description': nls.localizeByDefault('Controls whether the hover is shown.')
|
|
696
696
|
},
|
|
697
697
|
'editor.hover.delay': {
|
|
698
698
|
'type': 'number',
|
|
699
699
|
'default': 300,
|
|
700
|
-
'description': nls.
|
|
700
|
+
'description': nls.localizeByDefault('Controls the delay in milliseconds after which the hover is shown.')
|
|
701
701
|
},
|
|
702
702
|
'editor.hover.sticky': {
|
|
703
703
|
'type': 'boolean',
|
|
704
704
|
'default': true,
|
|
705
|
-
'description': nls.
|
|
705
|
+
'description': nls.localizeByDefault('Controls whether the hover should remain visible when mouse is moved over it.')
|
|
706
706
|
},
|
|
707
707
|
'editor.inDiffEditor': {
|
|
708
708
|
'type': 'boolean',
|
|
709
709
|
'default': true,
|
|
710
710
|
},
|
|
711
711
|
'editor.letterSpacing': {
|
|
712
|
-
'description': nls.
|
|
712
|
+
'description': nls.localizeByDefault('Controls the letter spacing in pixels.'),
|
|
713
713
|
'type': 'number',
|
|
714
714
|
'default': EDITOR_FONT_DEFAULTS.letterSpacing
|
|
715
715
|
},
|
|
716
716
|
'editor.lightbulb.enabled': {
|
|
717
717
|
'type': 'boolean',
|
|
718
718
|
'default': true,
|
|
719
|
-
'description': nls.
|
|
719
|
+
'description': nls.localizeByDefault('Enables the code action lightbulb in the editor.')
|
|
720
720
|
},
|
|
721
721
|
'editor.lineHeight': {
|
|
722
|
-
'description': nls.
|
|
722
|
+
'description': nls.localizeByDefault('Controls the line height. Use 0 to compute the line height from the font size.'),
|
|
723
723
|
'type': 'integer',
|
|
724
724
|
'default': EDITOR_FONT_DEFAULTS.lineHeight,
|
|
725
725
|
'minimum': 0,
|
|
@@ -734,13 +734,13 @@ const codeEditorPreferenceProperties = {
|
|
|
734
734
|
'interval'
|
|
735
735
|
],
|
|
736
736
|
'enumDescriptions': [
|
|
737
|
-
nls.
|
|
738
|
-
nls.
|
|
739
|
-
nls.
|
|
740
|
-
nls.
|
|
737
|
+
nls.localizeByDefault('Line numbers are not rendered.'),
|
|
738
|
+
nls.localizeByDefault('Line numbers are rendered as absolute number.'),
|
|
739
|
+
nls.localizeByDefault('Line numbers are rendered as distance in lines to cursor position.'),
|
|
740
|
+
nls.localizeByDefault('Line numbers are rendered every 10 lines.')
|
|
741
741
|
],
|
|
742
742
|
'default': 'on',
|
|
743
|
-
'description': nls.
|
|
743
|
+
'description': nls.localizeByDefault('Controls the display of line numbers.')
|
|
744
744
|
},
|
|
745
745
|
'editor.lineNumbersMinChars': {
|
|
746
746
|
'description': nls.localize('theia/editor/lineNumbersMinChars', 'Controls the line height. Use 0 to compute the line height from the font size.'),
|
|
@@ -750,17 +750,17 @@ const codeEditorPreferenceProperties = {
|
|
|
750
750
|
'maximum': 300
|
|
751
751
|
},
|
|
752
752
|
'editor.linkedEditing': {
|
|
753
|
-
'description': nls.
|
|
753
|
+
'description': nls.localizeByDefault('Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.'),
|
|
754
754
|
'type': 'boolean',
|
|
755
755
|
'default': false
|
|
756
756
|
},
|
|
757
757
|
'editor.links': {
|
|
758
|
-
'description': nls.
|
|
758
|
+
'description': nls.localizeByDefault('Controls whether the editor should detect links and make them clickable.'),
|
|
759
759
|
'type': 'boolean',
|
|
760
760
|
'default': true
|
|
761
761
|
},
|
|
762
762
|
'editor.matchBrackets': {
|
|
763
|
-
'description': nls.
|
|
763
|
+
'description': nls.localizeByDefault('Highlight matching brackets.'),
|
|
764
764
|
'type': 'string',
|
|
765
765
|
'enum': [
|
|
766
766
|
'always',
|
|
@@ -772,7 +772,7 @@ const codeEditorPreferenceProperties = {
|
|
|
772
772
|
'editor.minimap.enabled': {
|
|
773
773
|
'type': 'boolean',
|
|
774
774
|
'default': true,
|
|
775
|
-
'description': nls.
|
|
775
|
+
'description': nls.localizeByDefault('Controls whether the minimap is shown.')
|
|
776
776
|
},
|
|
777
777
|
'editor.minimap.side': {
|
|
778
778
|
'type': 'string',
|
|
@@ -781,7 +781,7 @@ const codeEditorPreferenceProperties = {
|
|
|
781
781
|
'right'
|
|
782
782
|
],
|
|
783
783
|
'default': 'right',
|
|
784
|
-
'description': nls.
|
|
784
|
+
'description': nls.localizeByDefault('Controls the side where to render the minimap.')
|
|
785
785
|
},
|
|
786
786
|
'editor.minimap.showSlider': {
|
|
787
787
|
'type': 'string',
|
|
@@ -790,24 +790,24 @@ const codeEditorPreferenceProperties = {
|
|
|
790
790
|
'mouseover'
|
|
791
791
|
],
|
|
792
792
|
'default': 'mouseover',
|
|
793
|
-
'description': nls.
|
|
793
|
+
'description': nls.localizeByDefault('Controls when the minimap slider is shown.')
|
|
794
794
|
},
|
|
795
795
|
'editor.minimap.scale': {
|
|
796
796
|
'type': 'number',
|
|
797
797
|
'default': 1,
|
|
798
798
|
'minimum': 1,
|
|
799
799
|
'maximum': 3,
|
|
800
|
-
'description': nls.
|
|
800
|
+
'description': nls.localizeByDefault('Scale of content drawn in the minimap: 1, 2 or 3.')
|
|
801
801
|
},
|
|
802
802
|
'editor.minimap.renderCharacters': {
|
|
803
803
|
'type': 'boolean',
|
|
804
804
|
'default': true,
|
|
805
|
-
'description': nls.
|
|
805
|
+
'description': nls.localizeByDefault('Render the actual characters on a line as opposed to color blocks.')
|
|
806
806
|
},
|
|
807
807
|
'editor.minimap.maxColumn': {
|
|
808
808
|
'type': 'number',
|
|
809
809
|
'default': 120,
|
|
810
|
-
'description': nls.
|
|
810
|
+
'description': nls.localizeByDefault('Limit the width of the minimap to render at most a certain number of columns.')
|
|
811
811
|
},
|
|
812
812
|
'editor.mouseStyle': {
|
|
813
813
|
'description': nls.localize('theia/editor/mouseStyle', 'Controls the mouse pointer style.'),
|
|
@@ -816,26 +816,26 @@ const codeEditorPreferenceProperties = {
|
|
|
816
816
|
'default': 'text'
|
|
817
817
|
},
|
|
818
818
|
'editor.mouseWheelScrollSensitivity': {
|
|
819
|
-
'markdownDescription': nls.
|
|
819
|
+
'markdownDescription': nls.localizeByDefault('A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.'),
|
|
820
820
|
'type': 'number',
|
|
821
821
|
'default': 1
|
|
822
822
|
},
|
|
823
823
|
'editor.mouseWheelZoom': {
|
|
824
|
-
'markdownDescription': nls.
|
|
824
|
+
'markdownDescription': nls.localizeByDefault('Zoom the font of the editor when using mouse wheel and holding `Ctrl`.'),
|
|
825
825
|
'type': 'boolean',
|
|
826
826
|
'default': false
|
|
827
827
|
},
|
|
828
828
|
'editor.multiCursorMergeOverlapping': {
|
|
829
|
-
'description': nls.
|
|
829
|
+
'description': nls.localizeByDefault('Merge multiple cursors when they are overlapping.'),
|
|
830
830
|
'type': 'boolean',
|
|
831
831
|
'default': true
|
|
832
832
|
},
|
|
833
833
|
'editor.multiCursorModifier': {
|
|
834
834
|
'markdownEnumDescriptions': [
|
|
835
|
-
nls.
|
|
836
|
-
nls.
|
|
835
|
+
nls.localizeByDefault('Maps to `Control` on Windows and Linux and to `Command` on macOS.'),
|
|
836
|
+
nls.localizeByDefault('Maps to `Alt` on Windows and Linux and to `Option` on macOS.')
|
|
837
837
|
],
|
|
838
|
-
'markdownDescription': nls.
|
|
838
|
+
'markdownDescription': nls.localizeByDefault('The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).'),
|
|
839
839
|
'type': 'string',
|
|
840
840
|
'enum': [
|
|
841
841
|
'ctrlCmd',
|
|
@@ -845,10 +845,10 @@ const codeEditorPreferenceProperties = {
|
|
|
845
845
|
},
|
|
846
846
|
'editor.multiCursorPaste': {
|
|
847
847
|
'markdownEnumDescriptions': [
|
|
848
|
-
nls.
|
|
849
|
-
nls.
|
|
848
|
+
nls.localizeByDefault('Each cursor pastes a single line of the text.'),
|
|
849
|
+
nls.localizeByDefault('Each cursor pastes the full text.')
|
|
850
850
|
],
|
|
851
|
-
'markdownDescription': nls.
|
|
851
|
+
'markdownDescription': nls.localizeByDefault('Controls pasting when the line count of the pasted text matches the cursor count.'),
|
|
852
852
|
'type': 'string',
|
|
853
853
|
'enum': [
|
|
854
854
|
'spread',
|
|
@@ -857,12 +857,12 @@ const codeEditorPreferenceProperties = {
|
|
|
857
857
|
'default': 'spread'
|
|
858
858
|
},
|
|
859
859
|
'editor.occurrencesHighlight': {
|
|
860
|
-
'description': nls.
|
|
860
|
+
'description': nls.localizeByDefault('Controls whether the editor should highlight semantic symbol occurrences.'),
|
|
861
861
|
'type': 'boolean',
|
|
862
862
|
'default': true
|
|
863
863
|
},
|
|
864
864
|
'editor.overviewRulerBorder': {
|
|
865
|
-
'description': nls.
|
|
865
|
+
'description': nls.localizeByDefault('Controls whether a border should be drawn around the overview ruler.'),
|
|
866
866
|
'type': 'boolean',
|
|
867
867
|
'default': true
|
|
868
868
|
},
|
|
@@ -878,31 +878,31 @@ const codeEditorPreferenceProperties = {
|
|
|
878
878
|
'default': 0,
|
|
879
879
|
'minimum': 0,
|
|
880
880
|
'maximum': 1000,
|
|
881
|
-
'description': nls.
|
|
881
|
+
'description': nls.localizeByDefault('Controls the amount of space between the top edge of the editor and the first line.')
|
|
882
882
|
},
|
|
883
883
|
'editor.padding.bottom': {
|
|
884
884
|
'type': 'number',
|
|
885
885
|
'default': 0,
|
|
886
886
|
'minimum': 0,
|
|
887
887
|
'maximum': 1000,
|
|
888
|
-
'description': nls.
|
|
888
|
+
'description': nls.localizeByDefault('Controls the amount of space between the bottom edge of the editor and the last line.')
|
|
889
889
|
},
|
|
890
890
|
'editor.parameterHints.enabled': {
|
|
891
891
|
'type': 'boolean',
|
|
892
892
|
'default': true,
|
|
893
|
-
'description': nls.
|
|
893
|
+
'description': nls.localizeByDefault('Enables a pop-up that shows parameter documentation and type information as you type.')
|
|
894
894
|
},
|
|
895
895
|
'editor.parameterHints.cycle': {
|
|
896
896
|
'type': 'boolean',
|
|
897
897
|
'default': false,
|
|
898
|
-
'description': nls.
|
|
898
|
+
'description': nls.localizeByDefault('Controls whether the parameter hints menu cycles or closes when reaching the end of the list.')
|
|
899
899
|
},
|
|
900
900
|
'editor.peekWidgetDefaultFocus': {
|
|
901
901
|
'enumDescriptions': [
|
|
902
|
-
nls.
|
|
903
|
-
nls.
|
|
902
|
+
nls.localizeByDefault('Focus the tree when opening peek'),
|
|
903
|
+
nls.localizeByDefault('Focus the editor when opening peek')
|
|
904
904
|
],
|
|
905
|
-
'description': nls.
|
|
905
|
+
'description': nls.localizeByDefault('Controls whether to focus the inline editor or the tree in the peek widget.'),
|
|
906
906
|
'type': 'string',
|
|
907
907
|
'enum': [
|
|
908
908
|
'tree',
|
|
@@ -913,7 +913,7 @@ const codeEditorPreferenceProperties = {
|
|
|
913
913
|
'editor.definitionLinkOpensInPeek': {
|
|
914
914
|
'type': 'boolean',
|
|
915
915
|
'default': false,
|
|
916
|
-
'description': nls.
|
|
916
|
+
'description': nls.localizeByDefault('Controls whether the Go to Definition mouse gesture always opens the peek widget.')
|
|
917
917
|
},
|
|
918
918
|
'editor.quickSuggestions': {
|
|
919
919
|
'anyOf': [
|
|
@@ -926,17 +926,17 @@ const codeEditorPreferenceProperties = {
|
|
|
926
926
|
'strings': {
|
|
927
927
|
'type': 'boolean',
|
|
928
928
|
'default': false,
|
|
929
|
-
'description': nls.
|
|
929
|
+
'description': nls.localizeByDefault('Enable quick suggestions inside strings.')
|
|
930
930
|
},
|
|
931
931
|
'comments': {
|
|
932
932
|
'type': 'boolean',
|
|
933
933
|
'default': false,
|
|
934
|
-
'description': nls.
|
|
934
|
+
'description': nls.localizeByDefault('Enable quick suggestions inside comments.')
|
|
935
935
|
},
|
|
936
936
|
'other': {
|
|
937
937
|
'type': 'boolean',
|
|
938
938
|
'default': true,
|
|
939
|
-
'description': nls.
|
|
939
|
+
'description': nls.localizeByDefault('Enable quick suggestions outside of strings and comments.')
|
|
940
940
|
}
|
|
941
941
|
}
|
|
942
942
|
}
|
|
@@ -946,10 +946,10 @@ const codeEditorPreferenceProperties = {
|
|
|
946
946
|
'comments': false,
|
|
947
947
|
'strings': false
|
|
948
948
|
},
|
|
949
|
-
'description': nls.
|
|
949
|
+
'description': nls.localizeByDefault('Controls whether suggestions should automatically show up while typing.')
|
|
950
950
|
},
|
|
951
951
|
'editor.quickSuggestionsDelay': {
|
|
952
|
-
'description': nls.
|
|
952
|
+
'description': nls.localizeByDefault('Controls the delay in milliseconds after which quick suggestions will show up.'),
|
|
953
953
|
'type': 'integer',
|
|
954
954
|
'default': 10,
|
|
955
955
|
'minimum': 0,
|
|
@@ -961,22 +961,22 @@ const codeEditorPreferenceProperties = {
|
|
|
961
961
|
'default': false
|
|
962
962
|
},
|
|
963
963
|
'editor.rename.enablePreview': {
|
|
964
|
-
'description': nls.
|
|
964
|
+
'description': nls.localizeByDefault('Enable/disable the ability to preview changes before renaming'),
|
|
965
965
|
'type': 'boolean',
|
|
966
966
|
'default': true
|
|
967
967
|
},
|
|
968
968
|
'editor.renderControlCharacters': {
|
|
969
|
-
'description': nls.
|
|
969
|
+
'description': nls.localizeByDefault('Controls whether the editor should render control characters.'),
|
|
970
970
|
'type': 'boolean',
|
|
971
971
|
'default': false
|
|
972
972
|
},
|
|
973
973
|
'editor.renderIndentGuides': {
|
|
974
|
-
'description': nls.
|
|
974
|
+
'description': nls.localizeByDefault('Controls whether the editor should render indent guides.'),
|
|
975
975
|
'type': 'boolean',
|
|
976
976
|
'default': true
|
|
977
977
|
},
|
|
978
978
|
'editor.renderFinalNewline': {
|
|
979
|
-
'description': nls.
|
|
979
|
+
'description': nls.localizeByDefault('Render last line number when the file ends with a newline.'),
|
|
980
980
|
'type': 'boolean',
|
|
981
981
|
'default': true
|
|
982
982
|
},
|
|
@@ -985,9 +985,9 @@ const codeEditorPreferenceProperties = {
|
|
|
985
985
|
'',
|
|
986
986
|
'',
|
|
987
987
|
'',
|
|
988
|
-
nls.
|
|
988
|
+
nls.localizeByDefault('Highlights both the gutter and the current line.')
|
|
989
989
|
],
|
|
990
|
-
'description': nls.
|
|
990
|
+
'description': nls.localizeByDefault('Controls how the editor should render the current line highlight.'),
|
|
991
991
|
'type': 'string',
|
|
992
992
|
'enum': [
|
|
993
993
|
'none',
|
|
@@ -998,7 +998,7 @@ const codeEditorPreferenceProperties = {
|
|
|
998
998
|
'default': 'line'
|
|
999
999
|
},
|
|
1000
1000
|
'editor.renderLineHighlightOnlyWhenFocus': {
|
|
1001
|
-
'description': nls.
|
|
1001
|
+
'description': nls.localizeByDefault('Controls if the editor should render the current line highlight only when the editor is focused'),
|
|
1002
1002
|
'type': 'boolean',
|
|
1003
1003
|
'default': false
|
|
1004
1004
|
},
|
|
@@ -1011,12 +1011,12 @@ const codeEditorPreferenceProperties = {
|
|
|
1011
1011
|
'editor.renderWhitespace': {
|
|
1012
1012
|
'enumDescriptions': [
|
|
1013
1013
|
'',
|
|
1014
|
-
nls.
|
|
1015
|
-
nls.
|
|
1016
|
-
nls.
|
|
1014
|
+
nls.localizeByDefault('Render whitespace characters except for single spaces between words.'),
|
|
1015
|
+
nls.localizeByDefault('Render whitespace characters only on selected text.'),
|
|
1016
|
+
nls.localizeByDefault('Render only trailing whitespace characters'),
|
|
1017
1017
|
''
|
|
1018
1018
|
],
|
|
1019
|
-
'description': nls.
|
|
1019
|
+
'description': nls.localizeByDefault('Controls how the editor should render whitespace characters.'),
|
|
1020
1020
|
'type': 'string',
|
|
1021
1021
|
'enum': [
|
|
1022
1022
|
'none',
|
|
@@ -1035,7 +1035,7 @@ const codeEditorPreferenceProperties = {
|
|
|
1035
1035
|
'maximum': 1000
|
|
1036
1036
|
},
|
|
1037
1037
|
'editor.roundedSelection': {
|
|
1038
|
-
'description': nls.
|
|
1038
|
+
'description': nls.localizeByDefault('Controls whether selections should have rounded corners.'),
|
|
1039
1039
|
'type': 'boolean',
|
|
1040
1040
|
'default': true
|
|
1041
1041
|
},
|
|
@@ -1045,87 +1045,87 @@ const codeEditorPreferenceProperties = {
|
|
|
1045
1045
|
'type': 'number'
|
|
1046
1046
|
},
|
|
1047
1047
|
'default': [],
|
|
1048
|
-
'description': nls.
|
|
1048
|
+
'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.')
|
|
1049
1049
|
},
|
|
1050
1050
|
'editor.scrollBeyondLastColumn': {
|
|
1051
|
-
'description': nls.
|
|
1051
|
+
'description': nls.localizeByDefault('Controls the number of extra characters beyond which the editor will scroll horizontally.'),
|
|
1052
1052
|
'type': 'integer',
|
|
1053
1053
|
'default': 5,
|
|
1054
1054
|
'minimum': 0,
|
|
1055
1055
|
'maximum': 1073741824
|
|
1056
1056
|
},
|
|
1057
1057
|
'editor.scrollBeyondLastLine': {
|
|
1058
|
-
'description': nls.
|
|
1058
|
+
'description': nls.localizeByDefault('Controls whether the editor will scroll beyond the last line.'),
|
|
1059
1059
|
'type': 'boolean',
|
|
1060
1060
|
'default': true
|
|
1061
1061
|
},
|
|
1062
1062
|
'editor.scrollPredominantAxis': {
|
|
1063
|
-
'description': nls.
|
|
1063
|
+
'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.'),
|
|
1064
1064
|
'type': 'boolean',
|
|
1065
1065
|
'default': true
|
|
1066
1066
|
},
|
|
1067
1067
|
'editor.selectionClipboard': {
|
|
1068
|
-
'description': nls.
|
|
1068
|
+
'description': nls.localizeByDefault('Controls whether the Linux primary clipboard should be supported.'),
|
|
1069
1069
|
'included': platform.isLinux,
|
|
1070
1070
|
'type': 'boolean',
|
|
1071
1071
|
'default': true
|
|
1072
1072
|
},
|
|
1073
1073
|
'editor.selectionHighlight': {
|
|
1074
|
-
'description': nls.
|
|
1074
|
+
'description': nls.localizeByDefault('Controls whether the editor should highlight matches similar to the selection.'),
|
|
1075
1075
|
'type': 'boolean',
|
|
1076
1076
|
'default': true
|
|
1077
1077
|
},
|
|
1078
1078
|
'editor.selectOnLineNumbers': {
|
|
1079
|
-
'description': nls.localize('
|
|
1079
|
+
'description': nls.localize('theia/editor/selectOnLineNumbers', 'Controls whether to select the corresponding line when clicking on the line number'),
|
|
1080
1080
|
'type': 'boolean',
|
|
1081
1081
|
'default': true
|
|
1082
1082
|
},
|
|
1083
1083
|
'editor.showFoldingControls': {
|
|
1084
|
-
'description': nls.
|
|
1084
|
+
'description': nls.localizeByDefault('Controls when the folding controls on the gutter are shown.'),
|
|
1085
1085
|
'type': 'string',
|
|
1086
1086
|
'enum': [
|
|
1087
1087
|
'always',
|
|
1088
1088
|
'mouseover'
|
|
1089
1089
|
],
|
|
1090
1090
|
'enumDescriptions': [
|
|
1091
|
-
nls.
|
|
1092
|
-
nls.
|
|
1091
|
+
nls.localizeByDefault('Always show the folding controls.'),
|
|
1092
|
+
nls.localizeByDefault('Only show the folding controls when the mouse is over the gutter.'),
|
|
1093
1093
|
],
|
|
1094
1094
|
'default': 'mouseover'
|
|
1095
1095
|
},
|
|
1096
1096
|
'editor.showUnused': {
|
|
1097
|
-
'description': nls.
|
|
1097
|
+
'description': nls.localizeByDefault('Controls fading out of unused code.'),
|
|
1098
1098
|
'type': 'boolean',
|
|
1099
1099
|
'default': true
|
|
1100
1100
|
},
|
|
1101
1101
|
'editor.showDeprecated': {
|
|
1102
|
-
'description': nls.
|
|
1102
|
+
'description': nls.localizeByDefault('Controls strikethrough deprecated variables.'),
|
|
1103
1103
|
'type': 'boolean',
|
|
1104
1104
|
'default': true
|
|
1105
1105
|
},
|
|
1106
1106
|
'editor.inlineHints.enabled': {
|
|
1107
1107
|
'type': 'boolean',
|
|
1108
1108
|
'default': true,
|
|
1109
|
-
'description': nls.
|
|
1109
|
+
'description': nls.localizeByDefault('Enables the inline hints in the editor.')
|
|
1110
1110
|
},
|
|
1111
1111
|
'editor.inlineHints.fontSize': {
|
|
1112
1112
|
'type': 'number',
|
|
1113
1113
|
'default': EDITOR_FONT_DEFAULTS.fontSize,
|
|
1114
|
-
description: nls.
|
|
1114
|
+
description: nls.localizeByDefault('Controls font size of inline hints in the editor. When set to `0`, the 90% of `#editor.fontSize#` is used.')
|
|
1115
1115
|
},
|
|
1116
1116
|
'editor.inlineHints.fontFamily': {
|
|
1117
1117
|
'type': 'string',
|
|
1118
1118
|
'default': EDITOR_FONT_DEFAULTS.fontFamily,
|
|
1119
|
-
'description': nls.
|
|
1119
|
+
'description': nls.localizeByDefault('Controls font family of inline hints in the editor.')
|
|
1120
1120
|
},
|
|
1121
1121
|
'editor.snippetSuggestions': {
|
|
1122
1122
|
'enumDescriptions': [
|
|
1123
|
-
nls.
|
|
1124
|
-
nls.
|
|
1125
|
-
nls.
|
|
1126
|
-
nls.
|
|
1123
|
+
nls.localizeByDefault('Show snippet suggestions on top of other suggestions.'),
|
|
1124
|
+
nls.localizeByDefault('Show snippet suggestions below other suggestions.'),
|
|
1125
|
+
nls.localizeByDefault('Show snippets suggestions with other suggestions.'),
|
|
1126
|
+
nls.localizeByDefault('Do not show snippet suggestions.')
|
|
1127
1127
|
],
|
|
1128
|
-
'description': nls.
|
|
1128
|
+
'description': nls.localizeByDefault('Controls whether snippets are shown with other suggestions and how they are sorted.'),
|
|
1129
1129
|
'type': 'string',
|
|
1130
1130
|
'enum': [
|
|
1131
1131
|
'top',
|
|
@@ -1136,17 +1136,17 @@ const codeEditorPreferenceProperties = {
|
|
|
1136
1136
|
'default': 'inline'
|
|
1137
1137
|
},
|
|
1138
1138
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
1139
|
-
'description': nls.
|
|
1139
|
+
'description': nls.localizeByDefault('Whether leading and trailing whitespace should always be selected.'),
|
|
1140
1140
|
'default': true,
|
|
1141
1141
|
'type': 'boolean'
|
|
1142
1142
|
},
|
|
1143
1143
|
'editor.smoothScrolling': {
|
|
1144
|
-
'description': nls.
|
|
1144
|
+
'description': nls.localizeByDefault('Controls whether the editor will scroll using an animation.'),
|
|
1145
1145
|
'type': 'boolean',
|
|
1146
1146
|
'default': false
|
|
1147
1147
|
},
|
|
1148
1148
|
'editor.stickyTabStops': {
|
|
1149
|
-
'description': nls.
|
|
1149
|
+
'description': nls.localizeByDefault('Emulate selection behaviour of tab characters when using spaces for indentation. Selection will stick to tab stops.'),
|
|
1150
1150
|
'type': 'boolean',
|
|
1151
1151
|
'default': false
|
|
1152
1152
|
},
|
|
@@ -1164,11 +1164,11 @@ const codeEditorPreferenceProperties = {
|
|
|
1164
1164
|
'replace'
|
|
1165
1165
|
],
|
|
1166
1166
|
'enumDescriptions': [
|
|
1167
|
-
nls.
|
|
1168
|
-
nls.
|
|
1167
|
+
nls.localizeByDefault('Insert suggestion without overwriting text right of the cursor.'),
|
|
1168
|
+
nls.localizeByDefault('Insert suggestion and overwrite text right of the cursor.')
|
|
1169
1169
|
],
|
|
1170
1170
|
'default': 'insert',
|
|
1171
|
-
'description': nls.
|
|
1171
|
+
'description': nls.localizeByDefault('Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.')
|
|
1172
1172
|
},
|
|
1173
1173
|
'editor.suggest.insertHighlight': {
|
|
1174
1174
|
'type': 'boolean',
|
|
@@ -1178,201 +1178,201 @@ const codeEditorPreferenceProperties = {
|
|
|
1178
1178
|
'editor.suggest.filterGraceful': {
|
|
1179
1179
|
'type': 'boolean',
|
|
1180
1180
|
'default': true,
|
|
1181
|
-
'description': nls.
|
|
1181
|
+
'description': nls.localizeByDefault('Controls whether filtering and sorting suggestions accounts for small typos.')
|
|
1182
1182
|
},
|
|
1183
1183
|
'editor.suggest.localityBonus': {
|
|
1184
1184
|
'type': 'boolean',
|
|
1185
1185
|
'default': false,
|
|
1186
|
-
'description': nls.
|
|
1186
|
+
'description': nls.localizeByDefault('Controls whether sorting favours words that appear close to the cursor.')
|
|
1187
1187
|
},
|
|
1188
1188
|
'editor.suggest.shareSuggestSelections': {
|
|
1189
1189
|
'type': 'boolean',
|
|
1190
1190
|
'default': false,
|
|
1191
|
-
'markdownDescription': nls.
|
|
1191
|
+
'markdownDescription': nls.localizeByDefault('Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).')
|
|
1192
1192
|
},
|
|
1193
1193
|
'editor.suggest.snippetsPreventQuickSuggestions': {
|
|
1194
1194
|
'type': 'boolean',
|
|
1195
1195
|
'default': true,
|
|
1196
|
-
'description': nls.
|
|
1196
|
+
'description': nls.localizeByDefault('Controls whether an active snippet prevents quick suggestions.')
|
|
1197
1197
|
},
|
|
1198
1198
|
'editor.suggest.showIcons': {
|
|
1199
1199
|
'type': 'boolean',
|
|
1200
1200
|
'default': true,
|
|
1201
|
-
'description': nls.
|
|
1201
|
+
'description': nls.localizeByDefault('Controls whether to show or hide icons in suggestions.')
|
|
1202
1202
|
},
|
|
1203
1203
|
'editor.suggest.maxVisibleSuggestions': {
|
|
1204
1204
|
'type': 'number',
|
|
1205
1205
|
'default': 12,
|
|
1206
1206
|
'minimum': 1,
|
|
1207
1207
|
'maximum': 15,
|
|
1208
|
-
'description': nls.
|
|
1208
|
+
'description': nls.localizeByDefault('This setting is deprecated. The suggest widget can now be resized.')
|
|
1209
1209
|
},
|
|
1210
1210
|
'editor.suggest.filteredTypes': {
|
|
1211
1211
|
'type': 'object',
|
|
1212
1212
|
'default': {},
|
|
1213
|
-
'deprecationMessage': nls.
|
|
1213
|
+
'deprecationMessage': nls.localizeByDefault("This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")
|
|
1214
1214
|
},
|
|
1215
1215
|
'editor.suggest.showMethods': {
|
|
1216
1216
|
'type': 'boolean',
|
|
1217
1217
|
'default': true,
|
|
1218
|
-
'markdownDescription': nls.
|
|
1218
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `method`-suggestions.')
|
|
1219
1219
|
},
|
|
1220
1220
|
'editor.suggest.showFunctions': {
|
|
1221
1221
|
'type': 'boolean',
|
|
1222
1222
|
'default': true,
|
|
1223
|
-
'markdownDescription': nls.
|
|
1223
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `function`-suggestions.')
|
|
1224
1224
|
},
|
|
1225
1225
|
'editor.suggest.showConstructors': {
|
|
1226
1226
|
'type': 'boolean',
|
|
1227
1227
|
'default': true,
|
|
1228
|
-
'markdownDescription': nls.
|
|
1228
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `constructor`-suggestions.')
|
|
1229
1229
|
},
|
|
1230
1230
|
'editor.suggest.showFields': {
|
|
1231
1231
|
'type': 'boolean',
|
|
1232
1232
|
'default': true,
|
|
1233
|
-
'markdownDescription': nls.
|
|
1233
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `field`-suggestions.')
|
|
1234
1234
|
},
|
|
1235
1235
|
'editor.suggest.showVariables': {
|
|
1236
1236
|
'type': 'boolean',
|
|
1237
1237
|
'default': true,
|
|
1238
|
-
'markdownDescription': nls.
|
|
1238
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `variable`-suggestions.')
|
|
1239
1239
|
},
|
|
1240
1240
|
'editor.suggest.showClasses': {
|
|
1241
1241
|
'type': 'boolean',
|
|
1242
1242
|
'default': true,
|
|
1243
|
-
'markdownDescription': nls.
|
|
1243
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `class`-suggestions.')
|
|
1244
1244
|
},
|
|
1245
1245
|
'editor.suggest.showStructs': {
|
|
1246
1246
|
'type': 'boolean',
|
|
1247
1247
|
'default': true,
|
|
1248
|
-
'markdownDescription': nls.
|
|
1248
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `struct`-suggestions.')
|
|
1249
1249
|
},
|
|
1250
1250
|
'editor.suggest.showInterfaces': {
|
|
1251
1251
|
'type': 'boolean',
|
|
1252
1252
|
'default': true,
|
|
1253
|
-
'markdownDescription': nls.
|
|
1253
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `interface`-suggestions.')
|
|
1254
1254
|
},
|
|
1255
1255
|
'editor.suggest.showModules': {
|
|
1256
1256
|
'type': 'boolean',
|
|
1257
1257
|
'default': true,
|
|
1258
|
-
'markdownDescription': nls.
|
|
1258
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `module`-suggestions.')
|
|
1259
1259
|
},
|
|
1260
1260
|
'editor.suggest.showProperties': {
|
|
1261
1261
|
'type': 'boolean',
|
|
1262
1262
|
'default': true,
|
|
1263
|
-
'markdownDescription': nls.
|
|
1263
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `property`-suggestions.')
|
|
1264
1264
|
},
|
|
1265
1265
|
'editor.suggest.showEvents': {
|
|
1266
1266
|
'type': 'boolean',
|
|
1267
1267
|
'default': true,
|
|
1268
|
-
'markdownDescription': nls.
|
|
1268
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `event`-suggestions.')
|
|
1269
1269
|
},
|
|
1270
1270
|
'editor.suggest.showOperators': {
|
|
1271
1271
|
'type': 'boolean',
|
|
1272
1272
|
'default': true,
|
|
1273
|
-
'markdownDescription': nls.
|
|
1273
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `operator`-suggestions.')
|
|
1274
1274
|
},
|
|
1275
1275
|
'editor.suggest.showUnits': {
|
|
1276
1276
|
'type': 'boolean',
|
|
1277
1277
|
'default': true,
|
|
1278
|
-
'markdownDescription': nls.
|
|
1278
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `unit`-suggestions.')
|
|
1279
1279
|
},
|
|
1280
1280
|
'editor.suggest.showValues': {
|
|
1281
1281
|
'type': 'boolean',
|
|
1282
1282
|
'default': true,
|
|
1283
|
-
'markdownDescription': nls.
|
|
1283
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `value`-suggestions.')
|
|
1284
1284
|
},
|
|
1285
1285
|
'editor.suggest.showConstants': {
|
|
1286
1286
|
'type': 'boolean',
|
|
1287
1287
|
'default': true,
|
|
1288
|
-
'markdownDescription': nls.
|
|
1288
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `constant`-suggestions.')
|
|
1289
1289
|
},
|
|
1290
1290
|
'editor.suggest.showEnums': {
|
|
1291
1291
|
'type': 'boolean',
|
|
1292
1292
|
'default': true,
|
|
1293
|
-
'markdownDescription': nls.
|
|
1293
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `enum`-suggestions.')
|
|
1294
1294
|
},
|
|
1295
1295
|
'editor.suggest.showEnumMembers': {
|
|
1296
1296
|
'type': 'boolean',
|
|
1297
1297
|
'default': true,
|
|
1298
|
-
'markdownDescription': nls.
|
|
1298
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `enumMember`-suggestions.')
|
|
1299
1299
|
},
|
|
1300
1300
|
'editor.suggest.showKeywords': {
|
|
1301
1301
|
'type': 'boolean',
|
|
1302
1302
|
'default': true,
|
|
1303
|
-
'markdownDescription': nls.
|
|
1303
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `keyword`-suggestions.')
|
|
1304
1304
|
},
|
|
1305
1305
|
'editor.suggest.showWords': {
|
|
1306
1306
|
'type': 'boolean',
|
|
1307
1307
|
'default': true,
|
|
1308
|
-
'markdownDescription': nls.
|
|
1308
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `text`-suggestions.')
|
|
1309
1309
|
},
|
|
1310
1310
|
'editor.suggest.showColors': {
|
|
1311
1311
|
'type': 'boolean',
|
|
1312
1312
|
'default': true,
|
|
1313
|
-
'markdownDescription': nls.
|
|
1313
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `color`-suggestions.')
|
|
1314
1314
|
},
|
|
1315
1315
|
'editor.suggest.showFiles': {
|
|
1316
1316
|
'type': 'boolean',
|
|
1317
1317
|
'default': true,
|
|
1318
|
-
'markdownDescription': nls.
|
|
1318
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `file`-suggestions.')
|
|
1319
1319
|
},
|
|
1320
1320
|
'editor.suggest.showReferences': {
|
|
1321
1321
|
'type': 'boolean',
|
|
1322
1322
|
'default': true,
|
|
1323
|
-
'markdownDescription': nls.
|
|
1323
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `reference`-suggestions.')
|
|
1324
1324
|
},
|
|
1325
1325
|
'editor.suggest.showCustomcolors': {
|
|
1326
1326
|
'type': 'boolean',
|
|
1327
1327
|
'default': true,
|
|
1328
|
-
'markdownDescription': nls.
|
|
1328
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `customcolor`-suggestions.')
|
|
1329
1329
|
},
|
|
1330
1330
|
'editor.suggest.showFolders': {
|
|
1331
1331
|
'type': 'boolean',
|
|
1332
1332
|
'default': true,
|
|
1333
|
-
'markdownDescription': nls.
|
|
1333
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `folder`-suggestions.')
|
|
1334
1334
|
},
|
|
1335
1335
|
'editor.suggest.showTypeParameters': {
|
|
1336
1336
|
'type': 'boolean',
|
|
1337
1337
|
'default': true,
|
|
1338
|
-
'markdownDescription': nls.
|
|
1338
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `typeParameter`-suggestions.')
|
|
1339
1339
|
},
|
|
1340
1340
|
'editor.suggest.showSnippets': {
|
|
1341
1341
|
'type': 'boolean',
|
|
1342
1342
|
'default': true,
|
|
1343
|
-
'markdownDescription': nls.
|
|
1343
|
+
'markdownDescription': nls.localizeByDefault('When enabled IntelliSense shows `snippet`-suggestions.')
|
|
1344
1344
|
},
|
|
1345
1345
|
'editor.suggest.hideStatusBar': {
|
|
1346
1346
|
'type': 'boolean',
|
|
1347
1347
|
'default': true,
|
|
1348
|
-
'markdownDescription': nls.
|
|
1348
|
+
'markdownDescription': nls.localizeByDefault('Controls the visibility of the status bar at the bottom of the suggest widget.')
|
|
1349
1349
|
},
|
|
1350
1350
|
'editor.suggestFontSize': {
|
|
1351
|
-
'markdownDescription': nls.
|
|
1351
|
+
'markdownDescription': nls.localizeByDefault('Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.'),
|
|
1352
1352
|
'type': 'integer',
|
|
1353
1353
|
'default': 0,
|
|
1354
1354
|
'minimum': 0,
|
|
1355
1355
|
'maximum': 1000
|
|
1356
1356
|
},
|
|
1357
1357
|
'editor.suggestLineHeight': {
|
|
1358
|
-
'markdownDescription': nls.
|
|
1358
|
+
'markdownDescription': nls.localizeByDefault('Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used. The minimum value is 8.'),
|
|
1359
1359
|
'type': 'integer',
|
|
1360
1360
|
'default': 0,
|
|
1361
1361
|
'minimum': 0,
|
|
1362
1362
|
'maximum': 1000
|
|
1363
1363
|
},
|
|
1364
1364
|
'editor.suggestOnTriggerCharacters': {
|
|
1365
|
-
'description': nls.
|
|
1365
|
+
'description': nls.localizeByDefault('Controls whether suggestions should automatically show up when typing trigger characters.'),
|
|
1366
1366
|
'type': 'boolean',
|
|
1367
1367
|
'default': true
|
|
1368
1368
|
},
|
|
1369
1369
|
'editor.suggestSelection': {
|
|
1370
1370
|
'markdownEnumDescriptions': [
|
|
1371
|
-
nls.
|
|
1372
|
-
nls.
|
|
1373
|
-
nls.
|
|
1371
|
+
nls.localizeByDefault('Always select the first suggestion.'),
|
|
1372
|
+
nls.localizeByDefault('Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently.'),
|
|
1373
|
+
nls.localizeByDefault('Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.')
|
|
1374
1374
|
],
|
|
1375
|
-
'description': nls.
|
|
1375
|
+
'description': nls.localizeByDefault('Controls how suggestions are pre-selected when showing the suggest list.'),
|
|
1376
1376
|
'type': 'string',
|
|
1377
1377
|
'enum': [
|
|
1378
1378
|
'first',
|
|
@@ -1383,11 +1383,11 @@ const codeEditorPreferenceProperties = {
|
|
|
1383
1383
|
},
|
|
1384
1384
|
'editor.tabCompletion': {
|
|
1385
1385
|
'enumDescriptions': [
|
|
1386
|
-
nls.
|
|
1387
|
-
nls.
|
|
1388
|
-
nls.
|
|
1386
|
+
nls.localizeByDefault('Tab complete will insert the best matching suggestion when pressing tab.'),
|
|
1387
|
+
nls.localizeByDefault('Disable tab completions.'),
|
|
1388
|
+
nls.localizeByDefault("Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")
|
|
1389
1389
|
],
|
|
1390
|
-
'description': nls.
|
|
1390
|
+
'description': nls.localizeByDefault('Enables tab completions.'),
|
|
1391
1391
|
'type': 'string',
|
|
1392
1392
|
'enum': [
|
|
1393
1393
|
'on',
|
|
@@ -1409,29 +1409,29 @@ const codeEditorPreferenceProperties = {
|
|
|
1409
1409
|
nls.localize('unusualLineTerminators.off', 'Unusual line terminators are ignored.'),
|
|
1410
1410
|
nls.localize('unusualLineTerminators.prompt', 'Unusual line terminators prompt to be removed.')
|
|
1411
1411
|
],
|
|
1412
|
-
'description': nls.
|
|
1412
|
+
'description': nls.localizeByDefault('Remove unusual line terminators that might cause problems.'),
|
|
1413
1413
|
'type': 'string',
|
|
1414
1414
|
'enum': ['auto', 'off', 'prompt'],
|
|
1415
1415
|
'default': 'prompt'
|
|
1416
1416
|
},
|
|
1417
1417
|
'editor.useTabStops': {
|
|
1418
|
-
'description': nls.
|
|
1418
|
+
'description': nls.localizeByDefault('Inserting and deleting whitespace follows tab stops.'),
|
|
1419
1419
|
'type': 'boolean',
|
|
1420
1420
|
'default': true
|
|
1421
1421
|
},
|
|
1422
1422
|
'editor.wordSeparators': {
|
|
1423
|
-
'description': nls.
|
|
1423
|
+
'description': nls.localizeByDefault('Characters that will be used as word separators when doing word related navigations or operations.'),
|
|
1424
1424
|
'type': 'string',
|
|
1425
1425
|
'default': DEFAULT_WORD_SEPARATORS
|
|
1426
1426
|
},
|
|
1427
1427
|
'editor.wordWrap': {
|
|
1428
1428
|
'markdownEnumDescriptions': [
|
|
1429
|
-
nls.
|
|
1430
|
-
nls.
|
|
1431
|
-
nls.
|
|
1432
|
-
nls.
|
|
1429
|
+
nls.localizeByDefault('Lines will never wrap.'),
|
|
1430
|
+
nls.localizeByDefault('Lines will wrap at the viewport width.'),
|
|
1431
|
+
nls.localizeByDefault('Lines will wrap at `#editor.wordWrapColumn#`.'),
|
|
1432
|
+
nls.localizeByDefault('Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.')
|
|
1433
1433
|
],
|
|
1434
|
-
'description': nls.
|
|
1434
|
+
'description': nls.localizeByDefault('Controls how lines should wrap.'),
|
|
1435
1435
|
'type': 'string',
|
|
1436
1436
|
'enum': [
|
|
1437
1437
|
'off',
|
|
@@ -1452,7 +1452,7 @@ const codeEditorPreferenceProperties = {
|
|
|
1452
1452
|
'default': '([{‘“〈《「『【〔([{「£¥$£¥++',
|
|
1453
1453
|
},
|
|
1454
1454
|
'editor.wordWrapColumn': {
|
|
1455
|
-
'markdownDescription': nls.
|
|
1455
|
+
'markdownDescription': nls.localizeByDefault('Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.'),
|
|
1456
1456
|
'type': 'integer',
|
|
1457
1457
|
'default': 80,
|
|
1458
1458
|
'minimum': 1,
|
|
@@ -1472,12 +1472,12 @@ const codeEditorPreferenceProperties = {
|
|
|
1472
1472
|
},
|
|
1473
1473
|
'editor.wrappingIndent': {
|
|
1474
1474
|
'enumDescriptions': [
|
|
1475
|
-
nls.
|
|
1476
|
-
nls.
|
|
1477
|
-
nls.
|
|
1478
|
-
nls.
|
|
1475
|
+
nls.localizeByDefault('No indentation. Wrapped lines begin at column 1.'),
|
|
1476
|
+
nls.localizeByDefault('Wrapped lines get the same indentation as the parent.'),
|
|
1477
|
+
nls.localizeByDefault('Wrapped lines get +1 indentation toward the parent.'),
|
|
1478
|
+
nls.localizeByDefault('Wrapped lines get +2 indentation toward the parent.')
|
|
1479
1479
|
],
|
|
1480
|
-
'description': nls.
|
|
1480
|
+
'description': nls.localizeByDefault('Controls the indentation of wrapped lines.'),
|
|
1481
1481
|
'type': 'string',
|
|
1482
1482
|
'enum': [
|
|
1483
1483
|
'none',
|
|
@@ -1489,10 +1489,10 @@ const codeEditorPreferenceProperties = {
|
|
|
1489
1489
|
},
|
|
1490
1490
|
'editor.wrappingStrategy': {
|
|
1491
1491
|
'enumDescriptions': [
|
|
1492
|
-
nls.
|
|
1493
|
-
nls.
|
|
1492
|
+
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.'),
|
|
1493
|
+
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.')
|
|
1494
1494
|
],
|
|
1495
|
-
'description': nls.
|
|
1495
|
+
'description': nls.localizeByDefault('Controls the algorithm that computes wrapping points.'),
|
|
1496
1496
|
'type': 'string',
|
|
1497
1497
|
'enum': [
|
|
1498
1498
|
'simple',
|
|
@@ -1515,19 +1515,20 @@ export const editorPreferenceSchema: PreferenceSchema = {
|
|
|
1515
1515
|
'off'
|
|
1516
1516
|
],
|
|
1517
1517
|
'default': 'off',
|
|
1518
|
-
'description': nls.localize('
|
|
1518
|
+
'description': nls.localize('theia/editor/autoSaveSetting', 'Controls auto save of dirty files.'),
|
|
1519
1519
|
overridable: false
|
|
1520
1520
|
},
|
|
1521
1521
|
'editor.autoSaveDelay': {
|
|
1522
1522
|
'type': 'number',
|
|
1523
1523
|
'default': 500,
|
|
1524
|
-
'description': nls.localize('
|
|
1524
|
+
'description': nls.localize('theia/editor/autoSaveDelay', 'Configure the auto save delay in milliseconds.'),
|
|
1525
1525
|
overridable: false
|
|
1526
1526
|
},
|
|
1527
1527
|
'editor.formatOnSave': {
|
|
1528
1528
|
'type': 'boolean',
|
|
1529
1529
|
'default': false,
|
|
1530
|
-
|
|
1530
|
+
// eslint-disable-next-line max-len
|
|
1531
|
+
'description': nls.localizeByDefault('Format a file on save. A formatter must be available, the file must not be saved after delay, and the editor must not be shutting down.')
|
|
1531
1532
|
},
|
|
1532
1533
|
'editor.formatOnSaveTimeout': {
|
|
1533
1534
|
'type': 'number',
|
|
@@ -1547,12 +1548,12 @@ export const editorPreferenceSchema: PreferenceSchema = {
|
|
|
1547
1548
|
'auto'
|
|
1548
1549
|
],
|
|
1549
1550
|
'enumDescriptions': [
|
|
1550
|
-
nls.
|
|
1551
|
-
nls.
|
|
1552
|
-
nls.
|
|
1551
|
+
nls.localizeByDefault('LF'),
|
|
1552
|
+
nls.localizeByDefault('CRLF'),
|
|
1553
|
+
nls.localizeByDefault('Uses operating system specific end of line character.')
|
|
1553
1554
|
],
|
|
1554
1555
|
'default': 'auto',
|
|
1555
|
-
'description': nls.
|
|
1556
|
+
'description': nls.localizeByDefault('The default end of line character.')
|
|
1556
1557
|
}
|
|
1557
1558
|
}
|
|
1558
1559
|
};
|