@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
|
@@ -140,7 +140,7 @@ function toWorkspaceFolder(resource) {
|
|
|
140
140
|
}
|
|
141
141
|
const WORKSPACE_EXTENSION = 'code-workspace';
|
|
142
142
|
const WORKSPACE_SUFFIX = `.${WORKSPACE_EXTENSION}`;
|
|
143
|
-
const WORKSPACE_FILTER = [{ name: ( localize(
|
|
143
|
+
const WORKSPACE_FILTER = [{ name: ( localize(2261, "Code Workspace")), extensions: [WORKSPACE_EXTENSION] }];
|
|
144
144
|
const UNTITLED_WORKSPACE_NAME = 'workspace.json';
|
|
145
145
|
function isUntitledWorkspace(path, environmentService) {
|
|
146
146
|
return extUriBiasedIgnorePathCase.isEqualOrParent(path, environmentService.untitledWorkspacesHome);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { IWorkspaceTrustUriInfo, IWorkspaceTrustTransitionParticipant } from "./workspaceTrust.js";
|
|
5
|
-
import { WorkspaceTrustRequestOptions, WorkspaceTrustUriResponse } from "./workspaceTrust.js";
|
|
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
|
+
import { IWorkspaceTrustUriInfo, IWorkspaceTrustTransitionParticipant, type WorkspaceTrustRequestOptions, type WorkspaceTrustUriResponse } from "./workspaceTrust.js";
|
|
6
5
|
export declare const IWorkspaceTrustEnablementService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IWorkspaceTrustEnablementService>;
|
|
7
6
|
export interface IWorkspaceTrustEnablementService {
|
|
8
7
|
readonly _serviceBrand: undefined;
|
|
@@ -56,7 +56,7 @@ import { IPreparedToolInvocation, IToolData, IToolInvocation, IToolResult } from
|
|
|
56
56
|
import { DebugConfigurationProviderTriggerKind, IAdapterDescriptor, IConfig, IDebugSessionReplMode, IDebugTestRunReference, IDebugVisualization, IDebugVisualizationContext, IDebugVisualizationTreeItem, MainThreadDebugVisualization } from "../../contrib/debug/common/debug.js";
|
|
57
57
|
import * as notebookCommon from "../../contrib/notebook/common/notebookCommon.js";
|
|
58
58
|
import { CellExecutionUpdateType } from "../../contrib/notebook/common/notebookExecutionService.js";
|
|
59
|
-
import { ICellExecutionComplete, ICellExecutionStateUpdate } from "@codingame/monaco-vscode-
|
|
59
|
+
import { ICellExecutionComplete, ICellExecutionStateUpdate } from "@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
60
60
|
import { ICellRange } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/common/notebookRange";
|
|
61
61
|
import { InputValidationType } from "@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common/vscode/vs/workbench/contrib/scm/common/scm";
|
|
62
62
|
import { IWorkspaceSymbol, NotebookPriorityInfo } from "@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common/vscode/vs/workbench/contrib/search/common/search";
|
|
@@ -538,12 +538,12 @@ let AbstractExtHostExtensionService = AbstractExtHostExtensionService_1 = class
|
|
|
538
538
|
async _doHandleExtensionTests() {
|
|
539
539
|
const { extensionDevelopmentLocationURI, extensionTestsLocationURI } = this._initData.environment;
|
|
540
540
|
if (!extensionDevelopmentLocationURI || !extensionTestsLocationURI) {
|
|
541
|
-
throw ( new Error(( localize(
|
|
541
|
+
throw ( new Error(( localize(2435, "Cannot load test runner."))));
|
|
542
542
|
}
|
|
543
543
|
const testRunner = await this._loadCommonJSModule(null, extensionTestsLocationURI, ( new ExtensionActivationTimesBuilder(false)));
|
|
544
544
|
if (!testRunner || typeof testRunner.run !== 'function') {
|
|
545
545
|
throw ( new Error(( localize(
|
|
546
|
-
|
|
546
|
+
2436,
|
|
547
547
|
"Path {0} does not point to a valid extension test runner.",
|
|
548
548
|
(extensionTestsLocationURI.toString())
|
|
549
549
|
))));
|
|
@@ -517,7 +517,7 @@ class DocumentPasteEditProvider {
|
|
|
517
517
|
return (edits.map((edit, i) => ({
|
|
518
518
|
_cacheId: [cacheId, i],
|
|
519
519
|
title: edit.title ?? ( localize(
|
|
520
|
-
|
|
520
|
+
2437,
|
|
521
521
|
"Paste using '{0}' extension",
|
|
522
522
|
this._extension.displayName || this._extension.name
|
|
523
523
|
)),
|
|
@@ -1746,7 +1746,7 @@ class DocumentDropEditAdapter {
|
|
|
1746
1746
|
return (editsArray.map((edit, i) => ({
|
|
1747
1747
|
_cacheId: [cacheId, i],
|
|
1748
1748
|
title: edit.title ?? ( localize(
|
|
1749
|
-
|
|
1749
|
+
2438,
|
|
1750
1750
|
"Drop using '{0}' extension",
|
|
1751
1751
|
this._extension.displayName || this._extension.name
|
|
1752
1752
|
)),
|
|
@@ -342,7 +342,7 @@ let ExtHostLanguageModels = class ExtHostLanguageModels {
|
|
|
342
342
|
}
|
|
343
343
|
try {
|
|
344
344
|
const detail = justification
|
|
345
|
-
? ( localize(
|
|
345
|
+
? ( localize(2439, "Justification: {1}", to.displayName, justification))
|
|
346
346
|
: undefined;
|
|
347
347
|
await this._extHostAuthentication.getSession(from, providerId, [], { forceNewSession: { detail } });
|
|
348
348
|
this.$updateModelAccesslist([{ from: from.identifier, to: to.identifier, enabled: true }]);
|
|
@@ -8,7 +8,7 @@ import { IExtHostInitDataService } from './extHostInitDataService.js';
|
|
|
8
8
|
let ExtHostLogService = class ExtHostLogService extends LogService {
|
|
9
9
|
constructor(isWorker, loggerService, initData) {
|
|
10
10
|
const id = initData.remote.isRemote ? 'remoteexthost' : isWorker ? 'workerexthost' : 'exthost';
|
|
11
|
-
const name = initData.remote.isRemote ? ( localize(
|
|
11
|
+
const name = initData.remote.isRemote ? ( localize(2440, "Extension Host (Remote)")) : isWorker ? ( localize(2441, "Extension Host (Worker)")) : ( localize(2442, "Extension Host"));
|
|
12
12
|
super(loggerService.createLogger(id, { name }));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
@@ -260,7 +260,7 @@ class ExtHostNotebookController {
|
|
|
260
260
|
throw ( new Error('Document version mismatch'));
|
|
261
261
|
}
|
|
262
262
|
if (!this._extHostFileSystem.value.isWritableFileSystem(uri.scheme)) {
|
|
263
|
-
throw new FileOperationError(( localize(
|
|
263
|
+
throw new FileOperationError(( localize(2443, "Unable to modify read-only file '{0}'", this._resourceForError(uri))), FileOperationResult.FILE_PERMISSION_DENIED);
|
|
264
264
|
}
|
|
265
265
|
const data = {
|
|
266
266
|
metadata: filter(document.apiNotebook.metadata, key => !(serializer.options?.transientDocumentMetadata ?? {})[key]),
|
|
@@ -432,7 +432,7 @@ class ExtHostNotebookController {
|
|
|
432
432
|
if (typeof options?.mtime === 'number' && typeof options.etag === 'string' && options.etag !== ETAG_DISABLED &&
|
|
433
433
|
typeof stat.mtime === 'number' && typeof stat.size === 'number' &&
|
|
434
434
|
options.mtime < stat.mtime && options.etag !== etag({ mtime: options.mtime , size: stat.size })) {
|
|
435
|
-
throw new FileOperationError(( localize(
|
|
435
|
+
throw new FileOperationError(( localize(2444, "File Modified Since")), FileOperationResult.FILE_MODIFIED_SINCE, options);
|
|
436
436
|
}
|
|
437
437
|
return;
|
|
438
438
|
}
|
|
@@ -170,7 +170,7 @@ class ExtHostStatusBarEntry {
|
|
|
170
170
|
}
|
|
171
171
|
else {
|
|
172
172
|
name = ( localize(
|
|
173
|
-
|
|
173
|
+
2445,
|
|
174
174
|
"{0} (Extension)",
|
|
175
175
|
this._extension.displayName || this._extension.name
|
|
176
176
|
));
|
|
@@ -193,7 +193,7 @@ class StatusBarMessage {
|
|
|
193
193
|
constructor(statusBar) {
|
|
194
194
|
this._messages = [];
|
|
195
195
|
this._item = statusBar.createStatusBarEntry(undefined, 'status.extensionMessage', StatusBarAlignment.Left, Number.MIN_VALUE);
|
|
196
|
-
this._item.name = ( localize(
|
|
196
|
+
this._item.name = ( localize(2446, "Extension Status"));
|
|
197
197
|
}
|
|
198
198
|
dispose() {
|
|
199
199
|
this._messages.length = 0;
|
|
@@ -31,7 +31,7 @@ let ExtHostTelemetry = class ExtHostTelemetry extends Disposable {
|
|
|
31
31
|
this.extHostTelemetryLogFile = URI.revive(this.initData.environment.extensionTelemetryLogResource);
|
|
32
32
|
this._inLoggingOnlyMode = this.initData.environment.isExtensionTelemetryLoggingOnly;
|
|
33
33
|
this._outputLogger = loggerService.createLogger(this.extHostTelemetryLogFile, { id: extensionTelemetryLogChannelId, name: ( localize(
|
|
34
|
-
|
|
34
|
+
2447,
|
|
35
35
|
"Extension Telemetry{0}",
|
|
36
36
|
this._inLoggingOnlyMode ? ' (Not Sent)' : ''
|
|
37
37
|
)), hidden: true });
|
|
@@ -469,7 +469,7 @@ let BaseExtHostTerminalService = class BaseExtHostTerminalService extends Dispos
|
|
|
469
469
|
async $startExtensionTerminal(id, initialDimensions) {
|
|
470
470
|
const terminal = this.getTerminalById(id);
|
|
471
471
|
if (!terminal) {
|
|
472
|
-
return { message: ( localize(
|
|
472
|
+
return { message: ( localize(2448, "Could not find the terminal with id {0} on the extension host", id)) };
|
|
473
473
|
}
|
|
474
474
|
if (!terminal.isOpen) {
|
|
475
475
|
await ( new Promise(r => {
|
|
@@ -101,7 +101,7 @@ export declare class TestRunCoordinator {
|
|
|
101
101
|
private readonly logService;
|
|
102
102
|
private readonly tracked;
|
|
103
103
|
private readonly trackedById;
|
|
104
|
-
get trackers():
|
|
104
|
+
get trackers(): MapIterator<TestRunTracker>;
|
|
105
105
|
constructor(proxy: MainThreadTestingShape, logService: ILogService);
|
|
106
106
|
getCoverageDetails(id: string, testId: string | undefined, token: vscode.CancellationToken): never[] | Promise<vscode.FileCoverageDetail[]>;
|
|
107
107
|
disposeTestRun(runId: string): void;
|
|
@@ -670,7 +670,7 @@ class ExtHostTreeView extends Disposable {
|
|
|
670
670
|
createAndRegisterTreeNode(element, extTreeItem, parentNode) {
|
|
671
671
|
const node = this.createTreeNode(element, extTreeItem, parentNode);
|
|
672
672
|
if (extTreeItem.id && ( this.elements.has(node.item.handle))) {
|
|
673
|
-
throw ( new Error(( localize(
|
|
673
|
+
throw ( new Error(( localize(2449, 'Element with id {0} is already registered', extTreeItem.id))));
|
|
674
674
|
}
|
|
675
675
|
this.addNodeToCache(element, node);
|
|
676
676
|
this.addNodeToParentCache(node, parentNode);
|
|
@@ -148,12 +148,12 @@ let ExtHostTunnelService = class ExtHostTunnelService extends Disposable {
|
|
|
148
148
|
privacyOptions = [
|
|
149
149
|
{
|
|
150
150
|
id: 'private',
|
|
151
|
-
label: ( localize(
|
|
151
|
+
label: ( localize(2450, "Private")),
|
|
152
152
|
themeIcon: 'lock'
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
id: 'public',
|
|
156
|
-
label: ( localize(
|
|
156
|
+
label: ( localize(2451, "Public")),
|
|
157
157
|
themeIcon: 'eye'
|
|
158
158
|
}
|
|
159
159
|
];
|
|
@@ -245,7 +245,7 @@ let ExtHostWorkspace = class ExtHostWorkspace {
|
|
|
245
245
|
this._unconfirmedWorkspace = undefined;
|
|
246
246
|
const options = { source: { identifier: extension.identifier, label: extension.displayName || extension.name } };
|
|
247
247
|
this._messageService.$showMessage(Severity$1.Error, ( localize(
|
|
248
|
-
|
|
248
|
+
2452,
|
|
249
249
|
"Extension '{0}' failed to update workspace folders: {1}",
|
|
250
250
|
extName,
|
|
251
251
|
(error.toString())
|
|
@@ -16,7 +16,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
16
16
|
extensionPoint: 'jsonValidation',
|
|
17
17
|
defaultExtensionKind: ['workspace', 'web'],
|
|
18
18
|
jsonSchema: {
|
|
19
|
-
description: ( localize(
|
|
19
|
+
description: ( localize(2453, 'Contributes json schema configuration.')),
|
|
20
20
|
type: 'array',
|
|
21
21
|
defaultSnippets: [{ body: [{ fileMatch: '${1:file.json}', url: '${2:url}' }] }],
|
|
22
22
|
items: {
|
|
@@ -26,7 +26,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
26
26
|
fileMatch: {
|
|
27
27
|
type: ['string', 'array'],
|
|
28
28
|
description: ( localize(
|
|
29
|
-
|
|
29
|
+
2454,
|
|
30
30
|
'The file pattern (or an array of patterns) to match, for example "package.json" or "*.launch". Exclusion patterns start with \'!\''
|
|
31
31
|
)),
|
|
32
32
|
items: {
|
|
@@ -35,7 +35,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
35
35
|
},
|
|
36
36
|
url: {
|
|
37
37
|
description: ( localize(
|
|
38
|
-
|
|
38
|
+
2455,
|
|
39
39
|
'A schema URL (\'http:\', \'https:\') or relative path to the extension folder (\'./\').'
|
|
40
40
|
)),
|
|
41
41
|
type: 'string'
|
|
@@ -52,20 +52,20 @@ class JSONValidationExtensionPoint {
|
|
|
52
52
|
const collector = extension.collector;
|
|
53
53
|
const extensionLocation = extension.description.extensionLocation;
|
|
54
54
|
if (!extensionValue || !Array.isArray(extensionValue)) {
|
|
55
|
-
collector.error(( localize(
|
|
55
|
+
collector.error(( localize(2456, "'configuration.jsonValidation' must be a array")));
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
58
|
extensionValue.forEach(extension => {
|
|
59
59
|
if (!isString(extension.fileMatch) && !(Array.isArray(extension.fileMatch) && extension.fileMatch.every(isString))) {
|
|
60
60
|
collector.error(( localize(
|
|
61
|
-
|
|
61
|
+
2457,
|
|
62
62
|
"'configuration.jsonValidation.fileMatch' must be defined as a string or an array of strings."
|
|
63
63
|
)));
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
const uri = extension.url;
|
|
67
67
|
if (!isString(uri)) {
|
|
68
|
-
collector.error(( localize(
|
|
68
|
+
collector.error(( localize(2458, "'configuration.jsonValidation.url' must be a URL or relative path")));
|
|
69
69
|
return;
|
|
70
70
|
}
|
|
71
71
|
if (uri.startsWith('./')) {
|
|
@@ -73,7 +73,7 @@ class JSONValidationExtensionPoint {
|
|
|
73
73
|
const colorThemeLocation = joinPath(extensionLocation, uri);
|
|
74
74
|
if (!isEqualOrParent(colorThemeLocation, extensionLocation)) {
|
|
75
75
|
collector.warn(( localize(
|
|
76
|
-
|
|
76
|
+
2459,
|
|
77
77
|
"Expected `contributes.{0}.url` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
|
|
78
78
|
configurationExtPoint.name,
|
|
79
79
|
(colorThemeLocation.toString()),
|
|
@@ -83,7 +83,7 @@ class JSONValidationExtensionPoint {
|
|
|
83
83
|
}
|
|
84
84
|
catch (e) {
|
|
85
85
|
collector.error(( localize(
|
|
86
|
-
|
|
86
|
+
2460,
|
|
87
87
|
"'configuration.jsonValidation.url' is an invalid relative URL: {0}",
|
|
88
88
|
e.message
|
|
89
89
|
)));
|
|
@@ -91,7 +91,7 @@ class JSONValidationExtensionPoint {
|
|
|
91
91
|
}
|
|
92
92
|
else if (!/^[^:/?#]+:\/\//.test(uri)) {
|
|
93
93
|
collector.error(( localize(
|
|
94
|
-
|
|
94
|
+
2461,
|
|
95
95
|
"'configuration.jsonValidation.url' must be an absolute URL or start with './' to reference schemas located in the extension."
|
|
96
96
|
)));
|
|
97
97
|
return;
|
|
@@ -115,8 +115,8 @@ class JSONValidationDataRenderer extends Disposable {
|
|
|
115
115
|
return { data: { headers: [], rows: [] }, dispose: () => { } };
|
|
116
116
|
}
|
|
117
117
|
const headers = [
|
|
118
|
-
( localize(
|
|
119
|
-
( localize(
|
|
118
|
+
( localize(2462, "File Match")),
|
|
119
|
+
( localize(2463, "Schema")),
|
|
120
120
|
];
|
|
121
121
|
const rows = ( contrib.map(v => {
|
|
122
122
|
return [
|
|
@@ -135,7 +135,7 @@ class JSONValidationDataRenderer extends Disposable {
|
|
|
135
135
|
}
|
|
136
136
|
( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
137
137
|
id: 'jsonValidation',
|
|
138
|
-
label: ( localize(
|
|
138
|
+
label: ( localize(2464, "JSON Validation")),
|
|
139
139
|
access: {
|
|
140
140
|
canToggle: false
|
|
141
141
|
},
|
|
@@ -41,7 +41,7 @@ class InspectContextKeysAction extends Action2 {
|
|
|
41
41
|
constructor() {
|
|
42
42
|
super({
|
|
43
43
|
id: 'workbench.action.inspectContextKeys',
|
|
44
|
-
title: ( localize2(
|
|
44
|
+
title: ( localize2(2465, 'Inspect Context Keys')),
|
|
45
45
|
category: Categories.Developer,
|
|
46
46
|
f1: true
|
|
47
47
|
});
|
|
@@ -84,7 +84,7 @@ class ToggleScreencastModeAction extends Action2 {
|
|
|
84
84
|
constructor() {
|
|
85
85
|
super({
|
|
86
86
|
id: 'workbench.action.toggleScreencastMode',
|
|
87
|
-
title: ( localize2(
|
|
87
|
+
title: ( localize2(2466, 'Toggle Screencast Mode')),
|
|
88
88
|
category: Categories.Developer,
|
|
89
89
|
f1: true
|
|
90
90
|
});
|
|
@@ -306,7 +306,7 @@ class LogStorageAction extends Action2 {
|
|
|
306
306
|
constructor() {
|
|
307
307
|
super({
|
|
308
308
|
id: 'workbench.action.logStorage',
|
|
309
|
-
title: ( localize2(
|
|
309
|
+
title: ( localize2(2467, "Log Storage Database Contents")),
|
|
310
310
|
category: Categories.Developer,
|
|
311
311
|
f1: true
|
|
312
312
|
});
|
|
@@ -316,16 +316,16 @@ class LogStorageAction extends Action2 {
|
|
|
316
316
|
const dialogService = accessor.get(IDialogService);
|
|
317
317
|
storageService.log();
|
|
318
318
|
dialogService.info(( localize(
|
|
319
|
-
|
|
319
|
+
2468,
|
|
320
320
|
"The storage database contents have been logged to the developer tools."
|
|
321
|
-
)), ( localize(
|
|
321
|
+
)), ( localize(2469, "Open developer tools from the menu and select the Console tab.")));
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
class LogWorkingCopiesAction extends Action2 {
|
|
325
325
|
constructor() {
|
|
326
326
|
super({
|
|
327
327
|
id: 'workbench.action.logWorkingCopies',
|
|
328
|
-
title: ( localize2(
|
|
328
|
+
title: ( localize2(2470, "Log Working Copies")),
|
|
329
329
|
category: Categories.Developer,
|
|
330
330
|
f1: true
|
|
331
331
|
});
|
|
@@ -353,7 +353,7 @@ class RemoveLargeStorageEntriesAction extends Action2 {
|
|
|
353
353
|
constructor() {
|
|
354
354
|
super({
|
|
355
355
|
id: 'workbench.action.removeLargeStorageDatabaseEntries',
|
|
356
|
-
title: ( localize2(
|
|
356
|
+
title: ( localize2(2471, 'Remove Large Storage Database Entries...')),
|
|
357
357
|
category: Categories.Developer,
|
|
358
358
|
f1: true
|
|
359
359
|
});
|
|
@@ -381,10 +381,10 @@ class RemoveLargeStorageEntriesAction extends Action2 {
|
|
|
381
381
|
label: key,
|
|
382
382
|
description: ByteSize.formatSize(value.length),
|
|
383
383
|
detail: ( localize(
|
|
384
|
-
|
|
384
|
+
2472,
|
|
385
385
|
"Scope: {0}, Target: {1}",
|
|
386
|
-
scope === StorageScope.APPLICATION ? ( localize(
|
|
387
|
-
target === StorageTarget.MACHINE ? ( localize(
|
|
386
|
+
scope === StorageScope.APPLICATION ? ( localize(2473, "Global")) : scope === StorageScope.PROFILE ? ( localize(2474, "Profile")) : ( localize(2475, "Workspace")),
|
|
387
|
+
target === StorageTarget.MACHINE ? ( localize(2476, "Machine")) : ( localize(2477, "User"))
|
|
388
388
|
)),
|
|
389
389
|
});
|
|
390
390
|
}
|
|
@@ -400,10 +400,10 @@ class RemoveLargeStorageEntriesAction extends Action2 {
|
|
|
400
400
|
picker.ok = false;
|
|
401
401
|
picker.customButton = true;
|
|
402
402
|
picker.hideCheckAll = true;
|
|
403
|
-
picker.customLabel = ( localize(
|
|
404
|
-
picker.placeholder = ( localize(
|
|
403
|
+
picker.customLabel = ( localize(2478, "Remove"));
|
|
404
|
+
picker.placeholder = ( localize(2479, "Select large entries to remove from storage"));
|
|
405
405
|
if (items.length === 0) {
|
|
406
|
-
picker.description = ( localize(
|
|
406
|
+
picker.description = ( localize(2480, "There are no large storage entries to remove."));
|
|
407
407
|
}
|
|
408
408
|
picker.show();
|
|
409
409
|
disposables.add(picker.onDidCustom(() => {
|
|
@@ -418,15 +418,15 @@ class RemoveLargeStorageEntriesAction extends Action2 {
|
|
|
418
418
|
const { confirmed } = await dialogService.confirm({
|
|
419
419
|
type: 'warning',
|
|
420
420
|
message: ( localize(
|
|
421
|
-
|
|
421
|
+
2481,
|
|
422
422
|
"Do you want to remove the selected storage entries from the database?"
|
|
423
423
|
)),
|
|
424
424
|
detail: ( localize(
|
|
425
|
-
|
|
425
|
+
2482,
|
|
426
426
|
"{0}\n\nThis action is irreversible and may result in data loss!",
|
|
427
427
|
( selectedItems.map(item => item.label)).join('\n')
|
|
428
428
|
)),
|
|
429
|
-
primaryButton: ( localize(
|
|
429
|
+
primaryButton: ( localize(2483, "&&Remove"))
|
|
430
430
|
});
|
|
431
431
|
if (!confirmed) {
|
|
432
432
|
return;
|
|
@@ -448,7 +448,7 @@ class StartTrackDisposables extends Action2 {
|
|
|
448
448
|
constructor() {
|
|
449
449
|
super({
|
|
450
450
|
id: 'workbench.action.startTrackDisposables',
|
|
451
|
-
title: ( localize2(
|
|
451
|
+
title: ( localize2(2484, 'Start Tracking Disposables')),
|
|
452
452
|
category: Categories.Developer,
|
|
453
453
|
f1: true,
|
|
454
454
|
precondition: ( ContextKeyExpr.and(( ( DisposablesSnapshotStateContext.isEqualTo('pending')).negate()), ( ( DisposablesSnapshotStateContext.isEqualTo('started')).negate())))
|
|
@@ -466,7 +466,7 @@ class SnapshotTrackedDisposables extends Action2 {
|
|
|
466
466
|
constructor() {
|
|
467
467
|
super({
|
|
468
468
|
id: 'workbench.action.snapshotTrackedDisposables',
|
|
469
|
-
title: ( localize2(
|
|
469
|
+
title: ( localize2(2485, 'Snapshot Tracked Disposables')),
|
|
470
470
|
category: Categories.Developer,
|
|
471
471
|
f1: true,
|
|
472
472
|
precondition: ( DisposablesSnapshotStateContext.isEqualTo('started'))
|
|
@@ -484,7 +484,7 @@ class StopTrackDisposables extends Action2 {
|
|
|
484
484
|
constructor() {
|
|
485
485
|
super({
|
|
486
486
|
id: 'workbench.action.stopTrackDisposables',
|
|
487
|
-
title: ( localize2(
|
|
487
|
+
title: ( localize2(2486, 'Stop Tracking Disposables')),
|
|
488
488
|
category: Categories.Developer,
|
|
489
489
|
f1: true,
|
|
490
490
|
precondition: ( DisposablesSnapshotStateContext.isEqualTo('pending'))
|
|
@@ -525,7 +525,7 @@ const configurationRegistry = ( Registry.as(Extensions.Configuration));
|
|
|
525
525
|
configurationRegistry.registerConfiguration({
|
|
526
526
|
id: 'screencastMode',
|
|
527
527
|
order: 9,
|
|
528
|
-
title: ( localize(
|
|
528
|
+
title: ( localize(2487, "Screencast Mode")),
|
|
529
529
|
type: 'object',
|
|
530
530
|
properties: {
|
|
531
531
|
'screencastMode.verticalOffset': {
|
|
@@ -534,7 +534,7 @@ configurationRegistry.registerConfiguration({
|
|
|
534
534
|
minimum: 0,
|
|
535
535
|
maximum: 90,
|
|
536
536
|
description: ( localize(
|
|
537
|
-
|
|
537
|
+
2488,
|
|
538
538
|
"Controls the vertical offset of the screencast mode overlay from the bottom as a percentage of the workbench height."
|
|
539
539
|
))
|
|
540
540
|
},
|
|
@@ -544,38 +544,38 @@ configurationRegistry.registerConfiguration({
|
|
|
544
544
|
minimum: 20,
|
|
545
545
|
maximum: 100,
|
|
546
546
|
description: ( localize(
|
|
547
|
-
|
|
547
|
+
2489,
|
|
548
548
|
"Controls the font size (in pixels) of the screencast mode keyboard."
|
|
549
549
|
))
|
|
550
550
|
},
|
|
551
551
|
'screencastMode.keyboardOptions': {
|
|
552
552
|
type: 'object',
|
|
553
|
-
description: ( localize(
|
|
553
|
+
description: ( localize(2490, "Options for customizing the keyboard overlay in screencast mode.")),
|
|
554
554
|
properties: {
|
|
555
555
|
'showKeys': {
|
|
556
556
|
type: 'boolean',
|
|
557
557
|
default: true,
|
|
558
|
-
description: ( localize(
|
|
558
|
+
description: ( localize(2491, "Show raw keys."))
|
|
559
559
|
},
|
|
560
560
|
'showKeybindings': {
|
|
561
561
|
type: 'boolean',
|
|
562
562
|
default: true,
|
|
563
|
-
description: ( localize(
|
|
563
|
+
description: ( localize(2492, "Show keyboard shortcuts."))
|
|
564
564
|
},
|
|
565
565
|
'showCommands': {
|
|
566
566
|
type: 'boolean',
|
|
567
567
|
default: true,
|
|
568
|
-
description: ( localize(
|
|
568
|
+
description: ( localize(2493, "Show command names."))
|
|
569
569
|
},
|
|
570
570
|
'showCommandGroups': {
|
|
571
571
|
type: 'boolean',
|
|
572
572
|
default: false,
|
|
573
|
-
description: ( localize(
|
|
573
|
+
description: ( localize(2494, "Show command group names, when commands are also shown."))
|
|
574
574
|
},
|
|
575
575
|
'showSingleEditorCursorMoves': {
|
|
576
576
|
type: 'boolean',
|
|
577
577
|
default: true,
|
|
578
|
-
description: ( localize(
|
|
578
|
+
description: ( localize(2495, "Show single editor cursor move commands."))
|
|
579
579
|
}
|
|
580
580
|
},
|
|
581
581
|
default: {
|
|
@@ -593,7 +593,7 @@ configurationRegistry.registerConfiguration({
|
|
|
593
593
|
minimum: 500,
|
|
594
594
|
maximum: 5000,
|
|
595
595
|
description: ( localize(
|
|
596
|
-
|
|
596
|
+
2496,
|
|
597
597
|
"Controls how long (in milliseconds) the keyboard overlay is shown in screencast mode."
|
|
598
598
|
))
|
|
599
599
|
},
|
|
@@ -602,7 +602,7 @@ configurationRegistry.registerConfiguration({
|
|
|
602
602
|
format: 'color-hex',
|
|
603
603
|
default: '#FF0000',
|
|
604
604
|
description: ( localize(
|
|
605
|
-
|
|
605
|
+
2497,
|
|
606
606
|
"Controls the color in hex (#RGB, #RGBA, #RRGGBB or #RRGGBBAA) of the mouse indicator in screencast mode."
|
|
607
607
|
))
|
|
608
608
|
},
|
|
@@ -612,7 +612,7 @@ configurationRegistry.registerConfiguration({
|
|
|
612
612
|
minimum: 20,
|
|
613
613
|
maximum: 100,
|
|
614
614
|
description: ( localize(
|
|
615
|
-
|
|
615
|
+
2498,
|
|
616
616
|
"Controls the size (in pixels) of the mouse indicator in screencast mode."
|
|
617
617
|
))
|
|
618
618
|
},
|
|
@@ -26,13 +26,13 @@ let TextInputActionsProvider = class TextInputActionsProvider extends Disposable
|
|
|
26
26
|
createActions() {
|
|
27
27
|
return [
|
|
28
28
|
(
|
|
29
|
-
new Action('undo', ( localize(
|
|
30
|
-
( new Action('redo', ( localize(
|
|
29
|
+
new Action('undo', ( localize(2635, "Undo")), undefined, true, async () => getActiveDocument().execCommand('undo'))),
|
|
30
|
+
( new Action('redo', ( localize(2636, "Redo")), undefined, true, async () => getActiveDocument().execCommand('redo'))),
|
|
31
31
|
( new Separator()),
|
|
32
32
|
(
|
|
33
|
-
new Action('editor.action.clipboardCutAction', ( localize(
|
|
34
|
-
( new Action('editor.action.clipboardCopyAction', ( localize(
|
|
35
|
-
( new Action('editor.action.clipboardPasteAction', ( localize(
|
|
33
|
+
new Action('editor.action.clipboardCutAction', ( localize(2637, "Cut")), undefined, true, async () => getActiveDocument().execCommand('cut'))),
|
|
34
|
+
( new Action('editor.action.clipboardCopyAction', ( localize(2638, "Copy")), undefined, true, async () => getActiveDocument().execCommand('copy'))),
|
|
35
|
+
( new Action('editor.action.clipboardPasteAction', ( localize(2639, "Paste")), undefined, true, async (element) => {
|
|
36
36
|
if (isNative) {
|
|
37
37
|
getActiveDocument().execCommand('paste');
|
|
38
38
|
}
|
|
@@ -51,7 +51,7 @@ let TextInputActionsProvider = class TextInputActionsProvider extends Disposable
|
|
|
51
51
|
})),
|
|
52
52
|
( new Separator()),
|
|
53
53
|
(
|
|
54
|
-
new Action('editor.action.selectAll', ( localize(
|
|
54
|
+
new Action('editor.action.selectAll', ( localize(2640, "Select All")), undefined, true, async () => getActiveDocument().execCommand('selectAll')))
|
|
55
55
|
];
|
|
56
56
|
}
|
|
57
57
|
registerListeners() {
|
|
@@ -18,32 +18,32 @@ import { IUserDataProfilesService } from '../../platform/userDataProfile/common/
|
|
|
18
18
|
const applicationConfigurationNodeBase = ( Object.freeze({
|
|
19
19
|
'id': 'application',
|
|
20
20
|
'order': 100,
|
|
21
|
-
'title': ( localize(
|
|
21
|
+
'title': ( localize(3637, "Application")),
|
|
22
22
|
'type': 'object'
|
|
23
23
|
}));
|
|
24
24
|
const workbenchConfigurationNodeBase = ( Object.freeze({
|
|
25
25
|
'id': 'workbench',
|
|
26
26
|
'order': 7,
|
|
27
|
-
'title': ( localize(
|
|
27
|
+
'title': ( localize(3638, "Workbench")),
|
|
28
28
|
'type': 'object',
|
|
29
29
|
}));
|
|
30
30
|
const securityConfigurationNodeBase = ( Object.freeze({
|
|
31
31
|
'id': 'security',
|
|
32
32
|
'scope': ConfigurationScope.APPLICATION,
|
|
33
|
-
'title': ( localize(
|
|
33
|
+
'title': ( localize(3639, "Security")),
|
|
34
34
|
'type': 'object',
|
|
35
35
|
'order': 7
|
|
36
36
|
}));
|
|
37
37
|
const problemsConfigurationNodeBase = ( Object.freeze({
|
|
38
38
|
'id': 'problems',
|
|
39
|
-
'title': ( localize(
|
|
39
|
+
'title': ( localize(3640, "Problems")),
|
|
40
40
|
'type': 'object',
|
|
41
41
|
'order': 101
|
|
42
42
|
}));
|
|
43
43
|
const windowConfigurationNodeBase = ( Object.freeze({
|
|
44
44
|
'id': 'window',
|
|
45
45
|
'order': 8,
|
|
46
|
-
'title': ( localize(
|
|
46
|
+
'title': ( localize(3641, "Window")),
|
|
47
47
|
'type': 'object',
|
|
48
48
|
}));
|
|
49
49
|
const Extensions = {
|
|
@@ -180,11 +180,11 @@ let DynamicWorkbenchSecurityConfiguration = class DynamicWorkbenchSecurityConfig
|
|
|
180
180
|
'items': {
|
|
181
181
|
'type': 'string',
|
|
182
182
|
'pattern': '^[^\\\\]+$',
|
|
183
|
-
'patternErrorMessage': ( localize(
|
|
183
|
+
'patternErrorMessage': ( localize(3642, 'UNC host names must not contain backslashes.'))
|
|
184
184
|
},
|
|
185
185
|
'default': [],
|
|
186
186
|
'markdownDescription': ( localize(
|
|
187
|
-
|
|
187
|
+
3643,
|
|
188
188
|
'A set of UNC host names (without leading or trailing backslash, for example `192.168.0.1` or `my-server`) to allow without user confirmation. If a UNC host is being accessed that is not allowed via this setting or has not been acknowledged via user confirmation, an error will occur and the operation stopped. A restart is required when changing this setting. Find out more about this setting at https://aka.ms/vscode-windows-unc.'
|
|
189
189
|
)),
|
|
190
190
|
'scope': ConfigurationScope.MACHINE
|
|
@@ -193,7 +193,7 @@ let DynamicWorkbenchSecurityConfiguration = class DynamicWorkbenchSecurityConfig
|
|
|
193
193
|
'type': 'boolean',
|
|
194
194
|
'default': true,
|
|
195
195
|
'markdownDescription': ( localize(
|
|
196
|
-
|
|
196
|
+
3644,
|
|
197
197
|
'If enabled, only allows access to UNC host names that are allowed by the `#security.allowedUNCHosts#` setting or after user confirmation. Find out more about this setting at https://aka.ms/vscode-windows-unc.'
|
|
198
198
|
)),
|
|
199
199
|
'scope': ConfigurationScope.MACHINE
|
|
@@ -232,9 +232,9 @@ let DynamicWindowConfiguration = class DynamicWindowConfiguration extends Dispos
|
|
|
232
232
|
'type': ['string', 'null'],
|
|
233
233
|
'default': null,
|
|
234
234
|
'enum': [...( this.userDataProfilesService.profiles.map(profile => profile.name)), null],
|
|
235
|
-
'enumItemLabels': [...( this.userDataProfilesService.profiles.map(p => '')), ( localize(
|
|
235
|
+
'enumItemLabels': [...( this.userDataProfilesService.profiles.map(p => '')), ( localize(3645, "Active Window"))],
|
|
236
236
|
'description': ( localize(
|
|
237
|
-
|
|
237
|
+
3646,
|
|
238
238
|
"Specifies the profile to use when opening a new window. If a profile name is provided, the new window will use that profile. If no profile name is provided, the new window will use the profile of the active window or the Default profile if no active window exists."
|
|
239
239
|
)),
|
|
240
240
|
'scope': ConfigurationScope.APPLICATION,
|