@theia/editor 1.18.0 → 1.19.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 +2 -0
- package/lib/browser/editor-command.d.ts.map +1 -1
- package/lib/browser/editor-command.js +80 -65
- package/lib/browser/editor-command.js.map +1 -1
- package/lib/browser/editor-contribution.d.ts +1 -2
- package/lib/browser/editor-contribution.d.ts.map +1 -1
- package/lib/browser/editor-contribution.js +6 -5
- package/lib/browser/editor-contribution.js.map +1 -1
- package/lib/browser/editor-manager.d.ts +1 -2
- package/lib/browser/editor-manager.d.ts.map +1 -1
- package/lib/browser/editor-manager.js.map +1 -1
- package/lib/browser/editor-menu.d.ts +13 -1
- package/lib/browser/editor-menu.d.ts.map +1 -1
- package/lib/browser/editor-menu.js +32 -7
- package/lib/browser/editor-menu.js.map +1 -1
- package/lib/browser/editor-preferences.d.ts +2 -0
- package/lib/browser/editor-preferences.d.ts.map +1 -1
- package/lib/browser/editor-preferences.js +302 -291
- package/lib/browser/editor-preferences.js.map +1 -1
- package/lib/browser/editor-widget-factory.js +1 -1
- package/lib/browser/editor-widget-factory.js.map +1 -1
- package/lib/browser/editor.d.ts +1 -2
- package/lib/browser/editor.d.ts.map +1 -1
- package/lib/browser/editor.js.map +1 -1
- package/lib/browser/quick-editor-service.d.ts +1 -2
- package/lib/browser/quick-editor-service.d.ts.map +1 -1
- package/lib/browser/quick-editor-service.js.map +1 -1
- package/package.json +5 -5
- package/src/browser/editor-command.ts +80 -65
- package/src/browser/editor-contribution.ts +7 -7
- package/src/browser/editor-manager.ts +1 -2
- package/src/browser/editor-menu.ts +35 -7
- package/src/browser/editor-preferences.ts +302 -291
- package/src/browser/editor-widget-factory.ts +2 -2
- package/src/browser/editor.ts +1 -2
- package/src/browser/quick-editor-service.ts +1 -2
|
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
exports.bindEditorPreferences = exports.createEditorPreferences = exports.EditorPreferences = exports.EditorPreferenceContribution = exports.editorPreferenceSchema = exports.DEFAULT_WORD_SEPARATORS = exports.EDITOR_MODEL_DEFAULTS = exports.EDITOR_FONT_DEFAULTS = void 0;
|
|
19
19
|
const preferences_1 = require("@theia/core/lib/browser/preferences");
|
|
20
20
|
const os_1 = require("@theia/core/lib/common/os");
|
|
21
|
+
const nls_1 = require("@theia/core/lib/common/nls");
|
|
21
22
|
const DEFAULT_WINDOWS_FONT_FAMILY = 'Consolas, \'Courier New\', monospace';
|
|
22
23
|
const DEFAULT_MAC_FONT_FAMILY = 'Menlo, Monaco, \'Courier New\', monospace';
|
|
23
24
|
const DEFAULT_LINUX_FONT_FAMILY = '\'Droid Sans Mono\', \'monospace\', monospace, \'Droid Sans Fallback\'';
|
|
@@ -58,7 +59,7 @@ const codeEditorPreferenceProperties = {
|
|
|
58
59
|
'type': 'number',
|
|
59
60
|
'default': exports.EDITOR_MODEL_DEFAULTS.tabSize,
|
|
60
61
|
'minimum': 1,
|
|
61
|
-
'markdownDescription': 'The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.'
|
|
62
|
+
'markdownDescription': nls_1.nls.localize('vscode/commonEditorConfig/tabSize', 'The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.')
|
|
62
63
|
},
|
|
63
64
|
'editor.defaultFormatter': {
|
|
64
65
|
'type': 'string',
|
|
@@ -68,105 +69,105 @@ const codeEditorPreferenceProperties = {
|
|
|
68
69
|
'editor.insertSpaces': {
|
|
69
70
|
'type': 'boolean',
|
|
70
71
|
'default': exports.EDITOR_MODEL_DEFAULTS.insertSpaces,
|
|
71
|
-
'markdownDescription': 'Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.'
|
|
72
|
+
'markdownDescription': nls_1.nls.localize('vscode/commonEditorConfig/insertSpaces', 'Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.')
|
|
72
73
|
},
|
|
73
74
|
'editor.detectIndentation': {
|
|
74
75
|
'type': 'boolean',
|
|
75
76
|
'default': exports.EDITOR_MODEL_DEFAULTS.detectIndentation,
|
|
76
|
-
'markdownDescription': 'Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.'
|
|
77
|
+
'markdownDescription': nls_1.nls.localize('vscode/commonEditorConfig/detectIndentation', 'Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.')
|
|
77
78
|
},
|
|
78
79
|
'editor.trimAutoWhitespace': {
|
|
79
80
|
'type': 'boolean',
|
|
80
81
|
'default': exports.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,
|
|
81
|
-
'description': 'Remove trailing auto inserted whitespace.'
|
|
82
|
+
'description': nls_1.nls.localize('vscode/commonEditorConfig/trimAutoWhitespace', 'Remove trailing auto inserted whitespace.')
|
|
82
83
|
},
|
|
83
84
|
'editor.largeFileOptimizations': {
|
|
84
85
|
'type': 'boolean',
|
|
85
86
|
'default': exports.EDITOR_MODEL_DEFAULTS.largeFileOptimizations,
|
|
86
|
-
'description': 'Special handling for large files to disable certain memory intensive features.'
|
|
87
|
+
'description': nls_1.nls.localize('vscode/commonEditorConfig/largeFileOptimizations', 'Special handling for large files to disable certain memory intensive features.')
|
|
87
88
|
},
|
|
88
89
|
'editor.wordBasedSuggestions': {
|
|
89
90
|
'type': 'boolean',
|
|
90
91
|
'default': true,
|
|
91
|
-
'description': 'Controls whether completions should be computed based on words in the document.'
|
|
92
|
+
'description': nls_1.nls.localize('vscode/commonEditorConfig/wordBasedSuggestions', 'Controls whether completions should be computed based on words in the document.')
|
|
92
93
|
},
|
|
93
94
|
'editor.wordBasedSuggestionsMode': {
|
|
94
95
|
'enum': ['currentDocument', 'matchingDocuments', 'allDocuments'],
|
|
95
96
|
'default': 'matchingDocuments',
|
|
96
97
|
'enumDescriptions': [
|
|
97
|
-
'Only suggest words from the active document.',
|
|
98
|
-
'Suggest words from all open documents of the same language.',
|
|
99
|
-
'Suggest words from all open documents.'
|
|
98
|
+
nls_1.nls.localize('vscode/commonEditorConfig/wordBasedSuggestionsMode.currentDocument', 'Only suggest words from the active document.'),
|
|
99
|
+
nls_1.nls.localize('vscode/commonEditorConfig/wordBasedSuggestionsMode.matchingDocuments', 'Suggest words from all open documents of the same language.'),
|
|
100
|
+
nls_1.nls.localize('vscode/commonEditorConfig/wordBasedSuggestionsMode.allDocuments', 'Suggest words from all open documents.')
|
|
100
101
|
],
|
|
101
|
-
'description': 'Controls form what documents word based completions are computed.'
|
|
102
|
+
'description': nls_1.nls.localize('vscode/commonEditorConfig/wordBasedSuggestionsMode', 'Controls form what documents word based completions are computed.')
|
|
102
103
|
},
|
|
103
104
|
'editor.semanticHighlighting.enabled': {
|
|
104
105
|
'enum': [true, false, 'configuredByTheme'],
|
|
105
106
|
'enumDescriptions': [
|
|
106
|
-
'Semantic highlighting enabled for all color themes.',
|
|
107
|
-
'Semantic highlighting disabled for all color themes.',
|
|
108
|
-
'Semantic highlighting is configured by the current color theme\'s `semanticHighlighting` setting.'
|
|
107
|
+
nls_1.nls.localize('vscode/commonEditorConfig/semanticHighlighting.true', 'Semantic highlighting enabled for all color themes.'),
|
|
108
|
+
nls_1.nls.localize('vscode/commonEditorConfig/semanticHighlighting.false', 'Semantic highlighting disabled for all color themes.'),
|
|
109
|
+
nls_1.nls.localize('vscode/commonEditorConfig/semanticHighlighting.configuredByTheme', 'Semantic highlighting is configured by the current color theme\'s `semanticHighlighting` setting.')
|
|
109
110
|
],
|
|
110
111
|
'default': 'configuredByTheme',
|
|
111
|
-
'description': 'Controls whether the semanticHighlighting is shown for the languages that support it.'
|
|
112
|
+
'description': nls_1.nls.localize('vscode/commonEditorConfig/emanticHighlighting.enabled', 'Controls whether the semanticHighlighting is shown for the languages that support it.')
|
|
112
113
|
},
|
|
113
114
|
'editor.stablePeek': {
|
|
114
115
|
'type': 'boolean',
|
|
115
116
|
'default': false,
|
|
116
|
-
'markdownDescription': 'Keep peek editors open even when double clicking their content or when hitting `Escape`.'
|
|
117
|
+
'markdownDescription': nls_1.nls.localize('vscode/commonEditorConfig/stablePeek', 'Keep peek editors open even when double clicking their content or when hitting `Escape`.')
|
|
117
118
|
},
|
|
118
119
|
'editor.maxTokenizationLineLength': {
|
|
119
120
|
'type': 'integer',
|
|
120
121
|
'default': 400,
|
|
121
|
-
'description': 'Lines above this length will not be tokenized for performance reasons.'
|
|
122
|
+
'description': nls_1.nls.localize('vscode/commonEditorConfig/maxTokenizationLineLength', 'Lines above this length will not be tokenized for performance reasons.')
|
|
122
123
|
},
|
|
123
124
|
'diffEditor.maxComputationTime': {
|
|
124
125
|
'type': 'number',
|
|
125
126
|
'default': 5000,
|
|
126
|
-
'description': 'Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.'
|
|
127
|
+
'description': nls_1.nls.localize('vscode/commonEditorConfig/maxComputationTime', 'Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.')
|
|
127
128
|
},
|
|
128
129
|
'diffEditor.renderSideBySide': {
|
|
129
130
|
'type': 'boolean',
|
|
130
131
|
'default': true,
|
|
131
|
-
'description': 'Controls whether the diff editor shows the diff side by side or inline.'
|
|
132
|
+
'description': nls_1.nls.localize('vscode/commonEditorConfig/sideBySide', 'Controls whether the diff editor shows the diff side by side or inline.')
|
|
132
133
|
},
|
|
133
134
|
'diffEditor.ignoreTrimWhitespace': {
|
|
134
135
|
'type': 'boolean',
|
|
135
136
|
'default': true,
|
|
136
|
-
'description': 'When enabled, the diff editor ignores changes in leading or trailing whitespace.'
|
|
137
|
+
'description': nls_1.nls.localize('vscode/commonEditorConfig/ignoreTrimWhitespace', 'When enabled, the diff editor ignores changes in leading or trailing whitespace.')
|
|
137
138
|
},
|
|
138
139
|
'diffEditor.renderIndicators': {
|
|
139
140
|
'type': 'boolean',
|
|
140
141
|
'default': true,
|
|
141
|
-
'description': 'Controls whether the diff editor shows +/- indicators for added/removed changes.'
|
|
142
|
+
'description': nls_1.nls.localize('vscode/commonEditorConfig/renderIndicators', 'Controls whether the diff editor shows +/- indicators for added/removed changes.')
|
|
142
143
|
},
|
|
143
144
|
'diffEditor.codeLens': {
|
|
144
145
|
'type': 'boolean',
|
|
145
146
|
'default': false,
|
|
146
|
-
'description': 'Controls whether the editor shows CodeLens.'
|
|
147
|
+
'description': nls_1.nls.localize('vscode/commonEditorConfig/codeLens', 'Controls whether the editor shows CodeLens.')
|
|
147
148
|
},
|
|
148
149
|
'diffEditor.wordWrap': {
|
|
149
150
|
'type': 'string',
|
|
150
151
|
'enum': ['off', 'on', 'inherit'],
|
|
151
152
|
'default': 'inherit',
|
|
152
153
|
'markdownEnumDescriptions': [
|
|
153
|
-
'Lines will never wrap.',
|
|
154
|
-
'Lines will wrap at the viewport width.',
|
|
155
|
-
'Lines will wrap according to the `#editor.wordWrap#` setting.'
|
|
154
|
+
nls_1.nls.localize('vscode/commonEditorConfig/wordWrap.off', 'Lines will never wrap.'),
|
|
155
|
+
nls_1.nls.localize('vscode/commonEditorConfig/wordWrap.on', 'Lines will wrap at the viewport width.'),
|
|
156
|
+
nls_1.nls.localize('vscode/commonEditorConfig/wordWrap.inherit', 'Lines will wrap according to the `#editor.wordWrap#` setting.')
|
|
156
157
|
]
|
|
157
158
|
},
|
|
158
159
|
'editor.acceptSuggestionOnCommitCharacter': {
|
|
159
|
-
'markdownDescription': '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.',
|
|
160
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/acceptSuggestionOnCommitCharacter', '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.'),
|
|
160
161
|
'type': 'boolean',
|
|
161
162
|
'default': true
|
|
162
163
|
},
|
|
163
164
|
'editor.acceptSuggestionOnEnter': {
|
|
164
165
|
'markdownEnumDescriptions': [
|
|
165
166
|
'',
|
|
166
|
-
'Only accept a suggestion with `Enter` when it makes a textual change.',
|
|
167
|
+
nls_1.nls.localize('vscode/editorOptions/acceptSuggestionOnEnterSmart', 'Only accept a suggestion with `Enter` when it makes a textual change.'),
|
|
167
168
|
''
|
|
168
169
|
],
|
|
169
|
-
'markdownDescription': 'Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.',
|
|
170
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/acceptSuggestionOnEnter', 'Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.'),
|
|
170
171
|
'type': 'string',
|
|
171
172
|
'enum': [
|
|
172
173
|
'on',
|
|
@@ -183,15 +184,15 @@ const codeEditorPreferenceProperties = {
|
|
|
183
184
|
'off'
|
|
184
185
|
],
|
|
185
186
|
'enumDescriptions': [
|
|
186
|
-
'The editor will use platform APIs to detect when a Screen Reader is attached.',
|
|
187
|
-
'The editor will be permanently optimized for usage with a Screen Reader.',
|
|
188
|
-
'The editor will never be optimized for usage with a Screen Reader.'
|
|
187
|
+
nls_1.nls.localize('vscode/editorOptions/accessibilitySupport.auto', 'The editor will use platform APIs to detect when a Screen Reader is attached.'),
|
|
188
|
+
nls_1.nls.localize('vscode/editorOptions/accessibilitySupport.on', 'The editor will be permanently optimized for usage with a Screen Reader.'),
|
|
189
|
+
nls_1.nls.localize('vscode/editorOptions/accessibilitySupport.off', 'The editor will never be optimized for usage with a Screen Reader.')
|
|
189
190
|
],
|
|
190
191
|
'default': 'auto',
|
|
191
|
-
'description': 'Controls whether the editor should run in a mode where it is optimized for screen readers.'
|
|
192
|
+
'description': nls_1.nls.localize('vscode/editorOptions/accessibilitySupport', 'Controls whether the editor should run in a mode where it is optimized for screen readers.')
|
|
192
193
|
},
|
|
193
194
|
'editor.accessibilityPageSize': {
|
|
194
|
-
'description': '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.',
|
|
195
|
+
'description': nls_1.nls.localize('vscode/editorOptions/accessibilityPageSize', '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.'),
|
|
195
196
|
'type': 'integer',
|
|
196
197
|
'default': 10,
|
|
197
198
|
'minimum': 1,
|
|
@@ -200,11 +201,11 @@ const codeEditorPreferenceProperties = {
|
|
|
200
201
|
'editor.autoClosingBrackets': {
|
|
201
202
|
'enumDescriptions': [
|
|
202
203
|
'',
|
|
203
|
-
'Use language configurations to determine when to autoclose brackets.',
|
|
204
|
-
'Autoclose brackets only when the cursor is to the left of whitespace.',
|
|
204
|
+
nls_1.nls.localize('vscode/editorOptions/languageDefined', 'Use language configurations to determine when to autoclose brackets.'),
|
|
205
|
+
nls_1.nls.localize('vscode/editorOptions/beforeWhitespace', 'Autoclose brackets only when the cursor is to the left of whitespace.'),
|
|
205
206
|
''
|
|
206
207
|
],
|
|
207
|
-
'description': 'Controls whether the editor should automatically close brackets after the user adds an opening bracket.',
|
|
208
|
+
'description': nls_1.nls.localize('vscode/editorOptions/autoClosingBrackets', 'Controls whether the editor should automatically close brackets after the user adds an opening bracket.'),
|
|
208
209
|
'type': 'string',
|
|
209
210
|
'enum': [
|
|
210
211
|
'always',
|
|
@@ -217,10 +218,10 @@ const codeEditorPreferenceProperties = {
|
|
|
217
218
|
'editor.autoClosingOvertype': {
|
|
218
219
|
'enumDescriptions': [
|
|
219
220
|
'',
|
|
220
|
-
'Type over closing quotes or brackets only if they were automatically inserted.',
|
|
221
|
+
nls_1.nls.localize('vscode/editorOptions/editor.autoClosingDelete.auto', 'Type over closing quotes or brackets only if they were automatically inserted.'),
|
|
221
222
|
''
|
|
222
223
|
],
|
|
223
|
-
'description': 'Controls whether the editor should type over closing quotes or brackets.',
|
|
224
|
+
'description': nls_1.nls.localize('vscode/editorOptions/autoClosingDelete', 'Controls whether the editor should type over closing quotes or brackets.'),
|
|
224
225
|
'type': 'string',
|
|
225
226
|
'enum': [
|
|
226
227
|
'always',
|
|
@@ -232,11 +233,11 @@ const codeEditorPreferenceProperties = {
|
|
|
232
233
|
'editor.autoClosingQuotes': {
|
|
233
234
|
'enumDescriptions': [
|
|
234
235
|
'',
|
|
235
|
-
'Use language configurations to determine when to autoclose quotes.',
|
|
236
|
-
'Autoclose quotes only when the cursor is to the left of whitespace.',
|
|
236
|
+
nls_1.nls.localize('vscode/editorOptions/editor.autoClosingQuotes.languageDefined', 'Use language configurations to determine when to autoclose quotes.'),
|
|
237
|
+
nls_1.nls.localize('vscode/editorOptions/editor.autoClosingQuotes.beforeWhitespace', 'Autoclose quotes only when the cursor is to the left of whitespace.'),
|
|
237
238
|
''
|
|
238
239
|
],
|
|
239
|
-
'description': 'Controls whether the editor should automatically close quotes after the user adds an opening quote.',
|
|
240
|
+
'description': nls_1.nls.localize('vscode/editorOptions/autoClosingQuotes', 'Controls whether the editor should automatically close quotes after the user adds an opening quote.'),
|
|
240
241
|
'type': 'string',
|
|
241
242
|
'enum': [
|
|
242
243
|
'always',
|
|
@@ -248,13 +249,13 @@ const codeEditorPreferenceProperties = {
|
|
|
248
249
|
},
|
|
249
250
|
'editor.autoIndent': {
|
|
250
251
|
'enumDescriptions': [
|
|
251
|
-
'The editor will not insert indentation automatically.',
|
|
252
|
-
'The editor will keep the current line\'s indentation.',
|
|
253
|
-
'The editor will keep the current line\'s indentation and honor language defined brackets.',
|
|
254
|
-
'The editor will keep the current line\'s indentation, honor language defined brackets and invoke special onEnterRules defined by languages.',
|
|
255
|
-
'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.'
|
|
252
|
+
nls_1.nls.localize('vscode/editorOptions/editor.autoIndent.none', 'The editor will not insert indentation automatically.'),
|
|
253
|
+
nls_1.nls.localize('vscode/editorOptions/editor.autoIndent.keep', 'The editor will keep the current line\'s indentation.'),
|
|
254
|
+
nls_1.nls.localize('vscode/editorOptions/editor.autoIndent.brackets', 'The editor will keep the current line\'s indentation and honor language defined brackets.'),
|
|
255
|
+
nls_1.nls.localize('vscode/editorOptions/editor.autoIndent.advanced', 'The editor will keep the current line\'s indentation, honor language defined brackets and invoke special onEnterRules defined by languages.'),
|
|
256
|
+
nls_1.nls.localize('vscode/editorOptions/editor.autoIndent.full', '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.')
|
|
256
257
|
],
|
|
257
|
-
'description': 'Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.',
|
|
258
|
+
'description': nls_1.nls.localize('vscode/editorOptions/autoIndent', 'Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.'),
|
|
258
259
|
'type': 'string',
|
|
259
260
|
'enum': [
|
|
260
261
|
'none',
|
|
@@ -267,12 +268,12 @@ const codeEditorPreferenceProperties = {
|
|
|
267
268
|
},
|
|
268
269
|
'editor.autoSurround': {
|
|
269
270
|
'enumDescriptions': [
|
|
270
|
-
'Use language configurations to determine when to automatically surround selections.',
|
|
271
|
-
'Surround with quotes but not brackets.',
|
|
272
|
-
'Surround with brackets but not quotes.',
|
|
271
|
+
nls_1.nls.localize('vscode/editorOptions/editor.autoSurround.languageDefined', 'Use language configurations to determine when to automatically surround selections.'),
|
|
272
|
+
nls_1.nls.localize('vscode/editorOptions/editor.autoSurround.quotes', 'Surround with quotes but not brackets.'),
|
|
273
|
+
nls_1.nls.localize('vscode/editorOptions/editor.autoSurround.brackets', 'Surround with brackets but not quotes.'),
|
|
273
274
|
''
|
|
274
275
|
],
|
|
275
|
-
'description': 'Controls whether the editor should automatically surround selections.',
|
|
276
|
+
'description': nls_1.nls.localize('vscode/editorOptions/autoSurround', 'Controls whether the editor should automatically surround selections.'),
|
|
276
277
|
'type': 'string',
|
|
277
278
|
'enum': [
|
|
278
279
|
'languageDefined',
|
|
@@ -284,21 +285,21 @@ const codeEditorPreferenceProperties = {
|
|
|
284
285
|
},
|
|
285
286
|
'editor.ariaLabel': {
|
|
286
287
|
'type': 'string',
|
|
287
|
-
'description': 'The aria label for the editor\'s textarea when focused.',
|
|
288
|
+
'description': nls_1.nls.localize('theia/editor/ariaLabel', 'The aria label for the editor\'s textarea when focused.'),
|
|
288
289
|
'default': 'ariaLabel'
|
|
289
290
|
},
|
|
290
291
|
'editor.automaticLayout': {
|
|
291
292
|
'type': 'boolean',
|
|
292
293
|
'default': false,
|
|
293
|
-
'description': '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.'
|
|
294
|
+
'description': nls_1.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.')
|
|
294
295
|
},
|
|
295
296
|
'editor.codeLens': {
|
|
296
|
-
'description': 'Controls whether the editor shows CodeLens.',
|
|
297
|
+
'description': nls_1.nls.localize('vscode/editorOptions/codeLens', 'Controls whether the editor shows CodeLens.'),
|
|
297
298
|
'type': 'boolean',
|
|
298
299
|
'default': true
|
|
299
300
|
},
|
|
300
301
|
'editor.codeLensFontFamily': {
|
|
301
|
-
'description': 'Controls the font family for CodeLens.',
|
|
302
|
+
'description': nls_1.nls.localize('vscode/editorOptions/codeLensFontFamily', 'Controls the font family for CodeLens.'),
|
|
302
303
|
'type': 'string',
|
|
303
304
|
'default': true
|
|
304
305
|
},
|
|
@@ -307,35 +308,35 @@ const codeEditorPreferenceProperties = {
|
|
|
307
308
|
'default': 0,
|
|
308
309
|
'minimum': 0,
|
|
309
310
|
'maximum': 100,
|
|
310
|
-
'description': 'Controls the font size in pixels for CodeLens. When set to `0`, the 90% of `#editor.fontSize#` is used.'
|
|
311
|
+
'description': nls_1.nls.localize('vscode/editorOptions/codeLensFontSize', 'Controls the font size in pixels for CodeLens. When set to `0`, the 90% of `#editor.fontSize#` is used.')
|
|
311
312
|
},
|
|
312
313
|
'editor.colorDecorators': {
|
|
313
|
-
'description': 'Controls whether the editor should render the inline color decorators and color picker.',
|
|
314
|
+
'description': nls_1.nls.localize('vscode/editorOptions/colorDecorators', 'Controls whether the editor should render the inline color decorators and color picker.'),
|
|
314
315
|
'type': 'boolean',
|
|
315
316
|
'default': true
|
|
316
317
|
},
|
|
317
318
|
'editor.comments.insertSpace': {
|
|
318
319
|
'type': 'boolean',
|
|
319
320
|
'default': true,
|
|
320
|
-
'description': 'Controls whether a space character is inserted when commenting.'
|
|
321
|
+
'description': nls_1.nls.localize('vscode/editorOptions/comments.insertSpace', 'Controls whether a space character is inserted when commenting.')
|
|
321
322
|
},
|
|
322
323
|
'editor.comments.ignoreEmptyLines': {
|
|
323
324
|
'type': 'boolean',
|
|
324
325
|
'default': true,
|
|
325
|
-
'description': 'Controls if empty lines should be ignored with toggle, add or remove actions for line comments.'
|
|
326
|
+
'description': nls_1.nls.localize('vscode/editorOptions/comments.ignoreEmptyLines', 'Controls if empty lines should be ignored with toggle, add or remove actions for line comments.')
|
|
326
327
|
},
|
|
327
328
|
'editor.contextmenu': {
|
|
328
|
-
'description': 'Controls whether to enable the custom contextmenu.',
|
|
329
|
+
'description': nls_1.nls.localize('theia/editor/contextmenu', 'Controls whether to enable the custom contextmenu.'),
|
|
329
330
|
'type': 'boolean',
|
|
330
331
|
'default': true,
|
|
331
332
|
},
|
|
332
333
|
'editor.copyWithSyntaxHighlighting': {
|
|
333
|
-
'description': 'Controls whether syntax highlighting should be copied into the clipboard.',
|
|
334
|
+
'description': nls_1.nls.localize('vscode/editorOptions/copyWithSyntaxHighlighting', 'Controls whether syntax highlighting should be copied into the clipboard.'),
|
|
334
335
|
'type': 'boolean',
|
|
335
336
|
'default': true
|
|
336
337
|
},
|
|
337
338
|
'editor.cursorBlinking': {
|
|
338
|
-
'description': 'Control the cursor animation style.',
|
|
339
|
+
'description': nls_1.nls.localize('vscode/editorOptions/cursorBlinking', 'Control the cursor animation style.'),
|
|
339
340
|
'type': 'string',
|
|
340
341
|
'enum': [
|
|
341
342
|
'blink',
|
|
@@ -347,12 +348,12 @@ const codeEditorPreferenceProperties = {
|
|
|
347
348
|
'default': 'blink'
|
|
348
349
|
},
|
|
349
350
|
'editor.cursorSmoothCaretAnimation': {
|
|
350
|
-
'description': 'Controls whether the smooth caret animation should be enabled.',
|
|
351
|
+
'description': nls_1.nls.localize('vscode/editorOptions/cursorSmoothCaretAnimation', 'Controls whether the smooth caret animation should be enabled.'),
|
|
351
352
|
'type': 'boolean',
|
|
352
353
|
'default': false
|
|
353
354
|
},
|
|
354
355
|
'editor.cursorStyle': {
|
|
355
|
-
'description': 'Controls the cursor style.',
|
|
356
|
+
'description': nls_1.nls.localize('vscode/editorOptions/cursorStyle', 'Controls the cursor style.'),
|
|
356
357
|
'type': 'string',
|
|
357
358
|
'enum': [
|
|
358
359
|
'line',
|
|
@@ -365,7 +366,7 @@ const codeEditorPreferenceProperties = {
|
|
|
365
366
|
'default': 'line'
|
|
366
367
|
},
|
|
367
368
|
'editor.cursorSurroundingLines': {
|
|
368
|
-
'description': 'Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as `scrollOff` or `scrollOffset` in some other editors.',
|
|
369
|
+
'description': nls_1.nls.localize('vscode/editorOptions/cursorSurroundingLines', 'Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as `scrollOff` or `scrollOffset` in some other editors.'),
|
|
369
370
|
'type': 'integer',
|
|
370
371
|
'default': 0,
|
|
371
372
|
'minimum': 0,
|
|
@@ -373,10 +374,10 @@ const codeEditorPreferenceProperties = {
|
|
|
373
374
|
},
|
|
374
375
|
'editor.cursorSurroundingLinesStyle': {
|
|
375
376
|
'enumDescriptions': [
|
|
376
|
-
'`cursorSurroundingLines` is enforced only when triggered via the keyboard or API.',
|
|
377
|
-
'`cursorSurroundingLines` is enforced always.'
|
|
377
|
+
nls_1.nls.localize('vscode/editorOptions/cursorSurroundingLinesStyle.default', '`cursorSurroundingLines` is enforced only when triggered via the keyboard or API.'),
|
|
378
|
+
nls_1.nls.localize('vscode/editorOptions/cursorSurroundingLinesStyle.all', '`cursorSurroundingLines` is enforced always.')
|
|
378
379
|
],
|
|
379
|
-
'description': 'Controls when `cursorSurroundingLines` should be enforced.',
|
|
380
|
+
'description': nls_1.nls.localize('vscode/editorOptions/cursorSurroundingLinesStyle', 'Controls when `cursorSurroundingLines` should be enforced.'),
|
|
380
381
|
'type': 'string',
|
|
381
382
|
'enum': [
|
|
382
383
|
'default',
|
|
@@ -385,51 +386,51 @@ const codeEditorPreferenceProperties = {
|
|
|
385
386
|
'default': 'default'
|
|
386
387
|
},
|
|
387
388
|
'editor.cursorWidth': {
|
|
388
|
-
'markdownDescription': 'Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.',
|
|
389
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/cursorWidth', 'Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.'),
|
|
389
390
|
'type': 'integer',
|
|
390
391
|
'default': 0,
|
|
391
392
|
'minimum': 0,
|
|
392
393
|
'maximum': 1073741824
|
|
393
394
|
},
|
|
394
395
|
'editor.disableLayerHinting': {
|
|
395
|
-
'markdownDescription': 'Disable the use of `transform: translate3d(0px, 0px, 0px)` for the editor margin and lines layers. The usage of `transform: translate3d(0px, 0px, 0px)` acts as a hint for browsers to create an extra layer.',
|
|
396
|
+
'markdownDescription': nls_1.nls.localize('theia/editor/disableLayerHinting', 'Disable the use of `transform: translate3d(0px, 0px, 0px)` for the editor margin and lines layers. The usage of `transform: translate3d(0px, 0px, 0px)` acts as a hint for browsers to create an extra layer.'),
|
|
396
397
|
'type': 'boolean',
|
|
397
398
|
'default': false
|
|
398
399
|
},
|
|
399
400
|
'editor.disableMonospaceOptimizations': {
|
|
400
|
-
'description': 'Controls whether to enable optimizations for monospace fonts.',
|
|
401
|
+
'description': nls_1.nls.localize('theia/editor/disableMonospaceOptimizations', 'Controls whether to enable optimizations for monospace fonts.'),
|
|
401
402
|
'type': 'boolean',
|
|
402
403
|
'default': false
|
|
403
404
|
},
|
|
404
405
|
'editor.dragAndDrop': {
|
|
405
|
-
'description': 'Controls whether the editor should allow moving selections via drag and drop.',
|
|
406
|
+
'description': nls_1.nls.localize('vscode/editorOptions/dragAndDrop', 'Controls whether the editor should allow moving selections via drag and drop.'),
|
|
406
407
|
'type': 'boolean',
|
|
407
408
|
'default': true
|
|
408
409
|
},
|
|
409
410
|
'editor.emptySelectionClipboard': {
|
|
410
|
-
'description': 'Controls whether copying without a selection copies the current line.',
|
|
411
|
+
'description': nls_1.nls.localize('vscode/editorOptions/emptySelectionClipboard', 'Controls whether copying without a selection copies the current line.'),
|
|
411
412
|
'type': 'boolean',
|
|
412
413
|
'default': true
|
|
413
414
|
},
|
|
414
415
|
'editor.extraEditorClassName': {
|
|
415
|
-
'description': 'Additional class name to be added to the editor.',
|
|
416
|
+
'description': nls_1.nls.localize('theia/editor/extraEditorClassName', 'Additional class name to be added to the editor.'),
|
|
416
417
|
'type': 'string',
|
|
417
418
|
'default': ''
|
|
418
419
|
},
|
|
419
420
|
'editor.fastScrollSensitivity': {
|
|
420
|
-
'markdownDescription': 'Scrolling speed multiplier when pressing `Alt`.',
|
|
421
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/fastScrollSensitivity', 'Scrolling speed multiplier when pressing `Alt`.'),
|
|
421
422
|
'type': 'number',
|
|
422
423
|
'default': 5
|
|
423
424
|
},
|
|
424
425
|
'editor.find.cursorMoveOnType': {
|
|
425
|
-
'description': 'Controls whether the cursor should jump to find matches while typing.',
|
|
426
|
+
'description': nls_1.nls.localize('vscode/editorOptions/find.cursorMoveOnType', 'Controls whether the cursor should jump to find matches while typing.'),
|
|
426
427
|
'type': 'boolean',
|
|
427
428
|
'default': true
|
|
428
429
|
},
|
|
429
430
|
'editor.find.seedSearchStringFromSelection': {
|
|
430
431
|
'type': 'boolean',
|
|
431
432
|
'default': true,
|
|
432
|
-
'description': 'Controls whether the search string in the Find Widget is seeded from the editor selection.'
|
|
433
|
+
'description': nls_1.nls.localize('vscode/editorOptions/find.seedSearchStringFromSelection', 'Controls whether the search string in the Find Widget is seeded from the editor selection.')
|
|
433
434
|
},
|
|
434
435
|
'editor.find.autoFindInSelection': {
|
|
435
436
|
'type': 'string',
|
|
@@ -440,59 +441,63 @@ const codeEditorPreferenceProperties = {
|
|
|
440
441
|
],
|
|
441
442
|
'default': 'never',
|
|
442
443
|
'enumDescriptions': [
|
|
443
|
-
'Never turn on Find in selection automatically (default)',
|
|
444
|
-
'Always turn on Find in selection automatically',
|
|
445
|
-
'Turn on Find in selection automatically when multiple lines of content are selected.'
|
|
444
|
+
nls_1.nls.localize('vscode/editorOptions/editor.find.autoFindInSelection.never', 'Never turn on Find in selection automatically (default)'),
|
|
445
|
+
nls_1.nls.localize('vscode/editorOptions/editor.find.autoFindInSelection.always', 'Always turn on Find in selection automatically'),
|
|
446
|
+
nls_1.nls.localize('vscode/editorOptions/editor.find.autoFindInSelection.multiline', 'Turn on Find in selection automatically when multiple lines of content are selected.')
|
|
446
447
|
],
|
|
447
|
-
'description': 'Controls whether the find operation is carried out on selected text or the entire file in the editor.'
|
|
448
|
+
'description': nls_1.nls.localize('vscode/editorOptions/find.autoFindInSelection', 'Controls whether the find operation is carried out on selected text or the entire file in the editor.')
|
|
448
449
|
},
|
|
449
450
|
'editor.find.globalFindClipboard': {
|
|
450
451
|
'type': 'boolean',
|
|
451
452
|
'default': false,
|
|
452
|
-
'description': 'Controls whether the Find Widget should read or modify the shared find clipboard on macOS.',
|
|
453
|
+
'description': nls_1.nls.localize('vscode/editorOptions/find.globalFindClipboard', 'Controls whether the Find Widget should read or modify the shared find clipboard on macOS.'),
|
|
453
454
|
'included': os_1.isOSX
|
|
454
455
|
},
|
|
455
456
|
'editor.find.addExtraSpaceOnTop': {
|
|
456
457
|
'type': 'boolean',
|
|
457
458
|
'default': true,
|
|
458
|
-
'description': '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.'
|
|
459
|
+
'description': nls_1.nls.localize('vscode/editorOptions/find.addExtraSpaceOnTop', '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.')
|
|
459
460
|
},
|
|
460
461
|
'editor.find.loop': {
|
|
461
462
|
'type': 'boolean',
|
|
462
463
|
'default': true,
|
|
463
|
-
'description': 'Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.'
|
|
464
|
+
'description': nls_1.nls.localize('vscode/editorOptions/find.loop', 'Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.')
|
|
464
465
|
},
|
|
465
466
|
'editor.fixedOverflowWidgets': {
|
|
466
|
-
'markdownDescription': 'Controls whether to display overflow widgets as `fixed`.',
|
|
467
|
+
'markdownDescription': nls_1.nls.localize('theia/editor/fixedOverflowWidgets', 'Controls whether to display overflow widgets as `fixed`.'),
|
|
467
468
|
'type': 'boolean',
|
|
468
469
|
'default': false,
|
|
469
470
|
},
|
|
470
471
|
'editor.folding': {
|
|
471
|
-
'description': 'Controls whether the editor has code folding enabled.',
|
|
472
|
+
'description': nls_1.nls.localize('vscode/editorOptions/folding', 'Controls whether the editor has code folding enabled.'),
|
|
472
473
|
'type': 'boolean',
|
|
473
474
|
'default': true
|
|
474
475
|
},
|
|
475
476
|
'editor.foldingStrategy': {
|
|
476
|
-
'markdownDescription': 'Controls the strategy for computing folding ranges. `auto` uses a language specific folding strategy, if available. `indentation` uses the indentation based folding strategy.',
|
|
477
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/foldingStrategy', 'Controls the strategy for computing folding ranges. `auto` uses a language specific folding strategy, if available. `indentation` uses the indentation based folding strategy.'),
|
|
477
478
|
'type': 'string',
|
|
478
479
|
'enum': [
|
|
479
480
|
'auto',
|
|
480
481
|
'indentation'
|
|
481
482
|
],
|
|
483
|
+
'enumDescriptions': [
|
|
484
|
+
nls_1.nls.localize('vscode/editorOptions/foldingStrategy.auto', 'Use a language-specific folding strategy if available, else the indentation-based one.'),
|
|
485
|
+
nls_1.nls.localize('vscode/editorOptions/foldingStrategy.indentation', 'Use the indentation-based folding strategy.'),
|
|
486
|
+
],
|
|
482
487
|
'default': 'auto'
|
|
483
488
|
},
|
|
484
489
|
'editor.foldingHighlight': {
|
|
485
|
-
'description': 'Controls whether the editor should highlight folded ranges.',
|
|
490
|
+
'description': nls_1.nls.localize('vscode/editorOptions/foldingHighlight', 'Controls whether the editor should highlight folded ranges.'),
|
|
486
491
|
'type': 'boolean',
|
|
487
492
|
'default': true
|
|
488
493
|
},
|
|
489
494
|
'editor.unfoldOnClickAfterEndOfLine': {
|
|
490
|
-
'description': 'Controls whether clicking on the empty content after a folded line will unfold the line.',
|
|
495
|
+
'description': nls_1.nls.localize('vscode/editorOptions/unfoldOnClickAfterEndOfLine', 'Controls whether clicking on the empty content after a folded line will unfold the line.'),
|
|
491
496
|
'type': 'boolean',
|
|
492
497
|
'default': false
|
|
493
498
|
},
|
|
494
499
|
'editor.fontFamily': {
|
|
495
|
-
'description': 'Controls the font family.',
|
|
500
|
+
'description': nls_1.nls.localize('vscode/editorOptions/fontFamily', 'Controls the font family.'),
|
|
496
501
|
'type': 'string',
|
|
497
502
|
'default': exports.EDITOR_FONT_DEFAULTS.fontFamily
|
|
498
503
|
},
|
|
@@ -500,14 +505,14 @@ const codeEditorPreferenceProperties = {
|
|
|
500
505
|
'anyOf': [
|
|
501
506
|
{
|
|
502
507
|
'type': 'boolean',
|
|
503
|
-
'description': 'Enables/Disables font ligatures.'
|
|
508
|
+
'description': nls_1.nls.localize('vscode/editorOptions/fontLigatures', 'Enables/Disables font ligatures.')
|
|
504
509
|
},
|
|
505
510
|
{
|
|
506
511
|
'type': 'string',
|
|
507
|
-
'description': 'Explicit font-feature-settings.'
|
|
512
|
+
'description': nls_1.nls.localize('vscode/editorOptions/fontFeatureSettings', 'Explicit font-feature-settings.')
|
|
508
513
|
}
|
|
509
514
|
],
|
|
510
|
-
'description': 'Configures font ligatures.',
|
|
515
|
+
'description': nls_1.nls.localize('vscode/editorOptions/fontLigaturesGeneral', 'Configures font ligatures.'),
|
|
511
516
|
'default': false
|
|
512
517
|
},
|
|
513
518
|
'editor.fontSize': {
|
|
@@ -515,7 +520,7 @@ const codeEditorPreferenceProperties = {
|
|
|
515
520
|
'minimum': 6,
|
|
516
521
|
'maximum': 100,
|
|
517
522
|
'default': exports.EDITOR_FONT_DEFAULTS.fontSize,
|
|
518
|
-
'description': 'Controls the font size in pixels.'
|
|
523
|
+
'description': nls_1.nls.localize('vscode/editorOptions/fontSize', 'Controls the font size in pixels.')
|
|
519
524
|
},
|
|
520
525
|
'editor.fontWeight': {
|
|
521
526
|
'enum': [
|
|
@@ -531,32 +536,32 @@ const codeEditorPreferenceProperties = {
|
|
|
531
536
|
'800',
|
|
532
537
|
'900'
|
|
533
538
|
],
|
|
534
|
-
'description': 'Controls the font weight.',
|
|
539
|
+
'description': nls_1.nls.localize('vscode/editorOptions/fontWeight', 'Controls the font weight.'),
|
|
535
540
|
'type': 'string',
|
|
536
541
|
'default': exports.EDITOR_FONT_DEFAULTS.fontWeight
|
|
537
542
|
},
|
|
538
543
|
'editor.formatOnPaste': {
|
|
539
|
-
'description': '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.',
|
|
544
|
+
'description': nls_1.nls.localize('vscode/editorOptions/formatOnPaste', '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.'),
|
|
540
545
|
'type': 'boolean',
|
|
541
546
|
'default': false
|
|
542
547
|
},
|
|
543
548
|
'editor.formatOnType': {
|
|
544
|
-
'description': 'Controls whether the editor should automatically format the line after typing.',
|
|
549
|
+
'description': nls_1.nls.localize('vscode/editorOptions/formatOnType', 'Controls whether the editor should automatically format the line after typing.'),
|
|
545
550
|
'type': 'boolean',
|
|
546
551
|
'default': false
|
|
547
552
|
},
|
|
548
553
|
'editor.glyphMargin': {
|
|
549
|
-
'description': 'Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.',
|
|
554
|
+
'description': nls_1.nls.localize('vscode/editorOptions/glyphMargin', 'Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.'),
|
|
550
555
|
'type': 'boolean',
|
|
551
556
|
'default': true
|
|
552
557
|
},
|
|
553
558
|
'editor.gotoLocation.multiple': {
|
|
554
559
|
'type': 'string',
|
|
555
560
|
'default': '',
|
|
556
|
-
'deprecationMessage': 'This setting is deprecated, please use separate settings like `editor.editor.gotoLocation.multipleDefinitions` or `editor.editor.gotoLocation.multipleImplementations` instead.'
|
|
561
|
+
'deprecationMessage': nls_1.nls.localize('vscode/editorOptions/insertSpaces', 'This setting is deprecated, please use separate settings like `editor.editor.gotoLocation.multipleDefinitions` or `editor.editor.gotoLocation.multipleImplementations` instead.')
|
|
557
562
|
},
|
|
558
563
|
'editor.gotoLocation.multipleDefinitions': {
|
|
559
|
-
'description': 'Controls the behavior the `Go to Definition`-command when multiple target locations exist.',
|
|
564
|
+
'description': nls_1.nls.localize('vscode/editorOptions/editor.editor.gotoLocation.multipleDefinitions', 'Controls the behavior the `Go to Definition`-command when multiple target locations exist.'),
|
|
560
565
|
'type': 'string',
|
|
561
566
|
'enum': [
|
|
562
567
|
'peek',
|
|
@@ -565,13 +570,13 @@ const codeEditorPreferenceProperties = {
|
|
|
565
570
|
],
|
|
566
571
|
'default': 'peek',
|
|
567
572
|
'enumDescriptions': [
|
|
568
|
-
'Show peek view of the results (default)',
|
|
569
|
-
'Go to the primary result and show a peek view',
|
|
570
|
-
'Go to the primary result and enable peek-less navigation to others'
|
|
573
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.peek', 'Show peek view of the results (default)'),
|
|
574
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.gotoAndPeek', 'Go to the primary result and show a peek view'),
|
|
575
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.goto', 'Go to the primary result and enable peek-less navigation to others')
|
|
571
576
|
]
|
|
572
577
|
},
|
|
573
578
|
'editor.gotoLocation.multipleTypeDefinitions': {
|
|
574
|
-
'description': 'Controls the behavior the `Go to Type Definition`-command when multiple target locations exist.',
|
|
579
|
+
'description': nls_1.nls.localize('vscode/editorOptions/editor.editor.gotoLocation.multipleTypeDefinitions', 'Controls the behavior the `Go to Type Definition`-command when multiple target locations exist.'),
|
|
575
580
|
'type': 'string',
|
|
576
581
|
'enum': [
|
|
577
582
|
'peek',
|
|
@@ -580,13 +585,13 @@ const codeEditorPreferenceProperties = {
|
|
|
580
585
|
],
|
|
581
586
|
'default': 'peek',
|
|
582
587
|
'enumDescriptions': [
|
|
583
|
-
'Show peek view of the results (default)',
|
|
584
|
-
'Go to the primary result and show a peek view',
|
|
585
|
-
'Go to the primary result and enable peek-less navigation to others'
|
|
588
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.peek', 'Show peek view of the results (default)'),
|
|
589
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.gotoAndPeek', 'Go to the primary result and show a peek view'),
|
|
590
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.goto', 'Go to the primary result and enable peek-less navigation to others')
|
|
586
591
|
]
|
|
587
592
|
},
|
|
588
593
|
'editor.gotoLocation.multipleDeclarations': {
|
|
589
|
-
'description': 'Controls the behavior the `Go to Declaration`-command when multiple target locations exist.',
|
|
594
|
+
'description': nls_1.nls.localize('vscode/editorOptions/editor.editor.gotoLocation.multipleDeclarations', 'Controls the behavior the `Go to Declaration`-command when multiple target locations exist.'),
|
|
590
595
|
'type': 'string',
|
|
591
596
|
'enum': [
|
|
592
597
|
'peek',
|
|
@@ -595,13 +600,13 @@ const codeEditorPreferenceProperties = {
|
|
|
595
600
|
],
|
|
596
601
|
'default': 'peek',
|
|
597
602
|
'enumDescriptions': [
|
|
598
|
-
'Show peek view of the results (default)',
|
|
599
|
-
'Go to the primary result and show a peek view',
|
|
600
|
-
'Go to the primary result and enable peek-less navigation to others'
|
|
603
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.peek', 'Show peek view of the results (default)'),
|
|
604
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.gotoAndPeek', 'Go to the primary result and show a peek view'),
|
|
605
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.goto', 'Go to the primary result and enable peek-less navigation to others')
|
|
601
606
|
]
|
|
602
607
|
},
|
|
603
608
|
'editor.gotoLocation.multipleImplementations': {
|
|
604
|
-
'description': 'Controls the behavior the `Go to Implementations`-command when multiple target locations exist.',
|
|
609
|
+
'description': nls_1.nls.localize('vscode/editorOptions/editor.editor.gotoLocation.multipleImplemenattions', 'Controls the behavior the `Go to Implementations`-command when multiple target locations exist.'),
|
|
605
610
|
'type': 'string',
|
|
606
611
|
'enum': [
|
|
607
612
|
'peek',
|
|
@@ -610,13 +615,13 @@ const codeEditorPreferenceProperties = {
|
|
|
610
615
|
],
|
|
611
616
|
'default': 'peek',
|
|
612
617
|
'enumDescriptions': [
|
|
613
|
-
'Show peek view of the results (default)',
|
|
614
|
-
'Go to the primary result and show a peek view',
|
|
615
|
-
'Go to the primary result and enable peek-less navigation to others'
|
|
618
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.peek', 'Show peek view of the results (default)'),
|
|
619
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.gotoAndPeek', 'Go to the primary result and show a peek view'),
|
|
620
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.goto', 'Go to the primary result and enable peek-less navigation to others')
|
|
616
621
|
]
|
|
617
622
|
},
|
|
618
623
|
'editor.gotoLocation.multipleReferences': {
|
|
619
|
-
'description': 'Controls the behavior the `Go to References`-command when multiple target locations exist.',
|
|
624
|
+
'description': nls_1.nls.localize('vscode/editorOptions/editor.editor.gotoLocation.multipleReferences', 'Controls the behavior the `Go to References`-command when multiple target locations exist.'),
|
|
620
625
|
'type': 'string',
|
|
621
626
|
'enum': [
|
|
622
627
|
'peek',
|
|
@@ -625,77 +630,77 @@ const codeEditorPreferenceProperties = {
|
|
|
625
630
|
],
|
|
626
631
|
'default': 'peek',
|
|
627
632
|
'enumDescriptions': [
|
|
628
|
-
'Show peek view of the results (default)',
|
|
629
|
-
'Go to the primary result and show a peek view',
|
|
630
|
-
'Go to the primary result and enable peek-less navigation to others'
|
|
633
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.peek', 'Show peek view of the results (default)'),
|
|
634
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.gotoAndPeek', 'Go to the primary result and show a peek view'),
|
|
635
|
+
nls_1.nls.localize('vscode/editorOptions/editor.gotoLocation.multiple.goto', 'Go to the primary result and enable peek-less navigation to others')
|
|
631
636
|
]
|
|
632
637
|
},
|
|
633
638
|
'editor.gotoLocation.alternativeDefinitionCommand': {
|
|
634
639
|
'type': 'string',
|
|
635
640
|
'default': 'editor.action.goToReferences',
|
|
636
|
-
'description': 'Alternative command id that is being executed when the result of `Go to Definition` is the current location.'
|
|
641
|
+
'description': nls_1.nls.localize('vscode/editorOptions/alternativeDefinitionCommand', 'Alternative command id that is being executed when the result of `Go to Definition` is the current location.')
|
|
637
642
|
},
|
|
638
643
|
'editor.gotoLocation.alternativeTypeDefinitionCommand': {
|
|
639
644
|
'type': 'string',
|
|
640
645
|
'default': 'editor.action.goToReferences',
|
|
641
|
-
'description': 'Alternative command id that is being executed when the result of `Go to Type Definition` is the current location.'
|
|
646
|
+
'description': nls_1.nls.localize('vscode/editorOptions/alternativeTypeDefinitionCommand', 'Alternative command id that is being executed when the result of `Go to Type Definition` is the current location.')
|
|
642
647
|
},
|
|
643
648
|
'editor.gotoLocation.alternativeDeclarationCommand': {
|
|
644
649
|
'type': 'string',
|
|
645
650
|
'default': 'editor.action.goToReferences',
|
|
646
|
-
'description': 'Alternative command id that is being executed when the result of `Go to Declaration` is the current location.'
|
|
651
|
+
'description': nls_1.nls.localize('vscode/editorOptions/alternativeDeclarationCommand', 'Alternative command id that is being executed when the result of `Go to Declaration` is the current location.')
|
|
647
652
|
},
|
|
648
653
|
'editor.gotoLocation.alternativeImplementationCommand': {
|
|
649
654
|
'type': 'string',
|
|
650
655
|
'default': '',
|
|
651
|
-
'description': 'Alternative command id that is being executed when the result of `Go to Implementation` is the current location.'
|
|
656
|
+
'description': nls_1.nls.localize('vscode/editorOptions/alternativeImplementationCommand', 'Alternative command id that is being executed when the result of `Go to Implementation` is the current location.')
|
|
652
657
|
},
|
|
653
658
|
'editor.gotoLocation.alternativeReferenceCommand': {
|
|
654
659
|
'type': 'string',
|
|
655
660
|
'default': '',
|
|
656
|
-
'description': 'Alternative command id that is being executed when the result of `Go to Reference` is the current location.'
|
|
661
|
+
'description': nls_1.nls.localize('vscode/editorOptions/alternativeReferenceCommand', 'Alternative command id that is being executed when the result of `Go to Reference` is the current location.')
|
|
657
662
|
},
|
|
658
663
|
'editor.hideCursorInOverviewRuler': {
|
|
659
|
-
'description': 'Controls whether the cursor should be hidden in the overview ruler.',
|
|
664
|
+
'description': nls_1.nls.localize('vscode/editorOptions/hideCursorInOverviewRuler', 'Controls whether the cursor should be hidden in the overview ruler.'),
|
|
660
665
|
'type': 'boolean',
|
|
661
666
|
'default': false
|
|
662
667
|
},
|
|
663
668
|
'editor.highlightActiveIndentGuide': {
|
|
664
|
-
'description': 'Controls whether the editor should highlight the active indent guide.',
|
|
669
|
+
'description': nls_1.nls.localize('theia/editor/highlightActiveIndentGuide', 'Controls whether the editor should highlight the active indent guide.'),
|
|
665
670
|
'type': 'boolean',
|
|
666
671
|
'default': true
|
|
667
672
|
},
|
|
668
673
|
'editor.hover.enabled': {
|
|
669
674
|
'type': 'boolean',
|
|
670
675
|
'default': true,
|
|
671
|
-
'description': 'Controls whether the hover is shown.'
|
|
676
|
+
'description': nls_1.nls.localize('vscode/editorOptions/hover.enabled', 'Controls whether the hover is shown.')
|
|
672
677
|
},
|
|
673
678
|
'editor.hover.delay': {
|
|
674
679
|
'type': 'number',
|
|
675
680
|
'default': 300,
|
|
676
|
-
'description': 'Controls the delay in milliseconds after which the hover is shown.'
|
|
681
|
+
'description': nls_1.nls.localize('vscode/editorOptions/hover.delay', 'Controls the delay in milliseconds after which the hover is shown.')
|
|
677
682
|
},
|
|
678
683
|
'editor.hover.sticky': {
|
|
679
684
|
'type': 'boolean',
|
|
680
685
|
'default': true,
|
|
681
|
-
'description': 'Controls whether the hover should remain visible when mouse is moved over it.'
|
|
686
|
+
'description': nls_1.nls.localize('vscode/editorOptions/hover.sticky', 'Controls whether the hover should remain visible when mouse is moved over it.')
|
|
682
687
|
},
|
|
683
688
|
'editor.inDiffEditor': {
|
|
684
689
|
'type': 'boolean',
|
|
685
690
|
'default': true,
|
|
686
691
|
},
|
|
687
692
|
'editor.letterSpacing': {
|
|
688
|
-
'description': 'Controls the letter spacing in pixels.',
|
|
693
|
+
'description': nls_1.nls.localize('vscode/editorOptions/letterSpacing', 'Controls the letter spacing in pixels.'),
|
|
689
694
|
'type': 'number',
|
|
690
695
|
'default': exports.EDITOR_FONT_DEFAULTS.letterSpacing
|
|
691
696
|
},
|
|
692
697
|
'editor.lightbulb.enabled': {
|
|
693
698
|
'type': 'boolean',
|
|
694
699
|
'default': true,
|
|
695
|
-
'description': 'Enables the code action lightbulb in the editor.'
|
|
700
|
+
'description': nls_1.nls.localize('vscode/editorOptions/codeActions', 'Enables the code action lightbulb in the editor.')
|
|
696
701
|
},
|
|
697
702
|
'editor.lineHeight': {
|
|
698
|
-
'description': 'Controls the line height. Use 0 to compute the line height from the font size.',
|
|
703
|
+
'description': nls_1.nls.localize('vscode/editorOptions/lineHeight', 'Controls the line height. Use 0 to compute the line height from the font size.'),
|
|
699
704
|
'type': 'integer',
|
|
700
705
|
'default': exports.EDITOR_FONT_DEFAULTS.lineHeight,
|
|
701
706
|
'minimum': 0,
|
|
@@ -710,33 +715,33 @@ const codeEditorPreferenceProperties = {
|
|
|
710
715
|
'interval'
|
|
711
716
|
],
|
|
712
717
|
'enumDescriptions': [
|
|
713
|
-
'Line numbers are not rendered.',
|
|
714
|
-
'Line numbers are rendered as absolute number.',
|
|
715
|
-
'Line numbers are rendered as distance in lines to cursor position.',
|
|
716
|
-
'Line numbers are rendered every 10 lines.'
|
|
718
|
+
nls_1.nls.localize('vscode/editorOptions/lineNumbers.off', 'Line numbers are not rendered.'),
|
|
719
|
+
nls_1.nls.localize('vscode/editorOptions/lineNumbers.on', 'Line numbers are rendered as absolute number.'),
|
|
720
|
+
nls_1.nls.localize('vscode/editorOptions/lineNumbers.relative', 'Line numbers are rendered as distance in lines to cursor position.'),
|
|
721
|
+
nls_1.nls.localize('vscode/editorOptions/lineNumbers.interval', 'Line numbers are rendered every 10 lines.')
|
|
717
722
|
],
|
|
718
723
|
'default': 'on',
|
|
719
|
-
'description': 'Controls the display of line numbers.'
|
|
724
|
+
'description': nls_1.nls.localize('vscode/editorOptions/lineNumbers', 'Controls the display of line numbers.')
|
|
720
725
|
},
|
|
721
726
|
'editor.lineNumbersMinChars': {
|
|
722
|
-
'description': 'Controls the line height. Use 0 to compute the line height from the font size.',
|
|
727
|
+
'description': nls_1.nls.localize('theia/editor/lineNumbersMinChars', 'Controls the line height. Use 0 to compute the line height from the font size.'),
|
|
723
728
|
'type': 'integer',
|
|
724
729
|
'default': 5,
|
|
725
730
|
'minimum': 1,
|
|
726
731
|
'maximum': 300
|
|
727
732
|
},
|
|
728
733
|
'editor.linkedEditing': {
|
|
729
|
-
'description': 'Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.',
|
|
734
|
+
'description': nls_1.nls.localize('vscode/editorOptions/linkedEditing', 'Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.'),
|
|
730
735
|
'type': 'boolean',
|
|
731
736
|
'default': false
|
|
732
737
|
},
|
|
733
738
|
'editor.links': {
|
|
734
|
-
'description': 'Controls whether the editor should detect links and make them clickable.',
|
|
739
|
+
'description': nls_1.nls.localize('vscode/editorOptions/links', 'Controls whether the editor should detect links and make them clickable.'),
|
|
735
740
|
'type': 'boolean',
|
|
736
741
|
'default': true
|
|
737
742
|
},
|
|
738
743
|
'editor.matchBrackets': {
|
|
739
|
-
'description': 'Highlight matching brackets.',
|
|
744
|
+
'description': nls_1.nls.localize('vscode/editorOptions/matchBrackets', 'Highlight matching brackets.'),
|
|
740
745
|
'type': 'string',
|
|
741
746
|
'enum': [
|
|
742
747
|
'always',
|
|
@@ -748,7 +753,7 @@ const codeEditorPreferenceProperties = {
|
|
|
748
753
|
'editor.minimap.enabled': {
|
|
749
754
|
'type': 'boolean',
|
|
750
755
|
'default': true,
|
|
751
|
-
'description': 'Controls whether the minimap is shown.'
|
|
756
|
+
'description': nls_1.nls.localize('vscode/editorOptions/minimap.enabled', 'Controls whether the minimap is shown.')
|
|
752
757
|
},
|
|
753
758
|
'editor.minimap.side': {
|
|
754
759
|
'type': 'string',
|
|
@@ -757,7 +762,7 @@ const codeEditorPreferenceProperties = {
|
|
|
757
762
|
'right'
|
|
758
763
|
],
|
|
759
764
|
'default': 'right',
|
|
760
|
-
'description': 'Controls the side where to render the minimap.'
|
|
765
|
+
'description': nls_1.nls.localize('vscode/editorOptions/minimap.side', 'Controls the side where to render the minimap.')
|
|
761
766
|
},
|
|
762
767
|
'editor.minimap.showSlider': {
|
|
763
768
|
'type': 'string',
|
|
@@ -766,52 +771,52 @@ const codeEditorPreferenceProperties = {
|
|
|
766
771
|
'mouseover'
|
|
767
772
|
],
|
|
768
773
|
'default': 'mouseover',
|
|
769
|
-
'description': 'Controls when the minimap slider is shown.'
|
|
774
|
+
'description': nls_1.nls.localize('vscode/editorOptions/minimap.showSlider', 'Controls when the minimap slider is shown.')
|
|
770
775
|
},
|
|
771
776
|
'editor.minimap.scale': {
|
|
772
777
|
'type': 'number',
|
|
773
778
|
'default': 1,
|
|
774
779
|
'minimum': 1,
|
|
775
780
|
'maximum': 3,
|
|
776
|
-
'description': 'Scale of content drawn in the minimap.'
|
|
781
|
+
'description': nls_1.nls.localize('vscode/editorOptions/minimap.scale', 'Scale of content drawn in the minimap.')
|
|
777
782
|
},
|
|
778
783
|
'editor.minimap.renderCharacters': {
|
|
779
784
|
'type': 'boolean',
|
|
780
785
|
'default': true,
|
|
781
|
-
'description': 'Render the actual characters on a line as opposed to color blocks.'
|
|
786
|
+
'description': nls_1.nls.localize('vscode/editorOptions/minimap.renderCharacters', 'Render the actual characters on a line as opposed to color blocks.')
|
|
782
787
|
},
|
|
783
788
|
'editor.minimap.maxColumn': {
|
|
784
789
|
'type': 'number',
|
|
785
790
|
'default': 120,
|
|
786
|
-
'description': 'Limit the width of the minimap to render at most a certain number of columns.'
|
|
791
|
+
'description': nls_1.nls.localize('vscode/editorOptions/minimap.maxColumn', 'Limit the width of the minimap to render at most a certain number of columns.')
|
|
787
792
|
},
|
|
788
793
|
'editor.mouseStyle': {
|
|
789
|
-
'description': 'Controls the mouse pointer style.',
|
|
794
|
+
'description': nls_1.nls.localize('theia/editor/mouseStyle', 'Controls the mouse pointer style.'),
|
|
790
795
|
'type': 'string',
|
|
791
796
|
'enum': ['text', 'default', 'copy'],
|
|
792
797
|
'default': 'text'
|
|
793
798
|
},
|
|
794
799
|
'editor.mouseWheelScrollSensitivity': {
|
|
795
|
-
'markdownDescription': 'A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.',
|
|
800
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/mouseWheelScrollSensitivity', 'A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.'),
|
|
796
801
|
'type': 'number',
|
|
797
802
|
'default': 1
|
|
798
803
|
},
|
|
799
804
|
'editor.mouseWheelZoom': {
|
|
800
|
-
'markdownDescription': 'Zoom the font of the editor when using mouse wheel and holding `Ctrl`.',
|
|
805
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/mouseWheelZoom', 'Zoom the font of the editor when using mouse wheel and holding `Ctrl`.'),
|
|
801
806
|
'type': 'boolean',
|
|
802
807
|
'default': false
|
|
803
808
|
},
|
|
804
809
|
'editor.multiCursorMergeOverlapping': {
|
|
805
|
-
'description': 'Merge multiple cursors when they are overlapping.',
|
|
810
|
+
'description': nls_1.nls.localize('vscode/editorOptions/multiCursorMergeOverlapping', 'Merge multiple cursors when they are overlapping.'),
|
|
806
811
|
'type': 'boolean',
|
|
807
812
|
'default': true
|
|
808
813
|
},
|
|
809
814
|
'editor.multiCursorModifier': {
|
|
810
815
|
'markdownEnumDescriptions': [
|
|
811
|
-
'Maps to `Control` on Windows and Linux and to `Command` on macOS.',
|
|
812
|
-
'Maps to `Alt` on Windows and Linux and to `Option` on macOS.'
|
|
816
|
+
nls_1.nls.localize('vscode/editorOptions/multiCursorModifier.ctrlCmd', 'Maps to `Control` on Windows and Linux and to `Command` on macOS.'),
|
|
817
|
+
nls_1.nls.localize('vscode/editorOptions/multiCursorModifier.alt', 'Maps to `Alt` on Windows and Linux and to `Option` on macOS.')
|
|
813
818
|
],
|
|
814
|
-
'markdownDescription': '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).',
|
|
819
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/multiCursorModifier', '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).'),
|
|
815
820
|
'type': 'string',
|
|
816
821
|
'enum': [
|
|
817
822
|
'ctrlCmd',
|
|
@@ -821,10 +826,10 @@ const codeEditorPreferenceProperties = {
|
|
|
821
826
|
},
|
|
822
827
|
'editor.multiCursorPaste': {
|
|
823
828
|
'markdownEnumDescriptions': [
|
|
824
|
-
'Each cursor pastes a single line of the text.',
|
|
825
|
-
'Each cursor pastes the full text.'
|
|
829
|
+
nls_1.nls.localize('vscode/editorOptions/multiCursorPaste.spread', 'Each cursor pastes a single line of the text.'),
|
|
830
|
+
nls_1.nls.localize('vscode/editorOptions/multiCursorPaste.full', 'Each cursor pastes the full text.')
|
|
826
831
|
],
|
|
827
|
-
'markdownDescription': 'Controls pasting when the line count of the pasted text matches the cursor count.',
|
|
832
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/multiCursorPaste', 'Controls pasting when the line count of the pasted text matches the cursor count.'),
|
|
828
833
|
'type': 'string',
|
|
829
834
|
'enum': [
|
|
830
835
|
'spread',
|
|
@@ -833,12 +838,12 @@ const codeEditorPreferenceProperties = {
|
|
|
833
838
|
'default': 'spread'
|
|
834
839
|
},
|
|
835
840
|
'editor.occurrencesHighlight': {
|
|
836
|
-
'description': 'Controls whether the editor should highlight semantic symbol occurrences.',
|
|
841
|
+
'description': nls_1.nls.localize('vscode/editorOptions/occurrencesHighlight', 'Controls whether the editor should highlight semantic symbol occurrences.'),
|
|
837
842
|
'type': 'boolean',
|
|
838
843
|
'default': true
|
|
839
844
|
},
|
|
840
845
|
'editor.overviewRulerBorder': {
|
|
841
|
-
'description': 'Controls whether a border should be drawn around the overview ruler.',
|
|
846
|
+
'description': nls_1.nls.localize('vscode/editorOptions/overviewRulerBorder', 'Controls whether a border should be drawn around the overview ruler.'),
|
|
842
847
|
'type': 'boolean',
|
|
843
848
|
'default': true
|
|
844
849
|
},
|
|
@@ -847,38 +852,38 @@ const codeEditorPreferenceProperties = {
|
|
|
847
852
|
'default': 3,
|
|
848
853
|
'minimum': 0,
|
|
849
854
|
'maximum': 3,
|
|
850
|
-
'description': 'The number of vertical lanes the overview ruler should render.'
|
|
855
|
+
'description': nls_1.nls.localize('theia/editor/overviewRulerLanes', 'The number of vertical lanes the overview ruler should render.')
|
|
851
856
|
},
|
|
852
857
|
'editor.padding.top': {
|
|
853
858
|
'type': 'number',
|
|
854
859
|
'default': 0,
|
|
855
860
|
'minimum': 0,
|
|
856
861
|
'maximum': 1000,
|
|
857
|
-
'description': 'Controls the amount of space between the top edge of the editor and the first line.'
|
|
862
|
+
'description': nls_1.nls.localize('vscode/editorOptions/padding.top', 'Controls the amount of space between the top edge of the editor and the first line.')
|
|
858
863
|
},
|
|
859
864
|
'editor.padding.bottom': {
|
|
860
865
|
'type': 'number',
|
|
861
866
|
'default': 0,
|
|
862
867
|
'minimum': 0,
|
|
863
868
|
'maximum': 1000,
|
|
864
|
-
'description': 'Controls the amount of space between the bottom edge of the editor and the last line.'
|
|
869
|
+
'description': nls_1.nls.localize('vscode/editorOptions/padding.bottom', 'Controls the amount of space between the bottom edge of the editor and the last line.')
|
|
865
870
|
},
|
|
866
871
|
'editor.parameterHints.enabled': {
|
|
867
872
|
'type': 'boolean',
|
|
868
873
|
'default': true,
|
|
869
|
-
'description': 'Enables a pop-up that shows parameter documentation and type information as you type.'
|
|
874
|
+
'description': nls_1.nls.localize('vscode/editorOptions/parameterHints.enabled', 'Enables a pop-up that shows parameter documentation and type information as you type.')
|
|
870
875
|
},
|
|
871
876
|
'editor.parameterHints.cycle': {
|
|
872
877
|
'type': 'boolean',
|
|
873
878
|
'default': false,
|
|
874
|
-
'description': 'Controls whether the parameter hints menu cycles or closes when reaching the end of the list.'
|
|
879
|
+
'description': nls_1.nls.localize('vscode/editorOptions/parameterHints.cycle', 'Controls whether the parameter hints menu cycles or closes when reaching the end of the list.')
|
|
875
880
|
},
|
|
876
881
|
'editor.peekWidgetDefaultFocus': {
|
|
877
882
|
'enumDescriptions': [
|
|
878
|
-
'Focus the tree when opening peek',
|
|
879
|
-
'Focus the editor when opening peek'
|
|
883
|
+
nls_1.nls.localize('vscode/editorOptions/peekWidgetDefaultFocus.tree', 'Focus the tree when opening peek'),
|
|
884
|
+
nls_1.nls.localize('vscode/editorOptions/peekWidgetDefaultFocus.editor', 'Focus the editor when opening peek')
|
|
880
885
|
],
|
|
881
|
-
'description': 'Controls whether to focus the inline editor or the tree in the peek widget.',
|
|
886
|
+
'description': nls_1.nls.localize('vscode/editorOptions/peekWidgetDefaultFocus', 'Controls whether to focus the inline editor or the tree in the peek widget.'),
|
|
882
887
|
'type': 'string',
|
|
883
888
|
'enum': [
|
|
884
889
|
'tree',
|
|
@@ -889,7 +894,7 @@ const codeEditorPreferenceProperties = {
|
|
|
889
894
|
'editor.definitionLinkOpensInPeek': {
|
|
890
895
|
'type': 'boolean',
|
|
891
896
|
'default': false,
|
|
892
|
-
'description': 'Controls whether the Go to Definition mouse gesture always opens the peek widget.'
|
|
897
|
+
'description': nls_1.nls.localize('vscode/editorOptions/definitionLinkOpensInPeek', 'Controls whether the Go to Definition mouse gesture always opens the peek widget.')
|
|
893
898
|
},
|
|
894
899
|
'editor.quickSuggestions': {
|
|
895
900
|
'anyOf': [
|
|
@@ -902,17 +907,17 @@ const codeEditorPreferenceProperties = {
|
|
|
902
907
|
'strings': {
|
|
903
908
|
'type': 'boolean',
|
|
904
909
|
'default': false,
|
|
905
|
-
'description': 'Enable quick suggestions inside strings.'
|
|
910
|
+
'description': nls_1.nls.localize('vscode/editorOptions/quickSuggestions.strings', 'Enable quick suggestions inside strings.')
|
|
906
911
|
},
|
|
907
912
|
'comments': {
|
|
908
913
|
'type': 'boolean',
|
|
909
914
|
'default': false,
|
|
910
|
-
'description': 'Enable quick suggestions inside comments.'
|
|
915
|
+
'description': nls_1.nls.localize('vscode/editorOptions/quickSuggestions.comments', 'Enable quick suggestions inside comments.')
|
|
911
916
|
},
|
|
912
917
|
'other': {
|
|
913
918
|
'type': 'boolean',
|
|
914
919
|
'default': true,
|
|
915
|
-
'description': 'Enable quick suggestions outside of strings and comments.'
|
|
920
|
+
'description': nls_1.nls.localize('vscode/editorOptions/quickSuggestions.other', 'Enable quick suggestions outside of strings and comments.')
|
|
916
921
|
}
|
|
917
922
|
}
|
|
918
923
|
}
|
|
@@ -922,37 +927,37 @@ const codeEditorPreferenceProperties = {
|
|
|
922
927
|
'comments': false,
|
|
923
928
|
'strings': false
|
|
924
929
|
},
|
|
925
|
-
'description': 'Controls whether suggestions should automatically show up while typing.'
|
|
930
|
+
'description': nls_1.nls.localize('vscode/editorOptions/quickSuggestions', 'Controls whether suggestions should automatically show up while typing.')
|
|
926
931
|
},
|
|
927
932
|
'editor.quickSuggestionsDelay': {
|
|
928
|
-
'description': 'Controls the delay in milliseconds after which quick suggestions will show up.',
|
|
933
|
+
'description': nls_1.nls.localize('vscode/editorOptions/quickSuggestionsDelay', 'Controls the delay in milliseconds after which quick suggestions will show up.'),
|
|
929
934
|
'type': 'integer',
|
|
930
935
|
'default': 10,
|
|
931
936
|
'minimum': 0,
|
|
932
937
|
'maximum': 1073741824
|
|
933
938
|
},
|
|
934
939
|
'editor.readOnly': {
|
|
935
|
-
'description': 'Controls whether the editor is readonly.',
|
|
940
|
+
'description': nls_1.nls.localize('theia/editor/readOnly', 'Controls whether the editor is readonly.'),
|
|
936
941
|
'type': 'boolean',
|
|
937
942
|
'default': false
|
|
938
943
|
},
|
|
939
944
|
'editor.rename.enablePreview': {
|
|
940
|
-
'description': 'Controls whether the editor should display refactor preview pane for rename.',
|
|
945
|
+
'description': nls_1.nls.localize('vscode/rename/enablePreview', 'Controls whether the editor should display refactor preview pane for rename.'),
|
|
941
946
|
'type': 'boolean',
|
|
942
947
|
'default': true
|
|
943
948
|
},
|
|
944
949
|
'editor.renderControlCharacters': {
|
|
945
|
-
'description': 'Controls whether the editor should render control characters.',
|
|
950
|
+
'description': nls_1.nls.localize('vscode/editorOptions/renderControlCharacters', 'Controls whether the editor should render control characters.'),
|
|
946
951
|
'type': 'boolean',
|
|
947
952
|
'default': false
|
|
948
953
|
},
|
|
949
954
|
'editor.renderIndentGuides': {
|
|
950
|
-
'description': 'Controls whether the editor should render indent guides.',
|
|
955
|
+
'description': nls_1.nls.localize('vscode/editorOptions/editor.guides.indentation', 'Controls whether the editor should render indent guides.'),
|
|
951
956
|
'type': 'boolean',
|
|
952
957
|
'default': true
|
|
953
958
|
},
|
|
954
959
|
'editor.renderFinalNewline': {
|
|
955
|
-
'description': 'Render last line number when the file ends with a newline.',
|
|
960
|
+
'description': nls_1.nls.localize('vscode/editorOptions/renderFinalNewline', 'Render last line number when the file ends with a newline.'),
|
|
956
961
|
'type': 'boolean',
|
|
957
962
|
'default': true
|
|
958
963
|
},
|
|
@@ -961,9 +966,9 @@ const codeEditorPreferenceProperties = {
|
|
|
961
966
|
'',
|
|
962
967
|
'',
|
|
963
968
|
'',
|
|
964
|
-
'Highlights both the gutter and the current line.'
|
|
969
|
+
nls_1.nls.localize('vscode/editorOptions/renderLineHighlight.all', 'Highlights both the gutter and the current line.')
|
|
965
970
|
],
|
|
966
|
-
'description': 'Controls how the editor should render the current line highlight.',
|
|
971
|
+
'description': nls_1.nls.localize('vscode/editorOptions/renderLineHighlight', 'Controls how the editor should render the current line highlight.'),
|
|
967
972
|
'type': 'string',
|
|
968
973
|
'enum': [
|
|
969
974
|
'none',
|
|
@@ -974,12 +979,12 @@ const codeEditorPreferenceProperties = {
|
|
|
974
979
|
'default': 'line'
|
|
975
980
|
},
|
|
976
981
|
'editor.renderLineHighlightOnlyWhenFocus': {
|
|
977
|
-
'description': 'Controls if the editor should render the current line highlight only when the editor is focused.',
|
|
982
|
+
'description': nls_1.nls.localize('vscode/editorOptions/renderLineHighlightOnlyWhenFocus', 'Controls if the editor should render the current line highlight only when the editor is focused.'),
|
|
978
983
|
'type': 'boolean',
|
|
979
984
|
'default': false
|
|
980
985
|
},
|
|
981
986
|
'editor.renderValidationDecorations': {
|
|
982
|
-
'description': 'Controls whether the editor renders validation decorations.',
|
|
987
|
+
'description': nls_1.nls.localize('theia/editor/renderValidationDecorations', 'Controls whether the editor renders validation decorations.'),
|
|
983
988
|
'type': 'string',
|
|
984
989
|
'enum': ['editable', 'on', 'off'],
|
|
985
990
|
'default': 'editable'
|
|
@@ -987,29 +992,31 @@ const codeEditorPreferenceProperties = {
|
|
|
987
992
|
'editor.renderWhitespace': {
|
|
988
993
|
'enumDescriptions': [
|
|
989
994
|
'',
|
|
990
|
-
'Render whitespace characters except for single spaces between words.',
|
|
991
|
-
'Render whitespace characters only on selected text.',
|
|
995
|
+
nls_1.nls.localize('vscode/editorOptions/renderWhitespace.boundary', 'Render whitespace characters except for single spaces between words.'),
|
|
996
|
+
nls_1.nls.localize('vscode/editorOptions/renderWhitespace.selection', 'Render whitespace characters only on selected text.'),
|
|
997
|
+
nls_1.nls.localize('vscode/editorOptions/renderWhitespace.trailing', 'Render only trailing whitespace characters.'),
|
|
992
998
|
''
|
|
993
999
|
],
|
|
994
|
-
'description': 'Controls how the editor should render whitespace characters.',
|
|
1000
|
+
'description': nls_1.nls.localize('vscode/editorOptions/renderWhitespace', 'Controls how the editor should render whitespace characters.'),
|
|
995
1001
|
'type': 'string',
|
|
996
1002
|
'enum': [
|
|
997
1003
|
'none',
|
|
998
1004
|
'boundary',
|
|
999
1005
|
'selection',
|
|
1006
|
+
'trailing',
|
|
1000
1007
|
'all'
|
|
1001
1008
|
],
|
|
1002
1009
|
'default': 'none'
|
|
1003
1010
|
},
|
|
1004
1011
|
'editor.revealHorizontalRightPadding': {
|
|
1005
|
-
'description': 'When revealing the cursor, a virtual padding (px) is added to the cursor, turning it into a rectangle. This virtual padding ensures that the cursor gets revealed before hitting the edge of the viewport.',
|
|
1012
|
+
'description': nls_1.nls.localize('theia/editor/revealHorizontalRightPadding', 'When revealing the cursor, a virtual padding (px) is added to the cursor, turning it into a rectangle. This virtual padding ensures that the cursor gets revealed before hitting the edge of the viewport.'),
|
|
1006
1013
|
'type': 'integer',
|
|
1007
1014
|
'default': 30,
|
|
1008
1015
|
'minimum': 0,
|
|
1009
1016
|
'maximum': 1000
|
|
1010
1017
|
},
|
|
1011
1018
|
'editor.roundedSelection': {
|
|
1012
|
-
'description': 'Controls whether selections should have rounded corners.',
|
|
1019
|
+
'description': nls_1.nls.localize('vscode/editorOptions/roundedSelection', 'Controls whether selections should have rounded corners.'),
|
|
1013
1020
|
'type': 'boolean',
|
|
1014
1021
|
'default': true
|
|
1015
1022
|
},
|
|
@@ -1019,83 +1026,87 @@ const codeEditorPreferenceProperties = {
|
|
|
1019
1026
|
'type': 'number'
|
|
1020
1027
|
},
|
|
1021
1028
|
'default': [],
|
|
1022
|
-
'description': 'Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.'
|
|
1029
|
+
'description': nls_1.nls.localize('vscode/editorOptions/rulers', 'Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.')
|
|
1023
1030
|
},
|
|
1024
1031
|
'editor.scrollBeyondLastColumn': {
|
|
1025
|
-
'description': 'Controls the number of extra characters beyond which the editor will scroll horizontally.',
|
|
1032
|
+
'description': nls_1.nls.localize('vscode/editorOptions/scrollBeyondLastColumn', 'Controls the number of extra characters beyond which the editor will scroll horizontally.'),
|
|
1026
1033
|
'type': 'integer',
|
|
1027
1034
|
'default': 5,
|
|
1028
1035
|
'minimum': 0,
|
|
1029
1036
|
'maximum': 1073741824
|
|
1030
1037
|
},
|
|
1031
1038
|
'editor.scrollBeyondLastLine': {
|
|
1032
|
-
'description': 'Controls whether the editor will scroll beyond the last line.',
|
|
1039
|
+
'description': nls_1.nls.localize('vscode/editorOptions/scrollBeyondLastLine', 'Controls whether the editor will scroll beyond the last line.'),
|
|
1033
1040
|
'type': 'boolean',
|
|
1034
1041
|
'default': true
|
|
1035
1042
|
},
|
|
1036
1043
|
'editor.scrollPredominantAxis': {
|
|
1037
|
-
'description': '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.',
|
|
1044
|
+
'description': nls_1.nls.localize('vscode/editorOptions/scrollPredominantAxis', '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.'),
|
|
1038
1045
|
'type': 'boolean',
|
|
1039
1046
|
'default': true
|
|
1040
1047
|
},
|
|
1041
1048
|
'editor.selectionClipboard': {
|
|
1042
|
-
'description': 'Controls whether the Linux primary clipboard should be supported.',
|
|
1049
|
+
'description': nls_1.nls.localize('vscode/editorOptions/selectionClipboard', 'Controls whether the Linux primary clipboard should be supported.'),
|
|
1043
1050
|
'included': platform.isLinux,
|
|
1044
1051
|
'type': 'boolean',
|
|
1045
1052
|
'default': true
|
|
1046
1053
|
},
|
|
1047
1054
|
'editor.selectionHighlight': {
|
|
1048
|
-
'description': 'Controls whether the editor should highlight matches similar to the selection.',
|
|
1055
|
+
'description': nls_1.nls.localize('vscode/editorOptions/selectionHighlight', 'Controls whether the editor should highlight matches similar to the selection.'),
|
|
1049
1056
|
'type': 'boolean',
|
|
1050
1057
|
'default': true
|
|
1051
1058
|
},
|
|
1052
1059
|
'editor.selectOnLineNumbers': {
|
|
1053
|
-
'description': 'Controls whether to select the corresponding line when clicking on the line number',
|
|
1060
|
+
'description': nls_1.nls.localize('vscode/editorOptions/selectOnLineNumbers', 'Controls whether to select the corresponding line when clicking on the line number'),
|
|
1054
1061
|
'type': 'boolean',
|
|
1055
1062
|
'default': true
|
|
1056
1063
|
},
|
|
1057
1064
|
'editor.showFoldingControls': {
|
|
1058
|
-
'description': 'Controls whether the fold controls on the gutter are automatically hidden.',
|
|
1065
|
+
'description': nls_1.nls.localize('vscode/editorOptions/showFoldingControls', 'Controls whether the fold controls on the gutter are automatically hidden.'),
|
|
1059
1066
|
'type': 'string',
|
|
1060
1067
|
'enum': [
|
|
1061
1068
|
'always',
|
|
1062
1069
|
'mouseover'
|
|
1063
1070
|
],
|
|
1071
|
+
'enumDescriptions': [
|
|
1072
|
+
nls_1.nls.localize('vscode/editorOptions/showFoldingControls.always', 'Always show the folding controls.'),
|
|
1073
|
+
nls_1.nls.localize('vscode/editorOptions/showFoldingControls.mouseover', 'Only show the folding controls when the mouse is over the gutter.'),
|
|
1074
|
+
],
|
|
1064
1075
|
'default': 'mouseover'
|
|
1065
1076
|
},
|
|
1066
1077
|
'editor.showUnused': {
|
|
1067
|
-
'description': 'Controls fading out of unused code.',
|
|
1078
|
+
'description': nls_1.nls.localize('vscode/editorOptions/showUnused', 'Controls fading out of unused code.'),
|
|
1068
1079
|
'type': 'boolean',
|
|
1069
1080
|
'default': true
|
|
1070
1081
|
},
|
|
1071
1082
|
'editor.showDeprecated': {
|
|
1072
|
-
'description': 'Controls strikethrough deprecated variables.',
|
|
1083
|
+
'description': nls_1.nls.localize('vscode/editorOptions/showDeprecated', 'Controls strikethrough deprecated variables.'),
|
|
1073
1084
|
'type': 'boolean',
|
|
1074
1085
|
'default': true
|
|
1075
1086
|
},
|
|
1076
1087
|
'editor.inlineHints.enabled': {
|
|
1077
1088
|
'type': 'boolean',
|
|
1078
1089
|
'default': true,
|
|
1079
|
-
'description': 'Enables the inline hints in the editor.'
|
|
1090
|
+
'description': nls_1.nls.localize('vscode/editorOptions/editor.inlayHints.enabled', 'Enables the inline hints in the editor.')
|
|
1080
1091
|
},
|
|
1081
1092
|
'editor.inlineHints.fontSize': {
|
|
1082
1093
|
'type': 'number',
|
|
1083
1094
|
'default': exports.EDITOR_FONT_DEFAULTS.fontSize,
|
|
1084
|
-
description: 'Controls font size of inline hints in the editor. When set to `0`, the 90% of `#editor.fontSize#` is used.'
|
|
1095
|
+
description: nls_1.nls.localize('vscode/editorOptions/editor.inlayHints.fontSize', 'Controls font size of inline hints in the editor. When set to `0`, the 90% of `#editor.fontSize#` is used.')
|
|
1085
1096
|
},
|
|
1086
1097
|
'editor.inlineHints.fontFamily': {
|
|
1087
1098
|
'type': 'string',
|
|
1088
1099
|
'default': exports.EDITOR_FONT_DEFAULTS.fontFamily,
|
|
1089
|
-
'description': 'Controls font family of inline hints in the editor.'
|
|
1100
|
+
'description': nls_1.nls.localize('vscode/editorOptions/inlayHints.fontFamily', 'Controls font family of inline hints in the editor.')
|
|
1090
1101
|
},
|
|
1091
1102
|
'editor.snippetSuggestions': {
|
|
1092
1103
|
'enumDescriptions': [
|
|
1093
|
-
'Show snippet suggestions on top of other suggestions.',
|
|
1094
|
-
'Show snippet suggestions below other suggestions.',
|
|
1095
|
-
'Show snippets suggestions with other suggestions.',
|
|
1096
|
-
'Do not show snippet suggestions.'
|
|
1104
|
+
nls_1.nls.localize('vscode/editorOptions/snippetSuggestions.top', 'Show snippet suggestions on top of other suggestions.'),
|
|
1105
|
+
nls_1.nls.localize('vscode/editorOptions/snippetSuggestions.bottom', 'Show snippet suggestions below other suggestions.'),
|
|
1106
|
+
nls_1.nls.localize('vscode/editorOptions/snippetSuggestions.inline', 'Show snippets suggestions with other suggestions.'),
|
|
1107
|
+
nls_1.nls.localize('vscode/editorOptions/snippetSuggestions.none', 'Do not show snippet suggestions.')
|
|
1097
1108
|
],
|
|
1098
|
-
'description': 'Controls whether snippets are shown with other suggestions and how they are sorted.',
|
|
1109
|
+
'description': nls_1.nls.localize('vscode/editorOptions/snippetSuggestions', 'Controls whether snippets are shown with other suggestions and how they are sorted.'),
|
|
1099
1110
|
'type': 'string',
|
|
1100
1111
|
'enum': [
|
|
1101
1112
|
'top',
|
|
@@ -1106,22 +1117,22 @@ const codeEditorPreferenceProperties = {
|
|
|
1106
1117
|
'default': 'inline'
|
|
1107
1118
|
},
|
|
1108
1119
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
1109
|
-
'description': 'Whether leading and trailing whitespace should always be selected.',
|
|
1120
|
+
'description': nls_1.nls.localize('vscode/editorOptions/selectLeadingAndTrailingWhitespace', 'Whether leading and trailing whitespace should always be selected.'),
|
|
1110
1121
|
'default': true,
|
|
1111
1122
|
'type': 'boolean'
|
|
1112
1123
|
},
|
|
1113
1124
|
'editor.smoothScrolling': {
|
|
1114
|
-
'description': 'Controls whether the editor will scroll using an animation.',
|
|
1125
|
+
'description': nls_1.nls.localize('vscode/editorOptions/smoothScrolling', 'Controls whether the editor will scroll using an animation.'),
|
|
1115
1126
|
'type': 'boolean',
|
|
1116
1127
|
'default': false
|
|
1117
1128
|
},
|
|
1118
1129
|
'editor.stickyTabStops': {
|
|
1119
|
-
'description': 'Emulate selection behaviour of tab characters when using spaces for indentation. Selection will stick to tab stops.',
|
|
1130
|
+
'description': nls_1.nls.localize('vscode/editorOptions/stickyTabStops', 'Emulate selection behaviour of tab characters when using spaces for indentation. Selection will stick to tab stops.'),
|
|
1120
1131
|
'type': 'boolean',
|
|
1121
1132
|
'default': false
|
|
1122
1133
|
},
|
|
1123
1134
|
'editor.stopRenderingLineAfter': {
|
|
1124
|
-
'description': 'Performance guard: Stop rendering a line after x characters.',
|
|
1135
|
+
'description': nls_1.nls.localize('theia/editor/stopRenderingLineAfter', 'Performance guard: Stop rendering a line after x characters.'),
|
|
1125
1136
|
'type': 'integer',
|
|
1126
1137
|
'default': 10000,
|
|
1127
1138
|
'minimum': -1,
|
|
@@ -1134,215 +1145,215 @@ const codeEditorPreferenceProperties = {
|
|
|
1134
1145
|
'replace'
|
|
1135
1146
|
],
|
|
1136
1147
|
'enumDescriptions': [
|
|
1137
|
-
'Insert suggestion without overwriting text right of the cursor.',
|
|
1138
|
-
'Insert suggestion and overwrite text right of the cursor.'
|
|
1148
|
+
nls_1.nls.localize('vscode/editorOptions/suggest.insertMode.insert', 'Insert suggestion without overwriting text right of the cursor.'),
|
|
1149
|
+
nls_1.nls.localize('vscode/editorOptions/suggest.insertMode.replace', 'Insert suggestion and overwrite text right of the cursor.')
|
|
1139
1150
|
],
|
|
1140
1151
|
'default': 'insert',
|
|
1141
|
-
'description': 'Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.'
|
|
1152
|
+
'description': nls_1.nls.localize('vscode/editorOptions/suggest.insertMode', 'Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.')
|
|
1142
1153
|
},
|
|
1143
1154
|
'editor.suggest.insertHighlight': {
|
|
1144
1155
|
'type': 'boolean',
|
|
1145
1156
|
'default': false,
|
|
1146
|
-
'description': 'Controls whether unexpected text modifications while accepting completions should be highlighted, e.g `insertMode` is `replace` but the completion only supports `insert`.'
|
|
1157
|
+
'description': nls_1.nls.localize('theia/editor/suggest.insertHighlight', 'Controls whether unexpected text modifications while accepting completions should be highlighted, e.g `insertMode` is `replace` but the completion only supports `insert`.')
|
|
1147
1158
|
},
|
|
1148
1159
|
'editor.suggest.filterGraceful': {
|
|
1149
1160
|
'type': 'boolean',
|
|
1150
1161
|
'default': true,
|
|
1151
|
-
'description': 'Controls whether filtering and sorting suggestions accounts for small typos.'
|
|
1162
|
+
'description': nls_1.nls.localize('vscode/editorOptions/suggest.filterGraceful', 'Controls whether filtering and sorting suggestions accounts for small typos.')
|
|
1152
1163
|
},
|
|
1153
1164
|
'editor.suggest.localityBonus': {
|
|
1154
1165
|
'type': 'boolean',
|
|
1155
1166
|
'default': false,
|
|
1156
|
-
'description': 'Controls whether sorting favours words that appear close to the cursor.'
|
|
1167
|
+
'description': nls_1.nls.localize('vscode/editorOptions/suggest.localityBonus', 'Controls whether sorting favours words that appear close to the cursor.')
|
|
1157
1168
|
},
|
|
1158
1169
|
'editor.suggest.shareSuggestSelections': {
|
|
1159
1170
|
'type': 'boolean',
|
|
1160
1171
|
'default': false,
|
|
1161
|
-
'markdownDescription': 'Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).'
|
|
1172
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/suggest.shareSuggestSelections', 'Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).')
|
|
1162
1173
|
},
|
|
1163
1174
|
'editor.suggest.snippetsPreventQuickSuggestions': {
|
|
1164
1175
|
'type': 'boolean',
|
|
1165
1176
|
'default': true,
|
|
1166
|
-
'description': 'Controls whether an active snippet prevents quick suggestions.'
|
|
1177
|
+
'description': nls_1.nls.localize('vscode/editorOptions/suggest.snippetsPreventQuickSuggestions', 'Controls whether an active snippet prevents quick suggestions.')
|
|
1167
1178
|
},
|
|
1168
1179
|
'editor.suggest.showIcons': {
|
|
1169
1180
|
'type': 'boolean',
|
|
1170
1181
|
'default': true,
|
|
1171
|
-
'description': 'Controls whether to show or hide icons in suggestions.'
|
|
1182
|
+
'description': nls_1.nls.localize('vscode/editorOptions/suggest.showIcons', 'Controls whether to show or hide icons in suggestions.')
|
|
1172
1183
|
},
|
|
1173
1184
|
'editor.suggest.maxVisibleSuggestions': {
|
|
1174
1185
|
'type': 'number',
|
|
1175
1186
|
'default': 12,
|
|
1176
1187
|
'minimum': 1,
|
|
1177
1188
|
'maximum': 15,
|
|
1178
|
-
'description': 'Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).'
|
|
1189
|
+
'description': nls_1.nls.localize('vscode/editorOptions/suggest.maxVisibleSuggestions.dep', 'Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).')
|
|
1179
1190
|
},
|
|
1180
1191
|
'editor.suggest.filteredTypes': {
|
|
1181
1192
|
'type': 'object',
|
|
1182
1193
|
'default': {},
|
|
1183
|
-
'deprecationMessage': 'This setting is deprecated, please use separate settings like `editor.suggest.showKeywords` or `editor.suggest.showSnippets` instead.'
|
|
1194
|
+
'deprecationMessage': nls_1.nls.localize('vscode/editorOptions/deprecated', 'This setting is deprecated, please use separate settings like `editor.suggest.showKeywords` or `editor.suggest.showSnippets` instead.')
|
|
1184
1195
|
},
|
|
1185
1196
|
'editor.suggest.showMethods': {
|
|
1186
1197
|
'type': 'boolean',
|
|
1187
1198
|
'default': true,
|
|
1188
|
-
'markdownDescription': 'When enabled IntelliSense shows `method`-suggestions.'
|
|
1199
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showMethods', 'When enabled IntelliSense shows `method`-suggestions.')
|
|
1189
1200
|
},
|
|
1190
1201
|
'editor.suggest.showFunctions': {
|
|
1191
1202
|
'type': 'boolean',
|
|
1192
1203
|
'default': true,
|
|
1193
|
-
'markdownDescription': 'When enabled IntelliSense shows `function`-suggestions.'
|
|
1204
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showFunctions', 'When enabled IntelliSense shows `function`-suggestions.')
|
|
1194
1205
|
},
|
|
1195
1206
|
'editor.suggest.showConstructors': {
|
|
1196
1207
|
'type': 'boolean',
|
|
1197
1208
|
'default': true,
|
|
1198
|
-
'markdownDescription': 'When enabled IntelliSense shows `constructor`-suggestions.'
|
|
1209
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showConstructors', 'When enabled IntelliSense shows `constructor`-suggestions.')
|
|
1199
1210
|
},
|
|
1200
1211
|
'editor.suggest.showFields': {
|
|
1201
1212
|
'type': 'boolean',
|
|
1202
1213
|
'default': true,
|
|
1203
|
-
'markdownDescription': 'When enabled IntelliSense shows `field`-suggestions.'
|
|
1214
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showFields', 'When enabled IntelliSense shows `field`-suggestions.')
|
|
1204
1215
|
},
|
|
1205
1216
|
'editor.suggest.showVariables': {
|
|
1206
1217
|
'type': 'boolean',
|
|
1207
1218
|
'default': true,
|
|
1208
|
-
'markdownDescription': 'When enabled IntelliSense shows `variable`-suggestions.'
|
|
1219
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showVariables', 'When enabled IntelliSense shows `variable`-suggestions.')
|
|
1209
1220
|
},
|
|
1210
1221
|
'editor.suggest.showClasses': {
|
|
1211
1222
|
'type': 'boolean',
|
|
1212
1223
|
'default': true,
|
|
1213
|
-
'markdownDescription': 'When enabled IntelliSense shows `class`-suggestions.'
|
|
1224
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showClasss', 'When enabled IntelliSense shows `class`-suggestions.')
|
|
1214
1225
|
},
|
|
1215
1226
|
'editor.suggest.showStructs': {
|
|
1216
1227
|
'type': 'boolean',
|
|
1217
1228
|
'default': true,
|
|
1218
|
-
'markdownDescription': 'When enabled IntelliSense shows `struct`-suggestions.'
|
|
1229
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showStructs', 'When enabled IntelliSense shows `struct`-suggestions.')
|
|
1219
1230
|
},
|
|
1220
1231
|
'editor.suggest.showInterfaces': {
|
|
1221
1232
|
'type': 'boolean',
|
|
1222
1233
|
'default': true,
|
|
1223
|
-
'markdownDescription': 'When enabled IntelliSense shows `interface`-suggestions.'
|
|
1234
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showInterfaces', 'When enabled IntelliSense shows `interface`-suggestions.')
|
|
1224
1235
|
},
|
|
1225
1236
|
'editor.suggest.showModules': {
|
|
1226
1237
|
'type': 'boolean',
|
|
1227
1238
|
'default': true,
|
|
1228
|
-
'markdownDescription': 'When enabled IntelliSense shows `module`-suggestions.'
|
|
1239
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showModules', 'When enabled IntelliSense shows `module`-suggestions.')
|
|
1229
1240
|
},
|
|
1230
1241
|
'editor.suggest.showProperties': {
|
|
1231
1242
|
'type': 'boolean',
|
|
1232
1243
|
'default': true,
|
|
1233
|
-
'markdownDescription': 'When enabled IntelliSense shows `property`-suggestions.'
|
|
1244
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showPropertys', 'When enabled IntelliSense shows `property`-suggestions.')
|
|
1234
1245
|
},
|
|
1235
1246
|
'editor.suggest.showEvents': {
|
|
1236
1247
|
'type': 'boolean',
|
|
1237
1248
|
'default': true,
|
|
1238
|
-
'markdownDescription': 'When enabled IntelliSense shows `event`-suggestions.'
|
|
1249
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showEvents', 'When enabled IntelliSense shows `event`-suggestions.')
|
|
1239
1250
|
},
|
|
1240
1251
|
'editor.suggest.showOperators': {
|
|
1241
1252
|
'type': 'boolean',
|
|
1242
1253
|
'default': true,
|
|
1243
|
-
'markdownDescription': 'When enabled IntelliSense shows `operator`-suggestions.'
|
|
1254
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showOperators', 'When enabled IntelliSense shows `operator`-suggestions.')
|
|
1244
1255
|
},
|
|
1245
1256
|
'editor.suggest.showUnits': {
|
|
1246
1257
|
'type': 'boolean',
|
|
1247
1258
|
'default': true,
|
|
1248
|
-
'markdownDescription': 'When enabled IntelliSense shows `unit`-suggestions.'
|
|
1259
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showUnits', 'When enabled IntelliSense shows `unit`-suggestions.')
|
|
1249
1260
|
},
|
|
1250
1261
|
'editor.suggest.showValues': {
|
|
1251
1262
|
'type': 'boolean',
|
|
1252
1263
|
'default': true,
|
|
1253
|
-
'markdownDescription': 'When enabled IntelliSense shows `value`-suggestions.'
|
|
1264
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showValues', 'When enabled IntelliSense shows `value`-suggestions.')
|
|
1254
1265
|
},
|
|
1255
1266
|
'editor.suggest.showConstants': {
|
|
1256
1267
|
'type': 'boolean',
|
|
1257
1268
|
'default': true,
|
|
1258
|
-
'markdownDescription': 'When enabled IntelliSense shows `constant`-suggestions.'
|
|
1269
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showConstants', 'When enabled IntelliSense shows `constant`-suggestions.')
|
|
1259
1270
|
},
|
|
1260
1271
|
'editor.suggest.showEnums': {
|
|
1261
1272
|
'type': 'boolean',
|
|
1262
1273
|
'default': true,
|
|
1263
|
-
'markdownDescription': 'When enabled IntelliSense shows `enum`-suggestions.'
|
|
1274
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showEnums', 'When enabled IntelliSense shows `enum`-suggestions.')
|
|
1264
1275
|
},
|
|
1265
1276
|
'editor.suggest.showEnumMembers': {
|
|
1266
1277
|
'type': 'boolean',
|
|
1267
1278
|
'default': true,
|
|
1268
|
-
'markdownDescription': 'When enabled IntelliSense shows `enumMember`-suggestions.'
|
|
1279
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showEnumMembers', 'When enabled IntelliSense shows `enumMember`-suggestions.')
|
|
1269
1280
|
},
|
|
1270
1281
|
'editor.suggest.showKeywords': {
|
|
1271
1282
|
'type': 'boolean',
|
|
1272
1283
|
'default': true,
|
|
1273
|
-
'markdownDescription': 'When enabled IntelliSense shows `keyword`-suggestions.'
|
|
1284
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showKeywords', 'When enabled IntelliSense shows `keyword`-suggestions.')
|
|
1274
1285
|
},
|
|
1275
1286
|
'editor.suggest.showWords': {
|
|
1276
1287
|
'type': 'boolean',
|
|
1277
1288
|
'default': true,
|
|
1278
|
-
'markdownDescription': 'When enabled IntelliSense shows `text`-suggestions.'
|
|
1289
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showTexts', 'When enabled IntelliSense shows `text`-suggestions.')
|
|
1279
1290
|
},
|
|
1280
1291
|
'editor.suggest.showColors': {
|
|
1281
1292
|
'type': 'boolean',
|
|
1282
1293
|
'default': true,
|
|
1283
|
-
'markdownDescription': 'When enabled IntelliSense shows `color`-suggestions.'
|
|
1294
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showColors', 'When enabled IntelliSense shows `color`-suggestions.')
|
|
1284
1295
|
},
|
|
1285
1296
|
'editor.suggest.showFiles': {
|
|
1286
1297
|
'type': 'boolean',
|
|
1287
1298
|
'default': true,
|
|
1288
|
-
'markdownDescription': 'When enabled IntelliSense shows `file`-suggestions.'
|
|
1299
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showFiles', 'When enabled IntelliSense shows `file`-suggestions.')
|
|
1289
1300
|
},
|
|
1290
1301
|
'editor.suggest.showReferences': {
|
|
1291
1302
|
'type': 'boolean',
|
|
1292
1303
|
'default': true,
|
|
1293
|
-
'markdownDescription': 'When enabled IntelliSense shows `reference`-suggestions.'
|
|
1304
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showReferences', 'When enabled IntelliSense shows `reference`-suggestions.')
|
|
1294
1305
|
},
|
|
1295
1306
|
'editor.suggest.showCustomcolors': {
|
|
1296
1307
|
'type': 'boolean',
|
|
1297
1308
|
'default': true,
|
|
1298
|
-
'markdownDescription': 'When enabled IntelliSense shows `customcolor`-suggestions.'
|
|
1309
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showCustomcolors', 'When enabled IntelliSense shows `customcolor`-suggestions.')
|
|
1299
1310
|
},
|
|
1300
1311
|
'editor.suggest.showFolders': {
|
|
1301
1312
|
'type': 'boolean',
|
|
1302
1313
|
'default': true,
|
|
1303
|
-
'markdownDescription': 'When enabled IntelliSense shows `folder`-suggestions.'
|
|
1314
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/ineditor.suggest.showFolderssertSpaces', 'When enabled IntelliSense shows `folder`-suggestions.')
|
|
1304
1315
|
},
|
|
1305
1316
|
'editor.suggest.showTypeParameters': {
|
|
1306
1317
|
'type': 'boolean',
|
|
1307
1318
|
'default': true,
|
|
1308
|
-
'markdownDescription': 'When enabled IntelliSense shows `typeParameter`-suggestions.'
|
|
1319
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showTypeParameters', 'When enabled IntelliSense shows `typeParameter`-suggestions.')
|
|
1309
1320
|
},
|
|
1310
1321
|
'editor.suggest.showSnippets': {
|
|
1311
1322
|
'type': 'boolean',
|
|
1312
1323
|
'default': true,
|
|
1313
|
-
'markdownDescription': 'When enabled IntelliSense shows `snippet`-suggestions.'
|
|
1324
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/editor.suggest.showSnippets', 'When enabled IntelliSense shows `snippet`-suggestions.')
|
|
1314
1325
|
},
|
|
1315
1326
|
'editor.suggest.hideStatusBar': {
|
|
1316
1327
|
'type': 'boolean',
|
|
1317
1328
|
'default': true,
|
|
1318
|
-
'markdownDescription': 'Controls the visibility of the status bar at the bottom of the suggest widget.'
|
|
1329
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/suggest.showStatusBar', 'Controls the visibility of the status bar at the bottom of the suggest widget.')
|
|
1319
1330
|
},
|
|
1320
1331
|
'editor.suggestFontSize': {
|
|
1321
|
-
'markdownDescription': 'Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.',
|
|
1332
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/suggestFontSize', 'Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.'),
|
|
1322
1333
|
'type': 'integer',
|
|
1323
1334
|
'default': 0,
|
|
1324
1335
|
'minimum': 0,
|
|
1325
1336
|
'maximum': 1000
|
|
1326
1337
|
},
|
|
1327
1338
|
'editor.suggestLineHeight': {
|
|
1328
|
-
'markdownDescription': 'Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.',
|
|
1339
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/suggestLineHeight', 'Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.'),
|
|
1329
1340
|
'type': 'integer',
|
|
1330
1341
|
'default': 0,
|
|
1331
1342
|
'minimum': 0,
|
|
1332
1343
|
'maximum': 1000
|
|
1333
1344
|
},
|
|
1334
1345
|
'editor.suggestOnTriggerCharacters': {
|
|
1335
|
-
'description': 'Controls whether suggestions should automatically show up when typing trigger characters.',
|
|
1346
|
+
'description': nls_1.nls.localize('vscode/editorOptions/suggestOnTriggerCharacters', 'Controls whether suggestions should automatically show up when typing trigger characters.'),
|
|
1336
1347
|
'type': 'boolean',
|
|
1337
1348
|
'default': true
|
|
1338
1349
|
},
|
|
1339
1350
|
'editor.suggestSelection': {
|
|
1340
1351
|
'markdownEnumDescriptions': [
|
|
1341
|
-
'Always select the first suggestion.',
|
|
1342
|
-
'Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently.',
|
|
1343
|
-
'Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.'
|
|
1352
|
+
nls_1.nls.localize('vscode/editorOptions/suggestSelection.first', 'Always select the first suggestion.'),
|
|
1353
|
+
nls_1.nls.localize('vscode/editorOptions/suggestSelection.recentlyUsed', 'Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently.'),
|
|
1354
|
+
nls_1.nls.localize('vscode/editorOptions/suggestSelection.recentlyUsedByPrefix', 'Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.')
|
|
1344
1355
|
],
|
|
1345
|
-
'description': 'Controls how suggestions are pre-selected when showing the suggest list.',
|
|
1356
|
+
'description': nls_1.nls.localize('vscode/editorOptions/suggestSelection', 'Controls how suggestions are pre-selected when showing the suggest list.'),
|
|
1346
1357
|
'type': 'string',
|
|
1347
1358
|
'enum': [
|
|
1348
1359
|
'first',
|
|
@@ -1353,11 +1364,11 @@ const codeEditorPreferenceProperties = {
|
|
|
1353
1364
|
},
|
|
1354
1365
|
'editor.tabCompletion': {
|
|
1355
1366
|
'enumDescriptions': [
|
|
1356
|
-
'Tab complete will insert the best matching suggestion when pressing tab.',
|
|
1357
|
-
'Disable tab completions.',
|
|
1358
|
-
'Tab complete snippets when their prefix match. Works best when `quickSuggestions` aren\'t enabled.'
|
|
1367
|
+
nls_1.nls.localize('vscode/editorOptions/tabCompletion.on', 'Tab complete will insert the best matching suggestion when pressing tab.'),
|
|
1368
|
+
nls_1.nls.localize('vscode/editorOptions/tabCompletion.off', 'Disable tab completions.'),
|
|
1369
|
+
nls_1.nls.localize('vscode/editorOptions/tabCompletion.onlySnippets', 'Tab complete snippets when their prefix match. Works best when `quickSuggestions` aren\'t enabled.')
|
|
1359
1370
|
],
|
|
1360
|
-
'description': 'Enables tab completions.',
|
|
1371
|
+
'description': nls_1.nls.localize('vscode/editorOptions/tabCompletion', 'Enables tab completions.'),
|
|
1361
1372
|
'type': 'string',
|
|
1362
1373
|
'enum': [
|
|
1363
1374
|
'on',
|
|
@@ -1367,7 +1378,7 @@ const codeEditorPreferenceProperties = {
|
|
|
1367
1378
|
'default': 'off'
|
|
1368
1379
|
},
|
|
1369
1380
|
'editor.tabIndex': {
|
|
1370
|
-
'markdownDescription': 'Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.',
|
|
1381
|
+
'markdownDescription': nls_1.nls.localize('theia/editor/tabIndex', 'Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.'),
|
|
1371
1382
|
'type': 'integer',
|
|
1372
1383
|
'default': 0,
|
|
1373
1384
|
'minimum': -1,
|
|
@@ -1375,33 +1386,33 @@ const codeEditorPreferenceProperties = {
|
|
|
1375
1386
|
},
|
|
1376
1387
|
'editor.unusualLineTerminators': {
|
|
1377
1388
|
'markdownEnumDescriptions': [
|
|
1378
|
-
'Unusual line terminators are automatically removed.',
|
|
1379
|
-
'Unusual line terminators are ignored.',
|
|
1380
|
-
'Unusual line terminators prompt to be removed.'
|
|
1389
|
+
nls_1.nls.localize('unusualLineTerminators.auto', 'Unusual line terminators are automatically removed.'),
|
|
1390
|
+
nls_1.nls.localize('unusualLineTerminators.off', 'Unusual line terminators are ignored.'),
|
|
1391
|
+
nls_1.nls.localize('unusualLineTerminators.prompt', 'Unusual line terminators prompt to be removed.')
|
|
1381
1392
|
],
|
|
1382
|
-
'description': 'Remove unusual line terminators that might cause problems.',
|
|
1393
|
+
'description': nls_1.nls.localize('vscode/editorOptions/unusualLineTerminators', 'Remove unusual line terminators that might cause problems.'),
|
|
1383
1394
|
'type': 'string',
|
|
1384
1395
|
'enum': ['auto', 'off', 'prompt'],
|
|
1385
1396
|
'default': 'prompt'
|
|
1386
1397
|
},
|
|
1387
1398
|
'editor.useTabStops': {
|
|
1388
|
-
'description': 'Inserting and deleting whitespace follows tab stops.',
|
|
1399
|
+
'description': nls_1.nls.localize('vscode/editorOptions/useTabStops', 'Inserting and deleting whitespace follows tab stops.'),
|
|
1389
1400
|
'type': 'boolean',
|
|
1390
1401
|
'default': true
|
|
1391
1402
|
},
|
|
1392
1403
|
'editor.wordSeparators': {
|
|
1393
|
-
'description': 'Characters that will be used as word separators when doing word related navigations or operations.',
|
|
1404
|
+
'description': nls_1.nls.localize('vscode/editorOptions/wordSeparators', 'Characters that will be used as word separators when doing word related navigations or operations.'),
|
|
1394
1405
|
'type': 'string',
|
|
1395
1406
|
'default': exports.DEFAULT_WORD_SEPARATORS
|
|
1396
1407
|
},
|
|
1397
1408
|
'editor.wordWrap': {
|
|
1398
1409
|
'markdownEnumDescriptions': [
|
|
1399
|
-
'Lines will never wrap.',
|
|
1400
|
-
'Lines will wrap at the viewport width.',
|
|
1401
|
-
'Lines will wrap at `#editor.wordWrapColumn#`.',
|
|
1402
|
-
'Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.'
|
|
1410
|
+
nls_1.nls.localize('vscode/editorOptions/wordWrap.off', 'Lines will never wrap.'),
|
|
1411
|
+
nls_1.nls.localize('vscode/editorOptions/wordWrap.on', 'Lines will wrap at the viewport width.'),
|
|
1412
|
+
nls_1.nls.localize('vscode/editorOptions/wordWrap.wordWrapColumn', 'Lines will wrap at `#editor.wordWrapColumn#`.'),
|
|
1413
|
+
nls_1.nls.localize('vscode/editorOptions/wordWrap.bounded', 'Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.')
|
|
1403
1414
|
],
|
|
1404
|
-
'description': 'Controls how lines should wrap.',
|
|
1415
|
+
'description': nls_1.nls.localize('vscode/editorOptions/wordWrap', 'Controls how lines should wrap.'),
|
|
1405
1416
|
'type': 'string',
|
|
1406
1417
|
'enum': [
|
|
1407
1418
|
'off',
|
|
@@ -1412,42 +1423,42 @@ const codeEditorPreferenceProperties = {
|
|
|
1412
1423
|
'default': 'off'
|
|
1413
1424
|
},
|
|
1414
1425
|
'editor.wordWrapBreakAfterCharacters': {
|
|
1415
|
-
'description': 'Configure word wrapping characters. A break will be introduced after these characters.',
|
|
1426
|
+
'description': nls_1.nls.localize('theia/editor/wordWrapBreakAfterCharacters', 'Configure word wrapping characters. A break will be introduced after these characters.'),
|
|
1416
1427
|
'type': 'string',
|
|
1417
1428
|
'default': ' \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」',
|
|
1418
1429
|
},
|
|
1419
1430
|
'editor.wordWrapBreakBeforeCharacters': {
|
|
1420
|
-
'description': 'Configure word wrapping characters. A break will be introduced before these characters.',
|
|
1431
|
+
'description': nls_1.nls.localize('theia/editor/wordWrapBreakBeforeCharacters', 'Configure word wrapping characters. A break will be introduced before these characters.'),
|
|
1421
1432
|
'type': 'string',
|
|
1422
1433
|
'default': '([{‘“〈《「『【〔([{「£¥$£¥++',
|
|
1423
1434
|
},
|
|
1424
1435
|
'editor.wordWrapColumn': {
|
|
1425
|
-
'markdownDescription': 'Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.',
|
|
1436
|
+
'markdownDescription': nls_1.nls.localize('vscode/editorOptions/wordWrapColumn', 'Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.'),
|
|
1426
1437
|
'type': 'integer',
|
|
1427
1438
|
'default': 80,
|
|
1428
1439
|
'minimum': 1,
|
|
1429
1440
|
'maximum': 1073741824
|
|
1430
1441
|
},
|
|
1431
1442
|
'editor.wordWrapOverride1': {
|
|
1432
|
-
'markdownDescription': 'Override the `wordWrap` setting.',
|
|
1443
|
+
'markdownDescription': nls_1.nls.localize('theia/editor/wordWrapOverride1', 'Override the `wordWrap` setting.'),
|
|
1433
1444
|
'type': 'string',
|
|
1434
1445
|
'enum': ['off', 'on', 'inherit'],
|
|
1435
1446
|
'default': 'inherit'
|
|
1436
1447
|
},
|
|
1437
1448
|
'editor.wordWrapOverride2': {
|
|
1438
|
-
'markdownDescription': 'Override the `wordWrapOverride1` setting.',
|
|
1449
|
+
'markdownDescription': nls_1.nls.localize('theia/editor/wordWrapOverride2', 'Override the `wordWrapOverride1` setting.'),
|
|
1439
1450
|
'type': 'string',
|
|
1440
1451
|
'enum': ['off', 'on', 'inherit'],
|
|
1441
1452
|
'default': 'inherit'
|
|
1442
1453
|
},
|
|
1443
1454
|
'editor.wrappingIndent': {
|
|
1444
1455
|
'enumDescriptions': [
|
|
1445
|
-
'No indentation. Wrapped lines begin at column 1.',
|
|
1446
|
-
'Wrapped lines get the same indentation as the parent.',
|
|
1447
|
-
'Wrapped lines get +1 indentation toward the parent.',
|
|
1448
|
-
'Wrapped lines get +2 indentation toward the parent.'
|
|
1456
|
+
nls_1.nls.localize('vscode/editorOptions/wrappingIndent.none', 'No indentation. Wrapped lines begin at column 1.'),
|
|
1457
|
+
nls_1.nls.localize('vscode/editorOptions/wrappingIndent.same', 'Wrapped lines get the same indentation as the parent.'),
|
|
1458
|
+
nls_1.nls.localize('vscode/editorOptions/wrappingIndent.indent', 'Wrapped lines get +1 indentation toward the parent.'),
|
|
1459
|
+
nls_1.nls.localize('vscode/editorOptions/wrappingIndent.deepIndent', 'Wrapped lines get +2 indentation toward the parent.')
|
|
1449
1460
|
],
|
|
1450
|
-
'description': 'Controls the indentation of wrapped lines.',
|
|
1461
|
+
'description': nls_1.nls.localize('vscode/editorOptions/wrappingIndent', 'Controls the indentation of wrapped lines.'),
|
|
1451
1462
|
'type': 'string',
|
|
1452
1463
|
'enum': [
|
|
1453
1464
|
'none',
|
|
@@ -1459,10 +1470,10 @@ const codeEditorPreferenceProperties = {
|
|
|
1459
1470
|
},
|
|
1460
1471
|
'editor.wrappingStrategy': {
|
|
1461
1472
|
'enumDescriptions': [
|
|
1462
|
-
'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.',
|
|
1463
|
-
'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.'
|
|
1473
|
+
nls_1.nls.localize('vscode/editorOptions/wrappingStrategy.simple', '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.'),
|
|
1474
|
+
nls_1.nls.localize('vscode/editorOptions/wrappingStrategy.advanced', '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.')
|
|
1464
1475
|
],
|
|
1465
|
-
'description': 'Controls the algorithm that computes wrapping points.',
|
|
1476
|
+
'description': nls_1.nls.localize('vscode/editorOptions/wrappingStrategy', 'Controls the algorithm that computes wrapping points.'),
|
|
1466
1477
|
'type': 'string',
|
|
1467
1478
|
'enum': [
|
|
1468
1479
|
'simple',
|
|
@@ -1482,25 +1493,25 @@ exports.editorPreferenceSchema = {
|
|
|
1482
1493
|
'off'
|
|
1483
1494
|
],
|
|
1484
1495
|
'default': 'off',
|
|
1485
|
-
'description': 'Controls auto save of dirty files.',
|
|
1496
|
+
'description': nls_1.nls.localize('vscode/files.contribution/autoSave', 'Controls auto save of dirty files.'),
|
|
1486
1497
|
overridable: false
|
|
1487
1498
|
}, 'editor.autoSaveDelay': {
|
|
1488
1499
|
'type': 'number',
|
|
1489
1500
|
'default': 500,
|
|
1490
|
-
'description': 'Configure the auto save delay in milliseconds.',
|
|
1501
|
+
'description': nls_1.nls.localize('vscode/files.contribution/autoSaveDelay', 'Configure the auto save delay in milliseconds.'),
|
|
1491
1502
|
overridable: false
|
|
1492
1503
|
}, 'editor.formatOnSave': {
|
|
1493
1504
|
'type': 'boolean',
|
|
1494
1505
|
'default': false,
|
|
1495
|
-
'description': 'Enable format on manual save.'
|
|
1506
|
+
'description': nls_1.nls.localize('vscode/files.contribution/formatOnSave', 'Enable format on manual save.')
|
|
1496
1507
|
}, 'editor.formatOnSaveTimeout': {
|
|
1497
1508
|
'type': 'number',
|
|
1498
1509
|
'default': 750,
|
|
1499
|
-
'description': 'Timeout in milliseconds after which the formatting that is run on file save is cancelled.'
|
|
1510
|
+
'description': nls_1.nls.localize('theia/editor/formatOnSaveTimeout', 'Timeout in milliseconds after which the formatting that is run on file save is cancelled.')
|
|
1500
1511
|
}, 'editor.history.persistClosedEditors': {
|
|
1501
1512
|
'type': 'boolean',
|
|
1502
1513
|
'default': false,
|
|
1503
|
-
'description': 'Controls whether to persist closed editor history for the workspace across window reloads.'
|
|
1514
|
+
'description': nls_1.nls.localize('theia/editor/persistClosedEditors', 'Controls whether to persist closed editor history for the workspace across window reloads.')
|
|
1504
1515
|
}, 'files.eol': {
|
|
1505
1516
|
'type': 'string',
|
|
1506
1517
|
'enum': [
|
|
@@ -1509,12 +1520,12 @@ exports.editorPreferenceSchema = {
|
|
|
1509
1520
|
'auto'
|
|
1510
1521
|
],
|
|
1511
1522
|
'enumDescriptions': [
|
|
1512
|
-
'LF',
|
|
1513
|
-
'CRLF',
|
|
1514
|
-
'Uses operating system specific end of line character.'
|
|
1523
|
+
nls_1.nls.localize('vscode/files.contribution/eol.LF', 'LF'),
|
|
1524
|
+
nls_1.nls.localize('vscode/files.contribution/eol.CRLF', 'CRLF'),
|
|
1525
|
+
nls_1.nls.localize('vscode/files.contribution/eol.auto', 'Uses operating system specific end of line character.')
|
|
1515
1526
|
],
|
|
1516
1527
|
'default': 'auto',
|
|
1517
|
-
'description': 'The default end of line character.'
|
|
1528
|
+
'description': nls_1.nls.localize('vscode/files.contribution/eol', 'The default end of line character.')
|
|
1518
1529
|
} })
|
|
1519
1530
|
};
|
|
1520
1531
|
exports.EditorPreferenceContribution = Symbol('EditorPreferenceContribution');
|