@codingame/monaco-vscode-api 8.0.2 → 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/package.json +8 -8
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
- 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/common/config/editorConfigurationSchema.js +49 -49
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- 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/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/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- 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/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- 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/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- 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/checkbox.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/contrib/accessibility/browser/accessibilityConfiguration.js +127 -127
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +14 -14
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.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/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- 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/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- 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/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +32 -32
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- 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/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -110,11 +110,11 @@ const extensionKindSchema = {
|
|
|
110
110
|
],
|
|
111
111
|
enumDescriptions: [
|
|
112
112
|
( localize(
|
|
113
|
-
|
|
113
|
+
4402,
|
|
114
114
|
"UI extension kind. In a remote window, such extensions are enabled only when available on the local machine."
|
|
115
115
|
)),
|
|
116
116
|
( localize(
|
|
117
|
-
|
|
117
|
+
4403,
|
|
118
118
|
"Workspace extension kind. In a remote window, such extensions are enabled only when available on the remote."
|
|
119
119
|
)),
|
|
120
120
|
],
|
|
@@ -124,12 +124,12 @@ const schema = {
|
|
|
124
124
|
properties: {
|
|
125
125
|
engines: {
|
|
126
126
|
type: 'object',
|
|
127
|
-
description: ( localize(
|
|
127
|
+
description: ( localize(4404, "Engine compatibility.")),
|
|
128
128
|
properties: {
|
|
129
129
|
'vscode': {
|
|
130
130
|
type: 'string',
|
|
131
131
|
description: ( localize(
|
|
132
|
-
|
|
132
|
+
4405,
|
|
133
133
|
'For VS Code extensions, specifies the VS Code version that the extension is compatible with. Cannot be *. For example: ^0.10.5 indicates compatibility with a minimum VS Code version of 0.10.5.'
|
|
134
134
|
)),
|
|
135
135
|
default: '^1.22.0',
|
|
@@ -137,16 +137,16 @@ const schema = {
|
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
publisher: {
|
|
140
|
-
description: ( localize(
|
|
140
|
+
description: ( localize(4406, 'The publisher of the VS Code extension.')),
|
|
141
141
|
type: 'string'
|
|
142
142
|
},
|
|
143
143
|
displayName: {
|
|
144
|
-
description: ( localize(
|
|
144
|
+
description: ( localize(4407, 'The display name for the extension used in the VS Code gallery.')),
|
|
145
145
|
type: 'string'
|
|
146
146
|
},
|
|
147
147
|
categories: {
|
|
148
148
|
description: ( localize(
|
|
149
|
-
|
|
149
|
+
4408,
|
|
150
150
|
'The categories used by the VS Code gallery to categorize the extension.'
|
|
151
151
|
)),
|
|
152
152
|
type: 'array',
|
|
@@ -159,20 +159,20 @@ const schema = {
|
|
|
159
159
|
{
|
|
160
160
|
type: 'string',
|
|
161
161
|
const: 'Languages',
|
|
162
|
-
deprecationMessage: ( localize(
|
|
162
|
+
deprecationMessage: ( localize(4409, 'Use \'Programming Languages\' instead')),
|
|
163
163
|
}]
|
|
164
164
|
}
|
|
165
165
|
},
|
|
166
166
|
galleryBanner: {
|
|
167
167
|
type: 'object',
|
|
168
|
-
description: ( localize(
|
|
168
|
+
description: ( localize(4410, 'Banner used in the VS Code marketplace.')),
|
|
169
169
|
properties: {
|
|
170
170
|
color: {
|
|
171
|
-
description: ( localize(
|
|
171
|
+
description: ( localize(4411, 'The banner color on the VS Code marketplace page header.')),
|
|
172
172
|
type: 'string'
|
|
173
173
|
},
|
|
174
174
|
theme: {
|
|
175
|
-
description: ( localize(
|
|
175
|
+
description: ( localize(4412, 'The color theme for the font used in the banner.')),
|
|
176
176
|
type: 'string',
|
|
177
177
|
enum: ['dark', 'light']
|
|
178
178
|
}
|
|
@@ -180,7 +180,7 @@ const schema = {
|
|
|
180
180
|
},
|
|
181
181
|
contributes: {
|
|
182
182
|
description: ( localize(
|
|
183
|
-
|
|
183
|
+
4413,
|
|
184
184
|
'All contributions of the VS Code extension represented by this package.'
|
|
185
185
|
)),
|
|
186
186
|
type: 'object',
|
|
@@ -190,15 +190,15 @@ const schema = {
|
|
|
190
190
|
},
|
|
191
191
|
preview: {
|
|
192
192
|
type: 'boolean',
|
|
193
|
-
description: ( localize(
|
|
193
|
+
description: ( localize(4414, 'Sets the extension to be flagged as a Preview in the Marketplace.')),
|
|
194
194
|
},
|
|
195
195
|
enableProposedApi: {
|
|
196
196
|
type: 'boolean',
|
|
197
|
-
deprecationMessage: ( localize(
|
|
197
|
+
deprecationMessage: ( localize(4415, 'Use `enabledApiProposals` instead.')),
|
|
198
198
|
},
|
|
199
199
|
enabledApiProposals: {
|
|
200
200
|
markdownDescription: ( localize(
|
|
201
|
-
|
|
201
|
+
4416,
|
|
202
202
|
'Enable API proposals to try them out. Only valid **during development**. Extensions **cannot be published** with this property. For more details visit: https://code.visualstudio.com/api/advanced-topics/using-proposed-api'
|
|
203
203
|
)),
|
|
204
204
|
type: 'array',
|
|
@@ -211,20 +211,20 @@ const schema = {
|
|
|
211
211
|
},
|
|
212
212
|
api: {
|
|
213
213
|
markdownDescription: ( localize(
|
|
214
|
-
|
|
214
|
+
4417,
|
|
215
215
|
'Describe the API provided by this extension. For more details visit: https://code.visualstudio.com/api/advanced-topics/remote-extensions#handling-dependencies-with-remote-extensions'
|
|
216
216
|
)),
|
|
217
217
|
type: 'string',
|
|
218
218
|
enum: ['none'],
|
|
219
219
|
enumDescriptions: [
|
|
220
220
|
( localize(
|
|
221
|
-
|
|
221
|
+
4418,
|
|
222
222
|
"Give up entirely the ability to export any APIs. This allows other extensions that depend on this extension to run in a separate extension host process or in a remote machine."
|
|
223
223
|
))
|
|
224
224
|
]
|
|
225
225
|
},
|
|
226
226
|
activationEvents: {
|
|
227
|
-
description: ( localize(
|
|
227
|
+
description: ( localize(4419, 'Activation events for the VS Code extension.')),
|
|
228
228
|
type: 'array',
|
|
229
229
|
items: {
|
|
230
230
|
type: 'string',
|
|
@@ -232,7 +232,7 @@ const schema = {
|
|
|
232
232
|
{
|
|
233
233
|
label: 'onWebviewPanel',
|
|
234
234
|
description: ( localize(
|
|
235
|
-
|
|
235
|
+
4420,
|
|
236
236
|
'An activation event emmited when a webview is loaded of a certain viewType'
|
|
237
237
|
)),
|
|
238
238
|
body: 'onWebviewPanel:viewType'
|
|
@@ -240,7 +240,7 @@ const schema = {
|
|
|
240
240
|
{
|
|
241
241
|
label: 'onLanguage',
|
|
242
242
|
description: ( localize(
|
|
243
|
-
|
|
243
|
+
4421,
|
|
244
244
|
'An activation event emitted whenever a file that resolves to the specified language gets opened.'
|
|
245
245
|
)),
|
|
246
246
|
body: 'onLanguage:${1:languageId}'
|
|
@@ -248,7 +248,7 @@ const schema = {
|
|
|
248
248
|
{
|
|
249
249
|
label: 'onCommand',
|
|
250
250
|
description: ( localize(
|
|
251
|
-
|
|
251
|
+
4422,
|
|
252
252
|
'An activation event emitted whenever the specified command gets invoked.'
|
|
253
253
|
)),
|
|
254
254
|
body: 'onCommand:${2:commandId}'
|
|
@@ -256,7 +256,7 @@ const schema = {
|
|
|
256
256
|
{
|
|
257
257
|
label: 'onDebug',
|
|
258
258
|
description: ( localize(
|
|
259
|
-
|
|
259
|
+
4423,
|
|
260
260
|
'An activation event emitted whenever a user is about to start debugging or about to setup debug configurations.'
|
|
261
261
|
)),
|
|
262
262
|
body: 'onDebug'
|
|
@@ -264,7 +264,7 @@ const schema = {
|
|
|
264
264
|
{
|
|
265
265
|
label: 'onDebugInitialConfigurations',
|
|
266
266
|
description: ( localize(
|
|
267
|
-
|
|
267
|
+
4424,
|
|
268
268
|
'An activation event emitted whenever a "launch.json" needs to be created (and all provideDebugConfigurations methods need to be called).'
|
|
269
269
|
)),
|
|
270
270
|
body: 'onDebugInitialConfigurations'
|
|
@@ -272,7 +272,7 @@ const schema = {
|
|
|
272
272
|
{
|
|
273
273
|
label: 'onDebugDynamicConfigurations',
|
|
274
274
|
description: ( localize(
|
|
275
|
-
|
|
275
|
+
4425,
|
|
276
276
|
'An activation event emitted whenever a list of all debug configurations needs to be created (and all provideDebugConfigurations methods for the "dynamic" scope need to be called).'
|
|
277
277
|
)),
|
|
278
278
|
body: 'onDebugDynamicConfigurations'
|
|
@@ -280,7 +280,7 @@ const schema = {
|
|
|
280
280
|
{
|
|
281
281
|
label: 'onDebugResolve',
|
|
282
282
|
description: ( localize(
|
|
283
|
-
|
|
283
|
+
4426,
|
|
284
284
|
'An activation event emitted whenever a debug session with the specific type is about to be launched (and a corresponding resolveDebugConfiguration method needs to be called).'
|
|
285
285
|
)),
|
|
286
286
|
body: 'onDebugResolve:${6:type}'
|
|
@@ -288,7 +288,7 @@ const schema = {
|
|
|
288
288
|
{
|
|
289
289
|
label: 'onDebugAdapterProtocolTracker',
|
|
290
290
|
description: ( localize(
|
|
291
|
-
|
|
291
|
+
4427,
|
|
292
292
|
'An activation event emitted whenever a debug session with the specific type is about to be launched and a debug protocol tracker might be needed.'
|
|
293
293
|
)),
|
|
294
294
|
body: 'onDebugAdapterProtocolTracker:${6:type}'
|
|
@@ -296,7 +296,7 @@ const schema = {
|
|
|
296
296
|
{
|
|
297
297
|
label: 'workspaceContains',
|
|
298
298
|
description: ( localize(
|
|
299
|
-
|
|
299
|
+
4428,
|
|
300
300
|
'An activation event emitted whenever a folder is opened that contains at least a file matching the specified glob pattern.'
|
|
301
301
|
)),
|
|
302
302
|
body: 'workspaceContains:${4:filePattern}'
|
|
@@ -304,7 +304,7 @@ const schema = {
|
|
|
304
304
|
{
|
|
305
305
|
label: 'onStartupFinished',
|
|
306
306
|
description: ( localize(
|
|
307
|
-
|
|
307
|
+
4429,
|
|
308
308
|
'An activation event emitted after the start-up finished (after all `*` activated extensions have finished activating).'
|
|
309
309
|
)),
|
|
310
310
|
body: 'onStartupFinished'
|
|
@@ -312,7 +312,7 @@ const schema = {
|
|
|
312
312
|
{
|
|
313
313
|
label: 'onTaskType',
|
|
314
314
|
description: ( localize(
|
|
315
|
-
|
|
315
|
+
4430,
|
|
316
316
|
'An activation event emitted whenever tasks of a certain type need to be listed or resolved.'
|
|
317
317
|
)),
|
|
318
318
|
body: 'onTaskType:${1:taskType}'
|
|
@@ -320,7 +320,7 @@ const schema = {
|
|
|
320
320
|
{
|
|
321
321
|
label: 'onFileSystem',
|
|
322
322
|
description: ( localize(
|
|
323
|
-
|
|
323
|
+
4431,
|
|
324
324
|
'An activation event emitted whenever a file or folder is accessed with the given scheme.'
|
|
325
325
|
)),
|
|
326
326
|
body: 'onFileSystem:${1:scheme}'
|
|
@@ -328,7 +328,7 @@ const schema = {
|
|
|
328
328
|
{
|
|
329
329
|
label: 'onEditSession',
|
|
330
330
|
description: ( localize(
|
|
331
|
-
|
|
331
|
+
4432,
|
|
332
332
|
'An activation event emitted whenever an edit session is accessed with the given scheme.'
|
|
333
333
|
)),
|
|
334
334
|
body: 'onEditSession:${1:scheme}'
|
|
@@ -336,7 +336,7 @@ const schema = {
|
|
|
336
336
|
{
|
|
337
337
|
label: 'onSearch',
|
|
338
338
|
description: ( localize(
|
|
339
|
-
|
|
339
|
+
4433,
|
|
340
340
|
'An activation event emitted whenever a search is started in the folder with the given scheme.'
|
|
341
341
|
)),
|
|
342
342
|
body: 'onSearch:${7:scheme}'
|
|
@@ -345,7 +345,7 @@ const schema = {
|
|
|
345
345
|
label: 'onView',
|
|
346
346
|
body: 'onView:${5:viewId}',
|
|
347
347
|
description: ( localize(
|
|
348
|
-
|
|
348
|
+
4434,
|
|
349
349
|
'An activation event emitted whenever the specified view is expanded.'
|
|
350
350
|
)),
|
|
351
351
|
},
|
|
@@ -353,7 +353,7 @@ const schema = {
|
|
|
353
353
|
label: 'onUri',
|
|
354
354
|
body: 'onUri',
|
|
355
355
|
description: ( localize(
|
|
356
|
-
|
|
356
|
+
4435,
|
|
357
357
|
'An activation event emitted whenever a system-wide Uri directed towards this extension is open.'
|
|
358
358
|
)),
|
|
359
359
|
},
|
|
@@ -361,7 +361,7 @@ const schema = {
|
|
|
361
361
|
label: 'onOpenExternalUri',
|
|
362
362
|
body: 'onOpenExternalUri',
|
|
363
363
|
description: ( localize(
|
|
364
|
-
|
|
364
|
+
4436,
|
|
365
365
|
'An activation event emitted whenever a external uri (such as an http or https link) is being opened.'
|
|
366
366
|
)),
|
|
367
367
|
},
|
|
@@ -369,7 +369,7 @@ const schema = {
|
|
|
369
369
|
label: 'onCustomEditor',
|
|
370
370
|
body: 'onCustomEditor:${9:viewType}',
|
|
371
371
|
description: ( localize(
|
|
372
|
-
|
|
372
|
+
4437,
|
|
373
373
|
'An activation event emitted whenever the specified custom editor becomes visible.'
|
|
374
374
|
)),
|
|
375
375
|
},
|
|
@@ -377,7 +377,7 @@ const schema = {
|
|
|
377
377
|
label: 'onNotebook',
|
|
378
378
|
body: 'onNotebook:${1:type}',
|
|
379
379
|
description: ( localize(
|
|
380
|
-
|
|
380
|
+
4438,
|
|
381
381
|
'An activation event emitted whenever the specified notebook document is opened.'
|
|
382
382
|
)),
|
|
383
383
|
},
|
|
@@ -385,14 +385,14 @@ const schema = {
|
|
|
385
385
|
label: 'onAuthenticationRequest',
|
|
386
386
|
body: 'onAuthenticationRequest:${11:authenticationProviderId}',
|
|
387
387
|
description: ( localize(
|
|
388
|
-
|
|
388
|
+
4439,
|
|
389
389
|
'An activation event emitted whenever sessions are requested from the specified authentication provider.'
|
|
390
390
|
))
|
|
391
391
|
},
|
|
392
392
|
{
|
|
393
393
|
label: 'onRenderer',
|
|
394
394
|
description: ( localize(
|
|
395
|
-
|
|
395
|
+
4440,
|
|
396
396
|
'An activation event emitted whenever a notebook output renderer is used.'
|
|
397
397
|
)),
|
|
398
398
|
body: 'onRenderer:${11:rendererId}'
|
|
@@ -401,7 +401,7 @@ const schema = {
|
|
|
401
401
|
label: 'onTerminalProfile',
|
|
402
402
|
body: 'onTerminalProfile:${1:terminalId}',
|
|
403
403
|
description: ( localize(
|
|
404
|
-
|
|
404
|
+
4441,
|
|
405
405
|
'An activation event emitted when a specific terminal profile is launched.'
|
|
406
406
|
)),
|
|
407
407
|
},
|
|
@@ -409,7 +409,7 @@ const schema = {
|
|
|
409
409
|
label: 'onTerminalQuickFixRequest',
|
|
410
410
|
body: 'onTerminalQuickFixRequest:${1:quickFixId}',
|
|
411
411
|
description: ( localize(
|
|
412
|
-
|
|
412
|
+
4442,
|
|
413
413
|
'An activation event emitted when a command matches the selector associated with this ID'
|
|
414
414
|
)),
|
|
415
415
|
},
|
|
@@ -417,20 +417,20 @@ const schema = {
|
|
|
417
417
|
label: 'onWalkthrough',
|
|
418
418
|
body: 'onWalkthrough:${1:walkthroughID}',
|
|
419
419
|
description: ( localize(
|
|
420
|
-
|
|
420
|
+
4443,
|
|
421
421
|
'An activation event emitted when a specified walkthrough is opened.'
|
|
422
422
|
)),
|
|
423
423
|
},
|
|
424
424
|
{
|
|
425
425
|
label: 'onIssueReporterOpened',
|
|
426
426
|
body: 'onIssueReporterOpened',
|
|
427
|
-
description: ( localize(
|
|
427
|
+
description: ( localize(4444, 'An activation event emitted when the issue reporter is opened.')),
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
430
|
label: 'onChatParticipant',
|
|
431
431
|
body: 'onChatParticipant:${1:participantId}',
|
|
432
432
|
description: ( localize(
|
|
433
|
-
|
|
433
|
+
4445,
|
|
434
434
|
'An activation event emitted when the specified chat participant is invoked.'
|
|
435
435
|
)),
|
|
436
436
|
},
|
|
@@ -438,14 +438,14 @@ const schema = {
|
|
|
438
438
|
label: 'onLanguageModelTool',
|
|
439
439
|
body: 'onLanguageModelTool:${1:toolName}',
|
|
440
440
|
description: ( localize(
|
|
441
|
-
|
|
441
|
+
4446,
|
|
442
442
|
'An activation event emitted when the specified language model tool is invoked.'
|
|
443
443
|
)),
|
|
444
444
|
},
|
|
445
445
|
{
|
|
446
446
|
label: '*',
|
|
447
447
|
description: ( localize(
|
|
448
|
-
|
|
448
|
+
4447,
|
|
449
449
|
'An activation event emitted on VS Code startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case.'
|
|
450
450
|
)),
|
|
451
451
|
body: '*'
|
|
@@ -456,7 +456,7 @@ const schema = {
|
|
|
456
456
|
badges: {
|
|
457
457
|
type: 'array',
|
|
458
458
|
description: ( localize(
|
|
459
|
-
|
|
459
|
+
4448,
|
|
460
460
|
'Array of badges to display in the sidebar of the Marketplace\'s extension page.'
|
|
461
461
|
)),
|
|
462
462
|
items: {
|
|
@@ -465,15 +465,15 @@ const schema = {
|
|
|
465
465
|
properties: {
|
|
466
466
|
url: {
|
|
467
467
|
type: 'string',
|
|
468
|
-
description: ( localize(
|
|
468
|
+
description: ( localize(4449, 'Badge image URL.'))
|
|
469
469
|
},
|
|
470
470
|
href: {
|
|
471
471
|
type: 'string',
|
|
472
|
-
description: ( localize(
|
|
472
|
+
description: ( localize(4450, 'Badge link.'))
|
|
473
473
|
},
|
|
474
474
|
description: {
|
|
475
475
|
type: 'string',
|
|
476
|
-
description: ( localize(
|
|
476
|
+
description: ( localize(4451, 'Badge description.'))
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
}
|
|
@@ -481,7 +481,7 @@ const schema = {
|
|
|
481
481
|
markdown: {
|
|
482
482
|
type: 'string',
|
|
483
483
|
description: ( localize(
|
|
484
|
-
|
|
484
|
+
4452,
|
|
485
485
|
"Controls the Markdown rendering engine used in the Marketplace. Either github (default) or standard."
|
|
486
486
|
)),
|
|
487
487
|
enum: ['github', 'standard'],
|
|
@@ -490,7 +490,7 @@ const schema = {
|
|
|
490
490
|
qna: {
|
|
491
491
|
default: 'marketplace',
|
|
492
492
|
description: ( localize(
|
|
493
|
-
|
|
493
|
+
4453,
|
|
494
494
|
"Controls the Q&A link in the Marketplace. Set to marketplace to enable the default Marketplace Q & A site. Set to a string to provide the URL of a custom Q & A site. Set to false to disable Q & A altogether."
|
|
495
495
|
)),
|
|
496
496
|
anyOf: [
|
|
@@ -505,7 +505,7 @@ const schema = {
|
|
|
505
505
|
},
|
|
506
506
|
extensionDependencies: {
|
|
507
507
|
description: ( localize(
|
|
508
|
-
|
|
508
|
+
4454,
|
|
509
509
|
'Dependencies to other extensions. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp.'
|
|
510
510
|
)),
|
|
511
511
|
type: 'array',
|
|
@@ -517,7 +517,7 @@ const schema = {
|
|
|
517
517
|
},
|
|
518
518
|
extensionPack: {
|
|
519
519
|
description: ( localize(
|
|
520
|
-
|
|
520
|
+
4455,
|
|
521
521
|
"A set of extensions that can be installed together. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp."
|
|
522
522
|
)),
|
|
523
523
|
type: 'array',
|
|
@@ -529,7 +529,7 @@ const schema = {
|
|
|
529
529
|
},
|
|
530
530
|
extensionKind: {
|
|
531
531
|
description: ( localize(
|
|
532
|
-
|
|
532
|
+
4456,
|
|
533
533
|
"Define the kind of an extension. `ui` extensions are installed and run on the local machine while `workspace` extensions run on the remote."
|
|
534
534
|
)),
|
|
535
535
|
type: 'array',
|
|
@@ -539,47 +539,47 @@ const schema = {
|
|
|
539
539
|
{
|
|
540
540
|
body: ['ui'],
|
|
541
541
|
description: ( localize(
|
|
542
|
-
|
|
542
|
+
4457,
|
|
543
543
|
"Define an extension which can run only on the local machine when connected to remote window."
|
|
544
544
|
))
|
|
545
545
|
},
|
|
546
546
|
{
|
|
547
547
|
body: ['workspace'],
|
|
548
548
|
description: ( localize(
|
|
549
|
-
|
|
549
|
+
4458,
|
|
550
550
|
"Define an extension which can run only on the remote machine when connected remote window."
|
|
551
551
|
))
|
|
552
552
|
},
|
|
553
553
|
{
|
|
554
554
|
body: ['ui', 'workspace'],
|
|
555
555
|
description: ( localize(
|
|
556
|
-
|
|
556
|
+
4459,
|
|
557
557
|
"Define an extension which can run on either side, with a preference towards running on the local machine."
|
|
558
558
|
))
|
|
559
559
|
},
|
|
560
560
|
{
|
|
561
561
|
body: ['workspace', 'ui'],
|
|
562
562
|
description: ( localize(
|
|
563
|
-
|
|
563
|
+
4460,
|
|
564
564
|
"Define an extension which can run on either side, with a preference towards running on the remote machine."
|
|
565
565
|
))
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
568
|
body: [],
|
|
569
569
|
description: ( localize(
|
|
570
|
-
|
|
570
|
+
4461,
|
|
571
571
|
"Define an extension which cannot run in a remote context, neither on the local, nor on the remote machine."
|
|
572
572
|
))
|
|
573
573
|
}
|
|
574
574
|
]
|
|
575
575
|
},
|
|
576
576
|
capabilities: {
|
|
577
|
-
description: ( localize(
|
|
577
|
+
description: ( localize(4462, "Declare the set of supported capabilities by the extension.")),
|
|
578
578
|
type: 'object',
|
|
579
579
|
properties: {
|
|
580
580
|
virtualWorkspaces: {
|
|
581
581
|
description: ( localize(
|
|
582
|
-
|
|
582
|
+
4463,
|
|
583
583
|
"Declares whether the extension should be enabled in virtual workspaces. A virtual workspace is a workspace which is not backed by any on-disk resources. When false, this extension will be automatically disabled in virtual workspaces. Default is true."
|
|
584
584
|
)),
|
|
585
585
|
type: ['boolean', 'object'],
|
|
@@ -591,27 +591,27 @@ const schema = {
|
|
|
591
591
|
properties: {
|
|
592
592
|
supported: {
|
|
593
593
|
markdownDescription: ( localize(
|
|
594
|
-
|
|
594
|
+
4464,
|
|
595
595
|
"Declares the level of support for virtual workspaces by the extension."
|
|
596
596
|
)),
|
|
597
597
|
type: ['string', 'boolean'],
|
|
598
598
|
enum: ['limited', true, false],
|
|
599
599
|
enumDescriptions: [
|
|
600
600
|
( localize(
|
|
601
|
-
|
|
601
|
+
4465,
|
|
602
602
|
"The extension will be enabled in virtual workspaces with some functionality disabled."
|
|
603
603
|
)),
|
|
604
604
|
( localize(
|
|
605
|
-
|
|
605
|
+
4466,
|
|
606
606
|
"The extension will be enabled in virtual workspaces with all functionality enabled."
|
|
607
607
|
)),
|
|
608
|
-
( localize(
|
|
608
|
+
( localize(4467, "The extension will not be enabled in virtual workspaces.")),
|
|
609
609
|
]
|
|
610
610
|
},
|
|
611
611
|
description: {
|
|
612
612
|
type: 'string',
|
|
613
613
|
markdownDescription: ( localize(
|
|
614
|
-
|
|
614
|
+
4468,
|
|
615
615
|
"A description of how virtual workspaces affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`."
|
|
616
616
|
)),
|
|
617
617
|
}
|
|
@@ -619,7 +619,7 @@ const schema = {
|
|
|
619
619
|
},
|
|
620
620
|
untrustedWorkspaces: {
|
|
621
621
|
description: ( localize(
|
|
622
|
-
|
|
622
|
+
4469,
|
|
623
623
|
'Declares how the extension should be handled in untrusted workspaces.'
|
|
624
624
|
)),
|
|
625
625
|
type: 'object',
|
|
@@ -630,26 +630,26 @@ const schema = {
|
|
|
630
630
|
properties: {
|
|
631
631
|
supported: {
|
|
632
632
|
markdownDescription: ( localize(
|
|
633
|
-
|
|
633
|
+
4470,
|
|
634
634
|
"Declares the level of support for untrusted workspaces by the extension."
|
|
635
635
|
)),
|
|
636
636
|
type: ['string', 'boolean'],
|
|
637
637
|
enum: ['limited', true, false],
|
|
638
638
|
enumDescriptions: [
|
|
639
639
|
( localize(
|
|
640
|
-
|
|
640
|
+
4471,
|
|
641
641
|
"The extension will be enabled in untrusted workspaces with some functionality disabled."
|
|
642
642
|
)),
|
|
643
643
|
( localize(
|
|
644
|
-
|
|
644
|
+
4472,
|
|
645
645
|
"The extension will be enabled in untrusted workspaces with all functionality enabled."
|
|
646
646
|
)),
|
|
647
|
-
( localize(
|
|
647
|
+
( localize(4473, "The extension will not be enabled in untrusted workspaces.")),
|
|
648
648
|
]
|
|
649
649
|
},
|
|
650
650
|
restrictedConfigurations: {
|
|
651
651
|
description: ( localize(
|
|
652
|
-
|
|
652
|
+
4474,
|
|
653
653
|
"A list of configuration keys contributed by the extension that should not use workspace values in untrusted workspaces."
|
|
654
654
|
)),
|
|
655
655
|
type: 'array',
|
|
@@ -660,7 +660,7 @@ const schema = {
|
|
|
660
660
|
description: {
|
|
661
661
|
type: 'string',
|
|
662
662
|
markdownDescription: ( localize(
|
|
663
|
-
|
|
663
|
+
4475,
|
|
664
664
|
"A description of how workspace trust affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`."
|
|
665
665
|
)),
|
|
666
666
|
}
|
|
@@ -669,7 +669,7 @@ const schema = {
|
|
|
669
669
|
}
|
|
670
670
|
},
|
|
671
671
|
sponsor: {
|
|
672
|
-
description: ( localize(
|
|
672
|
+
description: ( localize(4476, "Specify the location from where users can sponsor your extension.")),
|
|
673
673
|
type: 'object',
|
|
674
674
|
defaultSnippets: [
|
|
675
675
|
{ body: { url: '${1:https:}' } },
|
|
@@ -677,7 +677,7 @@ const schema = {
|
|
|
677
677
|
properties: {
|
|
678
678
|
'url': {
|
|
679
679
|
description: ( localize(
|
|
680
|
-
|
|
680
|
+
4477,
|
|
681
681
|
"URL from where users can sponsor your extension. It must be a valid URL with a HTTP or HTTPS protocol. Example value: https://github.com/sponsors/nvaccess"
|
|
682
682
|
)),
|
|
683
683
|
type: 'string',
|
|
@@ -689,14 +689,14 @@ const schema = {
|
|
|
689
689
|
properties: {
|
|
690
690
|
'vscode:prepublish': {
|
|
691
691
|
description: ( localize(
|
|
692
|
-
|
|
692
|
+
4478,
|
|
693
693
|
'Script executed before the package is published as a VS Code extension.'
|
|
694
694
|
)),
|
|
695
695
|
type: 'string'
|
|
696
696
|
},
|
|
697
697
|
'vscode:uninstall': {
|
|
698
698
|
description: ( localize(
|
|
699
|
-
|
|
699
|
+
4479,
|
|
700
700
|
'Uninstall hook for VS Code extension. Script that gets executed when the extension is completely uninstalled from VS Code which is when VS Code is restarted (shutdown and start) after the extension is uninstalled. Only Node scripts are supported.'
|
|
701
701
|
)),
|
|
702
702
|
type: 'string'
|
|
@@ -705,19 +705,19 @@ const schema = {
|
|
|
705
705
|
},
|
|
706
706
|
icon: {
|
|
707
707
|
type: 'string',
|
|
708
|
-
description: ( localize(
|
|
708
|
+
description: ( localize(4480, 'The path to a 128x128 pixel icon.'))
|
|
709
709
|
},
|
|
710
710
|
l10n: {
|
|
711
711
|
type: 'string',
|
|
712
712
|
description: ( localize(
|
|
713
|
-
|
|
713
|
+
4481,
|
|
714
714
|
'The relative path to a folder containing localization (bundle.l10n.*.json) files. Must be specified if you are using the vscode.l10n API.'
|
|
715
715
|
))
|
|
716
716
|
},
|
|
717
717
|
pricing: {
|
|
718
718
|
type: 'string',
|
|
719
719
|
markdownDescription: ( localize(
|
|
720
|
-
|
|
720
|
+
4482,
|
|
721
721
|
'The pricing information for the extension. Can be Free (default) or Trial. For more details visit: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#extension-pricing-label'
|
|
722
722
|
)),
|
|
723
723
|
enum: ['Free', 'Trial'],
|
|
@@ -755,7 +755,7 @@ schemaRegistry.registerSchema(schemaId, schema);
|
|
|
755
755
|
schemaRegistry.registerSchema(productSchemaId, {
|
|
756
756
|
properties: {
|
|
757
757
|
extensionEnabledApiProposals: {
|
|
758
|
-
description: ( localize(
|
|
758
|
+
description: ( localize(4483, "API proposals that the respective extensions can freely use.")),
|
|
759
759
|
type: 'object',
|
|
760
760
|
properties: {},
|
|
761
761
|
additionalProperties: {
|
|
@@ -33,7 +33,7 @@ import { IProgressService } from '../../../../platform/progress/common/progress.
|
|
|
33
33
|
var TextFileEditorModel_1;
|
|
34
34
|
let TextFileEditorModel = class TextFileEditorModel extends BaseTextEditorModel {
|
|
35
35
|
static { TextFileEditorModel_1 = this; }
|
|
36
|
-
static { this.TEXTFILE_SAVE_ENCODING_SOURCE = SaveSourceRegistry.registerSource('textFileEncoding.source', ( localize(
|
|
36
|
+
static { this.TEXTFILE_SAVE_ENCODING_SOURCE = SaveSourceRegistry.registerSource('textFileEncoding.source', ( localize(5706, "File Encoding Changed"))); }
|
|
37
37
|
static { this.UNDO_REDO_SAVE_PARTICIPANTS_AUTO_SAVE_THROTTLE_THRESHOLD = 500; }
|
|
38
38
|
constructor(resource, preferredEncoding,
|
|
39
39
|
preferredLanguageId, languageService, modelService, fileService, textFileService, workingCopyBackupService, logService, workingCopyService, filesConfigurationService, labelService, languageDetectionService, accessibilityService, pathService, extensionService, progressService) {
|
|
@@ -502,7 +502,7 @@ let TextFileEditorModel = class TextFileEditorModel extends BaseTextEditorModel
|
|
|
502
502
|
}
|
|
503
503
|
const saveCancellation = ( (new CancellationTokenSource()));
|
|
504
504
|
return this.progressService.withProgress({
|
|
505
|
-
title: ( localize(
|
|
505
|
+
title: ( localize(5707, "Saving '{0}'", this.name)),
|
|
506
506
|
location: ProgressLocation.Window,
|
|
507
507
|
cancellable: true,
|
|
508
508
|
delay: this.isDirty() ? 3000 : 5000
|
|
@@ -552,7 +552,7 @@ let TextFileEditorModel = class TextFileEditorModel extends BaseTextEditorModel
|
|
|
552
552
|
}
|
|
553
553
|
versionId = this.versionId;
|
|
554
554
|
this.inErrorMode = false;
|
|
555
|
-
progress.report({ message: ( localize(
|
|
555
|
+
progress.report({ message: ( localize(5708, "Writing into file...")) });
|
|
556
556
|
this.trace(`doSave(${versionId}) - before write()`);
|
|
557
557
|
const lastResolvedFileStat = assertIsDefined(this.lastResolvedFileStat);
|
|
558
558
|
const resolvedTextFileEditorModel = this;
|