@codingame/monaco-vscode-api 12.0.1 → 13.1.0
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 +3 -4
- package/extensions.d.ts +2 -0
- package/extensions.js +6 -3
- package/missing-services.js +2 -2
- package/package.json +12 -335
- package/services.d.ts +5 -0
- package/services.js +6 -2
- 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/ipc/common/services.d.ts +1 -1
- 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/remote/common/remoteSocketFactoryService.service.d.ts +1 -1
- 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/tunnel/common/tunnel.d.ts +1 -1
- package/vscode/src/vs/platform/tunnel/common/tunnel.service.d.ts +1 -1
- 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/extensionHostMain.d.ts +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 +2 -1
- 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/extensions/common/rpcProtocol.d.ts +1 -1
- 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
- package/api.js +0 -309
- package/localExtensionHost.d.ts +0 -42
- package/localExtensionHost.js +0 -224
- package/vscode/src/vs/base/parts/ipc/common/ipc.d.ts +0 -175
- package/vscode/src/vs/base/parts/ipc/common/ipc.js +0 -711
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.d.ts +0 -195
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +0 -799
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.service.d.ts +0 -7
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.service.js +0 -7
|
@@ -27,7 +27,7 @@ class SnippetCompletion {
|
|
|
27
27
|
constructor(snippet, range) {
|
|
28
28
|
this.snippet = snippet;
|
|
29
29
|
this.label = { label: snippet.prefix, description: snippet.name };
|
|
30
|
-
this.detail = ( localize(
|
|
30
|
+
this.detail = ( localize(8900, "{0} ({1})", snippet.description || snippet.name, snippet.source));
|
|
31
31
|
this.insertText = snippet.codeSnippet;
|
|
32
32
|
this.extensionId = snippet.extensionId;
|
|
33
33
|
this.range = range;
|
|
@@ -121,14 +121,14 @@ let SnippetCompletionProvider = class SnippetCompletionProvider {
|
|
|
121
121
|
let to = i + 1;
|
|
122
122
|
for (; to < suggestions.length && item.label === suggestions[to].label; to++) {
|
|
123
123
|
suggestions[to].label.label = ( localize(
|
|
124
|
-
|
|
124
|
+
8901,
|
|
125
125
|
"{0}, {1}",
|
|
126
126
|
suggestions[to].label.label,
|
|
127
127
|
suggestions[to].snippet.name
|
|
128
128
|
));
|
|
129
129
|
}
|
|
130
130
|
if (to > i + 1) {
|
|
131
|
-
suggestions[i].label.label = ( localize(
|
|
131
|
+
suggestions[i].label.label = ( localize(8901, "{0}, {1}", suggestions[i].label.label, suggestions[i].snippet.name));
|
|
132
132
|
i = to;
|
|
133
133
|
}
|
|
134
134
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SnippetFile, Snippet } from "./snippetsFile.js";
|
|
2
1
|
import { ISnippetGetOptions } from "./snippets.js";
|
|
2
|
+
import { SnippetFile, Snippet } from "./snippetsFile.js";
|
|
3
3
|
export declare const ISnippetsService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ISnippetsService>;
|
|
4
4
|
export interface ISnippetsService {
|
|
5
5
|
readonly _serviceBrand: undefined;
|
|
@@ -207,14 +207,14 @@ class SnippetFile {
|
|
|
207
207
|
source = this._extension.displayName || this._extension.name;
|
|
208
208
|
}
|
|
209
209
|
else if (this.source === SnippetSource.Workspace) {
|
|
210
|
-
source = ( localize(
|
|
210
|
+
source = ( localize(8917, "Workspace Snippet"));
|
|
211
211
|
}
|
|
212
212
|
else {
|
|
213
213
|
if (this.isGlobalSnippets) {
|
|
214
|
-
source = ( localize(
|
|
214
|
+
source = ( localize(8918, "Global User Snippet"));
|
|
215
215
|
}
|
|
216
216
|
else {
|
|
217
|
-
source = ( localize(
|
|
217
|
+
source = ( localize(8919, "User Snippet"));
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
for (const _prefix of Iterable.wrap(prefix)) {
|
|
@@ -34,7 +34,7 @@ var snippetExt;
|
|
|
34
34
|
function toValidSnippet(extension, snippet, languageService) {
|
|
35
35
|
if (isFalsyOrWhitespace(snippet.path)) {
|
|
36
36
|
extension.collector.error(( localize(
|
|
37
|
-
|
|
37
|
+
8920,
|
|
38
38
|
"Expected string in `contributes.{0}.path`. Provided value: {1}",
|
|
39
39
|
extension.description.name,
|
|
40
40
|
String(snippet.path)
|
|
@@ -43,7 +43,7 @@ var snippetExt;
|
|
|
43
43
|
}
|
|
44
44
|
if (isFalsyOrWhitespace(snippet.language) && !snippet.path.endsWith('.code-snippets')) {
|
|
45
45
|
extension.collector.error(( localize(
|
|
46
|
-
|
|
46
|
+
8921,
|
|
47
47
|
"When omitting the language, the value of `contributes.{0}.path` must be a `.code-snippets`-file. Provided value: {1}",
|
|
48
48
|
extension.description.name,
|
|
49
49
|
String(snippet.path)
|
|
@@ -52,7 +52,7 @@ var snippetExt;
|
|
|
52
52
|
}
|
|
53
53
|
if (!isFalsyOrWhitespace(snippet.language) && !languageService.isRegisteredLanguageId(snippet.language)) {
|
|
54
54
|
extension.collector.error(( localize(
|
|
55
|
-
|
|
55
|
+
8922,
|
|
56
56
|
"Unknown language in `contributes.{0}.language`. Provided value: {1}",
|
|
57
57
|
extension.description.name,
|
|
58
58
|
String(snippet.language)
|
|
@@ -63,7 +63,7 @@ var snippetExt;
|
|
|
63
63
|
const snippetLocation = joinPath(extensionLocation, snippet.path);
|
|
64
64
|
if (!isEqualOrParent(snippetLocation, extensionLocation)) {
|
|
65
65
|
extension.collector.error(( localize(
|
|
66
|
-
|
|
66
|
+
8923,
|
|
67
67
|
"Expected `contributes.{0}.path` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
|
|
68
68
|
extension.description.name,
|
|
69
69
|
snippetLocation.path,
|
|
@@ -78,7 +78,7 @@ var snippetExt;
|
|
|
78
78
|
}
|
|
79
79
|
snippetExt.toValidSnippet = toValidSnippet;
|
|
80
80
|
snippetExt.snippetsContribution = {
|
|
81
|
-
description: ( localize(
|
|
81
|
+
description: ( localize(8924, 'Contributes snippets.')),
|
|
82
82
|
type: 'array',
|
|
83
83
|
defaultSnippets: [{ body: [{ language: '', path: '' }] }],
|
|
84
84
|
items: {
|
|
@@ -86,12 +86,12 @@ var snippetExt;
|
|
|
86
86
|
defaultSnippets: [{ body: { language: '${1:id}', path: './snippets/${2:id}.json.' } }],
|
|
87
87
|
properties: {
|
|
88
88
|
language: {
|
|
89
|
-
description: ( localize(
|
|
89
|
+
description: ( localize(8925, 'Language identifier for which this snippet is contributed to.')),
|
|
90
90
|
type: 'string'
|
|
91
91
|
},
|
|
92
92
|
path: {
|
|
93
93
|
description: ( localize(
|
|
94
|
-
|
|
94
|
+
8926,
|
|
95
95
|
'Path of the snippets file. The path is relative to the extension folder and typically starts with \'./snippets/\'.'
|
|
96
96
|
)),
|
|
97
97
|
type: 'string'
|
|
@@ -336,14 +336,14 @@ let SnippetsService = class SnippetsService {
|
|
|
336
336
|
file.load().then(file => {
|
|
337
337
|
if (( file.data.some(snippet => snippet.isBogous))) {
|
|
338
338
|
extension.collector.warn(( localize(
|
|
339
|
-
|
|
339
|
+
8927,
|
|
340
340
|
"One or more snippets from the extension '{0}' very likely confuse snippet-variables and snippet-placeholders (see https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details)",
|
|
341
341
|
extension.description.name
|
|
342
342
|
)));
|
|
343
343
|
}
|
|
344
344
|
}, err => {
|
|
345
345
|
extension.collector.warn(( localize(
|
|
346
|
-
|
|
346
|
+
8928,
|
|
347
347
|
"The snippet file \"{0}\" could not be read.",
|
|
348
348
|
(file.location.toString())
|
|
349
349
|
)));
|
|
@@ -3,16 +3,16 @@ import { localize } from '../../../../nls.js';
|
|
|
3
3
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
4
4
|
import { language } from '../../../../base/common/platform.js';
|
|
5
5
|
|
|
6
|
-
const HasSpeechProvider = ( new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(
|
|
6
|
+
const HasSpeechProvider = ( new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(8932, "A speech provider is registered to the speech service.")) }));
|
|
7
7
|
const SpeechToTextInProgress = ( new RawContextKey(
|
|
8
8
|
'speechToTextInProgress',
|
|
9
9
|
false,
|
|
10
|
-
{ type: 'boolean', description: ( localize(
|
|
10
|
+
{ type: 'boolean', description: ( localize(8933, "A speech-to-text session is in progress.")) }
|
|
11
11
|
));
|
|
12
12
|
const TextToSpeechInProgress = ( new RawContextKey(
|
|
13
13
|
'textToSpeechInProgress',
|
|
14
14
|
false,
|
|
15
|
-
{ type: 'boolean', description: ( localize(
|
|
15
|
+
{ type: 'boolean', description: ( localize(8934, "A text-to-speech session is in progress.")) }
|
|
16
16
|
));
|
|
17
17
|
var SpeechToTextStatus;
|
|
18
18
|
(function (SpeechToTextStatus) {
|
|
@@ -43,82 +43,82 @@ var AccessibilityVoiceSettingId;
|
|
|
43
43
|
const SPEECH_LANGUAGE_CONFIG = AccessibilityVoiceSettingId.SpeechLanguage;
|
|
44
44
|
const SPEECH_LANGUAGES = {
|
|
45
45
|
['da-DK']: {
|
|
46
|
-
name: ( localize(
|
|
46
|
+
name: ( localize(8935, "Danish (Denmark)"))
|
|
47
47
|
},
|
|
48
48
|
['de-DE']: {
|
|
49
|
-
name: ( localize(
|
|
49
|
+
name: ( localize(8936, "German (Germany)"))
|
|
50
50
|
},
|
|
51
51
|
['en-AU']: {
|
|
52
|
-
name: ( localize(
|
|
52
|
+
name: ( localize(8937, "English (Australia)"))
|
|
53
53
|
},
|
|
54
54
|
['en-CA']: {
|
|
55
|
-
name: ( localize(
|
|
55
|
+
name: ( localize(8938, "English (Canada)"))
|
|
56
56
|
},
|
|
57
57
|
['en-GB']: {
|
|
58
|
-
name: ( localize(
|
|
58
|
+
name: ( localize(8939, "English (United Kingdom)"))
|
|
59
59
|
},
|
|
60
60
|
['en-IE']: {
|
|
61
|
-
name: ( localize(
|
|
61
|
+
name: ( localize(8940, "English (Ireland)"))
|
|
62
62
|
},
|
|
63
63
|
['en-IN']: {
|
|
64
|
-
name: ( localize(
|
|
64
|
+
name: ( localize(8941, "English (India)"))
|
|
65
65
|
},
|
|
66
66
|
['en-NZ']: {
|
|
67
|
-
name: ( localize(
|
|
67
|
+
name: ( localize(8942, "English (New Zealand)"))
|
|
68
68
|
},
|
|
69
69
|
['en-US']: {
|
|
70
|
-
name: ( localize(
|
|
70
|
+
name: ( localize(8943, "English (United States)"))
|
|
71
71
|
},
|
|
72
72
|
['es-ES']: {
|
|
73
|
-
name: ( localize(
|
|
73
|
+
name: ( localize(8944, "Spanish (Spain)"))
|
|
74
74
|
},
|
|
75
75
|
['es-MX']: {
|
|
76
|
-
name: ( localize(
|
|
76
|
+
name: ( localize(8945, "Spanish (Mexico)"))
|
|
77
77
|
},
|
|
78
78
|
['fr-CA']: {
|
|
79
|
-
name: ( localize(
|
|
79
|
+
name: ( localize(8946, "French (Canada)"))
|
|
80
80
|
},
|
|
81
81
|
['fr-FR']: {
|
|
82
|
-
name: ( localize(
|
|
82
|
+
name: ( localize(8947, "French (France)"))
|
|
83
83
|
},
|
|
84
84
|
['hi-IN']: {
|
|
85
|
-
name: ( localize(
|
|
85
|
+
name: ( localize(8948, "Hindi (India)"))
|
|
86
86
|
},
|
|
87
87
|
['it-IT']: {
|
|
88
|
-
name: ( localize(
|
|
88
|
+
name: ( localize(8949, "Italian (Italy)"))
|
|
89
89
|
},
|
|
90
90
|
['ja-JP']: {
|
|
91
|
-
name: ( localize(
|
|
91
|
+
name: ( localize(8950, "Japanese (Japan)"))
|
|
92
92
|
},
|
|
93
93
|
['ko-KR']: {
|
|
94
|
-
name: ( localize(
|
|
94
|
+
name: ( localize(8951, "Korean (South Korea)"))
|
|
95
95
|
},
|
|
96
96
|
['nl-NL']: {
|
|
97
|
-
name: ( localize(
|
|
97
|
+
name: ( localize(8952, "Dutch (Netherlands)"))
|
|
98
98
|
},
|
|
99
99
|
['pt-PT']: {
|
|
100
|
-
name: ( localize(
|
|
100
|
+
name: ( localize(8953, "Portuguese (Portugal)"))
|
|
101
101
|
},
|
|
102
102
|
['pt-BR']: {
|
|
103
|
-
name: ( localize(
|
|
103
|
+
name: ( localize(8954, "Portuguese (Brazil)"))
|
|
104
104
|
},
|
|
105
105
|
['ru-RU']: {
|
|
106
|
-
name: ( localize(
|
|
106
|
+
name: ( localize(8955, "Russian (Russia)"))
|
|
107
107
|
},
|
|
108
108
|
['sv-SE']: {
|
|
109
|
-
name: ( localize(
|
|
109
|
+
name: ( localize(8956, "Swedish (Sweden)"))
|
|
110
110
|
},
|
|
111
111
|
['tr-TR']: {
|
|
112
|
-
name: ( localize(
|
|
112
|
+
name: ( localize(8957, "Turkish (Türkiye)"))
|
|
113
113
|
},
|
|
114
114
|
['zh-CN']: {
|
|
115
|
-
name: ( localize(
|
|
115
|
+
name: ( localize(8958, "Chinese (Simplified, China)"))
|
|
116
116
|
},
|
|
117
117
|
['zh-HK']: {
|
|
118
|
-
name: ( localize(
|
|
118
|
+
name: ( localize(8959, "Chinese (Traditional, Hong Kong)"))
|
|
119
119
|
},
|
|
120
120
|
['zh-TW']: {
|
|
121
|
-
name: ( localize(
|
|
121
|
+
name: ( localize(8960, "Chinese (Traditional, Taiwan)"))
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
function speechLanguageConfigToLanguage(config, lang = language) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WorkbenchState, IWorkspace } from "../../../../platform/workspace/common/workspace.js";
|
|
2
1
|
import { URI } from "../../../../base/common/uri.js";
|
|
2
|
+
import { IWorkspace, WorkbenchState } from "../../../../platform/workspace/common/workspace.js";
|
|
3
3
|
import { Tags } from "./workspaceTags.js";
|
|
4
4
|
export declare const IWorkspaceTagsService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IWorkspaceTagsService>;
|
|
5
5
|
export interface IWorkspaceTagsService {
|
|
@@ -13,7 +13,7 @@ const taskDefinitionSchema = {
|
|
|
13
13
|
type: {
|
|
14
14
|
type: 'string',
|
|
15
15
|
description: ( localize(
|
|
16
|
-
|
|
16
|
+
9355,
|
|
17
17
|
'The actual task type. Please note that types starting with a \'$\' are reserved for internal usage.'
|
|
18
18
|
))
|
|
19
19
|
},
|
|
@@ -25,7 +25,7 @@ const taskDefinitionSchema = {
|
|
|
25
25
|
},
|
|
26
26
|
properties: {
|
|
27
27
|
type: 'object',
|
|
28
|
-
description: ( localize(
|
|
28
|
+
description: ( localize(9356, 'Additional properties of the task type')),
|
|
29
29
|
additionalProperties: {
|
|
30
30
|
$ref: 'http://json-schema.org/draft-07/schema#'
|
|
31
31
|
}
|
|
@@ -33,7 +33,7 @@ const taskDefinitionSchema = {
|
|
|
33
33
|
when: {
|
|
34
34
|
type: 'string',
|
|
35
35
|
markdownDescription: ( localize(
|
|
36
|
-
|
|
36
|
+
9357,
|
|
37
37
|
'Condition which must be true to enable this type of task. Consider using `shellExecutionSupported`, `processExecutionSupported`, and `customExecutionSupported` as appropriate for this task definition. See the [API documentation](https://code.visualstudio.com/api/extension-guides/task-provider#when-clause) for more information.'
|
|
38
38
|
)),
|
|
39
39
|
default: ''
|
|
@@ -49,7 +49,7 @@ var Configuration;
|
|
|
49
49
|
const taskType = isString(value.type) ? value.type : undefined;
|
|
50
50
|
if (!taskType || taskType.length === 0) {
|
|
51
51
|
messageCollector.error(( localize(
|
|
52
|
-
|
|
52
|
+
9358,
|
|
53
53
|
'The task type configuration is missing the required \'taskType\' property'
|
|
54
54
|
)));
|
|
55
55
|
return undefined;
|
|
@@ -81,7 +81,7 @@ const taskDefinitionsExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
jsonSchema: {
|
|
84
|
-
description: ( localize(
|
|
84
|
+
description: ( localize(9359, 'Contributes task kinds')),
|
|
85
85
|
type: 'array',
|
|
86
86
|
items: taskDefinitionSchema
|
|
87
87
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Action } from "../../../../base/common/actions.js";
|
|
2
2
|
import { Event } from "../../../../base/common/event.js";
|
|
3
3
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { ITaskSummary, ITaskTerminateResponse, ITaskSystemInfo } from "@codingame/monaco-vscode-task-service-override/vscode/vs/workbench/contrib/tasks/common/taskSystem";
|
|
4
|
+
import { IWorkspace, IWorkspaceFolder } from "../../../../platform/workspace/common/workspace.js";
|
|
5
|
+
import { ITaskEvent, Task, TaskRunSource, ConfiguringTask, ITaskIdentifier, TaskSorter, ContributedTask, CustomTask } from "./tasks.js";
|
|
7
6
|
import { IProblemMatcherRunOptions, ITaskFilter, IWorkspaceFolderTaskResult, ITaskProvider } from "@codingame/monaco-vscode-625898ab-0e33-5b7f-a3ae-29c10271dc1c-common/vscode/vs/workbench/contrib/tasks/common/taskService";
|
|
7
|
+
import { ITaskSummary, ITaskTerminateResponse, ITaskSystemInfo } from "@codingame/monaco-vscode-task-service-override/vscode/vs/workbench/contrib/tasks/common/taskSystem";
|
|
8
8
|
export declare const ITaskService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITaskService>;
|
|
9
9
|
export interface ITaskService {
|
|
10
10
|
readonly _serviceBrand: undefined;
|
|
@@ -8,8 +8,8 @@ import { TaskDefinitionRegistry } from './taskDefinitionRegistry.js';
|
|
|
8
8
|
import { ConfigurationTarget } from '../../../../platform/configuration/common/configuration.js';
|
|
9
9
|
|
|
10
10
|
const USER_TASKS_GROUP_KEY = 'settings';
|
|
11
|
-
const TASK_RUNNING_STATE = ( new RawContextKey('taskRunning', false, ( localize(
|
|
12
|
-
const TASKS_CATEGORY = ( localize2(
|
|
11
|
+
const TASK_RUNNING_STATE = ( new RawContextKey('taskRunning', false, ( localize(9369, "Whether a task is currently running."))));
|
|
12
|
+
const TASKS_CATEGORY = ( localize2(9370, "Tasks"));
|
|
13
13
|
var ShellQuoting;
|
|
14
14
|
(function (ShellQuoting) {
|
|
15
15
|
ShellQuoting[ShellQuoting["Escape"] = 1] = "Escape";
|
|
@@ -761,7 +761,7 @@ var TaskDefinition;
|
|
|
761
761
|
break;
|
|
762
762
|
default:
|
|
763
763
|
reporter.error(( localize(
|
|
764
|
-
|
|
764
|
+
9371,
|
|
765
765
|
'Error: the task identifier \'{0}\' is missing the required property \'{1}\'. The task identifier will be ignored.',
|
|
766
766
|
JSON.stringify(external, undefined, 0),
|
|
767
767
|
property
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { Event,
|
|
1
|
+
import { Event, DynamicListEventMultiplexer, IDynamicListEventMultiplexer } from "../../../../base/common/event.js";
|
|
2
2
|
import { URI } from "../../../../base/common/uri.js";
|
|
3
|
-
import {
|
|
4
|
-
import { ITerminalBackend, ITerminalLaunchError,
|
|
5
|
-
import { IEditableData } from "../../../common/views.js";
|
|
6
|
-
import { IRemoteTerminalAttachTarget, IStartExtensionTerminalRequest, ITerminalProcessExtHostProxy, type ITerminalConfiguration, type ITerminalFont } from "@codingame/monaco-vscode-7bbc9e7d-eeae-55fc-8bf9-dc2f66e0dc73-common/vscode/vs/workbench/contrib/terminal/common/terminal";
|
|
3
|
+
import { TerminalCapability, ITerminalCapabilityImplMap } from "@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common/vscode/vs/platform/terminal/common/capabilities/capabilities";
|
|
4
|
+
import { TerminalLocation, ITerminalBackend, ITerminalLaunchError, type IShellLaunchConfig, type ITerminalProfile } from "../../../../platform/terminal/common/terminal.js";
|
|
7
5
|
import { GroupIdentifier } from "../../../common/editor.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import type
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
6
|
+
import { IEditableData } from "../../../common/views.js";
|
|
7
|
+
import { SIDE_GROUP_TYPE, ACTIVE_GROUP_TYPE, AUX_WINDOW_GROUP_TYPE } from "../../../services/editor/common/editorService.js";
|
|
8
|
+
import { IStartExtensionTerminalRequest, ITerminalProcessExtHostProxy, IRemoteTerminalAttachTarget, type ITerminalConfiguration, type ITerminalFont } from "@codingame/monaco-vscode-7bbc9e7d-eeae-55fc-8bf9-dc2f66e0dc73-common/vscode/vs/workbench/contrib/terminal/common/terminal";
|
|
9
|
+
import { ITerminalInstanceHost, ITerminalInstance, IDetachedTerminalInstance, TerminalConnectionState, ITerminalGroup, ICreateTerminalOptions, IDetachedXTermOptions, ITerminalLocationOptions, ITerminalServiceNativeDelegate, type IDeserializedTerminalEditorInput, type TerminalEditorLocation } from "./terminal.js";
|
|
10
|
+
import { IXtermCore } from "./xterm-private.js";
|
|
11
|
+
import { EditorInput } from "../../../common/editor/editorInput.js";
|
|
12
|
+
import { Orientation } from "../../../../base/browser/ui/sash/sash.js";
|
|
14
13
|
export declare const ITerminalService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalService>;
|
|
15
14
|
export interface ITerminalService extends ITerminalInstanceHost {
|
|
16
15
|
readonly _serviceBrand: undefined;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
3
|
-
import { IProcessEnvironment, OperatingSystem } from "../../../../base/common/platform.js";
|
|
1
|
+
import { OperatingSystem, IProcessEnvironment } from "../../../../base/common/platform.js";
|
|
4
2
|
import { ThemeIcon } from "../../../../base/common/themables.js";
|
|
5
3
|
import { IShellLaunchConfig, ITerminalProfile, TerminalIcon, type IExtensionTerminalProfile } from "../../../../platform/terminal/common/terminal.js";
|
|
6
|
-
import { IRegisterContributedProfileArgs, ITerminalProfileProvider } from "@codingame/monaco-vscode-7bbc9e7d-eeae-55fc-8bf9-dc2f66e0dc73-common/vscode/vs/workbench/contrib/terminal/common/terminal";
|
|
7
|
-
import {
|
|
4
|
+
import { IShellLaunchConfigResolveOptions, type IRegisterContributedProfileArgs, type ITerminalProfileProvider } from "@codingame/monaco-vscode-7bbc9e7d-eeae-55fc-8bf9-dc2f66e0dc73-common/vscode/vs/workbench/contrib/terminal/common/terminal";
|
|
5
|
+
import { Event } from "../../../../base/common/event.js";
|
|
6
|
+
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
8
7
|
export declare const ITerminalProfileResolverService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalProfileResolverService>;
|
|
9
8
|
export interface ITerminalProfileResolverService {
|
|
10
9
|
readonly _serviceBrand: undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Event } from "../../../../../base/common/event.js";
|
|
1
2
|
import { IDisposable } from "../../../../../base/common/lifecycle.js";
|
|
2
3
|
import { ITerminalExternalLinkProvider } from "../../../terminal/browser/terminal.js";
|
|
3
|
-
import { Event } from "../../../../../base/common/event.js";
|
|
4
4
|
export declare const ITerminalLinkProviderService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalLinkProviderService>;
|
|
5
5
|
export interface ITerminalLinkProviderService {
|
|
6
6
|
readonly _serviceBrand: undefined;
|
|
@@ -27,19 +27,19 @@ var TestExplorerViewSorting;
|
|
|
27
27
|
TestExplorerViewSorting["ByDuration"] = "duration";
|
|
28
28
|
})(TestExplorerViewSorting || (TestExplorerViewSorting = {}));
|
|
29
29
|
const testStateNames = {
|
|
30
|
-
[TestResultState.Errored]: ( localize(
|
|
31
|
-
[TestResultState.Failed]: ( localize(
|
|
32
|
-
[TestResultState.Passed]: ( localize(
|
|
33
|
-
[TestResultState.Queued]: ( localize(
|
|
34
|
-
[TestResultState.Running]: ( localize(
|
|
35
|
-
[TestResultState.Skipped]: ( localize(
|
|
36
|
-
[TestResultState.Unset]: ( localize(
|
|
30
|
+
[TestResultState.Errored]: ( localize(10291, 'Errored')),
|
|
31
|
+
[TestResultState.Failed]: ( localize(10292, 'Failed')),
|
|
32
|
+
[TestResultState.Passed]: ( localize(10293, 'Passed')),
|
|
33
|
+
[TestResultState.Queued]: ( localize(10294, 'Queued')),
|
|
34
|
+
[TestResultState.Running]: ( localize(10295, 'Running')),
|
|
35
|
+
[TestResultState.Skipped]: ( localize(10296, 'Skipped')),
|
|
36
|
+
[TestResultState.Unset]: ( localize(10297, 'Not yet run')),
|
|
37
37
|
};
|
|
38
|
-
const labelForTestInState = (label, state) => ( localize(
|
|
38
|
+
const labelForTestInState = (label, state) => ( localize(10298, '{0} ({1})', stripIcons(label), testStateNames[state]));
|
|
39
39
|
const testConfigurationGroupNames = {
|
|
40
|
-
[TestRunProfileBitset.Debug]: ( localize(
|
|
41
|
-
[TestRunProfileBitset.Run]: ( localize(
|
|
42
|
-
[TestRunProfileBitset.Coverage]: ( localize(
|
|
40
|
+
[TestRunProfileBitset.Debug]: ( localize(10299, 'Debug')),
|
|
41
|
+
[TestRunProfileBitset.Run]: ( localize(10300, 'Run')),
|
|
42
|
+
[TestRunProfileBitset.Coverage]: ( localize(10301, 'Coverage')),
|
|
43
43
|
};
|
|
44
44
|
var TestCommandId;
|
|
45
45
|
(function (TestCommandId) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IObservable, ISettableObservable } from "../../../../base/common/
|
|
1
|
+
import { IObservable, ISettableObservable } from "../../../../base/common/observableInternal/index.js";
|
|
2
2
|
import { TestCoverage } from "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common/vscode/vs/workbench/contrib/testing/common/testCoverage";
|
|
3
3
|
import { TestId } from "./testId.js";
|
|
4
4
|
import { ITestRunTaskResults } from "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common/vscode/vs/workbench/contrib/testing/common/testResult";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
|
-
import { ISettableObservable } from "../../../../base/common/
|
|
2
|
+
import { ISettableObservable } from "../../../../base/common/observableInternal/index.js";
|
|
3
3
|
import { IObservableValue, MutableObservableValue } from "@codingame/monaco-vscode-testing-service-override/vscode/vs/workbench/contrib/testing/common/observableValue";
|
|
4
4
|
import { TestFilterTerm } from "@codingame/monaco-vscode-testing-service-override/vscode/vs/workbench/contrib/testing/common/testExplorerFilterState";
|
|
5
5
|
export interface ITestExplorerFilterState {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
2
|
import { IMainThreadTestController } from "@codingame/monaco-vscode-testing-service-override/vscode/vs/workbench/contrib/testing/common/testService";
|
|
3
|
-
import { ITestItem,
|
|
3
|
+
import { ITestRunProfile, ITestItem, TestRunProfileBitset, InternalTestItem } from "./testTypes.js";
|
|
4
4
|
export declare const ITestProfileService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITestProfileService>;
|
|
5
5
|
export interface ITestProfileService {
|
|
6
6
|
readonly _serviceBrand: undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
|
-
import { ITestResult, LiveTestResult
|
|
3
|
-
import { ExtensionRunTestsRequest, ResolvedTestRunRequest, TestResultItem } from "./testTypes.js";
|
|
2
|
+
import { TestResultItemChange, ITestResult, LiveTestResult } from "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common/vscode/vs/workbench/contrib/testing/common/testResult";
|
|
4
3
|
import { ResultChangeEvent } from "@codingame/monaco-vscode-testing-service-override/vscode/vs/workbench/contrib/testing/common/testResultService";
|
|
4
|
+
import { ResolvedTestRunRequest, ExtensionRunTestsRequest, TestResultItem } from "./testTypes.js";
|
|
5
5
|
export declare const ITestResultService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITestResultService>;
|
|
6
6
|
export interface ITestResultService {
|
|
7
7
|
readonly _serviceBrand: undefined;
|
|
@@ -7,8 +7,8 @@ import { Location } from "../../../../editor/common/languages.js";
|
|
|
7
7
|
import { MutableObservableValue } from "@codingame/monaco-vscode-testing-service-override/vscode/vs/workbench/contrib/testing/common/observableValue";
|
|
8
8
|
import { TestExclusions } from "@codingame/monaco-vscode-testing-service-override/vscode/vs/workbench/contrib/testing/common/testExclusions";
|
|
9
9
|
import { ITestResult } from "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common/vscode/vs/workbench/contrib/testing/common/testResult";
|
|
10
|
-
import { InternalTestItem, ResolvedTestRunRequest, TestMessageFollowupRequest, TestsDiff } from "./testTypes.js";
|
|
11
10
|
import { IMainThreadTestCollection, IMainThreadTestHostProxy, IMainThreadTestController, AmbiguousRunTestsRequest, ITestFollowups } from "@codingame/monaco-vscode-testing-service-override/vscode/vs/workbench/contrib/testing/common/testService";
|
|
11
|
+
import { TestsDiff, ResolvedTestRunRequest, TestMessageFollowupRequest, InternalTestItem } from "./testTypes.js";
|
|
12
12
|
export declare const ITestService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITestService>;
|
|
13
13
|
export interface ITestService {
|
|
14
14
|
readonly _serviceBrand: undefined;
|
|
@@ -46,9 +46,9 @@ var TestRunProfileBitset;
|
|
|
46
46
|
TestRunProfileBitset[TestRunProfileBitset["SupportsContinuousRun"] = 64] = "SupportsContinuousRun";
|
|
47
47
|
})(TestRunProfileBitset || (TestRunProfileBitset = {}));
|
|
48
48
|
const testProfileBitset = {
|
|
49
|
-
[TestRunProfileBitset.Run]: ( localize(
|
|
50
|
-
[TestRunProfileBitset.Debug]: ( localize(
|
|
51
|
-
[TestRunProfileBitset.Coverage]: ( localize(
|
|
49
|
+
[TestRunProfileBitset.Run]: ( localize(10306, 'Run')),
|
|
50
|
+
[TestRunProfileBitset.Debug]: ( localize(10307, 'Debug')),
|
|
51
|
+
[TestRunProfileBitset.Coverage]: ( localize(10308, 'Coverage')),
|
|
52
52
|
};
|
|
53
53
|
const testRunProfileBitsetList = [
|
|
54
54
|
TestRunProfileBitset.Run,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
2
|
import { URI } from "../../../../base/common/uri.js";
|
|
3
3
|
import { Position } from "../../../../editor/common/core/position.js";
|
|
4
|
-
import { ITestMessage } from "./testTypes.js";
|
|
5
4
|
import { ITestDecoration } from "@codingame/monaco-vscode-testing-service-override/vscode/vs/workbench/contrib/testing/common/testingDecorations";
|
|
5
|
+
import { ITestMessage } from "./testTypes.js";
|
|
6
6
|
export declare const ITestingDecorationsService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITestingDecorationsService>;
|
|
7
7
|
export interface ITestingDecorationsService {
|
|
8
8
|
_serviceBrand: undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { URI } from "../../../../base/common/uri.js";
|
|
2
2
|
import { ITextEditorOptions } from "../../../../platform/editor/common/editor.js";
|
|
3
|
-
import { TestResultItem } from "./testTypes.js";
|
|
4
|
-
import { ITestResult } from "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common/vscode/vs/workbench/contrib/testing/common/testResult";
|
|
5
3
|
import { MutableObservableValue } from "@codingame/monaco-vscode-testing-service-override/vscode/vs/workbench/contrib/testing/common/observableValue";
|
|
6
4
|
import { IShowResultOptions } from "./testingPeekOpener.js";
|
|
5
|
+
import { ITestResult } from "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common/vscode/vs/workbench/contrib/testing/common/testResult";
|
|
6
|
+
import { TestResultItem } from "./testTypes.js";
|
|
7
7
|
export interface ITestingPeekOpener {
|
|
8
8
|
_serviceBrand: undefined;
|
|
9
9
|
historyVisible: MutableObservableValue<boolean>;
|
|
@@ -2,7 +2,7 @@ import { CancellationTokenSource } 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 { TimelineProvidersChangeEvent, TimelineChangeEvent, TimelineProvider, TimelineSource, TimelineOptions, TimelineRequest } from "./timeline.js";
|
|
5
|
+
import { type TimelineProvidersChangeEvent, type TimelineChangeEvent, type TimelineProvider, type TimelineSource, type TimelineOptions, type TimelineRequest } from "./timeline.js";
|
|
6
6
|
export declare const ITimelineService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITimelineService>;
|
|
7
7
|
export interface ITimelineService {
|
|
8
8
|
readonly _serviceBrand: undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
|
-
import { IWebview, WebviewInitInfo, IWebviewElement, IOverlayWebview } from "@codingame/monaco-vscode-
|
|
2
|
+
import { IWebview, WebviewInitInfo, IWebviewElement, IOverlayWebview } from "@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/webview/browser/webview";
|
|
3
3
|
export declare const IWebviewService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IWebviewService>;
|
|
4
4
|
export interface IWebviewService {
|
|
5
5
|
readonly _serviceBrand: undefined;
|
package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ 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 { GroupIdentifier } from "../../../common/editor.js";
|
|
5
|
-
import { WebviewInitInfo } from "@codingame/monaco-vscode-22790577-4553-50b6-978d-0acc75c394cc-common/vscode/vs/workbench/contrib/webview/browser/webview";
|
|
6
|
-
import { WebviewIconManager, WebviewIcons } from "@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vscode/vs/workbench/contrib/webviewPanel/browser/webviewIconManager";
|
|
7
5
|
import { IEditorGroup } from "../../../services/editor/common/editorGroupsService.js";
|
|
8
6
|
import { ACTIVE_GROUP_TYPE, SIDE_GROUP_TYPE } from "../../../services/editor/common/editorService.js";
|
|
9
|
-
import {
|
|
7
|
+
import { WebviewInitInfo } from "@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/webview/browser/webview";
|
|
8
|
+
import { WebviewInput } from "@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput";
|
|
9
|
+
import { WebviewIconManager, WebviewIcons } from "@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vscode/vs/workbench/contrib/webviewPanel/browser/webviewIconManager";
|
|
10
10
|
import { IWebViewShowOptions, WebviewResolver } from "@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService";
|
|
11
11
|
export declare const IWebviewWorkbenchService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IWebviewWorkbenchService>;
|
|
12
12
|
export interface IWebviewWorkbenchService {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IStringDictionary } from "../../../../base/common/collections.js";
|
|
2
|
-
import { IWorkspaceFolder } from "../../../../platform/workspace/common/workspace.js";
|
|
3
|
-
import { ConfigurationTarget } from "../../../../platform/configuration/common/configuration.js";
|
|
4
2
|
import { IProcessEnvironment } from "../../../../base/common/platform.js";
|
|
3
|
+
import { ConfigurationTarget } from "../../../../platform/configuration/common/configuration.js";
|
|
4
|
+
import { IWorkspaceFolder } from "../../../../platform/workspace/common/workspace.js";
|
|
5
5
|
export declare const IConfigurationResolverService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IConfigurationResolverService>;
|
|
6
6
|
export interface IConfigurationResolverService {
|
|
7
7
|
readonly _serviceBrand: undefined;
|