@codingame/monaco-vscode-api 1.83.2 → 1.83.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/extensions.d.ts +3 -3
- package/extensions.js +31 -33
- package/l10n.d.ts +4 -0
- package/l10n.js +10 -0
- package/missing-services.js +4 -2
- package/monaco-editor-treemending.patch +11880 -682
- package/monaco-treemending.js +8 -2
- package/package.json +8 -1
- package/service-override/extensions.js +2 -2
- package/service-override/layout.js +2 -2
- package/tools/l10n.js +177 -0
- package/tools.js +22 -1
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +2 -2
- package/vscode/src/vs/base/common/date.js +55 -55
- package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -10
- package/vscode/src/vs/base/common/tfIdf.js +137 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/commandsQuickAccess.js +23 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +115 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +112 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +334 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +10 -14
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -2
- package/vscode/src/vs/platform/files/common/fileService.js +28 -37
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/files/common/io.js +2 -2
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +3 -9
- package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +300 -0
- package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +59 -0
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +212 -0
- package/vscode/src/vs/platform/request/common/request.js +2 -2
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -63
- package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +13 -32
- package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +4 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +38 -50
- package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +21 -53
- package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +4 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +6 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +4 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +2 -12
- package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +15 -9
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +2 -6
- package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +6 -28
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +60 -0
- package/vscode/src/vs/workbench/api/common/extHostChat.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +2 -6
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -11
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostProgress.js +2 -6
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +3 -7
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -6
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +2 -6
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +2 -7
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +9 -34
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +898 -68
- package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +7 -7
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +32 -38
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +103 -13
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +2 -2
- package/vscode/src/vs/workbench/browser/editor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +12 -27
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +2 -7
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +4 -7
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +42 -90
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +140 -272
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +115 -148
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +21 -33
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +7 -19
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -26
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +7 -17
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +60 -81
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +4 -11
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +8 -8
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +69 -34
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +58 -34
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +3 -9
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +7 -11
- package/vscode/src/vs/workbench/browser/quickaccess.js +7 -3
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +186 -683
- package/vscode/src/vs/workbench/common/configuration.js +12 -15
- package/vscode/src/vs/workbench/common/contextkeys.js +272 -90
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -7
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +2 -6
- package/vscode/src/vs/workbench/common/editor.js +5 -5
- package/vscode/src/vs/workbench/common/theme.js +137 -527
- package/vscode/src/vs/workbench/common/views.js +4 -8
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +15 -55
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +3 -8
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +22 -60
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +9 -15
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +18 -48
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +5 -10
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +5 -13
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +8 -27
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +5 -17
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -15
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +7 -20
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +63 -216
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +4 -7
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +5 -8
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +8 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +5 -15
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +3 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +10 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +6 -15
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +5 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +3 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +4 -13
- package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +26 -77
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -17
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +7 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +10 -29
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +10 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +8 -8
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +25 -21
- package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +13 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +56 -98
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +96 -180
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -79
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -15
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -8
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +56 -19
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +76 -230
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -5
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -103
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +228 -99
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +5 -9
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +5 -5
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +15 -35
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +5 -8
- package/vscode/src/vs/workbench/contrib/files/common/files.js +27 -48
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -6
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -8
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +112 -52
- package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +30 -96
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +42 -0
- package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +23 -29
- package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +3 -3
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +13 -16
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +15 -34
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +12 -17
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +26 -75
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +4 -19
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -4
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +10 -41
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -14
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +26 -13
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +8 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -17
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -28
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +21 -78
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +21 -53
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +2 -5
- package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +113 -348
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +2 -5
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +31 -1
- package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +1 -4
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +2 -5
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +4 -4
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +10 -45
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +80 -296
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +6 -21
- package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +3 -6
- package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +24 -81
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +2 -2
- package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +11 -17
- package/vscode/src/vs/workbench/services/language/common/languageService.js +23 -98
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +9 -11
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -5
- package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +11 -23
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +2 -2
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +2 -7
- package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +2 -2
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +16 -53
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +50 -1
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +25 -99
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -3
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +15 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +2 -2
|
@@ -98,14 +98,8 @@ const extensionKindSchema = {
|
|
|
98
98
|
'workspace'
|
|
99
99
|
],
|
|
100
100
|
enumDescriptions: [
|
|
101
|
-
(
|
|
102
|
-
|
|
103
|
-
"UI extension kind. In a remote window, such extensions are enabled only when available on the local machine."
|
|
104
|
-
)),
|
|
105
|
-
( nls.localize(
|
|
106
|
-
'workspace',
|
|
107
|
-
"Workspace extension kind. In a remote window, such extensions are enabled only when available on the remote."
|
|
108
|
-
)),
|
|
101
|
+
nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'ui', "UI extension kind. In a remote window, such extensions are enabled only when available on the local machine."),
|
|
102
|
+
nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'workspace', "Workspace extension kind. In a remote window, such extensions are enabled only when available on the remote."),
|
|
109
103
|
],
|
|
110
104
|
};
|
|
111
105
|
const schemaId = 'vscode://schemas/vscode-extensions';
|
|
@@ -113,34 +107,25 @@ const schema = {
|
|
|
113
107
|
properties: {
|
|
114
108
|
engines: {
|
|
115
109
|
type: 'object',
|
|
116
|
-
description:
|
|
110
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.engines', "Engine compatibility."),
|
|
117
111
|
properties: {
|
|
118
112
|
'vscode': {
|
|
119
113
|
type: 'string',
|
|
120
|
-
description: (
|
|
121
|
-
'vscode.extension.engines.vscode',
|
|
122
|
-
'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.'
|
|
123
|
-
)),
|
|
114
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.engines.vscode', '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.'),
|
|
124
115
|
default: '^1.22.0',
|
|
125
116
|
}
|
|
126
117
|
}
|
|
127
118
|
},
|
|
128
119
|
publisher: {
|
|
129
|
-
description:
|
|
120
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.publisher', 'The publisher of the VS Code extension.'),
|
|
130
121
|
type: 'string'
|
|
131
122
|
},
|
|
132
123
|
displayName: {
|
|
133
|
-
description: (
|
|
134
|
-
'vscode.extension.displayName',
|
|
135
|
-
'The display name for the extension used in the VS Code gallery.'
|
|
136
|
-
)),
|
|
124
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.displayName', 'The display name for the extension used in the VS Code gallery.'),
|
|
137
125
|
type: 'string'
|
|
138
126
|
},
|
|
139
127
|
categories: {
|
|
140
|
-
description: (
|
|
141
|
-
'vscode.extension.categories',
|
|
142
|
-
'The categories used by the VS Code gallery to categorize the extension.'
|
|
143
|
-
)),
|
|
128
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.categories', 'The categories used by the VS Code gallery to categorize the extension.'),
|
|
144
129
|
type: 'array',
|
|
145
130
|
uniqueItems: true,
|
|
146
131
|
items: {
|
|
@@ -151,42 +136,27 @@ const schema = {
|
|
|
151
136
|
{
|
|
152
137
|
type: 'string',
|
|
153
138
|
const: 'Languages',
|
|
154
|
-
deprecationMessage: (
|
|
155
|
-
'vscode.extension.category.languages.deprecated',
|
|
156
|
-
'Use \'Programming Languages\' instead'
|
|
157
|
-
)),
|
|
139
|
+
deprecationMessage: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.category.languages.deprecated', 'Use \'Programming Languages\' instead'),
|
|
158
140
|
}]
|
|
159
141
|
}
|
|
160
142
|
},
|
|
161
143
|
galleryBanner: {
|
|
162
144
|
type: 'object',
|
|
163
|
-
description: (
|
|
164
|
-
'vscode.extension.galleryBanner',
|
|
165
|
-
'Banner used in the VS Code marketplace.'
|
|
166
|
-
)),
|
|
145
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.galleryBanner', 'Banner used in the VS Code marketplace.'),
|
|
167
146
|
properties: {
|
|
168
147
|
color: {
|
|
169
|
-
description: (
|
|
170
|
-
'vscode.extension.galleryBanner.color',
|
|
171
|
-
'The banner color on the VS Code marketplace page header.'
|
|
172
|
-
)),
|
|
148
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.galleryBanner.color', 'The banner color on the VS Code marketplace page header.'),
|
|
173
149
|
type: 'string'
|
|
174
150
|
},
|
|
175
151
|
theme: {
|
|
176
|
-
description: (
|
|
177
|
-
'vscode.extension.galleryBanner.theme',
|
|
178
|
-
'The color theme for the font used in the banner.'
|
|
179
|
-
)),
|
|
152
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.galleryBanner.theme', 'The color theme for the font used in the banner.'),
|
|
180
153
|
type: 'string',
|
|
181
154
|
enum: ['dark', 'light']
|
|
182
155
|
}
|
|
183
156
|
}
|
|
184
157
|
},
|
|
185
158
|
contributes: {
|
|
186
|
-
description: (
|
|
187
|
-
'vscode.extension.contributes',
|
|
188
|
-
'All contributions of the VS Code extension represented by this package.'
|
|
189
|
-
)),
|
|
159
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.contributes', 'All contributions of the VS Code extension represented by this package.'),
|
|
190
160
|
type: 'object',
|
|
191
161
|
properties: {
|
|
192
162
|
},
|
|
@@ -194,23 +164,14 @@ const schema = {
|
|
|
194
164
|
},
|
|
195
165
|
preview: {
|
|
196
166
|
type: 'boolean',
|
|
197
|
-
description: (
|
|
198
|
-
'vscode.extension.preview',
|
|
199
|
-
'Sets the extension to be flagged as a Preview in the Marketplace.'
|
|
200
|
-
)),
|
|
167
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.preview', 'Sets the extension to be flagged as a Preview in the Marketplace.'),
|
|
201
168
|
},
|
|
202
169
|
enableProposedApi: {
|
|
203
170
|
type: 'boolean',
|
|
204
|
-
deprecationMessage: (
|
|
205
|
-
'vscode.extension.enableProposedApi.deprecated',
|
|
206
|
-
'Use `enabledApiProposals` instead.'
|
|
207
|
-
)),
|
|
171
|
+
deprecationMessage: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.enableProposedApi.deprecated', 'Use `enabledApiProposals` instead.'),
|
|
208
172
|
},
|
|
209
173
|
enabledApiProposals: {
|
|
210
|
-
markdownDescription: (
|
|
211
|
-
'vscode.extension.enabledApiProposals',
|
|
212
|
-
'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'
|
|
213
|
-
)),
|
|
174
|
+
markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.enabledApiProposals', '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'),
|
|
214
175
|
type: 'array',
|
|
215
176
|
uniqueItems: true,
|
|
216
177
|
items: {
|
|
@@ -220,226 +181,142 @@ const schema = {
|
|
|
220
181
|
}
|
|
221
182
|
},
|
|
222
183
|
api: {
|
|
223
|
-
markdownDescription: (
|
|
224
|
-
'vscode.extension.api',
|
|
225
|
-
'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'
|
|
226
|
-
)),
|
|
184
|
+
markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.api', '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'),
|
|
227
185
|
type: 'string',
|
|
228
186
|
enum: ['none'],
|
|
229
187
|
enumDescriptions: [
|
|
230
|
-
(
|
|
231
|
-
'vscode.extension.api.none',
|
|
232
|
-
"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."
|
|
233
|
-
))
|
|
188
|
+
nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.api.none', "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.")
|
|
234
189
|
]
|
|
235
190
|
},
|
|
236
191
|
activationEvents: {
|
|
237
|
-
description: (
|
|
238
|
-
'vscode.extension.activationEvents',
|
|
239
|
-
'Activation events for the VS Code extension.'
|
|
240
|
-
)),
|
|
192
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents', 'Activation events for the VS Code extension.'),
|
|
241
193
|
type: 'array',
|
|
242
194
|
items: {
|
|
243
195
|
type: 'string',
|
|
244
196
|
defaultSnippets: [
|
|
245
197
|
{
|
|
246
198
|
label: 'onWebviewPanel',
|
|
247
|
-
description: (
|
|
248
|
-
'vscode.extension.activationEvents.onWebviewPanel',
|
|
249
|
-
'An activation event emmited when a webview is loaded of a certain viewType'
|
|
250
|
-
)),
|
|
199
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onWebviewPanel', 'An activation event emmited when a webview is loaded of a certain viewType'),
|
|
251
200
|
body: 'onWebviewPanel:viewType'
|
|
252
201
|
},
|
|
253
202
|
{
|
|
254
203
|
label: 'onLanguage',
|
|
255
|
-
description: (
|
|
256
|
-
'vscode.extension.activationEvents.onLanguage',
|
|
257
|
-
'An activation event emitted whenever a file that resolves to the specified language gets opened.'
|
|
258
|
-
)),
|
|
204
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onLanguage', 'An activation event emitted whenever a file that resolves to the specified language gets opened.'),
|
|
259
205
|
body: 'onLanguage:${1:languageId}'
|
|
260
206
|
},
|
|
261
207
|
{
|
|
262
208
|
label: 'onCommand',
|
|
263
|
-
description: (
|
|
264
|
-
'vscode.extension.activationEvents.onCommand',
|
|
265
|
-
'An activation event emitted whenever the specified command gets invoked.'
|
|
266
|
-
)),
|
|
209
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onCommand', 'An activation event emitted whenever the specified command gets invoked.'),
|
|
267
210
|
body: 'onCommand:${2:commandId}'
|
|
268
211
|
},
|
|
269
212
|
{
|
|
270
213
|
label: 'onDebug',
|
|
271
|
-
description: (
|
|
272
|
-
'vscode.extension.activationEvents.onDebug',
|
|
273
|
-
'An activation event emitted whenever a user is about to start debugging or about to setup debug configurations.'
|
|
274
|
-
)),
|
|
214
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onDebug', 'An activation event emitted whenever a user is about to start debugging or about to setup debug configurations.'),
|
|
275
215
|
body: 'onDebug'
|
|
276
216
|
},
|
|
277
217
|
{
|
|
278
218
|
label: 'onDebugInitialConfigurations',
|
|
279
|
-
description: (
|
|
280
|
-
'vscode.extension.activationEvents.onDebugInitialConfigurations',
|
|
281
|
-
'An activation event emitted whenever a "launch.json" needs to be created (and all provideDebugConfigurations methods need to be called).'
|
|
282
|
-
)),
|
|
219
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onDebugInitialConfigurations', 'An activation event emitted whenever a "launch.json" needs to be created (and all provideDebugConfigurations methods need to be called).'),
|
|
283
220
|
body: 'onDebugInitialConfigurations'
|
|
284
221
|
},
|
|
285
222
|
{
|
|
286
223
|
label: 'onDebugDynamicConfigurations',
|
|
287
|
-
description: (
|
|
288
|
-
'vscode.extension.activationEvents.onDebugDynamicConfigurations',
|
|
289
|
-
'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).'
|
|
290
|
-
)),
|
|
224
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onDebugDynamicConfigurations', '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).'),
|
|
291
225
|
body: 'onDebugDynamicConfigurations'
|
|
292
226
|
},
|
|
293
227
|
{
|
|
294
228
|
label: 'onDebugResolve',
|
|
295
|
-
description: (
|
|
296
|
-
'vscode.extension.activationEvents.onDebugResolve',
|
|
297
|
-
'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).'
|
|
298
|
-
)),
|
|
229
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onDebugResolve', '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).'),
|
|
299
230
|
body: 'onDebugResolve:${6:type}'
|
|
300
231
|
},
|
|
301
232
|
{
|
|
302
233
|
label: 'onDebugAdapterProtocolTracker',
|
|
303
|
-
description: (
|
|
304
|
-
'vscode.extension.activationEvents.onDebugAdapterProtocolTracker',
|
|
305
|
-
'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.'
|
|
306
|
-
)),
|
|
234
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onDebugAdapterProtocolTracker', '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.'),
|
|
307
235
|
body: 'onDebugAdapterProtocolTracker:${6:type}'
|
|
308
236
|
},
|
|
309
237
|
{
|
|
310
238
|
label: 'workspaceContains',
|
|
311
|
-
description: (
|
|
312
|
-
'vscode.extension.activationEvents.workspaceContains',
|
|
313
|
-
'An activation event emitted whenever a folder is opened that contains at least a file matching the specified glob pattern.'
|
|
314
|
-
)),
|
|
239
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.workspaceContains', 'An activation event emitted whenever a folder is opened that contains at least a file matching the specified glob pattern.'),
|
|
315
240
|
body: 'workspaceContains:${4:filePattern}'
|
|
316
241
|
},
|
|
317
242
|
{
|
|
318
243
|
label: 'onStartupFinished',
|
|
319
|
-
description: (
|
|
320
|
-
'vscode.extension.activationEvents.onStartupFinished',
|
|
321
|
-
'An activation event emitted after the start-up finished (after all `*` activated extensions have finished activating).'
|
|
322
|
-
)),
|
|
244
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onStartupFinished', 'An activation event emitted after the start-up finished (after all `*` activated extensions have finished activating).'),
|
|
323
245
|
body: 'onStartupFinished'
|
|
324
246
|
},
|
|
325
247
|
{
|
|
326
248
|
label: 'onTaskType',
|
|
327
|
-
description: (
|
|
328
|
-
'vscode.extension.activationEvents.onTaskType',
|
|
329
|
-
'An activation event emitted whenever tasks of a certain type need to be listed or resolved.'
|
|
330
|
-
)),
|
|
249
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onTaskType', 'An activation event emitted whenever tasks of a certain type need to be listed or resolved.'),
|
|
331
250
|
body: 'onTaskType:${1:taskType}'
|
|
332
251
|
},
|
|
333
252
|
{
|
|
334
253
|
label: 'onFileSystem',
|
|
335
|
-
description: (
|
|
336
|
-
'vscode.extension.activationEvents.onFileSystem',
|
|
337
|
-
'An activation event emitted whenever a file or folder is accessed with the given scheme.'
|
|
338
|
-
)),
|
|
254
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onFileSystem', 'An activation event emitted whenever a file or folder is accessed with the given scheme.'),
|
|
339
255
|
body: 'onFileSystem:${1:scheme}'
|
|
340
256
|
},
|
|
341
257
|
{
|
|
342
258
|
label: 'onEditSession',
|
|
343
|
-
description: (
|
|
344
|
-
'vscode.extension.activationEvents.onEditSession',
|
|
345
|
-
'An activation event emitted whenever an edit session is accessed with the given scheme.'
|
|
346
|
-
)),
|
|
259
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onEditSession', 'An activation event emitted whenever an edit session is accessed with the given scheme.'),
|
|
347
260
|
body: 'onEditSession:${1:scheme}'
|
|
348
261
|
},
|
|
349
262
|
{
|
|
350
263
|
label: 'onSearch',
|
|
351
|
-
description: (
|
|
352
|
-
'vscode.extension.activationEvents.onSearch',
|
|
353
|
-
'An activation event emitted whenever a search is started in the folder with the given scheme.'
|
|
354
|
-
)),
|
|
264
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onSearch', 'An activation event emitted whenever a search is started in the folder with the given scheme.'),
|
|
355
265
|
body: 'onSearch:${7:scheme}'
|
|
356
266
|
},
|
|
357
267
|
{
|
|
358
268
|
label: 'onView',
|
|
359
269
|
body: 'onView:${5:viewId}',
|
|
360
|
-
description: (
|
|
361
|
-
'vscode.extension.activationEvents.onView',
|
|
362
|
-
'An activation event emitted whenever the specified view is expanded.'
|
|
363
|
-
)),
|
|
270
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onView', 'An activation event emitted whenever the specified view is expanded.'),
|
|
364
271
|
},
|
|
365
272
|
{
|
|
366
273
|
label: 'onUri',
|
|
367
274
|
body: 'onUri',
|
|
368
|
-
description: (
|
|
369
|
-
'vscode.extension.activationEvents.onUri',
|
|
370
|
-
'An activation event emitted whenever a system-wide Uri directed towards this extension is open.'
|
|
371
|
-
)),
|
|
275
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onUri', 'An activation event emitted whenever a system-wide Uri directed towards this extension is open.'),
|
|
372
276
|
},
|
|
373
277
|
{
|
|
374
278
|
label: 'onOpenExternalUri',
|
|
375
279
|
body: 'onOpenExternalUri',
|
|
376
|
-
description: (
|
|
377
|
-
'vscode.extension.activationEvents.onOpenExternalUri',
|
|
378
|
-
'An activation event emitted whenever a external uri (such as an http or https link) is being opened.'
|
|
379
|
-
)),
|
|
280
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onOpenExternalUri', 'An activation event emitted whenever a external uri (such as an http or https link) is being opened.'),
|
|
380
281
|
},
|
|
381
282
|
{
|
|
382
283
|
label: 'onCustomEditor',
|
|
383
284
|
body: 'onCustomEditor:${9:viewType}',
|
|
384
|
-
description: (
|
|
385
|
-
'vscode.extension.activationEvents.onCustomEditor',
|
|
386
|
-
'An activation event emitted whenever the specified custom editor becomes visible.'
|
|
387
|
-
)),
|
|
285
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onCustomEditor', 'An activation event emitted whenever the specified custom editor becomes visible.'),
|
|
388
286
|
},
|
|
389
287
|
{
|
|
390
288
|
label: 'onNotebook',
|
|
391
289
|
body: 'onNotebook:${1:type}',
|
|
392
|
-
description: (
|
|
393
|
-
'vscode.extension.activationEvents.onNotebook',
|
|
394
|
-
'An activation event emitted whenever the specified notebook document is opened.'
|
|
395
|
-
)),
|
|
290
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onNotebook', 'An activation event emitted whenever the specified notebook document is opened.'),
|
|
396
291
|
},
|
|
397
292
|
{
|
|
398
293
|
label: 'onAuthenticationRequest',
|
|
399
294
|
body: 'onAuthenticationRequest:${11:authenticationProviderId}',
|
|
400
|
-
description: (
|
|
401
|
-
'vscode.extension.activationEvents.onAuthenticationRequest',
|
|
402
|
-
'An activation event emitted whenever sessions are requested from the specified authentication provider.'
|
|
403
|
-
))
|
|
295
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onAuthenticationRequest', 'An activation event emitted whenever sessions are requested from the specified authentication provider.')
|
|
404
296
|
},
|
|
405
297
|
{
|
|
406
298
|
label: 'onRenderer',
|
|
407
|
-
description: (
|
|
408
|
-
'vscode.extension.activationEvents.onRenderer',
|
|
409
|
-
'An activation event emitted whenever a notebook output renderer is used.'
|
|
410
|
-
)),
|
|
299
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onRenderer', 'An activation event emitted whenever a notebook output renderer is used.'),
|
|
411
300
|
body: 'onRenderer:${11:rendererId}'
|
|
412
301
|
},
|
|
413
302
|
{
|
|
414
303
|
label: 'onTerminalProfile',
|
|
415
304
|
body: 'onTerminalProfile:${1:terminalId}',
|
|
416
|
-
description: (
|
|
417
|
-
'vscode.extension.activationEvents.onTerminalProfile',
|
|
418
|
-
'An activation event emitted when a specific terminal profile is launched.'
|
|
419
|
-
)),
|
|
305
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onTerminalProfile', 'An activation event emitted when a specific terminal profile is launched.'),
|
|
420
306
|
},
|
|
421
307
|
{
|
|
422
308
|
label: 'onTerminalQuickFixRequest',
|
|
423
309
|
body: 'onTerminalQuickFixRequest:${1:quickFixId}',
|
|
424
|
-
description: (
|
|
425
|
-
'vscode.extension.activationEvents.onTerminalQuickFixRequest',
|
|
426
|
-
'An activation event emitted when a command matches the selector associated with this ID'
|
|
427
|
-
)),
|
|
310
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onTerminalQuickFixRequest', 'An activation event emitted when a command matches the selector associated with this ID'),
|
|
428
311
|
},
|
|
429
312
|
{
|
|
430
313
|
label: 'onWalkthrough',
|
|
431
314
|
body: 'onWalkthrough:${1:walkthroughID}',
|
|
432
|
-
description: (
|
|
433
|
-
'vscode.extension.activationEvents.onWalkthrough',
|
|
434
|
-
'An activation event emitted when a specified walkthrough is opened.'
|
|
435
|
-
)),
|
|
315
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.onWalkthrough', 'An activation event emitted when a specified walkthrough is opened.'),
|
|
436
316
|
},
|
|
437
317
|
{
|
|
438
318
|
label: '*',
|
|
439
|
-
description: (
|
|
440
|
-
'vscode.extension.activationEvents.star',
|
|
441
|
-
'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.'
|
|
442
|
-
)),
|
|
319
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.activationEvents.star', '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.'),
|
|
443
320
|
body: '*'
|
|
444
321
|
}
|
|
445
322
|
],
|
|
@@ -447,44 +324,35 @@ const schema = {
|
|
|
447
324
|
},
|
|
448
325
|
badges: {
|
|
449
326
|
type: 'array',
|
|
450
|
-
description: (
|
|
451
|
-
'vscode.extension.badges',
|
|
452
|
-
'Array of badges to display in the sidebar of the Marketplace\'s extension page.'
|
|
453
|
-
)),
|
|
327
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.badges', 'Array of badges to display in the sidebar of the Marketplace\'s extension page.'),
|
|
454
328
|
items: {
|
|
455
329
|
type: 'object',
|
|
456
330
|
required: ['url', 'href', 'description'],
|
|
457
331
|
properties: {
|
|
458
332
|
url: {
|
|
459
333
|
type: 'string',
|
|
460
|
-
description:
|
|
334
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.badges.url', 'Badge image URL.')
|
|
461
335
|
},
|
|
462
336
|
href: {
|
|
463
337
|
type: 'string',
|
|
464
|
-
description:
|
|
338
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.badges.href', 'Badge link.')
|
|
465
339
|
},
|
|
466
340
|
description: {
|
|
467
341
|
type: 'string',
|
|
468
|
-
description:
|
|
342
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.badges.description', 'Badge description.')
|
|
469
343
|
}
|
|
470
344
|
}
|
|
471
345
|
}
|
|
472
346
|
},
|
|
473
347
|
markdown: {
|
|
474
348
|
type: 'string',
|
|
475
|
-
description: (
|
|
476
|
-
'vscode.extension.markdown',
|
|
477
|
-
"Controls the Markdown rendering engine used in the Marketplace. Either github (default) or standard."
|
|
478
|
-
)),
|
|
349
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.markdown', "Controls the Markdown rendering engine used in the Marketplace. Either github (default) or standard."),
|
|
479
350
|
enum: ['github', 'standard'],
|
|
480
351
|
default: 'github'
|
|
481
352
|
},
|
|
482
353
|
qna: {
|
|
483
354
|
default: 'marketplace',
|
|
484
|
-
description: (
|
|
485
|
-
'vscode.extension.qna',
|
|
486
|
-
"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."
|
|
487
|
-
)),
|
|
355
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.qna', "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."),
|
|
488
356
|
anyOf: [
|
|
489
357
|
{
|
|
490
358
|
type: ['string', 'boolean'],
|
|
@@ -496,10 +364,7 @@ const schema = {
|
|
|
496
364
|
]
|
|
497
365
|
},
|
|
498
366
|
extensionDependencies: {
|
|
499
|
-
description: (
|
|
500
|
-
'vscode.extension.extensionDependencies',
|
|
501
|
-
'Dependencies to other extensions. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp.'
|
|
502
|
-
)),
|
|
367
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.extensionDependencies', 'Dependencies to other extensions. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp.'),
|
|
503
368
|
type: 'array',
|
|
504
369
|
uniqueItems: true,
|
|
505
370
|
items: {
|
|
@@ -508,10 +373,7 @@ const schema = {
|
|
|
508
373
|
}
|
|
509
374
|
},
|
|
510
375
|
extensionPack: {
|
|
511
|
-
description: (
|
|
512
|
-
'vscode.extension.contributes.extensionPack',
|
|
513
|
-
"A set of extensions that can be installed together. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp."
|
|
514
|
-
)),
|
|
376
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.contributes.extensionPack', "A set of extensions that can be installed together. The identifier of an extension is always ${publisher}.${name}. For example: vscode.csharp."),
|
|
515
377
|
type: 'array',
|
|
516
378
|
uniqueItems: true,
|
|
517
379
|
items: {
|
|
@@ -520,63 +382,39 @@ const schema = {
|
|
|
520
382
|
}
|
|
521
383
|
},
|
|
522
384
|
extensionKind: {
|
|
523
|
-
description: (
|
|
524
|
-
'extensionKind',
|
|
525
|
-
"Define the kind of an extension. `ui` extensions are installed and run on the local machine while `workspace` extensions run on the remote."
|
|
526
|
-
)),
|
|
385
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'extensionKind', "Define the kind of an extension. `ui` extensions are installed and run on the local machine while `workspace` extensions run on the remote."),
|
|
527
386
|
type: 'array',
|
|
528
387
|
items: extensionKindSchema,
|
|
529
388
|
default: ['workspace'],
|
|
530
389
|
defaultSnippets: [
|
|
531
390
|
{
|
|
532
391
|
body: ['ui'],
|
|
533
|
-
description: (
|
|
534
|
-
'extensionKind.ui',
|
|
535
|
-
"Define an extension which can run only on the local machine when connected to remote window."
|
|
536
|
-
))
|
|
392
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'extensionKind.ui', "Define an extension which can run only on the local machine when connected to remote window.")
|
|
537
393
|
},
|
|
538
394
|
{
|
|
539
395
|
body: ['workspace'],
|
|
540
|
-
description: (
|
|
541
|
-
'extensionKind.workspace',
|
|
542
|
-
"Define an extension which can run only on the remote machine when connected remote window."
|
|
543
|
-
))
|
|
396
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'extensionKind.workspace', "Define an extension which can run only on the remote machine when connected remote window.")
|
|
544
397
|
},
|
|
545
398
|
{
|
|
546
399
|
body: ['ui', 'workspace'],
|
|
547
|
-
description: (
|
|
548
|
-
'extensionKind.ui-workspace',
|
|
549
|
-
"Define an extension which can run on either side, with a preference towards running on the local machine."
|
|
550
|
-
))
|
|
400
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'extensionKind.ui-workspace', "Define an extension which can run on either side, with a preference towards running on the local machine.")
|
|
551
401
|
},
|
|
552
402
|
{
|
|
553
403
|
body: ['workspace', 'ui'],
|
|
554
|
-
description: (
|
|
555
|
-
'extensionKind.workspace-ui',
|
|
556
|
-
"Define an extension which can run on either side, with a preference towards running on the remote machine."
|
|
557
|
-
))
|
|
404
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'extensionKind.workspace-ui', "Define an extension which can run on either side, with a preference towards running on the remote machine.")
|
|
558
405
|
},
|
|
559
406
|
{
|
|
560
407
|
body: [],
|
|
561
|
-
description: (
|
|
562
|
-
'extensionKind.empty',
|
|
563
|
-
"Define an extension which cannot run in a remote context, neither on the local, nor on the remote machine."
|
|
564
|
-
))
|
|
408
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'extensionKind.empty', "Define an extension which cannot run in a remote context, neither on the local, nor on the remote machine.")
|
|
565
409
|
}
|
|
566
410
|
]
|
|
567
411
|
},
|
|
568
412
|
capabilities: {
|
|
569
|
-
description: (
|
|
570
|
-
'vscode.extension.capabilities',
|
|
571
|
-
"Declare the set of supported capabilities by the extension."
|
|
572
|
-
)),
|
|
413
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities', "Declare the set of supported capabilities by the extension."),
|
|
573
414
|
type: 'object',
|
|
574
415
|
properties: {
|
|
575
416
|
virtualWorkspaces: {
|
|
576
|
-
description: (
|
|
577
|
-
'vscode.extension.capabilities.virtualWorkspaces',
|
|
578
|
-
"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."
|
|
579
|
-
)),
|
|
417
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.virtualWorkspaces', "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."),
|
|
580
418
|
type: ['boolean', 'object'],
|
|
581
419
|
defaultSnippets: [
|
|
582
420
|
{ label: 'limited', body: { supported: '${1:limited}', description: '${2}' } },
|
|
@@ -585,41 +423,23 @@ const schema = {
|
|
|
585
423
|
default: true.valueOf,
|
|
586
424
|
properties: {
|
|
587
425
|
supported: {
|
|
588
|
-
markdownDescription: (
|
|
589
|
-
'vscode.extension.capabilities.virtualWorkspaces.supported',
|
|
590
|
-
"Declares the level of support for virtual workspaces by the extension."
|
|
591
|
-
)),
|
|
426
|
+
markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.virtualWorkspaces.supported', "Declares the level of support for virtual workspaces by the extension."),
|
|
592
427
|
type: ['string', 'boolean'],
|
|
593
428
|
enum: ['limited', true, false],
|
|
594
429
|
enumDescriptions: [
|
|
595
|
-
(
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
)),
|
|
599
|
-
( nls.localize(
|
|
600
|
-
'vscode.extension.capabilities.virtualWorkspaces.supported.true',
|
|
601
|
-
"The extension will be enabled in virtual workspaces with all functionality enabled."
|
|
602
|
-
)),
|
|
603
|
-
( nls.localize(
|
|
604
|
-
'vscode.extension.capabilities.virtualWorkspaces.supported.false',
|
|
605
|
-
"The extension will not be enabled in virtual workspaces."
|
|
606
|
-
)),
|
|
430
|
+
nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.virtualWorkspaces.supported.limited', "The extension will be enabled in virtual workspaces with some functionality disabled."),
|
|
431
|
+
nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.virtualWorkspaces.supported.true', "The extension will be enabled in virtual workspaces with all functionality enabled."),
|
|
432
|
+
nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.virtualWorkspaces.supported.false', "The extension will not be enabled in virtual workspaces."),
|
|
607
433
|
]
|
|
608
434
|
},
|
|
609
435
|
description: {
|
|
610
436
|
type: 'string',
|
|
611
|
-
markdownDescription: (
|
|
612
|
-
'vscode.extension.capabilities.virtualWorkspaces.description',
|
|
613
|
-
"A description of how virtual workspaces affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`."
|
|
614
|
-
)),
|
|
437
|
+
markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.virtualWorkspaces.description', "A description of how virtual workspaces affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`."),
|
|
615
438
|
}
|
|
616
439
|
}
|
|
617
440
|
},
|
|
618
441
|
untrustedWorkspaces: {
|
|
619
|
-
description: (
|
|
620
|
-
'vscode.extension.capabilities.untrustedWorkspaces',
|
|
621
|
-
'Declares how the extension should be handled in untrusted workspaces.'
|
|
622
|
-
)),
|
|
442
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces', 'Declares how the extension should be handled in untrusted workspaces.'),
|
|
623
443
|
type: 'object',
|
|
624
444
|
required: ['supported'],
|
|
625
445
|
defaultSnippets: [
|
|
@@ -627,32 +447,17 @@ const schema = {
|
|
|
627
447
|
],
|
|
628
448
|
properties: {
|
|
629
449
|
supported: {
|
|
630
|
-
markdownDescription: (
|
|
631
|
-
'vscode.extension.capabilities.untrustedWorkspaces.supported',
|
|
632
|
-
"Declares the level of support for untrusted workspaces by the extension."
|
|
633
|
-
)),
|
|
450
|
+
markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces.supported', "Declares the level of support for untrusted workspaces by the extension."),
|
|
634
451
|
type: ['string', 'boolean'],
|
|
635
452
|
enum: ['limited', true, false],
|
|
636
453
|
enumDescriptions: [
|
|
637
|
-
(
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
)),
|
|
641
|
-
( nls.localize(
|
|
642
|
-
'vscode.extension.capabilities.untrustedWorkspaces.supported.true',
|
|
643
|
-
"The extension will be enabled in untrusted workspaces with all functionality enabled."
|
|
644
|
-
)),
|
|
645
|
-
( nls.localize(
|
|
646
|
-
'vscode.extension.capabilities.untrustedWorkspaces.supported.false',
|
|
647
|
-
"The extension will not be enabled in untrusted workspaces."
|
|
648
|
-
)),
|
|
454
|
+
nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces.supported.limited', "The extension will be enabled in untrusted workspaces with some functionality disabled."),
|
|
455
|
+
nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces.supported.true', "The extension will be enabled in untrusted workspaces with all functionality enabled."),
|
|
456
|
+
nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces.supported.false', "The extension will not be enabled in untrusted workspaces."),
|
|
649
457
|
]
|
|
650
458
|
},
|
|
651
459
|
restrictedConfigurations: {
|
|
652
|
-
description: (
|
|
653
|
-
'vscode.extension.capabilities.untrustedWorkspaces.restrictedConfigurations',
|
|
654
|
-
"A list of configuration keys contributed by the extension that should not use workspace values in untrusted workspaces."
|
|
655
|
-
)),
|
|
460
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces.restrictedConfigurations', "A list of configuration keys contributed by the extension that should not use workspace values in untrusted workspaces."),
|
|
656
461
|
type: 'array',
|
|
657
462
|
items: {
|
|
658
463
|
type: 'string'
|
|
@@ -660,30 +465,21 @@ const schema = {
|
|
|
660
465
|
},
|
|
661
466
|
description: {
|
|
662
467
|
type: 'string',
|
|
663
|
-
markdownDescription: (
|
|
664
|
-
'vscode.extension.capabilities.untrustedWorkspaces.description',
|
|
665
|
-
"A description of how workspace trust affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`."
|
|
666
|
-
)),
|
|
468
|
+
markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.capabilities.untrustedWorkspaces.description', "A description of how workspace trust affects the extensions behavior and why it is needed. This only applies when `supported` is not `true`."),
|
|
667
469
|
}
|
|
668
470
|
}
|
|
669
471
|
}
|
|
670
472
|
}
|
|
671
473
|
},
|
|
672
474
|
sponsor: {
|
|
673
|
-
description: (
|
|
674
|
-
'vscode.extension.contributes.sponsor',
|
|
675
|
-
"Specify the location from where users can sponsor your extension."
|
|
676
|
-
)),
|
|
475
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.contributes.sponsor', "Specify the location from where users can sponsor your extension."),
|
|
677
476
|
type: 'object',
|
|
678
477
|
defaultSnippets: [
|
|
679
478
|
{ body: { url: '${1:https:}' } },
|
|
680
479
|
],
|
|
681
480
|
properties: {
|
|
682
481
|
'url': {
|
|
683
|
-
description: (
|
|
684
|
-
'vscode.extension.contributes.sponsor.url',
|
|
685
|
-
"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"
|
|
686
|
-
)),
|
|
482
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.contributes.sponsor.url', "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"),
|
|
687
483
|
type: 'string',
|
|
688
484
|
}
|
|
689
485
|
}
|
|
@@ -692,41 +488,32 @@ const schema = {
|
|
|
692
488
|
type: 'object',
|
|
693
489
|
properties: {
|
|
694
490
|
'vscode:prepublish': {
|
|
695
|
-
description: (
|
|
696
|
-
'vscode.extension.scripts.prepublish',
|
|
697
|
-
'Script executed before the package is published as a VS Code extension.'
|
|
698
|
-
)),
|
|
491
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.scripts.prepublish', 'Script executed before the package is published as a VS Code extension.'),
|
|
699
492
|
type: 'string'
|
|
700
493
|
},
|
|
701
494
|
'vscode:uninstall': {
|
|
702
|
-
description: (
|
|
703
|
-
'vscode.extension.scripts.uninstall',
|
|
704
|
-
'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.'
|
|
705
|
-
)),
|
|
495
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.scripts.uninstall', '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.'),
|
|
706
496
|
type: 'string'
|
|
707
497
|
}
|
|
708
498
|
}
|
|
709
499
|
},
|
|
710
500
|
icon: {
|
|
711
501
|
type: 'string',
|
|
712
|
-
description:
|
|
502
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.icon', 'The path to a 128x128 pixel icon.')
|
|
713
503
|
},
|
|
714
504
|
l10n: {
|
|
715
505
|
type: 'string',
|
|
716
|
-
description:
|
|
506
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', {
|
|
717
507
|
key: 'vscode.extension.l10n',
|
|
718
508
|
comment: [
|
|
719
509
|
'{Locked="bundle.l10n._locale_.json"}',
|
|
720
510
|
'{Locked="vscode.l10n API"}'
|
|
721
511
|
]
|
|
722
|
-
}, 'The relative path to a folder containing localization (bundle.l10n.*.json) files. Must be specified if you are using the vscode.l10n API.')
|
|
512
|
+
}, 'The relative path to a folder containing localization (bundle.l10n.*.json) files. Must be specified if you are using the vscode.l10n API.')
|
|
723
513
|
},
|
|
724
514
|
pricing: {
|
|
725
515
|
type: 'string',
|
|
726
|
-
markdownDescription: (
|
|
727
|
-
'vscode.extension.pricing',
|
|
728
|
-
'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'
|
|
729
|
-
)),
|
|
516
|
+
markdownDescription: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'vscode.extension.pricing', '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'),
|
|
730
517
|
enum: ['Free', 'Trial'],
|
|
731
518
|
default: 'Free'
|
|
732
519
|
}
|
|
@@ -762,10 +549,7 @@ schemaRegistry.registerSchema(schemaId, schema);
|
|
|
762
549
|
schemaRegistry.registerSchema(productSchemaId, {
|
|
763
550
|
properties: {
|
|
764
551
|
extensionEnabledApiProposals: {
|
|
765
|
-
description: (
|
|
766
|
-
'product.extensionEnabledApiProposals',
|
|
767
|
-
"API proposals that the respective extensions can freely use."
|
|
768
|
-
)),
|
|
552
|
+
description: nls.localizeWithPath('vs/workbench/services/extensions/common/extensionsRegistry', 'product.extensionEnabledApiProposals', "API proposals that the respective extensions can freely use."),
|
|
769
553
|
type: 'object',
|
|
770
554
|
properties: {},
|
|
771
555
|
additionalProperties: {
|