@codingame/monaco-vscode-api 13.0.0 → 13.1.1
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/README.md +0 -1
- package/extensions.d.ts +1 -0
- package/package.json +8 -332
- package/services.d.ts +5 -0
- package/services.js +4 -0
- package/vscode/src/vs/base/browser/dom.d.ts +1 -1
- package/vscode/src/vs/base/common/observableInternal/index.js +8 -0
- package/vscode/src/vs/editor/browser/gpu/gpuUtils.d.ts +1 -1
- package/vscode/src/vs/editor/common/tokens/contiguousTokensEditing.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +1 -1
- package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +4 -5
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.service.d.ts +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +2 -3
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +4 -6
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.d.ts +2 -2
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/platform/hover/browser/hover.d.ts +1 -1
- package/vscode/src/vs/platform/hover/browser/hover.service.d.ts +1 -1
- package/vscode/src/vs/platform/instantiation/common/extensions.d.ts +1 -0
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +2 -2
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.service.d.ts +1 -1
- package/vscode/src/vs/platform/label/common/label.service.d.ts +1 -1
- package/vscode/src/vs/platform/log/common/log.d.ts +1 -2
- package/vscode/src/vs/platform/log/common/log.service.d.ts +3 -3
- package/vscode/src/vs/platform/progress/common/progress.service.d.ts +1 -2
- package/vscode/src/vs/platform/request/common/request.service.d.ts +1 -1
- package/vscode/src/vs/platform/sign/common/sign.service.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/commonProperties.js +15 -0
- package/vscode/src/vs/platform/telemetry/common/telemetry.js +4 -1
- package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +2 -3
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +82 -6
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +4 -5
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +94 -94
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentity.service.d.ts +1 -1
- package/vscode/src/vs/platform/url/common/url.service.d.ts +1 -1
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.service.d.ts +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +8 -8
- package/vscode/src/vs/platform/workspace/common/editSessions.service.d.ts +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspace/common/workspaceTrust.service.d.ts +4 -5
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTesting.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.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/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +158 -158
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +137 -137
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +3 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +24 -24
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- 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/commentService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookOriginalCellModelFactory.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCellStatusBarService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/diff.service.d.ts +2 -2
- 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/scm/common/quickDiff.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +3 -4
- package/vscode/src/vs/workbench/contrib/search/browser/replace.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippets.service.d.ts +1 -1
- 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/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +10 -11
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +4 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/links/browser/links.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testResultService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testingPeekOpener.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/decorations/common/decorations.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorPaneService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +6 -6
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +5 -9
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +83 -83
- package/vscode/src/vs/workbench/services/files/common/elevatedFileService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/services/history/common/history.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +5 -4
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +4 -4
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +14 -14
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +8 -8
- package/vscode/src/vs/workbench/services/title/browser/titleService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.d.ts +4 -6
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/views/common/viewsService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -1
|
@@ -40,7 +40,7 @@ class AccessibleViewNextAction extends Action2 {
|
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
42
|
icon: Codicon.arrowDown,
|
|
43
|
-
title: ( localize(
|
|
43
|
+
title: ( localize(4057, "Show Next in Accessible View"))
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
run(accessor) {
|
|
@@ -63,7 +63,7 @@ class AccessibleViewNextCodeBlockAction extends Action2 {
|
|
|
63
63
|
...accessibleViewMenu,
|
|
64
64
|
when: ( ContextKeyExpr.and(accessibleViewIsShown, accessibleViewContainsCodeBlocks)),
|
|
65
65
|
},
|
|
66
|
-
title: ( localize(
|
|
66
|
+
title: ( localize(4058, "Accessible View: Next Code Block"))
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
run(accessor) {
|
|
@@ -86,7 +86,7 @@ class AccessibleViewPreviousCodeBlockAction extends Action2 {
|
|
|
86
86
|
...accessibleViewMenu,
|
|
87
87
|
when: ( ContextKeyExpr.and(accessibleViewIsShown, accessibleViewContainsCodeBlocks)),
|
|
88
88
|
},
|
|
89
|
-
title: ( localize(
|
|
89
|
+
title: ( localize(4059, "Accessible View: Previous Code Block"))
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
run(accessor) {
|
|
@@ -111,7 +111,7 @@ class AccessibleViewPreviousAction extends Action2 {
|
|
|
111
111
|
when: ( ContextKeyExpr.and(accessibleViewIsShown, accessibleViewSupportsNavigation)),
|
|
112
112
|
}
|
|
113
113
|
],
|
|
114
|
-
title: ( localize(
|
|
114
|
+
title: ( localize(4060, "Show Previous in Accessible View"))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
run(accessor) {
|
|
@@ -137,7 +137,7 @@ class AccessibleViewGoToSymbolAction extends Action2 {
|
|
|
137
137
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.or(accessibleViewIsShown, accessibilityHelpIsShown)), accessibleViewGoToSymbolSupported)),
|
|
138
138
|
}
|
|
139
139
|
],
|
|
140
|
-
title: ( localize(
|
|
140
|
+
title: ( localize(4061, "Go To Symbol in Accessible View"))
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
run(accessor) {
|
|
@@ -164,7 +164,7 @@ const AccessibilityHelpAction = registerCommand(( new MultiCommand({
|
|
|
164
164
|
menuOpts: [{
|
|
165
165
|
menuId: MenuId.CommandPalette,
|
|
166
166
|
group: '',
|
|
167
|
-
title: ( localize(
|
|
167
|
+
title: ( localize(4062, "Open Accessibility Help")),
|
|
168
168
|
order: 1
|
|
169
169
|
}],
|
|
170
170
|
})));
|
|
@@ -182,7 +182,7 @@ const AccessibleViewAction = registerCommand(( new MultiCommand({
|
|
|
182
182
|
menuOpts: [{
|
|
183
183
|
menuId: MenuId.CommandPalette,
|
|
184
184
|
group: '',
|
|
185
|
-
title: ( localize(
|
|
185
|
+
title: ( localize(4063, "Open Accessible View")),
|
|
186
186
|
order: 1
|
|
187
187
|
}],
|
|
188
188
|
})));
|
|
@@ -204,7 +204,7 @@ class AccessibleViewDisableHintAction extends Action2 {
|
|
|
204
204
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.or(accessibleViewIsShown, accessibilityHelpIsShown)), accessibleViewVerbosityEnabled)),
|
|
205
205
|
}
|
|
206
206
|
],
|
|
207
|
-
title: ( localize(
|
|
207
|
+
title: ( localize(4064, "Disable Accessible View Hint"))
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
run(accessor) {
|
|
@@ -230,7 +230,7 @@ class AccessibilityHelpConfigureKeybindingsAction extends Action2 {
|
|
|
230
230
|
when: accessibleViewHasUnassignedKeybindings,
|
|
231
231
|
}
|
|
232
232
|
],
|
|
233
|
-
title: ( localize(
|
|
233
|
+
title: ( localize(4065, "Accessibility Help Configure Unassigned Keybindings"))
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
236
|
async run(accessor) {
|
|
@@ -256,7 +256,7 @@ class AccessibilityHelpConfigureAssignedKeybindingsAction extends Action2 {
|
|
|
256
256
|
when: accessibleViewHasAssignedKeybindings,
|
|
257
257
|
}
|
|
258
258
|
],
|
|
259
|
-
title: ( localize(
|
|
259
|
+
title: ( localize(4066, "Accessibility Help Configure Assigned Keybindings"))
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
262
|
async run(accessor) {
|
|
@@ -273,7 +273,7 @@ class AccessibilityHelpOpenHelpLinkAction extends Action2 {
|
|
|
273
273
|
primary: KeyMod$1.Alt | KeyCode.KeyH,
|
|
274
274
|
weight: KeybindingWeight.WorkbenchContrib
|
|
275
275
|
},
|
|
276
|
-
title: ( localize(
|
|
276
|
+
title: ( localize(4067, "Accessibility Help Open Help Link"))
|
|
277
277
|
});
|
|
278
278
|
}
|
|
279
279
|
run(accessor) {
|
|
@@ -307,7 +307,7 @@ class AccessibleViewAcceptInlineCompletionAction extends Action2 {
|
|
|
307
307
|
))))
|
|
308
308
|
}
|
|
309
309
|
],
|
|
310
|
-
title: ( localize(
|
|
310
|
+
title: ( localize(4068, "Accept Inline Completion"))
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
313
|
async run(accessor) {
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import type { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
2
1
|
import { Event } from "../../../../base/common/event.js";
|
|
3
2
|
import { URI } from "../../../../base/common/uri.js";
|
|
4
3
|
import { ChatAgentLocation } from "../common/chatAgents.js";
|
|
5
|
-
import type
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { IChatWidget } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chat";
|
|
4
|
+
import { IChatWidget, type ICodeBlockActionContextProvider, type IQuickChatOpenOptions } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chat";
|
|
5
|
+
import { IChatResponseViewModel } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatViewModel";
|
|
6
|
+
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
9
7
|
export declare const IChatWidgetService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatWidgetService>;
|
|
10
8
|
export interface IChatWidgetService {
|
|
11
9
|
readonly _serviceBrand: undefined;
|
|
@@ -14,8 +14,7 @@ import { IStorageService } from "../../../../platform/storage/common/storage.ser
|
|
|
14
14
|
import { IChatProgressHistoryResponseContent, IChatRequestVariableData, ISerializableChatAgentData } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatModel";
|
|
15
15
|
import { IRawChatCommandContribution, RawChatParticipantLocation } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatParticipantContribTypes";
|
|
16
16
|
import { IChatFollowup, IChatLocationData, IChatProgress, IChatResponseErrorDetails, IChatTaskDto } from "./chatService.js";
|
|
17
|
-
import { IChatAgentService } from "./chatAgents.service.js";
|
|
18
|
-
import { IChatAgentNameService } from "./chatAgents.service.js";
|
|
17
|
+
import { IChatAgentService, type IChatAgentNameService } from "./chatAgents.service.js";
|
|
19
18
|
export interface IChatAgentHistoryEntry {
|
|
20
19
|
request: IChatAgentRequest;
|
|
21
20
|
response: ReadonlyArray<IChatProgressHistoryResponseContent | IChatTaskDto>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CancellationToken } from "../../../../base/common/cancellation.js";
|
|
2
2
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
3
|
-
import { IChatResponseModel } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatModel";
|
|
4
3
|
import { ICodeMapperProvider, ICodeMapperRequest, ICodeMapperResponse, ICodeMapperResult } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/chatCodeMapperService";
|
|
4
|
+
import { IChatResponseModel } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatModel";
|
|
5
5
|
export declare const ICodeMapperService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ICodeMapperService>;
|
|
6
6
|
export interface ICodeMapperService {
|
|
7
7
|
readonly _serviceBrand: undefined;
|
|
@@ -8,63 +8,63 @@ var ChatContextKeys;
|
|
|
8
8
|
'chatSessionResponseVote',
|
|
9
9
|
'',
|
|
10
10
|
{ type: 'string', description: ( localize(
|
|
11
|
-
|
|
11
|
+
4607,
|
|
12
12
|
"When the response has been voted up, is set to 'up'. When voted down, is set to 'down'. Otherwise an empty string."
|
|
13
13
|
)) }
|
|
14
14
|
));
|
|
15
15
|
ChatContextKeys.responseDetectedAgentCommand = ( new RawContextKey(
|
|
16
16
|
'chatSessionResponseDetectedAgentOrCommand',
|
|
17
17
|
false,
|
|
18
|
-
{ type: 'boolean', description: ( localize(
|
|
18
|
+
{ type: 'boolean', description: ( localize(4608, "When the agent or command was automatically detected")) }
|
|
19
19
|
));
|
|
20
20
|
ChatContextKeys.responseSupportsIssueReporting = ( new RawContextKey(
|
|
21
21
|
'chatResponseSupportsIssueReporting',
|
|
22
22
|
false,
|
|
23
|
-
{ type: 'boolean', description: ( localize(
|
|
23
|
+
{ type: 'boolean', description: ( localize(4609, "True when the current chat response supports issue reporting.")) }
|
|
24
24
|
));
|
|
25
25
|
ChatContextKeys.responseIsFiltered = ( new RawContextKey(
|
|
26
26
|
'chatSessionResponseFiltered',
|
|
27
27
|
false,
|
|
28
|
-
{ type: 'boolean', description: ( localize(
|
|
28
|
+
{ type: 'boolean', description: ( localize(4610, "True when the chat response was filtered out by the server.")) }
|
|
29
29
|
));
|
|
30
30
|
ChatContextKeys.responseHasError = ( new RawContextKey(
|
|
31
31
|
'chatSessionResponseError',
|
|
32
32
|
false,
|
|
33
|
-
{ type: 'boolean', description: ( localize(
|
|
33
|
+
{ type: 'boolean', description: ( localize(4611, "True when the chat response resulted in an error.")) }
|
|
34
34
|
));
|
|
35
35
|
ChatContextKeys.requestInProgress = ( new RawContextKey(
|
|
36
36
|
'chatSessionRequestInProgress',
|
|
37
37
|
false,
|
|
38
|
-
{ type: 'boolean', description: ( localize(
|
|
38
|
+
{ type: 'boolean', description: ( localize(4612, "True when the current request is still in progress.")) }
|
|
39
39
|
));
|
|
40
|
-
ChatContextKeys.isResponse = ( new RawContextKey('chatResponse', false, { type: 'boolean', description: ( localize(
|
|
41
|
-
ChatContextKeys.isRequest = ( new RawContextKey('chatRequest', false, { type: 'boolean', description: ( localize(
|
|
42
|
-
ChatContextKeys.itemId = ( new RawContextKey('chatItemId', '', { type: 'string', description: ( localize(
|
|
43
|
-
ChatContextKeys.lastItemId = ( new RawContextKey('chatLastItemId', [], { type: 'string', description: ( localize(
|
|
44
|
-
ChatContextKeys.editApplied = ( new RawContextKey('chatEditApplied', false, { type: 'boolean', description: ( localize(
|
|
45
|
-
ChatContextKeys.inputHasText = ( new RawContextKey('chatInputHasText', false, { type: 'boolean', description: ( localize(
|
|
46
|
-
ChatContextKeys.inputHasFocus = ( new RawContextKey('chatInputHasFocus', false, { type: 'boolean', description: ( localize(
|
|
47
|
-
ChatContextKeys.inChatInput = ( new RawContextKey('inChatInput', false, { type: 'boolean', description: ( localize(
|
|
48
|
-
ChatContextKeys.inChatSession = ( new RawContextKey('inChat', false, { type: 'boolean', description: ( localize(
|
|
40
|
+
ChatContextKeys.isResponse = ( new RawContextKey('chatResponse', false, { type: 'boolean', description: ( localize(4613, "The chat item is a response.")) }));
|
|
41
|
+
ChatContextKeys.isRequest = ( new RawContextKey('chatRequest', false, { type: 'boolean', description: ( localize(4614, "The chat item is a request")) }));
|
|
42
|
+
ChatContextKeys.itemId = ( new RawContextKey('chatItemId', '', { type: 'string', description: ( localize(4615, "The id of the chat item.")) }));
|
|
43
|
+
ChatContextKeys.lastItemId = ( new RawContextKey('chatLastItemId', [], { type: 'string', description: ( localize(4616, "The id of the last chat item.")) }));
|
|
44
|
+
ChatContextKeys.editApplied = ( new RawContextKey('chatEditApplied', false, { type: 'boolean', description: ( localize(4617, "True when the chat text edits have been applied.")) }));
|
|
45
|
+
ChatContextKeys.inputHasText = ( new RawContextKey('chatInputHasText', false, { type: 'boolean', description: ( localize(4618, "True when the chat input has text.")) }));
|
|
46
|
+
ChatContextKeys.inputHasFocus = ( new RawContextKey('chatInputHasFocus', false, { type: 'boolean', description: ( localize(4619, "True when the chat input has focus.")) }));
|
|
47
|
+
ChatContextKeys.inChatInput = ( new RawContextKey('inChatInput', false, { type: 'boolean', description: ( localize(4620, "True when focus is in the chat input, false otherwise.")) }));
|
|
48
|
+
ChatContextKeys.inChatSession = ( new RawContextKey('inChat', false, { type: 'boolean', description: ( localize(4621, "True when focus is in the chat widget, false otherwise.")) }));
|
|
49
49
|
ChatContextKeys.enabled = ( new RawContextKey('chatIsEnabled', false, { type: 'boolean', description: ( localize(
|
|
50
|
-
|
|
50
|
+
4622,
|
|
51
51
|
"True when chat is enabled because a default chat participant is activated with an implementation."
|
|
52
52
|
)) }));
|
|
53
53
|
ChatContextKeys.panelParticipantRegistered = ( new RawContextKey(
|
|
54
54
|
'chatPanelParticipantRegistered',
|
|
55
55
|
false,
|
|
56
|
-
{ type: 'boolean', description: ( localize(
|
|
56
|
+
{ type: 'boolean', description: ( localize(4623, "True when a default chat participant is registered for the panel.")) }
|
|
57
57
|
));
|
|
58
58
|
ChatContextKeys.editingParticipantRegistered = ( new RawContextKey(
|
|
59
59
|
'chatEditingParticipantRegistered',
|
|
60
60
|
false,
|
|
61
|
-
{ type: 'boolean', description: ( localize(
|
|
61
|
+
{ type: 'boolean', description: ( localize(4624, "True when a default chat participant is registered for editing.")) }
|
|
62
62
|
));
|
|
63
63
|
ChatContextKeys.chatEditingCanUndo = ( new RawContextKey(
|
|
64
64
|
'chatEditingCanUndo',
|
|
65
65
|
false,
|
|
66
66
|
{ type: 'boolean', description: ( localize(
|
|
67
|
-
|
|
67
|
+
4625,
|
|
68
68
|
"True when it is possible to undo an interaction in the editing panel."
|
|
69
69
|
)) }
|
|
70
70
|
));
|
|
@@ -72,7 +72,7 @@ var ChatContextKeys;
|
|
|
72
72
|
'chatEditingCanRedo',
|
|
73
73
|
false,
|
|
74
74
|
{ type: 'boolean', description: ( localize(
|
|
75
|
-
|
|
75
|
+
4626,
|
|
76
76
|
"True when it is possible to redo an interaction in the editing panel."
|
|
77
77
|
)) }
|
|
78
78
|
));
|
|
@@ -80,23 +80,23 @@ var ChatContextKeys;
|
|
|
80
80
|
'chatExtensionInvalid',
|
|
81
81
|
false,
|
|
82
82
|
{ type: 'boolean', description: ( localize(
|
|
83
|
-
|
|
83
|
+
4627,
|
|
84
84
|
"True when the installed chat extension is invalid and needs to be updated."
|
|
85
85
|
)) }
|
|
86
86
|
));
|
|
87
87
|
ChatContextKeys.inputCursorAtTop = ( new RawContextKey('chatCursorAtTop', false));
|
|
88
88
|
ChatContextKeys.inputHasAgent = ( new RawContextKey('chatInputHasAgent', false));
|
|
89
89
|
ChatContextKeys.location = ( new RawContextKey('chatLocation', undefined));
|
|
90
|
-
ChatContextKeys.inQuickChat = ( new RawContextKey('quickChatHasFocus', false, { type: 'boolean', description: ( localize(
|
|
90
|
+
ChatContextKeys.inQuickChat = ( new RawContextKey('quickChatHasFocus', false, { type: 'boolean', description: ( localize(4628, "True when the quick chat UI has focus, false otherwise.")) }));
|
|
91
91
|
ChatContextKeys.hasFileAttachments = ( new RawContextKey(
|
|
92
92
|
'chatHasFileAttachments',
|
|
93
93
|
false,
|
|
94
|
-
{ type: 'boolean', description: ( localize(
|
|
94
|
+
{ type: 'boolean', description: ( localize(4629, "True when the chat has file attachments.")) }
|
|
95
95
|
));
|
|
96
96
|
ChatContextKeys.languageModelsAreUserSelectable = ( new RawContextKey(
|
|
97
97
|
'chatModelsAreUserSelectable',
|
|
98
98
|
false,
|
|
99
|
-
{ type: 'boolean', description: ( localize(
|
|
99
|
+
{ type: 'boolean', description: ( localize(4630, "True when the chat model can be selected manually by the user.")) }
|
|
100
100
|
));
|
|
101
101
|
ChatContextKeys.Setup = {
|
|
102
102
|
canSignUp: ( new RawContextKey('chatSetupCanSignUp', false, true)),
|
|
@@ -30,7 +30,7 @@ var ChatEditingSessionState;
|
|
|
30
30
|
ChatEditingSessionState[ChatEditingSessionState["Disposed"] = 3] = "Disposed";
|
|
31
31
|
})(ChatEditingSessionState || (ChatEditingSessionState = {}));
|
|
32
32
|
const CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME = 'chat-editing-multi-diff-source';
|
|
33
|
-
const chatEditingWidgetFileStateContextKey = ( new RawContextKey('chatEditingWidgetFileState', undefined, ( localize(
|
|
33
|
+
const chatEditingWidgetFileStateContextKey = ( new RawContextKey('chatEditingWidgetFileState', undefined, ( localize(4631, "The current state of the file in the chat editing widget"))));
|
|
34
34
|
const decidedChatEditingResourceContextKey = ( new RawContextKey('decidedChatEditingResource', []));
|
|
35
35
|
const chatEditingResourceContextKey = ( new RawContextKey('chatEditingResource', undefined));
|
|
36
36
|
const inChatEditingSessionContextKey = ( new RawContextKey('inChatEditingSession', undefined));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CancellationTokenSource, CancellationToken } from "../../../../base/common/cancellation.js";
|
|
2
2
|
import { Event } from "../../../../base/common/event.js";
|
|
3
3
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
4
|
-
import { IObservable } from "../../../../base/common/
|
|
4
|
+
import { IObservable } from "../../../../base/common/observableInternal/index.js";
|
|
5
5
|
import { IChatEditingSession, IChatRelatedFilesProvider, IChatRelatedFile } from "./chatEditingService.js";
|
|
6
6
|
export declare const IChatEditingService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatEditingService>;
|
|
7
7
|
export interface IChatEditingService {
|
|
@@ -44,5 +44,6 @@ var ChatCopyKind;
|
|
|
44
44
|
ChatCopyKind[ChatCopyKind["Action"] = 1] = "Action";
|
|
45
45
|
ChatCopyKind[ChatCopyKind["Toolbar"] = 2] = "Toolbar";
|
|
46
46
|
})(ChatCopyKind || (ChatCopyKind = {}));
|
|
47
|
+
const KEYWORD_ACTIVIATION_SETTING_ID = 'accessibility.voice.keywordActivation';
|
|
47
48
|
|
|
48
|
-
export { ChatAgentVoteDirection, ChatAgentVoteDownReason, ChatCopyKind, ChatResponseReferencePartStatusKind, isIDocumentContext, isIUsedContext };
|
|
49
|
+
export { ChatAgentVoteDirection, ChatAgentVoteDownReason, ChatCopyKind, ChatResponseReferencePartStatusKind, KEYWORD_ACTIVIATION_SETTING_ID, isIDocumentContext, isIUsedContext };
|
|
@@ -2,7 +2,7 @@ import { CancellationToken } from "../../../../base/common/cancellation.js";
|
|
|
2
2
|
import { Event } from "../../../../base/common/event.js";
|
|
3
3
|
import { URI } from "../../../../base/common/uri.js";
|
|
4
4
|
import { ChatAgentLocation } from "./chatAgents.js";
|
|
5
|
-
import { ChatModel, IChatModel,
|
|
5
|
+
import { ChatModel, IChatModel, IExportableChatData, ISerializableChatData, IChatRequestModel, IChatRequestVariableData } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatModel";
|
|
6
6
|
import { IParsedChatRequest } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatParserTypes";
|
|
7
7
|
import { IChatTransferredSessionData, IChatSendRequestOptions, IChatSendRequestData, IChatCompleteResponse, IChatDetail, IChatUserActionEvent } from "./chatService.js";
|
|
8
8
|
export declare const IChatService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatService>;
|
|
@@ -2,10 +2,10 @@ import { CancellationToken } from "../../../../base/common/cancellation.js";
|
|
|
2
2
|
import { Event } from "../../../../base/common/event.js";
|
|
3
3
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
4
4
|
import { IProgress } from "../../../../platform/progress/common/progress.js";
|
|
5
|
-
import { IChatMessage } from "./languageModels.js";
|
|
6
|
-
import { IChatFollowup, IChatProgress } from "./chatService.js";
|
|
7
5
|
import { ChatAgentLocation } from "./chatAgents.js";
|
|
6
|
+
import { IChatProgress, IChatFollowup } from "./chatService.js";
|
|
8
7
|
import { IChatSlashData, IChatSlashCallback } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/chatSlashCommands";
|
|
8
|
+
import { IChatMessage } from "./languageModels.js";
|
|
9
9
|
export declare const IChatSlashCommandService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatSlashCommandService>;
|
|
10
10
|
export interface IChatSlashCommandService {
|
|
11
11
|
_serviceBrand: undefined;
|
|
@@ -3,7 +3,7 @@ import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
|
3
3
|
import { URI } from "../../../../base/common/uri.js";
|
|
4
4
|
import { Location } from "../../../../editor/common/languages.js";
|
|
5
5
|
import { ChatAgentLocation } from "./chatAgents.js";
|
|
6
|
-
import { IChatModel, IChatRequestVariableData
|
|
6
|
+
import { IChatRequestVariableEntry, IChatModel, IChatRequestVariableData } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatModel";
|
|
7
7
|
import { IParsedChatRequest } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatParserTypes";
|
|
8
8
|
import { IChatVariableData, IChatVariableResolver, IDynamicVariable, IChatVariableResolverProgress, IChatRequestVariableValue } from "./chatVariables.js";
|
|
9
9
|
export declare const IChatVariablesService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatVariablesService>;
|
|
@@ -24,14 +24,14 @@ const languageModelType = {
|
|
|
24
24
|
properties: {
|
|
25
25
|
vendor: {
|
|
26
26
|
type: 'string',
|
|
27
|
-
description: ( localize(
|
|
27
|
+
description: ( localize(4640, "A globally unique vendor of language models."))
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
const languageModelExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
32
32
|
extensionPoint: 'languageModels',
|
|
33
33
|
jsonSchema: {
|
|
34
|
-
description: ( localize(
|
|
34
|
+
description: ( localize(4641, "Contribute language models of a specific vendor.")),
|
|
35
35
|
oneOf: [
|
|
36
36
|
languageModelType,
|
|
37
37
|
{
|
|
@@ -61,24 +61,24 @@ let LanguageModelsService = class LanguageModelsService {
|
|
|
61
61
|
this._vendors.clear();
|
|
62
62
|
for (const extension of extensions) {
|
|
63
63
|
if (!isProposedApiEnabled(extension.description, 'chatProvider')) {
|
|
64
|
-
extension.collector.error(( localize(
|
|
64
|
+
extension.collector.error(( localize(4642, "This contribution point requires the 'chatProvider' proposal.")));
|
|
65
65
|
continue;
|
|
66
66
|
}
|
|
67
67
|
for (const item of Iterable.wrap(extension.value)) {
|
|
68
68
|
if (( this._vendors.has(item.vendor))) {
|
|
69
69
|
extension.collector.error(( localize(
|
|
70
|
-
|
|
70
|
+
4643,
|
|
71
71
|
"The vendor '{0}' is already registered and cannot be registered twice",
|
|
72
72
|
item.vendor
|
|
73
73
|
)));
|
|
74
74
|
continue;
|
|
75
75
|
}
|
|
76
76
|
if (isFalsyOrWhitespace(item.vendor)) {
|
|
77
|
-
extension.collector.error(( localize(
|
|
77
|
+
extension.collector.error(( localize(4644, "The vendor field cannot be empty.")));
|
|
78
78
|
continue;
|
|
79
79
|
}
|
|
80
80
|
if (item.vendor.trim() !== item.vendor) {
|
|
81
|
-
extension.collector.error(( localize(
|
|
81
|
+
extension.collector.error(( localize(4645, "The vendor field cannot start or end with whitespace.")));
|
|
82
82
|
continue;
|
|
83
83
|
}
|
|
84
84
|
this._vendors.add(item.vendor);
|
|
@@ -18,17 +18,17 @@ const createCodeActionsAutoSave = (description) => {
|
|
|
18
18
|
enum: ['always', 'explicit', 'never', true, false],
|
|
19
19
|
enumDescriptions: [
|
|
20
20
|
( localize(
|
|
21
|
-
|
|
21
|
+
4660,
|
|
22
22
|
'Triggers Code Actions on explicit saves and auto saves triggered by window or focus changes.'
|
|
23
23
|
)),
|
|
24
|
-
( localize(
|
|
25
|
-
( localize(
|
|
24
|
+
( localize(4661, 'Triggers Code Actions only when explicitly saved')),
|
|
25
|
+
( localize(4662, 'Never triggers Code Actions on save')),
|
|
26
26
|
( localize(
|
|
27
|
-
|
|
27
|
+
4663,
|
|
28
28
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
|
|
29
29
|
)),
|
|
30
30
|
( localize(
|
|
31
|
-
|
|
31
|
+
4664,
|
|
32
32
|
'Never triggers Code Actions on save. This value will be deprecated in favor of "never".'
|
|
33
33
|
))
|
|
34
34
|
],
|
|
@@ -41,14 +41,14 @@ const createNotebookCodeActionsAutoSave = (description) => {
|
|
|
41
41
|
type: ['string', 'boolean'],
|
|
42
42
|
enum: ['explicit', 'never', true, false],
|
|
43
43
|
enumDescriptions: [
|
|
44
|
-
( localize(
|
|
45
|
-
( localize(
|
|
44
|
+
( localize(4665, 'Triggers Code Actions only when explicitly saved.')),
|
|
45
|
+
( localize(4666, 'Never triggers Code Actions on save.')),
|
|
46
46
|
( localize(
|
|
47
|
-
|
|
47
|
+
4667,
|
|
48
48
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
|
|
49
49
|
)),
|
|
50
50
|
( localize(
|
|
51
|
-
|
|
51
|
+
4668,
|
|
52
52
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "never".'
|
|
53
53
|
))
|
|
54
54
|
],
|
|
@@ -70,7 +70,7 @@ const codeActionsOnSaveSchema = {
|
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
72
|
markdownDescription: ( localize(
|
|
73
|
-
|
|
73
|
+
4669,
|
|
74
74
|
'Run Code Actions for the editor on save. Code Actions must be specified and the editor must not be shutting down. When {0} is set to `afterDelay`, Code Actions will only be run when the file is saved explicitly. Example: `"source.organizeImports": "explicit" `',
|
|
75
75
|
'`#files.autoSave#`'
|
|
76
76
|
)),
|
|
@@ -102,7 +102,7 @@ const notebookCodeActionsOnSaveSchema = {
|
|
|
102
102
|
}
|
|
103
103
|
],
|
|
104
104
|
markdownDescription: ( localize(
|
|
105
|
-
|
|
105
|
+
4670,
|
|
106
106
|
'Run a series of Code Actions for a notebook on save. Code Actions must be specified and the editor must not be shutting down. When {0} is set to `afterDelay`, Code Actions will only be run when the file is saved explicitly. Example: `"notebook.source.organizeImports": "explicit"`',
|
|
107
107
|
'`#files.autoSave#`'
|
|
108
108
|
)),
|
|
@@ -150,12 +150,12 @@ let CodeActionsContribution = class CodeActionsContribution extends Disposable {
|
|
|
150
150
|
for (const codeActionKind of allProvidedKinds) {
|
|
151
151
|
if (CodeActionKind.Source.contains(codeActionKind) && !properties[codeActionKind.value]) {
|
|
152
152
|
properties[codeActionKind.value] = createCodeActionsAutoSave(( localize(
|
|
153
|
-
|
|
153
|
+
4671,
|
|
154
154
|
"Controls whether '{0}' actions should be run on file save.",
|
|
155
155
|
codeActionKind.value
|
|
156
156
|
)));
|
|
157
157
|
notebookProperties[codeActionKind.value] = createNotebookCodeActionsAutoSave(( localize(
|
|
158
|
-
|
|
158
|
+
4671,
|
|
159
159
|
"Controls whether '{0}' actions should be run on file save.",
|
|
160
160
|
codeActionKind.value
|
|
161
161
|
)));
|
|
@@ -29,12 +29,12 @@ import { isWindows } from '../../../../../base/common/platform.js';
|
|
|
29
29
|
|
|
30
30
|
var EditorDictation_1;
|
|
31
31
|
const EDITOR_DICTATION_IN_PROGRESS = ( new RawContextKey('editorDictation.inProgress', false));
|
|
32
|
-
const VOICE_CATEGORY = ( localize2(
|
|
32
|
+
const VOICE_CATEGORY = ( localize2(4674, "Voice"));
|
|
33
33
|
class EditorDictationStartAction extends EditorAction2 {
|
|
34
34
|
constructor() {
|
|
35
35
|
super({
|
|
36
36
|
id: 'workbench.action.editorDictation.start',
|
|
37
|
-
title: ( localize2(
|
|
37
|
+
title: ( localize2(4675, "Start Dictation in Editor")),
|
|
38
38
|
category: VOICE_CATEGORY,
|
|
39
39
|
precondition: ( ContextKeyExpr.and(HasSpeechProvider, ( SpeechToTextInProgress.toNegated()), (
|
|
40
40
|
EditorContextKeys.readOnly.toNegated()))),
|
|
@@ -71,7 +71,7 @@ class EditorDictationStopAction extends EditorAction2 {
|
|
|
71
71
|
constructor() {
|
|
72
72
|
super({
|
|
73
73
|
id: EditorDictationStopAction.ID,
|
|
74
|
-
title: ( localize2(
|
|
74
|
+
title: ( localize2(4676, "Stop Dictation in Editor")),
|
|
75
75
|
category: VOICE_CATEGORY,
|
|
76
76
|
precondition: EDITOR_DICTATION_IN_PROGRESS,
|
|
77
77
|
f1: true,
|
|
@@ -96,7 +96,7 @@ class DictationWidget extends Disposable {
|
|
|
96
96
|
const stopActionKeybinding = keybindingService.lookupKeybinding(EditorDictationStopAction.ID)?.getLabel();
|
|
97
97
|
actionBar.push(toAction({
|
|
98
98
|
id: EditorDictationStopAction.ID,
|
|
99
|
-
label: stopActionKeybinding ? ( localize(
|
|
99
|
+
label: stopActionKeybinding ? ( localize(4677, "Stop Dictation ({0})", stopActionKeybinding)) : ( localize(4678, "Stop Dictation")),
|
|
100
100
|
class: ThemeIcon.asClassName(Codicon.micFilled),
|
|
101
101
|
run: () => EditorDictation.get(editor)?.stop()
|
|
102
102
|
}), { icon: true, label: false, keybinding: stopActionKeybinding });
|
|
@@ -31,19 +31,19 @@ class DiffEditorAccessibilityHelp {
|
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
33
33
|
const switchSides = ( localize(
|
|
34
|
-
|
|
34
|
+
4679,
|
|
35
35
|
"Run the command Diff Editor: Switch Side{0} to toggle between the original and modified editors.",
|
|
36
36
|
'<keybinding:diffEditor.switchSide>'
|
|
37
37
|
));
|
|
38
38
|
const diffEditorActiveAnnouncement = ( localize(
|
|
39
|
-
|
|
39
|
+
4680,
|
|
40
40
|
"The setting, accessibility.verbosity.diffEditorActive, controls if a diff editor announcement is made when it becomes the active editor."
|
|
41
41
|
));
|
|
42
42
|
const keys = ['accessibility.signals.diffLineDeleted', 'accessibility.signals.diffLineInserted', 'accessibility.signals.diffLineModified'];
|
|
43
43
|
const content = [
|
|
44
|
-
( localize(
|
|
44
|
+
( localize(4681, "You are in a diff editor.")),
|
|
45
45
|
( localize(
|
|
46
|
-
|
|
46
|
+
4682,
|
|
47
47
|
"View the next{0} or previous{1} diff in diff review mode, which is optimized for screen readers.",
|
|
48
48
|
'<keybinding:' + AccessibleDiffViewerNext.id + '>',
|
|
49
49
|
'<keybinding:' + AccessibleDiffViewerPrev.id + '>'
|
|
@@ -51,7 +51,7 @@ class DiffEditorAccessibilityHelp {
|
|
|
51
51
|
switchSides,
|
|
52
52
|
diffEditorActiveAnnouncement,
|
|
53
53
|
( localize(
|
|
54
|
-
|
|
54
|
+
4683,
|
|
55
55
|
"To control which accessibility signals should be played, the following settings can be configured: {0}.",
|
|
56
56
|
keys.join(', ')
|
|
57
57
|
)),
|
|
@@ -35,7 +35,7 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
|
|
|
35
35
|
const onlyWhiteSpaceChange = ( computationResult.map(r => r && !r.identical && r.changes2.length === 0));
|
|
36
36
|
this._register(autorunWithStore((reader, store) => {
|
|
37
37
|
if (onlyWhiteSpaceChange.read(reader)) {
|
|
38
|
-
const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(
|
|
38
|
+
const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(4684, "Show Whitespace Differences")), null));
|
|
39
39
|
store.add(helperWidget.onClick(() => {
|
|
40
40
|
this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.ignoreTrimWhitespace', false);
|
|
41
41
|
}));
|
|
@@ -46,11 +46,11 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
|
|
|
46
46
|
const diffComputationResult = this._diffEditor.getDiffComputationResult();
|
|
47
47
|
if (diffComputationResult && diffComputationResult.quitEarly) {
|
|
48
48
|
this._notificationService.prompt(Severity$1.Warning, ( localize(
|
|
49
|
-
|
|
49
|
+
4685,
|
|
50
50
|
"The diff algorithm was stopped early (after {0} ms.)",
|
|
51
51
|
this._diffEditor.maxComputationTime
|
|
52
52
|
)), [{
|
|
53
|
-
label: ( localize(
|
|
53
|
+
label: ( localize(4686, "Remove Limit")),
|
|
54
54
|
run: () => {
|
|
55
55
|
this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.maxComputationTime', 0);
|
|
56
56
|
}
|
|
@@ -26,16 +26,16 @@ let LargeFileOptimizationsWarner = class LargeFileOptimizationsWarner extends Di
|
|
|
26
26
|
}
|
|
27
27
|
if (model.isTooLargeForTokenization()) {
|
|
28
28
|
const message = ( localize(
|
|
29
|
-
|
|
29
|
+
4706,
|
|
30
30
|
"{0}: tokenization, wrapping, folding, codelens, word highlighting and sticky scroll have been turned off for this large file in order to reduce memory usage and avoid freezing or crashing.",
|
|
31
31
|
basename(model.uri.path)
|
|
32
32
|
));
|
|
33
33
|
this._notificationService.prompt(Severity$1.Info, message, [
|
|
34
34
|
{
|
|
35
|
-
label: ( localize(
|
|
35
|
+
label: ( localize(4707, "Forcefully Enable Features")),
|
|
36
36
|
run: () => {
|
|
37
37
|
this._configurationService.updateValue(`editor.largeFileOptimizations`, false).then(() => {
|
|
38
|
-
this._notificationService.info(( localize(
|
|
38
|
+
this._notificationService.info(( localize(4708, "Please reopen file in order for this setting to take effect.")));
|
|
39
39
|
}, (err) => {
|
|
40
40
|
this._notificationService.error(err);
|
|
41
41
|
});
|
|
@@ -194,7 +194,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
|
|
|
194
194
|
const nestedProgress = ( new Progress(provider => {
|
|
195
195
|
progress.report({
|
|
196
196
|
message: ( localize(
|
|
197
|
-
|
|
197
|
+
4723,
|
|
198
198
|
"Running '{0}' Formatter ([configure]({1})).",
|
|
199
199
|
provider.displayName || provider.extensionId && provider.extensionId.value || '???',
|
|
200
200
|
'command:workbench.action.openSettings?%5B%22editor.formatOnSave%22%5D'
|
|
@@ -304,7 +304,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
|
|
|
304
304
|
: ( ( Object.keys(setting))
|
|
305
305
|
.filter(x => setting[x] === 'never' || false)
|
|
306
306
|
.map(x => ( new HierarchicalKind(x))));
|
|
307
|
-
progress.report({ message: ( localize(
|
|
307
|
+
progress.report({ message: ( localize(4724, "Quick Fixes")) });
|
|
308
308
|
const filteredSaveList = Array.isArray(setting) ? codeActionsOnSave : codeActionsOnSave.filter(x => setting[x.value] === 'always' || ((setting[x.value] === 'explicit' || setting[x.value] === true) && context.reason === SaveReason.EXPLICIT));
|
|
309
309
|
await this.applyOnSaveActions(textEditorModel, filteredSaveList, excludedActions, progress, token);
|
|
310
310
|
}
|
|
@@ -322,7 +322,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
|
|
|
322
322
|
_report() {
|
|
323
323
|
progress.report({
|
|
324
324
|
message: ( localize(
|
|
325
|
-
|
|
325
|
+
4725,
|
|
326
326
|
"Getting code actions from {0} ([configure]({1})).",
|
|
327
327
|
( [...this._names].map(name => `'${name}'`)).join(', '),
|
|
328
328
|
'command:workbench.action.openSettings?%5B%22editor.codeActionsOnSave%22%5D'
|
|
@@ -349,7 +349,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
|
|
|
349
349
|
}
|
|
350
350
|
try {
|
|
351
351
|
for (const action of actionsToRun.validActions) {
|
|
352
|
-
progress.report({ message: ( localize(
|
|
352
|
+
progress.report({ message: ( localize(4726, "Applying code action '{0}'.", action.action.title)) });
|
|
353
353
|
await this.instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
|
|
354
354
|
if (token.isCancellationRequested) {
|
|
355
355
|
return;
|
|
@@ -11,8 +11,8 @@ class ToggleMinimapAction extends Action2 {
|
|
|
11
11
|
super({
|
|
12
12
|
id: ToggleMinimapAction.ID,
|
|
13
13
|
title: {
|
|
14
|
-
...( localize2(
|
|
15
|
-
mnemonicTitle: ( localize(
|
|
14
|
+
...( localize2(4727, "Toggle Minimap")),
|
|
15
|
+
mnemonicTitle: ( localize(4728, "&&Minimap")),
|
|
16
16
|
},
|
|
17
17
|
category: Categories.View,
|
|
18
18
|
f1: true,
|