@codingame/monaco-vscode-api 8.0.1 → 8.0.3
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/api.js +1 -1
- package/extensions.d.ts +24 -0
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +49 -49
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/editor.api.d.ts +91 -69
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +7 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +10 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +9 -9
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +166 -166
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +32 -32
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -8,7 +8,7 @@ const editorConfigurationBaseNode = ( (Object.freeze({
|
|
|
8
8
|
id: 'editor',
|
|
9
9
|
order: 5,
|
|
10
10
|
type: 'object',
|
|
11
|
-
title: ( localize(
|
|
11
|
+
title: ( localize(1501, "Editor")),
|
|
12
12
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
13
13
|
})));
|
|
14
14
|
const editorConfiguration = {
|
|
@@ -19,7 +19,7 @@ const editorConfiguration = {
|
|
|
19
19
|
default: EDITOR_MODEL_DEFAULTS.tabSize,
|
|
20
20
|
minimum: 1,
|
|
21
21
|
markdownDescription: ( localize(
|
|
22
|
-
|
|
22
|
+
1502,
|
|
23
23
|
"The number of spaces a tab is equal to. This setting is overridden based on the file contents when {0} is on.",
|
|
24
24
|
'`#editor.detectIndentation#`'
|
|
25
25
|
))
|
|
@@ -37,7 +37,7 @@ const editorConfiguration = {
|
|
|
37
37
|
],
|
|
38
38
|
default: 'tabSize',
|
|
39
39
|
markdownDescription: ( localize(
|
|
40
|
-
|
|
40
|
+
1503,
|
|
41
41
|
"The number of spaces used for indentation or `\"tabSize\"` to use the value from `#editor.tabSize#`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on."
|
|
42
42
|
))
|
|
43
43
|
},
|
|
@@ -45,7 +45,7 @@ const editorConfiguration = {
|
|
|
45
45
|
type: 'boolean',
|
|
46
46
|
default: EDITOR_MODEL_DEFAULTS.insertSpaces,
|
|
47
47
|
markdownDescription: ( localize(
|
|
48
|
-
|
|
48
|
+
1504,
|
|
49
49
|
"Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when {0} is on.",
|
|
50
50
|
'`#editor.detectIndentation#`'
|
|
51
51
|
))
|
|
@@ -54,7 +54,7 @@ const editorConfiguration = {
|
|
|
54
54
|
type: 'boolean',
|
|
55
55
|
default: EDITOR_MODEL_DEFAULTS.detectIndentation,
|
|
56
56
|
markdownDescription: ( localize(
|
|
57
|
-
|
|
57
|
+
1505,
|
|
58
58
|
"Controls whether {0} and {1} will be automatically detected when a file is opened based on the file contents.",
|
|
59
59
|
'`#editor.tabSize#`',
|
|
60
60
|
'`#editor.insertSpaces#`'
|
|
@@ -63,13 +63,13 @@ const editorConfiguration = {
|
|
|
63
63
|
'editor.trimAutoWhitespace': {
|
|
64
64
|
type: 'boolean',
|
|
65
65
|
default: EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,
|
|
66
|
-
description: ( localize(
|
|
66
|
+
description: ( localize(1506, "Remove trailing auto inserted whitespace."))
|
|
67
67
|
},
|
|
68
68
|
'editor.largeFileOptimizations': {
|
|
69
69
|
type: 'boolean',
|
|
70
70
|
default: EDITOR_MODEL_DEFAULTS.largeFileOptimizations,
|
|
71
71
|
description: ( localize(
|
|
72
|
-
|
|
72
|
+
1507,
|
|
73
73
|
"Special handling for large files to disable certain memory intensive features."
|
|
74
74
|
))
|
|
75
75
|
},
|
|
@@ -77,29 +77,29 @@ const editorConfiguration = {
|
|
|
77
77
|
enum: ['off', 'currentDocument', 'matchingDocuments', 'allDocuments'],
|
|
78
78
|
default: 'matchingDocuments',
|
|
79
79
|
enumDescriptions: [
|
|
80
|
-
( localize(
|
|
81
|
-
( localize(
|
|
82
|
-
( localize(
|
|
83
|
-
( localize(
|
|
80
|
+
( localize(1508, 'Turn off Word Based Suggestions.')),
|
|
81
|
+
( localize(1509, 'Only suggest words from the active document.')),
|
|
82
|
+
( localize(1510, 'Suggest words from all open documents of the same language.')),
|
|
83
|
+
( localize(1511, 'Suggest words from all open documents.'))
|
|
84
84
|
],
|
|
85
85
|
description: ( localize(
|
|
86
|
-
|
|
86
|
+
1512,
|
|
87
87
|
"Controls whether completions should be computed based on words in the document and from which documents they are computed."
|
|
88
88
|
))
|
|
89
89
|
},
|
|
90
90
|
'editor.semanticHighlighting.enabled': {
|
|
91
91
|
enum: [true, false, 'configuredByTheme'],
|
|
92
92
|
enumDescriptions: [
|
|
93
|
-
( localize(
|
|
94
|
-
( localize(
|
|
93
|
+
( localize(1513, 'Semantic highlighting enabled for all color themes.')),
|
|
94
|
+
( localize(1514, 'Semantic highlighting disabled for all color themes.')),
|
|
95
95
|
( localize(
|
|
96
|
-
|
|
96
|
+
1515,
|
|
97
97
|
'Semantic highlighting is configured by the current color theme\'s `semanticHighlighting` setting.'
|
|
98
98
|
))
|
|
99
99
|
],
|
|
100
100
|
default: 'configuredByTheme',
|
|
101
101
|
description: ( localize(
|
|
102
|
-
|
|
102
|
+
1516,
|
|
103
103
|
"Controls whether the semanticHighlighting is shown for the languages that support it."
|
|
104
104
|
))
|
|
105
105
|
},
|
|
@@ -107,7 +107,7 @@ const editorConfiguration = {
|
|
|
107
107
|
type: 'boolean',
|
|
108
108
|
default: false,
|
|
109
109
|
markdownDescription: ( localize(
|
|
110
|
-
|
|
110
|
+
1517,
|
|
111
111
|
"Keep peek editors open even when double-clicking their content or when hitting `Escape`."
|
|
112
112
|
))
|
|
113
113
|
},
|
|
@@ -115,7 +115,7 @@ const editorConfiguration = {
|
|
|
115
115
|
type: 'integer',
|
|
116
116
|
default: 20_000,
|
|
117
117
|
description: ( localize(
|
|
118
|
-
|
|
118
|
+
1518,
|
|
119
119
|
"Lines above this length will not be tokenized for performance reasons"
|
|
120
120
|
))
|
|
121
121
|
},
|
|
@@ -123,7 +123,7 @@ const editorConfiguration = {
|
|
|
123
123
|
type: 'boolean',
|
|
124
124
|
default: false,
|
|
125
125
|
description: ( localize(
|
|
126
|
-
|
|
126
|
+
1519,
|
|
127
127
|
"Controls whether the tokenization should happen asynchronously on a web worker."
|
|
128
128
|
)),
|
|
129
129
|
tags: ['experimental'],
|
|
@@ -132,7 +132,7 @@ const editorConfiguration = {
|
|
|
132
132
|
type: 'boolean',
|
|
133
133
|
default: false,
|
|
134
134
|
description: ( localize(
|
|
135
|
-
|
|
135
|
+
1520,
|
|
136
136
|
"Controls whether async tokenization should be logged. For debugging only."
|
|
137
137
|
)),
|
|
138
138
|
},
|
|
@@ -140,7 +140,7 @@ const editorConfiguration = {
|
|
|
140
140
|
type: 'boolean',
|
|
141
141
|
default: false,
|
|
142
142
|
description: ( localize(
|
|
143
|
-
|
|
143
|
+
1521,
|
|
144
144
|
"Controls whether async tokenization should be verified against legacy background tokenization. Might slow down tokenization. For debugging only."
|
|
145
145
|
)),
|
|
146
146
|
tags: ['experimental'],
|
|
@@ -149,7 +149,7 @@ const editorConfiguration = {
|
|
|
149
149
|
type: ['array', 'null'],
|
|
150
150
|
default: null,
|
|
151
151
|
description: ( localize(
|
|
152
|
-
|
|
152
|
+
1522,
|
|
153
153
|
'Defines the bracket symbols that increase or decrease the indentation.'
|
|
154
154
|
)),
|
|
155
155
|
items: {
|
|
@@ -157,11 +157,11 @@ const editorConfiguration = {
|
|
|
157
157
|
items: [
|
|
158
158
|
{
|
|
159
159
|
type: 'string',
|
|
160
|
-
description: ( localize(
|
|
160
|
+
description: ( localize(1523, 'The opening bracket character or string sequence.'))
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
163
|
type: 'string',
|
|
164
|
-
description: ( localize(
|
|
164
|
+
description: ( localize(1524, 'The closing bracket character or string sequence.'))
|
|
165
165
|
}
|
|
166
166
|
]
|
|
167
167
|
}
|
|
@@ -170,7 +170,7 @@ const editorConfiguration = {
|
|
|
170
170
|
type: ['array', 'null'],
|
|
171
171
|
default: null,
|
|
172
172
|
description: ( localize(
|
|
173
|
-
|
|
173
|
+
1525,
|
|
174
174
|
'Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled.'
|
|
175
175
|
)),
|
|
176
176
|
items: {
|
|
@@ -178,11 +178,11 @@ const editorConfiguration = {
|
|
|
178
178
|
items: [
|
|
179
179
|
{
|
|
180
180
|
type: 'string',
|
|
181
|
-
description: ( localize(
|
|
181
|
+
description: ( localize(1523, 'The opening bracket character or string sequence.'))
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
type: 'string',
|
|
185
|
-
description: ( localize(
|
|
185
|
+
description: ( localize(1524, 'The closing bracket character or string sequence.'))
|
|
186
186
|
}
|
|
187
187
|
]
|
|
188
188
|
}
|
|
@@ -191,7 +191,7 @@ const editorConfiguration = {
|
|
|
191
191
|
type: 'number',
|
|
192
192
|
default: diffEditorDefaultOptions.maxComputationTime,
|
|
193
193
|
description: ( localize(
|
|
194
|
-
|
|
194
|
+
1526,
|
|
195
195
|
"Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout."
|
|
196
196
|
))
|
|
197
197
|
},
|
|
@@ -199,7 +199,7 @@ const editorConfiguration = {
|
|
|
199
199
|
type: 'number',
|
|
200
200
|
default: diffEditorDefaultOptions.maxFileSize,
|
|
201
201
|
description: ( localize(
|
|
202
|
-
|
|
202
|
+
1527,
|
|
203
203
|
"Maximum file size in MB for which to compute diffs. Use 0 for no limit."
|
|
204
204
|
))
|
|
205
205
|
},
|
|
@@ -207,7 +207,7 @@ const editorConfiguration = {
|
|
|
207
207
|
type: 'boolean',
|
|
208
208
|
default: diffEditorDefaultOptions.renderSideBySide,
|
|
209
209
|
description: ( localize(
|
|
210
|
-
|
|
210
|
+
1528,
|
|
211
211
|
"Controls whether the diff editor shows the diff side by side or inline."
|
|
212
212
|
))
|
|
213
213
|
},
|
|
@@ -215,7 +215,7 @@ const editorConfiguration = {
|
|
|
215
215
|
type: 'number',
|
|
216
216
|
default: diffEditorDefaultOptions.renderSideBySideInlineBreakpoint,
|
|
217
217
|
description: ( localize(
|
|
218
|
-
|
|
218
|
+
1529,
|
|
219
219
|
"If the diff editor width is smaller than this value, the inline view is used."
|
|
220
220
|
))
|
|
221
221
|
},
|
|
@@ -223,7 +223,7 @@ const editorConfiguration = {
|
|
|
223
223
|
type: 'boolean',
|
|
224
224
|
default: diffEditorDefaultOptions.useInlineViewWhenSpaceIsLimited,
|
|
225
225
|
description: ( localize(
|
|
226
|
-
|
|
226
|
+
1530,
|
|
227
227
|
"If enabled and the editor width is too small, the inline view is used."
|
|
228
228
|
))
|
|
229
229
|
},
|
|
@@ -231,7 +231,7 @@ const editorConfiguration = {
|
|
|
231
231
|
type: 'boolean',
|
|
232
232
|
default: diffEditorDefaultOptions.renderMarginRevertIcon,
|
|
233
233
|
description: ( localize(
|
|
234
|
-
|
|
234
|
+
1531,
|
|
235
235
|
"When enabled, the diff editor shows arrows in its glyph margin to revert changes."
|
|
236
236
|
))
|
|
237
237
|
},
|
|
@@ -239,7 +239,7 @@ const editorConfiguration = {
|
|
|
239
239
|
type: 'boolean',
|
|
240
240
|
default: diffEditorDefaultOptions.renderGutterMenu,
|
|
241
241
|
description: ( localize(
|
|
242
|
-
|
|
242
|
+
1532,
|
|
243
243
|
"When enabled, the diff editor shows a special gutter for revert and stage actions."
|
|
244
244
|
))
|
|
245
245
|
},
|
|
@@ -247,7 +247,7 @@ const editorConfiguration = {
|
|
|
247
247
|
type: 'boolean',
|
|
248
248
|
default: diffEditorDefaultOptions.ignoreTrimWhitespace,
|
|
249
249
|
description: ( localize(
|
|
250
|
-
|
|
250
|
+
1533,
|
|
251
251
|
"When enabled, the diff editor ignores changes in leading or trailing whitespace."
|
|
252
252
|
))
|
|
253
253
|
},
|
|
@@ -255,24 +255,24 @@ const editorConfiguration = {
|
|
|
255
255
|
type: 'boolean',
|
|
256
256
|
default: diffEditorDefaultOptions.renderIndicators,
|
|
257
257
|
description: ( localize(
|
|
258
|
-
|
|
258
|
+
1534,
|
|
259
259
|
"Controls whether the diff editor shows +/- indicators for added/removed changes."
|
|
260
260
|
))
|
|
261
261
|
},
|
|
262
262
|
'diffEditor.codeLens': {
|
|
263
263
|
type: 'boolean',
|
|
264
264
|
default: diffEditorDefaultOptions.diffCodeLens,
|
|
265
|
-
description: ( localize(
|
|
265
|
+
description: ( localize(1535, "Controls whether the editor shows CodeLens."))
|
|
266
266
|
},
|
|
267
267
|
'diffEditor.wordWrap': {
|
|
268
268
|
type: 'string',
|
|
269
269
|
enum: ['off', 'on', 'inherit'],
|
|
270
270
|
default: diffEditorDefaultOptions.diffWordWrap,
|
|
271
271
|
markdownEnumDescriptions: [
|
|
272
|
-
( localize(
|
|
273
|
-
( localize(
|
|
272
|
+
( localize(1536, "Lines will never wrap.")),
|
|
273
|
+
( localize(1537, "Lines will wrap at the viewport width.")),
|
|
274
274
|
( localize(
|
|
275
|
-
|
|
275
|
+
1538,
|
|
276
276
|
"Lines will wrap according to the {0} setting.",
|
|
277
277
|
'`#editor.wordWrap#`'
|
|
278
278
|
)),
|
|
@@ -283,27 +283,27 @@ const editorConfiguration = {
|
|
|
283
283
|
enum: ['legacy', 'advanced'],
|
|
284
284
|
default: diffEditorDefaultOptions.diffAlgorithm,
|
|
285
285
|
markdownEnumDescriptions: [
|
|
286
|
-
( localize(
|
|
287
|
-
( localize(
|
|
286
|
+
( localize(1539, "Uses the legacy diffing algorithm.")),
|
|
287
|
+
( localize(1540, "Uses the advanced diffing algorithm.")),
|
|
288
288
|
],
|
|
289
289
|
tags: ['experimental'],
|
|
290
290
|
},
|
|
291
291
|
'diffEditor.hideUnchangedRegions.enabled': {
|
|
292
292
|
type: 'boolean',
|
|
293
293
|
default: diffEditorDefaultOptions.hideUnchangedRegions.enabled,
|
|
294
|
-
markdownDescription: ( localize(
|
|
294
|
+
markdownDescription: ( localize(1541, "Controls whether the diff editor shows unchanged regions.")),
|
|
295
295
|
},
|
|
296
296
|
'diffEditor.hideUnchangedRegions.revealLineCount': {
|
|
297
297
|
type: 'integer',
|
|
298
298
|
default: diffEditorDefaultOptions.hideUnchangedRegions.revealLineCount,
|
|
299
|
-
markdownDescription: ( localize(
|
|
299
|
+
markdownDescription: ( localize(1542, "Controls how many lines are used for unchanged regions.")),
|
|
300
300
|
minimum: 1,
|
|
301
301
|
},
|
|
302
302
|
'diffEditor.hideUnchangedRegions.minimumLineCount': {
|
|
303
303
|
type: 'integer',
|
|
304
304
|
default: diffEditorDefaultOptions.hideUnchangedRegions.minimumLineCount,
|
|
305
305
|
markdownDescription: ( localize(
|
|
306
|
-
|
|
306
|
+
1543,
|
|
307
307
|
"Controls how many lines are used as a minimum for unchanged regions."
|
|
308
308
|
)),
|
|
309
309
|
minimum: 1,
|
|
@@ -312,7 +312,7 @@ const editorConfiguration = {
|
|
|
312
312
|
type: 'integer',
|
|
313
313
|
default: diffEditorDefaultOptions.hideUnchangedRegions.contextLineCount,
|
|
314
314
|
markdownDescription: ( localize(
|
|
315
|
-
|
|
315
|
+
1544,
|
|
316
316
|
"Controls how many lines are used as context when comparing unchanged regions."
|
|
317
317
|
)),
|
|
318
318
|
minimum: 1,
|
|
@@ -320,13 +320,13 @@ const editorConfiguration = {
|
|
|
320
320
|
'diffEditor.experimental.showMoves': {
|
|
321
321
|
type: 'boolean',
|
|
322
322
|
default: diffEditorDefaultOptions.experimental.showMoves,
|
|
323
|
-
markdownDescription: ( localize(
|
|
323
|
+
markdownDescription: ( localize(1545, "Controls whether the diff editor should show detected code moves."))
|
|
324
324
|
},
|
|
325
325
|
'diffEditor.experimental.showEmptyDecorations': {
|
|
326
326
|
type: 'boolean',
|
|
327
327
|
default: diffEditorDefaultOptions.experimental.showEmptyDecorations,
|
|
328
328
|
description: ( localize(
|
|
329
|
-
|
|
329
|
+
1546,
|
|
330
330
|
"Controls whether the diff editor shows empty decorations to see where characters got inserted or deleted."
|
|
331
331
|
)),
|
|
332
332
|
},
|
|
@@ -334,7 +334,7 @@ const editorConfiguration = {
|
|
|
334
334
|
type: 'boolean',
|
|
335
335
|
default: diffEditorDefaultOptions.experimental.useTrueInlineView,
|
|
336
336
|
description: ( localize(
|
|
337
|
-
|
|
337
|
+
1547,
|
|
338
338
|
"If enabled and the editor uses the inline view, word changes are rendered inline."
|
|
339
339
|
)),
|
|
340
340
|
},
|
|
@@ -12,174 +12,174 @@ import '../../../platform/theme/common/colors/miscColors.js';
|
|
|
12
12
|
import '../../../platform/theme/common/colors/quickpickColors.js';
|
|
13
13
|
import '../../../platform/theme/common/colors/searchColors.js';
|
|
14
14
|
import { registerThemingParticipant } from '../../../platform/theme/common/themeService.js';
|
|
15
|
-
const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, ( localize(
|
|
15
|
+
const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, ( localize(4901, 'Background color for the highlight of line at the cursor position.')));
|
|
16
16
|
const editorLineHighlightBorder = registerColor('editor.lineHighlightBorder', { dark: '#282828', light: '#eeeeee', hcDark: '#f38518', hcLight: contrastBorder }, ( localize(
|
|
17
|
-
|
|
17
|
+
4902,
|
|
18
18
|
'Background color for the border around the line at the cursor position.'
|
|
19
19
|
)));
|
|
20
20
|
const editorRangeHighlight = registerColor('editor.rangeHighlightBackground', { dark: '#ffffff0b', light: '#fdff0033', hcDark: null, hcLight: null }, ( localize(
|
|
21
|
-
|
|
21
|
+
4903,
|
|
22
22
|
'Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations.'
|
|
23
23
|
)), true);
|
|
24
|
-
registerColor('editor.rangeHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
24
|
+
registerColor('editor.rangeHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(4904, 'Background color of the border around highlighted ranges.')));
|
|
25
25
|
registerColor('editor.symbolHighlightBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, ( localize(
|
|
26
|
-
|
|
26
|
+
4905,
|
|
27
27
|
'Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations.'
|
|
28
28
|
)), true);
|
|
29
|
-
registerColor('editor.symbolHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
30
|
-
const editorCursorForeground = registerColor('editorCursor.foreground', { dark: '#AEAFAD', light: Color.black, hcDark: Color.white, hcLight: '#0F4A85' }, ( localize(
|
|
29
|
+
registerColor('editor.symbolHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(4906, 'Background color of the border around highlighted symbols.')));
|
|
30
|
+
const editorCursorForeground = registerColor('editorCursor.foreground', { dark: '#AEAFAD', light: Color.black, hcDark: Color.white, hcLight: '#0F4A85' }, ( localize(4907, 'Color of the editor cursor.')));
|
|
31
31
|
const editorCursorBackground = registerColor('editorCursor.background', null, ( localize(
|
|
32
|
-
|
|
32
|
+
4908,
|
|
33
33
|
'The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.'
|
|
34
34
|
)));
|
|
35
35
|
const editorMultiCursorPrimaryForeground = registerColor('editorMultiCursor.primary.foreground', editorCursorForeground, ( localize(
|
|
36
|
-
|
|
36
|
+
4909,
|
|
37
37
|
'Color of the primary editor cursor when multiple cursors are present.'
|
|
38
38
|
)));
|
|
39
39
|
const editorMultiCursorPrimaryBackground = registerColor('editorMultiCursor.primary.background', editorCursorBackground, ( localize(
|
|
40
|
-
|
|
40
|
+
4910,
|
|
41
41
|
'The background color of the primary editor cursor when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'
|
|
42
42
|
)));
|
|
43
43
|
const editorMultiCursorSecondaryForeground = registerColor('editorMultiCursor.secondary.foreground', editorCursorForeground, ( localize(
|
|
44
|
-
|
|
44
|
+
4911,
|
|
45
45
|
'Color of secondary editor cursors when multiple cursors are present.'
|
|
46
46
|
)));
|
|
47
47
|
const editorMultiCursorSecondaryBackground = registerColor('editorMultiCursor.secondary.background', editorCursorBackground, ( localize(
|
|
48
|
-
|
|
48
|
+
4912,
|
|
49
49
|
'The background color of secondary editor cursors when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'
|
|
50
50
|
)));
|
|
51
|
-
const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, ( localize(
|
|
52
|
-
const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, ( localize(
|
|
53
|
-
const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, ( localize(
|
|
54
|
-
|
|
51
|
+
const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, ( localize(4913, 'Color of whitespace characters in the editor.')));
|
|
52
|
+
const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, ( localize(4914, 'Color of editor line numbers.')));
|
|
53
|
+
const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, ( localize(4915, 'Color of the editor indentation guides.')), false, ( localize(
|
|
54
|
+
4916,
|
|
55
55
|
'\'editorIndentGuide.background\' is deprecated. Use \'editorIndentGuide.background1\' instead.'
|
|
56
56
|
)));
|
|
57
|
-
const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, ( localize(
|
|
58
|
-
|
|
57
|
+
const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, ( localize(4917, 'Color of the active editor indentation guides.')), false, ( localize(
|
|
58
|
+
4918,
|
|
59
59
|
'\'editorIndentGuide.activeBackground\' is deprecated. Use \'editorIndentGuide.activeBackground1\' instead.'
|
|
60
60
|
)));
|
|
61
|
-
const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, ( localize(
|
|
62
|
-
const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', ( localize(
|
|
63
|
-
const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', ( localize(
|
|
64
|
-
const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', ( localize(
|
|
65
|
-
const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', ( localize(
|
|
66
|
-
const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', ( localize(
|
|
67
|
-
const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, ( localize(
|
|
68
|
-
const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', ( localize(
|
|
69
|
-
const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', ( localize(
|
|
70
|
-
const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', ( localize(
|
|
71
|
-
const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', ( localize(
|
|
72
|
-
const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', ( localize(
|
|
73
|
-
const deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
74
|
-
|
|
61
|
+
const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, ( localize(4919, 'Color of the editor indentation guides (1).')));
|
|
62
|
+
const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', ( localize(4920, 'Color of the editor indentation guides (2).')));
|
|
63
|
+
const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', ( localize(4921, 'Color of the editor indentation guides (3).')));
|
|
64
|
+
const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', ( localize(4922, 'Color of the editor indentation guides (4).')));
|
|
65
|
+
const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', ( localize(4923, 'Color of the editor indentation guides (5).')));
|
|
66
|
+
const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', ( localize(4924, 'Color of the editor indentation guides (6).')));
|
|
67
|
+
const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, ( localize(4925, 'Color of the active editor indentation guides (1).')));
|
|
68
|
+
const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', ( localize(4926, 'Color of the active editor indentation guides (2).')));
|
|
69
|
+
const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', ( localize(4927, 'Color of the active editor indentation guides (3).')));
|
|
70
|
+
const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', ( localize(4928, 'Color of the active editor indentation guides (4).')));
|
|
71
|
+
const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', ( localize(4929, 'Color of the active editor indentation guides (5).')));
|
|
72
|
+
const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', ( localize(4930, 'Color of the active editor indentation guides (6).')));
|
|
73
|
+
const deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(4931, 'Color of editor active line number')), false, ( localize(
|
|
74
|
+
4932,
|
|
75
75
|
'Id is deprecated. Use \'editorLineNumber.activeForeground\' instead.'
|
|
76
76
|
)));
|
|
77
|
-
registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, ( localize(
|
|
77
|
+
registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, ( localize(4931, 'Color of editor active line number')));
|
|
78
78
|
const editorDimmedLineNumber = registerColor('editorLineNumber.dimmedForeground', null, ( localize(
|
|
79
|
-
|
|
79
|
+
4933,
|
|
80
80
|
'Color of the final editor line when editor.renderFinalNewline is set to dimmed.'
|
|
81
81
|
)));
|
|
82
|
-
registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hcDark: Color.white, hcLight: '#292929' }, ( localize(
|
|
83
|
-
registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#919191', hcDark: '#999999', hcLight: '#292929' }, ( localize(
|
|
84
|
-
registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#0064001a', hcDark: '#0064001a', hcLight: '#0000' }, ( localize(
|
|
85
|
-
registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(
|
|
86
|
-
const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, ( localize(
|
|
87
|
-
const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, ( localize(
|
|
82
|
+
registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hcDark: Color.white, hcLight: '#292929' }, ( localize(4934, 'Color of the editor rulers.')));
|
|
83
|
+
registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#919191', hcDark: '#999999', hcLight: '#292929' }, ( localize(4935, 'Foreground color of editor CodeLens')));
|
|
84
|
+
registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#0064001a', hcDark: '#0064001a', hcLight: '#0000' }, ( localize(4936, 'Background color behind matching brackets')));
|
|
85
|
+
registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(4937, 'Color for matching brackets boxes')));
|
|
86
|
+
const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, ( localize(4938, 'Color of the overview ruler border.')));
|
|
87
|
+
const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, ( localize(4939, 'Background color of the editor overview ruler.')));
|
|
88
88
|
registerColor('editorGutter.background', editorBackground, ( localize(
|
|
89
|
-
|
|
89
|
+
4940,
|
|
90
90
|
'Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.'
|
|
91
91
|
)));
|
|
92
|
-
registerColor('editorUnnecessaryCode.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#fff'))).transparent(0.8))), hcLight: contrastBorder }, ( localize(
|
|
92
|
+
registerColor('editorUnnecessaryCode.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#fff'))).transparent(0.8))), hcLight: contrastBorder }, ( localize(4941, 'Border color of unnecessary (unused) source code in the editor.')));
|
|
93
93
|
const editorUnnecessaryCodeOpacity = registerColor('editorUnnecessaryCode.opacity', { dark: ( (Color.fromHex('#000a'))), light: ( (Color.fromHex('#0007'))), hcDark: null, hcLight: null }, ( localize(
|
|
94
|
-
|
|
94
|
+
4942,
|
|
95
95
|
'Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the \'editorUnnecessaryCode.border\' theme color to underline unnecessary code instead of fading it out.'
|
|
96
96
|
)));
|
|
97
|
-
registerColor('editorGhostText.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#fff'))).transparent(0.8))), hcLight: ( (( (Color.fromHex('#292929'))).transparent(0.8))) }, ( localize(
|
|
98
|
-
const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: ( (Color.fromHex('#ffffff56'))), light: ( (Color.fromHex('#0007'))), hcDark: null, hcLight: null }, ( localize(
|
|
99
|
-
registerColor('editorGhostText.background', null, ( localize(
|
|
97
|
+
registerColor('editorGhostText.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#fff'))).transparent(0.8))), hcLight: ( (( (Color.fromHex('#292929'))).transparent(0.8))) }, ( localize(4943, 'Border color of ghost text in the editor.')));
|
|
98
|
+
const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: ( (Color.fromHex('#ffffff56'))), light: ( (Color.fromHex('#0007'))), hcDark: null, hcLight: null }, ( localize(4944, 'Foreground color of the ghost text in the editor.')));
|
|
99
|
+
registerColor('editorGhostText.background', null, ( localize(4945, 'Background color of the ghost text in the editor.')));
|
|
100
100
|
const rulerRangeDefault = ( (new Color( (new RGBA(0, 122, 204, 0.6)))));
|
|
101
101
|
const overviewRulerRangeHighlight = registerColor('editorOverviewRuler.rangeHighlightForeground', rulerRangeDefault, ( localize(
|
|
102
|
-
|
|
102
|
+
4946,
|
|
103
103
|
'Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations.'
|
|
104
104
|
)), true);
|
|
105
|
-
const overviewRulerError = registerColor('editorOverviewRuler.errorForeground', { dark: ( (new Color( (new RGBA(255, 18, 18, 0.7))))), light: ( (new Color( (new RGBA(255, 18, 18, 0.7))))), hcDark: ( (new Color( (new RGBA(255, 50, 50, 1))))), hcLight: '#B5200D' }, ( localize(
|
|
106
|
-
const overviewRulerWarning = registerColor('editorOverviewRuler.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, ( localize(
|
|
107
|
-
const overviewRulerInfo = registerColor('editorOverviewRuler.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, ( localize(
|
|
105
|
+
const overviewRulerError = registerColor('editorOverviewRuler.errorForeground', { dark: ( (new Color( (new RGBA(255, 18, 18, 0.7))))), light: ( (new Color( (new RGBA(255, 18, 18, 0.7))))), hcDark: ( (new Color( (new RGBA(255, 50, 50, 1))))), hcLight: '#B5200D' }, ( localize(4947, 'Overview ruler marker color for errors.')));
|
|
106
|
+
const overviewRulerWarning = registerColor('editorOverviewRuler.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, ( localize(4948, 'Overview ruler marker color for warnings.')));
|
|
107
|
+
const overviewRulerInfo = registerColor('editorOverviewRuler.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, ( localize(4949, 'Overview ruler marker color for infos.')));
|
|
108
108
|
const editorBracketHighlightingForeground1 = registerColor('editorBracketHighlight.foreground1', { dark: '#FFD700', light: '#0431FAFF', hcDark: '#FFD700', hcLight: '#0431FAFF' }, ( localize(
|
|
109
|
-
|
|
109
|
+
4950,
|
|
110
110
|
'Foreground color of brackets (1). Requires enabling bracket pair colorization.'
|
|
111
111
|
)));
|
|
112
112
|
const editorBracketHighlightingForeground2 = registerColor('editorBracketHighlight.foreground2', { dark: '#DA70D6', light: '#319331FF', hcDark: '#DA70D6', hcLight: '#319331FF' }, ( localize(
|
|
113
|
-
|
|
113
|
+
4951,
|
|
114
114
|
'Foreground color of brackets (2). Requires enabling bracket pair colorization.'
|
|
115
115
|
)));
|
|
116
116
|
const editorBracketHighlightingForeground3 = registerColor('editorBracketHighlight.foreground3', { dark: '#179FFF', light: '#7B3814FF', hcDark: '#87CEFA', hcLight: '#7B3814FF' }, ( localize(
|
|
117
|
-
|
|
117
|
+
4952,
|
|
118
118
|
'Foreground color of brackets (3). Requires enabling bracket pair colorization.'
|
|
119
119
|
)));
|
|
120
120
|
const editorBracketHighlightingForeground4 = registerColor('editorBracketHighlight.foreground4', '#00000000', ( localize(
|
|
121
|
-
|
|
121
|
+
4953,
|
|
122
122
|
'Foreground color of brackets (4). Requires enabling bracket pair colorization.'
|
|
123
123
|
)));
|
|
124
124
|
const editorBracketHighlightingForeground5 = registerColor('editorBracketHighlight.foreground5', '#00000000', ( localize(
|
|
125
|
-
|
|
125
|
+
4954,
|
|
126
126
|
'Foreground color of brackets (5). Requires enabling bracket pair colorization.'
|
|
127
127
|
)));
|
|
128
128
|
const editorBracketHighlightingForeground6 = registerColor('editorBracketHighlight.foreground6', '#00000000', ( localize(
|
|
129
|
-
|
|
129
|
+
4955,
|
|
130
130
|
'Foreground color of brackets (6). Requires enabling bracket pair colorization.'
|
|
131
131
|
)));
|
|
132
|
-
const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: ( (new Color( (new RGBA(255, 18, 18, 0.8))))), light: ( (new Color( (new RGBA(255, 18, 18, 0.8))))), hcDark: ( (new Color( (new RGBA(255, 50, 50, 1))))), hcLight: '' }, ( localize(
|
|
132
|
+
const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: ( (new Color( (new RGBA(255, 18, 18, 0.8))))), light: ( (new Color( (new RGBA(255, 18, 18, 0.8))))), hcDark: ( (new Color( (new RGBA(255, 50, 50, 1))))), hcLight: '' }, ( localize(4956, 'Foreground color of unexpected brackets.')));
|
|
133
133
|
const editorBracketPairGuideBackground1 = registerColor('editorBracketPairGuide.background1', '#00000000', ( localize(
|
|
134
|
-
|
|
134
|
+
4957,
|
|
135
135
|
'Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.'
|
|
136
136
|
)));
|
|
137
137
|
const editorBracketPairGuideBackground2 = registerColor('editorBracketPairGuide.background2', '#00000000', ( localize(
|
|
138
|
-
|
|
138
|
+
4958,
|
|
139
139
|
'Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.'
|
|
140
140
|
)));
|
|
141
141
|
const editorBracketPairGuideBackground3 = registerColor('editorBracketPairGuide.background3', '#00000000', ( localize(
|
|
142
|
-
|
|
142
|
+
4959,
|
|
143
143
|
'Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.'
|
|
144
144
|
)));
|
|
145
145
|
const editorBracketPairGuideBackground4 = registerColor('editorBracketPairGuide.background4', '#00000000', ( localize(
|
|
146
|
-
|
|
146
|
+
4960,
|
|
147
147
|
'Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.'
|
|
148
148
|
)));
|
|
149
149
|
const editorBracketPairGuideBackground5 = registerColor('editorBracketPairGuide.background5', '#00000000', ( localize(
|
|
150
|
-
|
|
150
|
+
4961,
|
|
151
151
|
'Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.'
|
|
152
152
|
)));
|
|
153
153
|
const editorBracketPairGuideBackground6 = registerColor('editorBracketPairGuide.background6', '#00000000', ( localize(
|
|
154
|
-
|
|
154
|
+
4962,
|
|
155
155
|
'Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.'
|
|
156
156
|
)));
|
|
157
157
|
const editorBracketPairGuideActiveBackground1 = registerColor('editorBracketPairGuide.activeBackground1', '#00000000', ( localize(
|
|
158
|
-
|
|
158
|
+
4963,
|
|
159
159
|
'Background color of active bracket pair guides (1). Requires enabling bracket pair guides.'
|
|
160
160
|
)));
|
|
161
161
|
const editorBracketPairGuideActiveBackground2 = registerColor('editorBracketPairGuide.activeBackground2', '#00000000', ( localize(
|
|
162
|
-
|
|
162
|
+
4964,
|
|
163
163
|
'Background color of active bracket pair guides (2). Requires enabling bracket pair guides.'
|
|
164
164
|
)));
|
|
165
165
|
const editorBracketPairGuideActiveBackground3 = registerColor('editorBracketPairGuide.activeBackground3', '#00000000', ( localize(
|
|
166
|
-
|
|
166
|
+
4965,
|
|
167
167
|
'Background color of active bracket pair guides (3). Requires enabling bracket pair guides.'
|
|
168
168
|
)));
|
|
169
169
|
const editorBracketPairGuideActiveBackground4 = registerColor('editorBracketPairGuide.activeBackground4', '#00000000', ( localize(
|
|
170
|
-
|
|
170
|
+
4966,
|
|
171
171
|
'Background color of active bracket pair guides (4). Requires enabling bracket pair guides.'
|
|
172
172
|
)));
|
|
173
173
|
const editorBracketPairGuideActiveBackground5 = registerColor('editorBracketPairGuide.activeBackground5', '#00000000', ( localize(
|
|
174
|
-
|
|
174
|
+
4967,
|
|
175
175
|
'Background color of active bracket pair guides (5). Requires enabling bracket pair guides.'
|
|
176
176
|
)));
|
|
177
177
|
const editorBracketPairGuideActiveBackground6 = registerColor('editorBracketPairGuide.activeBackground6', '#00000000', ( localize(
|
|
178
|
-
|
|
178
|
+
4968,
|
|
179
179
|
'Background color of active bracket pair guides (6). Requires enabling bracket pair guides.'
|
|
180
180
|
)));
|
|
181
|
-
registerColor('editorUnicodeHighlight.border', editorWarningForeground, ( localize(
|
|
182
|
-
registerColor('editorUnicodeHighlight.background', editorWarningBackground, ( localize(
|
|
181
|
+
registerColor('editorUnicodeHighlight.border', editorWarningForeground, ( localize(4969, 'Border color used to highlight unicode characters.')));
|
|
182
|
+
registerColor('editorUnicodeHighlight.background', editorWarningBackground, ( localize(4970, 'Background color used to highlight unicode characters.')));
|
|
183
183
|
registerThemingParticipant((theme, collector) => {
|
|
184
184
|
const background = theme.getColor(editorBackground);
|
|
185
185
|
const lineHighlight = theme.getColor(editorLineHighlight);
|
|
@@ -893,7 +893,7 @@ function _renderLine(input, sb) {
|
|
|
893
893
|
}
|
|
894
894
|
if (isOverflowing) {
|
|
895
895
|
sb.appendString('<span class="mtkoverflow">');
|
|
896
|
-
sb.appendString(( localize(
|
|
896
|
+
sb.appendString(( localize(9360, "Show more ({0})", renderOverflowingCharCount(overflowingCharCount))));
|
|
897
897
|
sb.appendString('</span>');
|
|
898
898
|
}
|
|
899
899
|
sb.appendString('</span>');
|
|
@@ -906,7 +906,7 @@ function to4CharHex(n) {
|
|
|
906
906
|
}
|
|
907
907
|
function renderOverflowingCharCount(n) {
|
|
908
908
|
if (n < 1024) {
|
|
909
|
-
return ( localize(
|
|
909
|
+
return ( localize(9361, "{0} chars", n));
|
|
910
910
|
}
|
|
911
911
|
if (n < 1024 * 1024) {
|
|
912
912
|
return `${(n / 1024).toFixed(1)} KB`;
|