@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
|
@@ -81,8 +81,8 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
81
81
|
DefaultFormatter_1.extensionItemLabels.length = 0;
|
|
82
82
|
DefaultFormatter_1.extensionDescriptions.length = 0;
|
|
83
83
|
DefaultFormatter_1.extensionIds.push(null);
|
|
84
|
-
DefaultFormatter_1.extensionItemLabels.push(( localize(
|
|
85
|
-
DefaultFormatter_1.extensionDescriptions.push(( localize(
|
|
84
|
+
DefaultFormatter_1.extensionItemLabels.push(( localize(6730, 'None')));
|
|
85
|
+
DefaultFormatter_1.extensionDescriptions.push(( localize(6731, "None")));
|
|
86
86
|
for (const extension of extensions) {
|
|
87
87
|
if (extension.main || extension.browser) {
|
|
88
88
|
DefaultFormatter_1.extensionIds.push(extension.identifier.value);
|
|
@@ -109,13 +109,13 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
109
109
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
110
110
|
const detail = kind === FormattingKind.File
|
|
111
111
|
? ( localize(
|
|
112
|
-
|
|
112
|
+
6732,
|
|
113
113
|
"Extension '{0}' is configured as formatter but it cannot format '{1}'-files",
|
|
114
114
|
extension.displayName || extension.name,
|
|
115
115
|
langName
|
|
116
116
|
))
|
|
117
117
|
: ( localize(
|
|
118
|
-
|
|
118
|
+
6733,
|
|
119
119
|
"Extension '{0}' is configured as formatter but it can only format '{1}'-files as a whole, not selections or parts of it.",
|
|
120
120
|
extension.displayName || extension.name,
|
|
121
121
|
langName
|
|
@@ -129,12 +129,12 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
129
129
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
130
130
|
const message = !defaultFormatterId
|
|
131
131
|
? ( localize(
|
|
132
|
-
|
|
132
|
+
6734,
|
|
133
133
|
"There are multiple formatters for '{0}' files. One of them should be configured as default formatter.",
|
|
134
134
|
DefaultFormatter_1._maybeQuotes(langName)
|
|
135
135
|
))
|
|
136
136
|
: ( localize(
|
|
137
|
-
|
|
137
|
+
6735,
|
|
138
138
|
"Extension '{0}' is configured as formatter but not available. Select a different default formatter to continue.",
|
|
139
139
|
defaultFormatterId
|
|
140
140
|
));
|
|
@@ -147,16 +147,16 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
147
147
|
}
|
|
148
148
|
if (mode !== FormattingMode.Silent) {
|
|
149
149
|
const { confirmed } = await this._dialogService.confirm({
|
|
150
|
-
message: ( localize(
|
|
150
|
+
message: ( localize(6736, "Configure Default Formatter")),
|
|
151
151
|
detail: formatterOrMessage,
|
|
152
|
-
primaryButton: ( localize(
|
|
152
|
+
primaryButton: ( localize(6737, "&&Configure..."))
|
|
153
153
|
});
|
|
154
154
|
if (confirmed) {
|
|
155
155
|
return this._pickAndPersistDefaultFormatter(formatter, document);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
else {
|
|
159
|
-
this._notificationService.prompt(Severity$1.Info, formatterOrMessage, [{ label: ( localize(
|
|
159
|
+
this._notificationService.prompt(Severity$1.Info, formatterOrMessage, [{ label: ( localize(6738, "Configure...")), run: () => this._pickAndPersistDefaultFormatter(formatter, document) }], { priority: NotificationPriority.SILENT });
|
|
160
160
|
}
|
|
161
161
|
return undefined;
|
|
162
162
|
}
|
|
@@ -170,7 +170,7 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
170
170
|
}));
|
|
171
171
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
172
172
|
const pick = await this._quickInputService.pick(picks, { placeHolder: ( localize(
|
|
173
|
-
|
|
173
|
+
6739,
|
|
174
174
|
"Select a default formatter for '{0}' files",
|
|
175
175
|
DefaultFormatter_1._maybeQuotes(langName)
|
|
176
176
|
)) });
|
|
@@ -203,14 +203,14 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
203
203
|
if (typeof result !== 'string') {
|
|
204
204
|
return;
|
|
205
205
|
}
|
|
206
|
-
const command = { id: `formatter/configure/dfl/${generateUuid()}`, title: ( localize(
|
|
206
|
+
const command = { id: `formatter/configure/dfl/${generateUuid()}`, title: ( localize(6740, "Configure...")) };
|
|
207
207
|
this._languageStatusStore.add(CommandsRegistry.registerCommand(command.id, () => this._pickAndPersistDefaultFormatter(formatter, document)));
|
|
208
208
|
this._languageStatusStore.add(this._languageStatusService.addStatus({
|
|
209
209
|
id: 'formatter.conflict',
|
|
210
|
-
name: ( localize(
|
|
210
|
+
name: ( localize(6741, "Formatter Conflicts")),
|
|
211
211
|
selector: { language: document.getLanguageId(), pattern: document.uri.fsPath },
|
|
212
212
|
severity: Severity$1.Error,
|
|
213
|
-
label: ( localize(
|
|
213
|
+
label: ( localize(6742, "Formatting")),
|
|
214
214
|
detail: result,
|
|
215
215
|
busy: false,
|
|
216
216
|
source: '',
|
|
@@ -238,7 +238,7 @@ DefaultFormatter = DefaultFormatter_1 = ( __decorate([
|
|
|
238
238
|
properties: {
|
|
239
239
|
[DefaultFormatter.configName]: {
|
|
240
240
|
description: ( localize(
|
|
241
|
-
|
|
241
|
+
6743,
|
|
242
242
|
"Defines a default formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
243
243
|
)),
|
|
244
244
|
type: ['string', 'null'],
|
|
@@ -271,7 +271,7 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
271
271
|
const pick = {
|
|
272
272
|
index,
|
|
273
273
|
label: provider.displayName || '',
|
|
274
|
-
description: isDefault ? ( localize(
|
|
274
|
+
description: isDefault ? ( localize(6744, "(default)")) : undefined,
|
|
275
275
|
};
|
|
276
276
|
if (isDefault) {
|
|
277
277
|
defaultFormatterPick = pick;
|
|
@@ -279,10 +279,10 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
279
279
|
return pick;
|
|
280
280
|
}));
|
|
281
281
|
const configurePick = {
|
|
282
|
-
label: ( localize(
|
|
282
|
+
label: ( localize(6745, "Configure Default Formatter..."))
|
|
283
283
|
};
|
|
284
284
|
const pick = await quickPickService.pick([...picks, { type: 'separator' }, configurePick], {
|
|
285
|
-
placeHolder: ( localize(
|
|
285
|
+
placeHolder: ( localize(6746, "Select a formatter")),
|
|
286
286
|
activeItem: defaultFormatterPick
|
|
287
287
|
});
|
|
288
288
|
if (!pick) {
|
|
@@ -291,7 +291,7 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
291
291
|
else if (pick === configurePick) {
|
|
292
292
|
const langName = languageService.getLanguageName(model.getLanguageId()) || model.getLanguageId();
|
|
293
293
|
const pick = await quickPickService.pick(picks, { placeHolder: ( localize(
|
|
294
|
-
|
|
294
|
+
6739,
|
|
295
295
|
"Select a default formatter for '{0}' files",
|
|
296
296
|
DefaultFormatter._maybeQuotes(langName)
|
|
297
297
|
)) });
|
|
@@ -308,7 +308,7 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
308
308
|
constructor() {
|
|
309
309
|
super({
|
|
310
310
|
id: 'editor.action.formatDocument.multiple',
|
|
311
|
-
label: ( localize(
|
|
311
|
+
label: ( localize(6747, "Format Document With...")),
|
|
312
312
|
alias: 'Format Document...',
|
|
313
313
|
precondition: ( ContextKeyExpr.and(
|
|
314
314
|
EditorContextKeys.writable,
|
|
@@ -340,7 +340,7 @@ registerEditorAction(class FormatSelectionMultipleAction extends EditorAction {
|
|
|
340
340
|
constructor() {
|
|
341
341
|
super({
|
|
342
342
|
id: 'editor.action.formatSelection.multiple',
|
|
343
|
-
label: ( localize(
|
|
343
|
+
label: ( localize(6748, "Format Selection With...")),
|
|
344
344
|
alias: 'Format Code...',
|
|
345
345
|
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.and(EditorContextKeys.writable)), EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider)),
|
|
346
346
|
contextMenuOpts: {
|
|
@@ -15,7 +15,7 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super({
|
|
17
17
|
id: 'editor.action.formatDocument.none',
|
|
18
|
-
label: ( localize2(
|
|
18
|
+
label: ( localize2(6749, "Format Document")),
|
|
19
19
|
precondition: ( ContextKeyExpr.and(EditorContextKeys.writable, ( EditorContextKeys.hasDocumentFormattingProvider.toNegated()))),
|
|
20
20
|
kbOpts: {
|
|
21
21
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -43,14 +43,14 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
43
43
|
return commandService.executeCommand('editor.action.formatDocument');
|
|
44
44
|
}
|
|
45
45
|
else if (model.isTooLargeForSyncing()) {
|
|
46
|
-
notificationService.warn(( localize(
|
|
46
|
+
notificationService.warn(( localize(6750, "This file cannot be formatted because it is too large")));
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
49
49
|
const langName = model.getLanguageId();
|
|
50
|
-
const message = ( localize(
|
|
50
|
+
const message = ( localize(6751, "There is no formatter for '{0}' files installed.", langName));
|
|
51
51
|
const { confirmed } = await dialogService.confirm({
|
|
52
52
|
message,
|
|
53
|
-
primaryButton: ( localize(
|
|
53
|
+
primaryButton: ( localize(6752, "&&Install Formatter..."))
|
|
54
54
|
});
|
|
55
55
|
if (confirmed) {
|
|
56
56
|
extensionsWorkbenchService.openSearch(`category:formatters ${langName}`);
|
|
@@ -19,7 +19,7 @@ registerEditorAction(class FormatModifiedAction extends EditorAction {
|
|
|
19
19
|
constructor() {
|
|
20
20
|
super({
|
|
21
21
|
id: 'editor.action.formatChanges',
|
|
22
|
-
label: ( localize2(
|
|
22
|
+
label: ( localize2(6753, "Format Modified Lines")),
|
|
23
23
|
precondition: ( ContextKeyExpr.and(
|
|
24
24
|
EditorContextKeys.writable,
|
|
25
25
|
EditorContextKeys.hasDocumentSelectionFormattingProvider
|
|
@@ -24,7 +24,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
24
24
|
static { this.IsReading = ( new RawContextKey(
|
|
25
25
|
'isReadingLineWithInlayHints',
|
|
26
26
|
false,
|
|
27
|
-
{ type: 'boolean', description: ( localize(
|
|
27
|
+
{ type: 'boolean', description: ( localize(6754, "Whether the current line and its inlay hints are currently focused")) }
|
|
28
28
|
)); }
|
|
29
29
|
static { this.ID = 'editor.contrib.InlayHintsAccessibility'; }
|
|
30
30
|
static get(editor) {
|
|
@@ -39,7 +39,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
39
39
|
this._ariaElement.style.position = 'fixed';
|
|
40
40
|
this._ariaElement.className = 'inlayhint-accessibility-element';
|
|
41
41
|
this._ariaElement.tabIndex = 0;
|
|
42
|
-
this._ariaElement.setAttribute('aria-description', ( localize(
|
|
42
|
+
this._ariaElement.setAttribute('aria-description', ( localize(6755, "Code with Inlay Hint Information")));
|
|
43
43
|
this._ctxIsReading = InlayHintsAccessibility_1.IsReading.bindTo(contextKeyService);
|
|
44
44
|
}
|
|
45
45
|
dispose() {
|
|
@@ -139,7 +139,7 @@ registerAction2(class StartReadHints extends EditorAction2 {
|
|
|
139
139
|
constructor() {
|
|
140
140
|
super({
|
|
141
141
|
id: 'inlayHints.startReadingLineWithHint',
|
|
142
|
-
title: ( localize2(
|
|
142
|
+
title: ( localize2(6756, "Read Line With Inline Hints")),
|
|
143
143
|
precondition: EditorContextKeys.hasInlayHintsProvider,
|
|
144
144
|
f1: true
|
|
145
145
|
});
|
|
@@ -153,7 +153,7 @@ registerAction2(class StopReadHints extends EditorAction2 {
|
|
|
153
153
|
constructor() {
|
|
154
154
|
super({
|
|
155
155
|
id: 'inlayHints.stopReadingLineWithHint',
|
|
156
|
-
title: ( localize2(
|
|
156
|
+
title: ( localize2(6757, "Stop Inlay Hints Reading")),
|
|
157
157
|
precondition: InlayHintsAccessibility.IsReading,
|
|
158
158
|
f1: true,
|
|
159
159
|
keybinding: {
|
|
@@ -11,8 +11,8 @@ class ListResizeColumnAction extends Action2 {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
super({
|
|
13
13
|
id: 'list.resizeColumn',
|
|
14
|
-
title: { value: ( localize(
|
|
15
|
-
category: { value: ( localize(
|
|
14
|
+
title: { value: ( localize(6971, "Resize Column")), original: 'Resize Column' },
|
|
15
|
+
category: { value: ( localize(6972, "List")), original: 'List' },
|
|
16
16
|
precondition: WorkbenchListFocusContextKey,
|
|
17
17
|
f1: true
|
|
18
18
|
});
|
|
@@ -17,14 +17,14 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
|
|
|
17
17
|
items.push({ label, index });
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
const column = await this._quickInputService.pick(items, { placeHolder: ( localize(
|
|
20
|
+
const column = await this._quickInputService.pick(items, { placeHolder: ( localize(6973, "Select the column to resize, type to filter.")) });
|
|
21
21
|
if (!column) {
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
24
|
const value = await this._quickInputService.input({
|
|
25
|
-
placeHolder: ( localize(
|
|
25
|
+
placeHolder: ( localize(6974, "i.e. 20, 60, 100...")),
|
|
26
26
|
prompt: ( localize(
|
|
27
|
-
|
|
27
|
+
6975,
|
|
28
28
|
"Please enter a width in percentage for the '{0}' column.",
|
|
29
29
|
column.label
|
|
30
30
|
)),
|
|
@@ -39,11 +39,11 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
|
|
|
39
39
|
async _validateColumnResizeValue(input) {
|
|
40
40
|
const percentage = Number.parseInt(input);
|
|
41
41
|
if (input && !Number.isInteger(percentage)) {
|
|
42
|
-
return localize(
|
|
42
|
+
return localize(6976, "Please enter an integer.");
|
|
43
43
|
}
|
|
44
44
|
else if (percentage < 0 || percentage > 100) {
|
|
45
45
|
return localize(
|
|
46
|
-
|
|
46
|
+
6977,
|
|
47
47
|
"Please enter a number greater than 0 and less than or equal to 100."
|
|
48
48
|
);
|
|
49
49
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LogLevel } from "../../../../platform/log/common/log.js";
|
|
2
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
|
+
import { LogLevel } from "../../../../platform/log/common/log.js";
|
|
3
3
|
import { DefaultLogLevels } from "@codingame/monaco-vscode-log-service-override/vscode/vs/workbench/contrib/logs/common/defaultLogLevels";
|
|
4
4
|
export declare const IDefaultLogLevelsService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IDefaultLogLevelsService>;
|
|
5
5
|
export interface IDefaultLogLevelsService {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IReference } from "../../../../../../base/common/lifecycle.js";
|
|
2
|
+
import { URI } from "../../../../../../base/common/uri.js";
|
|
2
3
|
import { ITextModel } from "../../../../../../editor/common/model.js";
|
|
3
4
|
import { CellKind } from "../../../common/notebookCommon.js";
|
|
4
|
-
import { URI } from "../../../../../../base/common/uri.js";
|
|
5
5
|
export declare const INotebookOriginalCellModelFactory: import("../../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookOriginalCellModelFactory>;
|
|
6
6
|
export interface INotebookOriginalCellModelFactory {
|
|
7
7
|
readonly _serviceBrand: undefined;
|
package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { Dimension } from "../../../../../base/browser/dom.js";
|
|
1
2
|
import { CodeWindow } from "../../../../../base/browser/window.js";
|
|
2
|
-
import { ServicesAccessor } from "../../../../../platform/instantiation/common/instantiation.js";
|
|
3
|
-
import { NotebookEditorInput } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput";
|
|
4
|
-
import { INotebookEditor, INotebookEditorCreationOptions } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
5
3
|
import { Event } from "../../../../../base/common/event.js";
|
|
6
|
-
import { Dimension } from "../../../../../base/browser/dom.js";
|
|
7
|
-
import { NotebookEditorWidget } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget";
|
|
8
4
|
import { URI } from "../../../../../base/common/uri.js";
|
|
5
|
+
import { type ServicesAccessor } from "../../../../../platform/instantiation/common/instantiation.js";
|
|
6
|
+
import { NotebookEditorInput } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput";
|
|
7
|
+
import { INotebookEditorCreationOptions, INotebookEditor } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
8
|
+
import { NotebookEditorWidget } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget";
|
|
9
9
|
import { IBorrowValue } from "./notebookEditorService.js";
|
|
10
10
|
export declare const INotebookEditorService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookEditorService>;
|
|
11
11
|
export interface INotebookEditorService {
|
package/vscode/src/vs/workbench/contrib/notebook/common/notebookCellStatusBarService.service.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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 { URI } from "../../../../base/common/uri.js";
|
|
5
|
-
import {
|
|
5
|
+
import { INotebookCellStatusBarItemProvider, INotebookCellStatusBarItemList } from "./notebookCommon.js";
|
|
6
6
|
export declare const INotebookCellStatusBarService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookCellStatusBarService>;
|
|
7
7
|
export interface INotebookCellStatusBarService {
|
|
8
8
|
readonly _serviceBrand: undefined;
|
|
@@ -20,7 +20,7 @@ import { IFileReadLimits } from "../../../../platform/files/common/files.js";
|
|
|
20
20
|
import { UndoRedoGroup } from "../../../../platform/undoRedo/common/undoRedo.js";
|
|
21
21
|
import { IRevertOptions, ISaveOptions, IUntypedEditorInput } from "../../../common/editor.js";
|
|
22
22
|
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
23
|
-
import { ICellExecutionError } from "@codingame/monaco-vscode-
|
|
23
|
+
import { ICellExecutionError } from "@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
24
24
|
import { INotebookTextModelLike } from "./notebookKernelService.js";
|
|
25
25
|
import { ICellRange } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/common/notebookRange";
|
|
26
26
|
import { RegisteredEditorPriority } from "../../../services/editor/common/editorResolverService.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { URI } from "../../../../base/common/uri.js";
|
|
2
|
-
import { IResolvedNotebookEditorModel, NotebookEditorModelCreationOptions } from "./notebookCommon.js";
|
|
3
|
-
import { IReference } from "../../../../base/common/lifecycle.js";
|
|
4
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
|
+
import { IReference } from "../../../../base/common/lifecycle.js";
|
|
3
|
+
import { URI } from "../../../../base/common/uri.js";
|
|
5
4
|
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
5
|
+
import { IResolvedNotebookEditorModel, NotebookEditorModelCreationOptions } from "./notebookCommon.js";
|
|
6
6
|
import { INotebookConflictEvent, IUntitledNotebookResource } from "./notebookEditorModelResolverService.js";
|
|
7
7
|
export declare const INotebookEditorModelResolverService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookEditorModelResolverService>;
|
|
8
8
|
export interface INotebookEditorModelResolverService {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IOutputDto, IOutputItemDto } from "./notebookCommon.js";
|
|
2
|
-
import { INotebookCellExecution } from "@codingame/monaco-vscode-
|
|
2
|
+
import { INotebookCellExecution } from "@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
3
3
|
export declare enum CellExecutionUpdateType {
|
|
4
4
|
Output = 1,
|
|
5
5
|
OutputItems = 2,
|
package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
2
|
import { URI } from "../../../../base/common/uri.js";
|
|
3
|
-
import { ICellExecutionStateChangedEvent, IExecutionStateChangedEvent, INotebookFailStateChangedEvent, INotebookCellExecution, INotebookExecution } from "@codingame/monaco-vscode-
|
|
3
|
+
import { ICellExecutionStateChangedEvent, IExecutionStateChangedEvent, INotebookFailStateChangedEvent, INotebookCellExecution, INotebookExecution } from "@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
4
4
|
export declare const INotebookExecutionStateService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookExecutionStateService>;
|
|
5
5
|
export interface INotebookExecutionStateService {
|
|
6
6
|
_serviceBrand: undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NotebookProviderInfo } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/notebookProvider";
|
|
3
|
-
import { Event } from "../../../../base/common/event.js";
|
|
4
|
-
import { INotebookRendererInfo, IOrderedMimeType, IOutputDto, INotebookContributionData, NotebookExtensionDescription, INotebookStaticPreloadInfo } from "./notebookCommon.js";
|
|
5
|
-
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
1
|
+
import { VSBufferReadableStream } from "../../../../base/common/buffer.js";
|
|
6
2
|
import { CancellationToken } from "../../../../base/common/cancellation.js";
|
|
7
|
-
import {
|
|
3
|
+
import { Event } from "../../../../base/common/event.js";
|
|
8
4
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
9
|
-
import {
|
|
5
|
+
import { URI } from "../../../../base/common/uri.js";
|
|
10
6
|
import { ConfigurationTarget } from "../../../../platform/configuration/common/configuration.js";
|
|
11
7
|
import { SnapshotContext } from "@codingame/monaco-vscode-9d05a43d-c330-5ff1-937e-fde4a3852931-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
|
|
8
|
+
import { NotebookCellTextModel } from "@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
|
|
9
|
+
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
10
|
+
import { NotebookExtensionDescription, IOutputDto, IOrderedMimeType, INotebookRendererInfo, INotebookStaticPreloadInfo, INotebookContributionData } from "./notebookCommon.js";
|
|
11
|
+
import { NotebookProviderInfo } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/notebookProvider";
|
|
12
12
|
import { INotebookSerializer, SimpleNotebookProviderInfo } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/common/notebookService";
|
|
13
13
|
export declare const INotebookService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookService>;
|
|
14
14
|
export interface INotebookService {
|
package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IOutputChannelModel } from "@codingame/monaco-vscode-output-service-override/vscode/vs/workbench/contrib/output/common/outputChannelModel";
|
|
2
1
|
import { URI } from "../../../../base/common/uri.js";
|
|
3
2
|
import { ILanguageSelection } from "../../../../editor/common/languages/language.js";
|
|
3
|
+
import { IOutputChannelModel } from "@codingame/monaco-vscode-output-service-override/vscode/vs/workbench/contrib/output/common/outputChannelModel";
|
|
4
4
|
export declare const IOutputChannelModelService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IOutputChannelModelService>;
|
|
5
5
|
export interface IOutputChannelModelService {
|
|
6
6
|
readonly _serviceBrand: undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DirtyDiffModel } from "./dirtydiffDecorator.js";
|
|
2
|
-
import { DiffAlgorithmName } from "../../../../editor/common/services/editorWorker.js";
|
|
3
1
|
import { URI } from "../../../../base/common/uri.js";
|
|
2
|
+
import { DiffAlgorithmName } from "../../../../editor/common/services/editorWorker.js";
|
|
3
|
+
import { DirtyDiffModel } from "./dirtydiffDecorator.js";
|
|
4
4
|
export declare const IDirtyDiffModelService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IDirtyDiffModelService>;
|
|
5
5
|
export interface IDirtyDiffModelService {
|
|
6
6
|
_serviceBrand: undefined;
|
|
@@ -32,7 +32,7 @@ let SwitchQuickDiffViewItem = class SwitchQuickDiffViewItem extends SelectAction
|
|
|
32
32
|
const peekTitleColor = theme.getColor(peekViewTitleBackground);
|
|
33
33
|
const opaqueTitleColor = peekTitleColor?.makeOpaque(editorBackgroundColor) ?? editorBackgroundColor;
|
|
34
34
|
styles.selectBackground = ( ( opaqueTitleColor.lighten(.6)).toString());
|
|
35
|
-
super(null, action, items, startingSelection, contextViewService, styles, { ariaLabel: ( localize(
|
|
35
|
+
super(null, action, items, startingSelection, contextViewService, styles, { ariaLabel: ( localize(8427, 'Switch quick diff base')) });
|
|
36
36
|
this.optionsItems = items;
|
|
37
37
|
}
|
|
38
38
|
setSelection(provider) {
|
|
@@ -53,7 +53,7 @@ SwitchQuickDiffViewItem = ( __decorate([
|
|
|
53
53
|
], SwitchQuickDiffViewItem));
|
|
54
54
|
class SwitchQuickDiffBaseAction extends Action {
|
|
55
55
|
static { this.ID = 'quickDiff.base.switch'; }
|
|
56
|
-
static { this.LABEL = ( localize(
|
|
56
|
+
static { this.LABEL = ( localize(8428, "Switch Quick Diff Base")); }
|
|
57
57
|
constructor(callback) {
|
|
58
58
|
super(SwitchQuickDiffBaseAction.ID, SwitchQuickDiffBaseAction.LABEL, undefined, undefined);
|
|
59
59
|
this.callback = callback;
|
|
@@ -245,14 +245,14 @@ let DirtyDiffWidget = class DirtyDiffWidget extends PeekViewWidget {
|
|
|
245
245
|
if (!this.shouldUseDropdown()) {
|
|
246
246
|
detail = this.model.changes.length > 1
|
|
247
247
|
? ( localize(
|
|
248
|
-
|
|
248
|
+
8429,
|
|
249
249
|
"{0} - {1} of {2} changes",
|
|
250
250
|
label,
|
|
251
251
|
providerIndex + 1,
|
|
252
252
|
providerChanges.length
|
|
253
253
|
))
|
|
254
254
|
: ( localize(
|
|
255
|
-
|
|
255
|
+
8430,
|
|
256
256
|
"{0} - {1} of {2} change",
|
|
257
257
|
label,
|
|
258
258
|
providerIndex + 1,
|
|
@@ -262,8 +262,8 @@ let DirtyDiffWidget = class DirtyDiffWidget extends PeekViewWidget {
|
|
|
262
262
|
}
|
|
263
263
|
else {
|
|
264
264
|
detail = this.model.changes.length > 1
|
|
265
|
-
? ( localize(
|
|
266
|
-
: ( localize(
|
|
265
|
+
? ( localize(8431, "{0} of {1} changes", providerIndex + 1, providerChanges.length))
|
|
266
|
+
: ( localize(8432, "{0} of {1} change", providerIndex + 1, providerChanges.length));
|
|
267
267
|
this.dropdownContainer.style.display = 'inherit';
|
|
268
268
|
}
|
|
269
269
|
this.setTitle(this.title, detail);
|
|
@@ -320,7 +320,7 @@ let DirtyDiffWidget = class DirtyDiffWidget extends PeekViewWidget {
|
|
|
320
320
|
this._actionbarWidget.clear();
|
|
321
321
|
this._actionbarWidget.push(actions.reverse(), { label: false, icon: true });
|
|
322
322
|
this._actionbarWidget.push([next, previous], { label: false, icon: true });
|
|
323
|
-
this._actionbarWidget.push(( new Action('peekview.close', ( localize(
|
|
323
|
+
this._actionbarWidget.push(( new Action('peekview.close', ( localize(8433, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => this.dispose())), { label: false, icon: true });
|
|
324
324
|
}
|
|
325
325
|
_fillHead(container) {
|
|
326
326
|
super._fillHead(container, true);
|
|
@@ -425,7 +425,7 @@ class ShowPreviousChangeAction extends EditorAction {
|
|
|
425
425
|
constructor(outerEditor) {
|
|
426
426
|
super({
|
|
427
427
|
id: 'editor.action.dirtydiff.previous',
|
|
428
|
-
label: ( localize2(
|
|
428
|
+
label: ( localize2(8434, "Show Previous Change")),
|
|
429
429
|
precondition: ( TextCompareEditorActiveContext.toNegated()),
|
|
430
430
|
kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod$1.Shift | KeyMod$1.Alt | KeyCode.F3, weight: KeybindingWeight.EditorContrib }
|
|
431
431
|
});
|
|
@@ -451,7 +451,7 @@ class ShowNextChangeAction extends EditorAction {
|
|
|
451
451
|
constructor(outerEditor) {
|
|
452
452
|
super({
|
|
453
453
|
id: 'editor.action.dirtydiff.next',
|
|
454
|
-
label: ( localize2(
|
|
454
|
+
label: ( localize2(8435, "Show Next Change")),
|
|
455
455
|
precondition: ( TextCompareEditorActiveContext.toNegated()),
|
|
456
456
|
kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod$1.Alt | KeyCode.F3, weight: KeybindingWeight.EditorContrib }
|
|
457
457
|
});
|
|
@@ -477,7 +477,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
477
477
|
group: '7_change_nav',
|
|
478
478
|
command: {
|
|
479
479
|
id: 'editor.action.dirtydiff.next',
|
|
480
|
-
title: ( localize(
|
|
480
|
+
title: ( localize(8436, "Next &&Change"))
|
|
481
481
|
},
|
|
482
482
|
order: 1
|
|
483
483
|
});
|
|
@@ -485,7 +485,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
485
485
|
group: '7_change_nav',
|
|
486
486
|
command: {
|
|
487
487
|
id: 'editor.action.dirtydiff.previous',
|
|
488
|
-
title: ( localize(
|
|
488
|
+
title: ( localize(8437, "Previous &&Change"))
|
|
489
489
|
},
|
|
490
490
|
order: 2
|
|
491
491
|
});
|
|
@@ -493,7 +493,7 @@ class GotoPreviousChangeAction extends EditorAction {
|
|
|
493
493
|
constructor() {
|
|
494
494
|
super({
|
|
495
495
|
id: 'workbench.action.editor.previousChange',
|
|
496
|
-
label: ( localize2(
|
|
496
|
+
label: ( localize2(8438, "Go to Previous Change")),
|
|
497
497
|
precondition: ( TextCompareEditorActiveContext.toNegated()),
|
|
498
498
|
kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod$1.Shift | KeyMod$1.Alt | KeyCode.F5, weight: KeybindingWeight.EditorContrib }
|
|
499
499
|
});
|
|
@@ -526,7 +526,7 @@ class GotoNextChangeAction extends EditorAction {
|
|
|
526
526
|
constructor() {
|
|
527
527
|
super({
|
|
528
528
|
id: 'workbench.action.editor.nextChange',
|
|
529
|
-
label: ( localize2(
|
|
529
|
+
label: ( localize2(8439, "Go to Next Change")),
|
|
530
530
|
precondition: ( TextCompareEditorActiveContext.toNegated()),
|
|
531
531
|
kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod$1.Alt | KeyCode.F5, weight: KeybindingWeight.EditorContrib }
|
|
532
532
|
});
|
|
@@ -842,20 +842,20 @@ const editorGutterModifiedBackground = registerColor('editorGutter.modifiedBackg
|
|
|
842
842
|
light: '#2090D3',
|
|
843
843
|
hcDark: '#1B81A8',
|
|
844
844
|
hcLight: '#2090D3'
|
|
845
|
-
}, ( localize(
|
|
845
|
+
}, ( localize(8440, "Editor gutter background color for lines that are modified.")));
|
|
846
846
|
const editorGutterAddedBackground = registerColor('editorGutter.addedBackground', {
|
|
847
847
|
dark: '#487E02',
|
|
848
848
|
light: '#48985D',
|
|
849
849
|
hcDark: '#487E02',
|
|
850
850
|
hcLight: '#48985D'
|
|
851
|
-
}, ( localize(
|
|
852
|
-
const editorGutterDeletedBackground = registerColor('editorGutter.deletedBackground', editorErrorForeground, ( localize(
|
|
853
|
-
const minimapGutterModifiedBackground = registerColor('minimapGutter.modifiedBackground', editorGutterModifiedBackground, ( localize(
|
|
854
|
-
const minimapGutterAddedBackground = registerColor('minimapGutter.addedBackground', editorGutterAddedBackground, ( localize(
|
|
855
|
-
const minimapGutterDeletedBackground = registerColor('minimapGutter.deletedBackground', editorGutterDeletedBackground, ( localize(
|
|
856
|
-
const overviewRulerModifiedForeground = registerColor('editorOverviewRuler.modifiedForeground', ( transparent(editorGutterModifiedBackground, 0.6)), ( localize(
|
|
857
|
-
const overviewRulerAddedForeground = registerColor('editorOverviewRuler.addedForeground', ( transparent(editorGutterAddedBackground, 0.6)), ( localize(
|
|
858
|
-
const overviewRulerDeletedForeground = registerColor('editorOverviewRuler.deletedForeground', ( transparent(editorGutterDeletedBackground, 0.6)), ( localize(
|
|
851
|
+
}, ( localize(8441, "Editor gutter background color for lines that are added.")));
|
|
852
|
+
const editorGutterDeletedBackground = registerColor('editorGutter.deletedBackground', editorErrorForeground, ( localize(8442, "Editor gutter background color for lines that are deleted.")));
|
|
853
|
+
const minimapGutterModifiedBackground = registerColor('minimapGutter.modifiedBackground', editorGutterModifiedBackground, ( localize(8443, "Minimap gutter background color for lines that are modified.")));
|
|
854
|
+
const minimapGutterAddedBackground = registerColor('minimapGutter.addedBackground', editorGutterAddedBackground, ( localize(8444, "Minimap gutter background color for lines that are added.")));
|
|
855
|
+
const minimapGutterDeletedBackground = registerColor('minimapGutter.deletedBackground', editorGutterDeletedBackground, ( localize(8445, "Minimap gutter background color for lines that are deleted.")));
|
|
856
|
+
const overviewRulerModifiedForeground = registerColor('editorOverviewRuler.modifiedForeground', ( transparent(editorGutterModifiedBackground, 0.6)), ( localize(8446, 'Overview ruler marker color for modified content.')));
|
|
857
|
+
const overviewRulerAddedForeground = registerColor('editorOverviewRuler.addedForeground', ( transparent(editorGutterAddedBackground, 0.6)), ( localize(8447, 'Overview ruler marker color for added content.')));
|
|
858
|
+
const overviewRulerDeletedForeground = registerColor('editorOverviewRuler.deletedForeground', ( transparent(editorGutterDeletedBackground, 0.6)), ( localize(8448, 'Overview ruler marker color for deleted content.')));
|
|
859
859
|
let DirtyDiffDecorator = DirtyDiffDecorator_1 = class DirtyDiffDecorator extends Disposable {
|
|
860
860
|
static createDecoration(className, tooltip, options) {
|
|
861
861
|
const decorationOptions = {
|
|
@@ -890,7 +890,7 @@ let DirtyDiffDecorator = DirtyDiffDecorator_1 = class DirtyDiffDecorator extends
|
|
|
890
890
|
const gutter = decorations === 'all' || decorations === 'gutter';
|
|
891
891
|
const overview = decorations === 'all' || decorations === 'overview';
|
|
892
892
|
const minimap = decorations === 'all' || decorations === 'minimap';
|
|
893
|
-
const diffAdded = ( localize(
|
|
893
|
+
const diffAdded = ( localize(8449, 'Added lines'));
|
|
894
894
|
this.addedOptions = DirtyDiffDecorator_1.createDecoration('dirty-diff-added', diffAdded, {
|
|
895
895
|
gutter,
|
|
896
896
|
overview: { active: overview, color: overviewRulerAddedForeground },
|
|
@@ -903,7 +903,7 @@ let DirtyDiffDecorator = DirtyDiffDecorator_1 = class DirtyDiffDecorator extends
|
|
|
903
903
|
minimap: { active: minimap, color: minimapGutterAddedBackground },
|
|
904
904
|
isWholeLine: true
|
|
905
905
|
});
|
|
906
|
-
const diffModified = ( localize(
|
|
906
|
+
const diffModified = ( localize(8450, 'Changed lines'));
|
|
907
907
|
this.modifiedOptions = DirtyDiffDecorator_1.createDecoration('dirty-diff-modified', diffModified, {
|
|
908
908
|
gutter,
|
|
909
909
|
overview: { active: overview, color: overviewRulerModifiedForeground },
|
|
@@ -916,7 +916,7 @@ let DirtyDiffDecorator = DirtyDiffDecorator_1 = class DirtyDiffDecorator extends
|
|
|
916
916
|
minimap: { active: minimap, color: minimapGutterModifiedBackground },
|
|
917
917
|
isWholeLine: true
|
|
918
918
|
});
|
|
919
|
-
this.deletedOptions = DirtyDiffDecorator_1.createDecoration('dirty-diff-deleted', ( localize(
|
|
919
|
+
this.deletedOptions = DirtyDiffDecorator_1.createDecoration('dirty-diff-deleted', ( localize(8451, 'Removed lines')), {
|
|
920
920
|
gutter,
|
|
921
921
|
overview: { active: overview, color: overviewRulerDeletedForeground },
|
|
922
922
|
minimap: { active: minimap, color: minimapGutterDeletedBackground },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { URI } from "../../../../base/common/uri.js";
|
|
2
|
-
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
3
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
|
+
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
3
|
+
import { URI } from "../../../../base/common/uri.js";
|
|
4
4
|
import { QuickDiffProvider, QuickDiff } from "./quickDiff.js";
|
|
5
5
|
export declare const IQuickDiffService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IQuickDiffService>;
|
|
6
6
|
export interface IQuickDiffService {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { URI } from "../../../../base/common/uri.js";
|
|
2
1
|
import { Event } from "../../../../base/common/event.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
2
|
+
import { URI } from "../../../../base/common/uri.js";
|
|
3
|
+
import { ISCMRepository, ISCMProvider, type ISCMMenus, type ISCMRepositorySortKey, type ISCMViewVisibleRepositoryChangeEvent } from "@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common/vscode/vs/workbench/contrib/scm/common/scm";
|
|
4
|
+
import { IObservable } from "../../../../base/common/observableInternal/index.js";
|
|
6
5
|
export declare const ISCMService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ISCMService>;
|
|
7
6
|
export interface ISCMService {
|
|
8
7
|
readonly _serviceBrand: undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IProgress, IProgressStep } from "../../../../platform/progress/common/progress.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ISearchTreeMatch, ISearchTreeFileMatch, FileMatchOrMatch } from "@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common/vscode/vs/workbench/contrib/search/browser/searchTreeModel/searchTreeCommon";
|
|
3
3
|
export declare const IReplaceService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IReplaceService>;
|
|
4
4
|
export interface IReplaceService {
|
|
5
5
|
readonly _serviceBrand: undefined;
|