@codingame/monaco-vscode-api 11.1.0 → 11.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/package.json +8 -8
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +9 -9
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +6 -15
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/base/common/keybindingLabels.js +20 -20
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/config/editorOptions.js +364 -364
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages.js +27 -27
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +15 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +16 -16
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -28
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +8 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/terminal/common/terminalStrings.js +17 -0
- 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 +8 -8
- 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/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +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/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/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +34 -34
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +16 -16
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- 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/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/theme.js +156 -156
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +25 -25
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- 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/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- 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/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +10 -10
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +14 -14
- 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/logsActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +60 -60
- 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/browser/scmHistory.js +13 -13
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +15 -11
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +8 -8
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- 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/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.js +6 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +200 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +170 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.js +4 -4
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- 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/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +0 -166
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +0 -474
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +0 -942
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +0 -476
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +0 -288
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +0 -521
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +0 -253
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +0 -64
|
@@ -58,18 +58,18 @@ import { getPathForFile } from '../../../../platform/dnd/browser/dnd.js';
|
|
|
58
58
|
import Severity$1 from '../../../../base/common/severity.js';
|
|
59
59
|
|
|
60
60
|
const NEW_FILE_COMMAND_ID = 'explorer.newFile';
|
|
61
|
-
const NEW_FILE_LABEL = ( localize2(
|
|
61
|
+
const NEW_FILE_LABEL = ( localize2(5379, "New File..."));
|
|
62
62
|
const NEW_FOLDER_COMMAND_ID = 'explorer.newFolder';
|
|
63
|
-
const NEW_FOLDER_LABEL = ( localize2(
|
|
64
|
-
const TRIGGER_RENAME_LABEL = ( localize(
|
|
65
|
-
const MOVE_FILE_TO_TRASH_LABEL = ( localize(
|
|
66
|
-
const COPY_FILE_LABEL = ( localize(
|
|
67
|
-
const PASTE_FILE_LABEL = ( localize(
|
|
63
|
+
const NEW_FOLDER_LABEL = ( localize2(5380, "New Folder..."));
|
|
64
|
+
const TRIGGER_RENAME_LABEL = ( localize(5381, "Rename..."));
|
|
65
|
+
const MOVE_FILE_TO_TRASH_LABEL = ( localize(5382, "Delete"));
|
|
66
|
+
const COPY_FILE_LABEL = ( localize(5383, "Copy"));
|
|
67
|
+
const PASTE_FILE_LABEL = ( localize(5384, "Paste"));
|
|
68
68
|
const FileCopiedContext = ( (new RawContextKey('fileCopied', false)));
|
|
69
69
|
const DOWNLOAD_COMMAND_ID = 'explorer.download';
|
|
70
|
-
const DOWNLOAD_LABEL = ( localize(
|
|
70
|
+
const DOWNLOAD_LABEL = ( localize(5385, "Download..."));
|
|
71
71
|
const UPLOAD_COMMAND_ID = 'explorer.upload';
|
|
72
|
-
const UPLOAD_LABEL = ( localize(
|
|
72
|
+
const UPLOAD_LABEL = ( localize(5386, "Upload..."));
|
|
73
73
|
const CONFIRM_DELETE_SETTING_KEY = 'explorer.confirmDelete';
|
|
74
74
|
const MAX_UNDO_FILE_SIZE = 5000000;
|
|
75
75
|
function onError(notificationService, error) {
|
|
@@ -86,10 +86,10 @@ async function refreshIfSeparator(value, explorerService) {
|
|
|
86
86
|
async function deleteFiles(explorerService, workingCopyFileService, dialogService, configurationService, elements, useTrash, skipConfirm = false, ignoreIfNotExists = false) {
|
|
87
87
|
let primaryButton;
|
|
88
88
|
if (useTrash) {
|
|
89
|
-
primaryButton = isWindows ? ( localize(
|
|
89
|
+
primaryButton = isWindows ? ( localize(5387, "&&Move to Recycle Bin")) : ( localize(5388, "&&Move to Trash"));
|
|
90
90
|
}
|
|
91
91
|
else {
|
|
92
|
-
primaryButton = ( localize(
|
|
92
|
+
primaryButton = ( localize(5389, "&&Delete"));
|
|
93
93
|
}
|
|
94
94
|
const distinctElements = distinctParents(elements, e => e.resource);
|
|
95
95
|
const dirtyWorkingCopies = ( (new Set()));
|
|
@@ -103,21 +103,21 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
|
|
|
103
103
|
let message;
|
|
104
104
|
if (distinctElements.length > 1) {
|
|
105
105
|
message = ( localize(
|
|
106
|
-
|
|
106
|
+
5390,
|
|
107
107
|
"You are deleting files with unsaved changes. Do you want to continue?"
|
|
108
108
|
));
|
|
109
109
|
}
|
|
110
110
|
else if (distinctElements[0].isDirectory) {
|
|
111
111
|
if (dirtyWorkingCopies.size === 1) {
|
|
112
112
|
message = ( localize(
|
|
113
|
-
|
|
113
|
+
5391,
|
|
114
114
|
"You are deleting a folder {0} with unsaved changes in 1 file. Do you want to continue?",
|
|
115
115
|
distinctElements[0].name
|
|
116
116
|
));
|
|
117
117
|
}
|
|
118
118
|
else {
|
|
119
119
|
message = ( localize(
|
|
120
|
-
|
|
120
|
+
5392,
|
|
121
121
|
"You are deleting a folder {0} with unsaved changes in {1} files. Do you want to continue?",
|
|
122
122
|
distinctElements[0].name,
|
|
123
123
|
dirtyWorkingCopies.size
|
|
@@ -126,7 +126,7 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
|
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
128
128
|
message = ( localize(
|
|
129
|
-
|
|
129
|
+
5393,
|
|
130
130
|
"You are deleting {0} with unsaved changes. Do you want to continue?",
|
|
131
131
|
distinctElements[0].name
|
|
132
132
|
));
|
|
@@ -134,7 +134,7 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
|
|
|
134
134
|
const response = await dialogService.confirm({
|
|
135
135
|
type: 'warning',
|
|
136
136
|
message,
|
|
137
|
-
detail: ( localize(
|
|
137
|
+
detail: ( localize(5394, "Your changes will be lost if you don't save them.")),
|
|
138
138
|
primaryButton
|
|
139
139
|
});
|
|
140
140
|
if (!response.confirmed) {
|
|
@@ -148,8 +148,8 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
|
|
|
148
148
|
return;
|
|
149
149
|
}
|
|
150
150
|
let confirmation;
|
|
151
|
-
const deleteDetail = ( (distinctElements.some(e => e.isDirectory))) ? ( localize(
|
|
152
|
-
distinctElements.length > 1 ? ( localize(
|
|
151
|
+
const deleteDetail = ( (distinctElements.some(e => e.isDirectory))) ? ( localize(5395, "This action is irreversible!")) :
|
|
152
|
+
distinctElements.length > 1 ? ( localize(5396, "You can restore these files using the Undo command.")) : ( localize(5397, "You can restore this file using the Undo command."));
|
|
153
153
|
if (skipConfirm || (useTrash && configurationService.getValue(CONFIRM_DELETE_SETTING_KEY) === false)) {
|
|
154
154
|
confirmation = { confirmed: true };
|
|
155
155
|
}
|
|
@@ -157,17 +157,17 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
|
|
|
157
157
|
let { message, detail } = getMoveToTrashMessage(distinctElements);
|
|
158
158
|
detail += detail ? '\n' : '';
|
|
159
159
|
if (isWindows) {
|
|
160
|
-
detail += distinctElements.length > 1 ? ( localize(
|
|
160
|
+
detail += distinctElements.length > 1 ? ( localize(5398, "You can restore these files from the Recycle Bin.")) : ( localize(5399, "You can restore this file from the Recycle Bin."));
|
|
161
161
|
}
|
|
162
162
|
else {
|
|
163
|
-
detail += distinctElements.length > 1 ? ( localize(
|
|
163
|
+
detail += distinctElements.length > 1 ? ( localize(5400, "You can restore these files from the Trash.")) : ( localize(5401, "You can restore this file from the Trash."));
|
|
164
164
|
}
|
|
165
165
|
confirmation = await dialogService.confirm({
|
|
166
166
|
message,
|
|
167
167
|
detail,
|
|
168
168
|
primaryButton,
|
|
169
169
|
checkbox: {
|
|
170
|
-
label: ( localize(
|
|
170
|
+
label: ( localize(5402, "Do not ask me again"))
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
173
|
}
|
|
@@ -195,8 +195,8 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
|
|
|
195
195
|
{ recursive: true, folder: e.isDirectory, ignoreIfNotExists, skipTrashBin: !useTrash, maxSize: MAX_UNDO_FILE_SIZE }
|
|
196
196
|
))))));
|
|
197
197
|
const options = {
|
|
198
|
-
undoLabel: distinctElements.length > 1 ? ( localize(
|
|
199
|
-
progressLabel: distinctElements.length > 1 ? ( localize(
|
|
198
|
+
undoLabel: distinctElements.length > 1 ? ( localize(5403, "Delete {0} files", distinctElements.length)) : ( localize(5404, "Delete {0}", distinctElements[0].name)),
|
|
199
|
+
progressLabel: distinctElements.length > 1 ? ( localize(5405, "Deleting {0} files", distinctElements.length)) : ( localize(5406, "Deleting {0}", distinctElements[0].name)),
|
|
200
200
|
};
|
|
201
201
|
await explorerService.applyBulkEdit(resourceFileEdits, options);
|
|
202
202
|
}
|
|
@@ -206,18 +206,18 @@ async function deleteFiles(explorerService, workingCopyFileService, dialogServic
|
|
|
206
206
|
let primaryButton;
|
|
207
207
|
if (useTrash) {
|
|
208
208
|
errorMessage = isWindows ? ( localize(
|
|
209
|
-
|
|
209
|
+
5407,
|
|
210
210
|
"Failed to delete using the Recycle Bin. Do you want to permanently delete instead?"
|
|
211
211
|
)) : ( localize(
|
|
212
|
-
|
|
212
|
+
5408,
|
|
213
213
|
"Failed to delete using the Trash. Do you want to permanently delete instead?"
|
|
214
214
|
));
|
|
215
215
|
detailMessage = deleteDetail;
|
|
216
|
-
primaryButton = ( localize(
|
|
216
|
+
primaryButton = ( localize(5409, "&&Delete Permanently"));
|
|
217
217
|
}
|
|
218
218
|
else {
|
|
219
219
|
errorMessage = toErrorMessage(error, false);
|
|
220
|
-
primaryButton = ( localize(
|
|
220
|
+
primaryButton = ( localize(5410, "&&Retry"));
|
|
221
221
|
}
|
|
222
222
|
const res = await dialogService.confirm({
|
|
223
223
|
type: 'warning',
|
|
@@ -239,7 +239,7 @@ function getMoveToTrashMessage(distinctElements) {
|
|
|
239
239
|
if (containsBothDirectoryAndFile(distinctElements)) {
|
|
240
240
|
return {
|
|
241
241
|
message: ( localize(
|
|
242
|
-
|
|
242
|
+
5411,
|
|
243
243
|
"Are you sure you want to delete the following {0} files/directories and their contents?",
|
|
244
244
|
distinctElements.length
|
|
245
245
|
)),
|
|
@@ -250,7 +250,7 @@ function getMoveToTrashMessage(distinctElements) {
|
|
|
250
250
|
if (distinctElements[0].isDirectory) {
|
|
251
251
|
return {
|
|
252
252
|
message: ( localize(
|
|
253
|
-
|
|
253
|
+
5412,
|
|
254
254
|
"Are you sure you want to delete the following {0} directories and their contents?",
|
|
255
255
|
distinctElements.length
|
|
256
256
|
)),
|
|
@@ -259,7 +259,7 @@ function getMoveToTrashMessage(distinctElements) {
|
|
|
259
259
|
}
|
|
260
260
|
return {
|
|
261
261
|
message: ( localize(
|
|
262
|
-
|
|
262
|
+
5413,
|
|
263
263
|
"Are you sure you want to delete the following {0} files?",
|
|
264
264
|
distinctElements.length
|
|
265
265
|
)),
|
|
@@ -268,18 +268,18 @@ function getMoveToTrashMessage(distinctElements) {
|
|
|
268
268
|
}
|
|
269
269
|
if (distinctElements[0].isDirectory && !distinctElements[0].isSymbolicLink) {
|
|
270
270
|
return { message: ( localize(
|
|
271
|
-
|
|
271
|
+
5414,
|
|
272
272
|
"Are you sure you want to delete '{0}' and its contents?",
|
|
273
273
|
distinctElements[0].name
|
|
274
274
|
)), detail: '' };
|
|
275
275
|
}
|
|
276
|
-
return { message: ( localize(
|
|
276
|
+
return { message: ( localize(5415, "Are you sure you want to delete '{0}'?", distinctElements[0].name)), detail: '' };
|
|
277
277
|
}
|
|
278
278
|
function getDeleteMessage(distinctElements) {
|
|
279
279
|
if (containsBothDirectoryAndFile(distinctElements)) {
|
|
280
280
|
return {
|
|
281
281
|
message: ( localize(
|
|
282
|
-
|
|
282
|
+
5416,
|
|
283
283
|
"Are you sure you want to permanently delete the following {0} files/directories and their contents?",
|
|
284
284
|
distinctElements.length
|
|
285
285
|
)),
|
|
@@ -290,7 +290,7 @@ function getDeleteMessage(distinctElements) {
|
|
|
290
290
|
if (distinctElements[0].isDirectory) {
|
|
291
291
|
return {
|
|
292
292
|
message: ( localize(
|
|
293
|
-
|
|
293
|
+
5417,
|
|
294
294
|
"Are you sure you want to permanently delete the following {0} directories and their contents?",
|
|
295
295
|
distinctElements.length
|
|
296
296
|
)),
|
|
@@ -299,7 +299,7 @@ function getDeleteMessage(distinctElements) {
|
|
|
299
299
|
}
|
|
300
300
|
return {
|
|
301
301
|
message: ( localize(
|
|
302
|
-
|
|
302
|
+
5418,
|
|
303
303
|
"Are you sure you want to permanently delete the following {0} files?",
|
|
304
304
|
distinctElements.length
|
|
305
305
|
)),
|
|
@@ -308,13 +308,13 @@ function getDeleteMessage(distinctElements) {
|
|
|
308
308
|
}
|
|
309
309
|
if (distinctElements[0].isDirectory) {
|
|
310
310
|
return { message: ( localize(
|
|
311
|
-
|
|
311
|
+
5419,
|
|
312
312
|
"Are you sure you want to permanently delete '{0}' and its contents?",
|
|
313
313
|
distinctElements[0].name
|
|
314
314
|
)), detail: '' };
|
|
315
315
|
}
|
|
316
316
|
return { message: ( localize(
|
|
317
|
-
|
|
317
|
+
5420,
|
|
318
318
|
"Are you sure you want to permanently delete '{0}'?",
|
|
319
319
|
distinctElements[0].name
|
|
320
320
|
)), detail: '' };
|
|
@@ -445,17 +445,17 @@ async function askForOverwrite(fileService, dialogService, targetResource) {
|
|
|
445
445
|
const { confirmed } = await dialogService.confirm({
|
|
446
446
|
type: Severity$1.Warning,
|
|
447
447
|
message: ( localize(
|
|
448
|
-
|
|
448
|
+
5421,
|
|
449
449
|
"A file or folder with the name '{0}' already exists in the destination folder. Do you want to replace it?",
|
|
450
450
|
basename(targetResource.path)
|
|
451
451
|
)),
|
|
452
|
-
primaryButton: ( localize(
|
|
452
|
+
primaryButton: ( localize(5422, "&&Replace"))
|
|
453
453
|
});
|
|
454
454
|
return confirmed;
|
|
455
455
|
}
|
|
456
456
|
class GlobalCompareResourcesAction extends Action2 {
|
|
457
457
|
static { this.ID = 'workbench.files.action.compareFileWith'; }
|
|
458
|
-
static { this.LABEL = ( localize2(
|
|
458
|
+
static { this.LABEL = ( localize2(5423, "Compare Active File With...")); }
|
|
459
459
|
constructor() {
|
|
460
460
|
super({
|
|
461
461
|
id: GlobalCompareResourcesAction.ID,
|
|
@@ -464,7 +464,7 @@ class GlobalCompareResourcesAction extends Action2 {
|
|
|
464
464
|
category: Categories.File,
|
|
465
465
|
precondition: ActiveEditorContext,
|
|
466
466
|
metadata: {
|
|
467
|
-
description: ( localize2(
|
|
467
|
+
description: ( localize2(5424, "Opens a picker to select a file to diff with the active editor."))
|
|
468
468
|
}
|
|
469
469
|
});
|
|
470
470
|
}
|
|
@@ -494,10 +494,10 @@ class ToggleAutoSaveAction extends Action2 {
|
|
|
494
494
|
constructor() {
|
|
495
495
|
super({
|
|
496
496
|
id: ToggleAutoSaveAction.ID,
|
|
497
|
-
title: ( localize2(
|
|
497
|
+
title: ( localize2(5425, "Toggle Auto Save")),
|
|
498
498
|
f1: true,
|
|
499
499
|
category: Categories.File,
|
|
500
|
-
metadata: { description: ( localize2(
|
|
500
|
+
metadata: { description: ( localize2(5426, "Toggle the ability to save files automatically after typing")) }
|
|
501
501
|
});
|
|
502
502
|
}
|
|
503
503
|
run(accessor) {
|
|
@@ -541,7 +541,7 @@ BaseSaveAllAction = ( (__decorate([
|
|
|
541
541
|
], BaseSaveAllAction)));
|
|
542
542
|
class SaveAllInGroupAction extends BaseSaveAllAction {
|
|
543
543
|
static { this.ID = 'workbench.files.action.saveAllInGroup'; }
|
|
544
|
-
static { this.LABEL = ( localize(
|
|
544
|
+
static { this.LABEL = ( localize(5427, "Save All in Group")); }
|
|
545
545
|
get class() {
|
|
546
546
|
return 'explorer-action ' + ThemeIcon.asClassName(Codicon.saveAll);
|
|
547
547
|
}
|
|
@@ -551,7 +551,7 @@ class SaveAllInGroupAction extends BaseSaveAllAction {
|
|
|
551
551
|
}
|
|
552
552
|
let CloseGroupAction = class CloseGroupAction extends Action {
|
|
553
553
|
static { this.ID = 'workbench.files.action.closeGroup'; }
|
|
554
|
-
static { this.LABEL = ( localize(
|
|
554
|
+
static { this.LABEL = ( localize(5428, "Close Group")); }
|
|
555
555
|
constructor(id, label, commandService) {
|
|
556
556
|
super(id, label, ThemeIcon.asClassName(Codicon.closeAll));
|
|
557
557
|
this.commandService = commandService;
|
|
@@ -565,7 +565,7 @@ CloseGroupAction = ( (__decorate([
|
|
|
565
565
|
], CloseGroupAction)));
|
|
566
566
|
class FocusFilesExplorer extends Action2 {
|
|
567
567
|
static { this.ID = 'workbench.files.action.focusFilesExplorer'; }
|
|
568
|
-
static { this.LABEL = ( localize2(
|
|
568
|
+
static { this.LABEL = ( localize2(5429, "Focus on Files Explorer")); }
|
|
569
569
|
constructor() {
|
|
570
570
|
super({
|
|
571
571
|
id: FocusFilesExplorer.ID,
|
|
@@ -573,7 +573,7 @@ class FocusFilesExplorer extends Action2 {
|
|
|
573
573
|
f1: true,
|
|
574
574
|
category: Categories.File,
|
|
575
575
|
metadata: {
|
|
576
|
-
description: ( localize2(
|
|
576
|
+
description: ( localize2(5430, "Moves focus to the file explorer view container."))
|
|
577
577
|
}
|
|
578
578
|
});
|
|
579
579
|
}
|
|
@@ -584,7 +584,7 @@ class FocusFilesExplorer extends Action2 {
|
|
|
584
584
|
}
|
|
585
585
|
class ShowActiveFileInExplorer extends Action2 {
|
|
586
586
|
static { this.ID = 'workbench.files.action.showActiveFileInExplorer'; }
|
|
587
|
-
static { this.LABEL = ( localize2(
|
|
587
|
+
static { this.LABEL = ( localize2(5431, "Reveal Active File in Explorer View")); }
|
|
588
588
|
constructor() {
|
|
589
589
|
super({
|
|
590
590
|
id: ShowActiveFileInExplorer.ID,
|
|
@@ -592,7 +592,7 @@ class ShowActiveFileInExplorer extends Action2 {
|
|
|
592
592
|
f1: true,
|
|
593
593
|
category: Categories.File,
|
|
594
594
|
metadata: {
|
|
595
|
-
description: ( localize2(
|
|
595
|
+
description: ( localize2(5432, "Reveals and selects the active file within the explorer view."))
|
|
596
596
|
}
|
|
597
597
|
});
|
|
598
598
|
}
|
|
@@ -607,7 +607,7 @@ class ShowActiveFileInExplorer extends Action2 {
|
|
|
607
607
|
}
|
|
608
608
|
class OpenActiveFileInEmptyWorkspace extends Action2 {
|
|
609
609
|
static { this.ID = 'workbench.action.files.showOpenedFileInNewWindow'; }
|
|
610
|
-
static { this.LABEL = ( localize2(
|
|
610
|
+
static { this.LABEL = ( localize2(5433, "Open Active File in New Empty Workspace")); }
|
|
611
611
|
constructor() {
|
|
612
612
|
super({
|
|
613
613
|
id: OpenActiveFileInEmptyWorkspace.ID,
|
|
@@ -616,7 +616,7 @@ class OpenActiveFileInEmptyWorkspace extends Action2 {
|
|
|
616
616
|
category: Categories.File,
|
|
617
617
|
precondition: EmptyWorkspaceSupportContext,
|
|
618
618
|
metadata: {
|
|
619
|
-
description: ( localize2(
|
|
619
|
+
description: ( localize2(5434, "Opens the active file in a new window with no folders open."))
|
|
620
620
|
}
|
|
621
621
|
});
|
|
622
622
|
}
|
|
@@ -631,7 +631,7 @@ class OpenActiveFileInEmptyWorkspace extends Action2 {
|
|
|
631
631
|
hostService.openWindow([{ fileUri: fileResource }], { forceNewWindow: true });
|
|
632
632
|
}
|
|
633
633
|
else {
|
|
634
|
-
dialogService.error(( localize(
|
|
634
|
+
dialogService.error(( localize(5435, "The active editor must contain an openable resource.")));
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
637
|
}
|
|
@@ -640,13 +640,13 @@ function validateFileName(pathService, item, name, os) {
|
|
|
640
640
|
name = getWellFormedFileName(name);
|
|
641
641
|
if (!name || name.length === 0 || /^\s+$/.test(name)) {
|
|
642
642
|
return {
|
|
643
|
-
content: ( localize(
|
|
643
|
+
content: ( localize(5436, "A file or folder name must be provided.")),
|
|
644
644
|
severity: Severity$1.Error
|
|
645
645
|
};
|
|
646
646
|
}
|
|
647
647
|
if (name[0] === '/' || name[0] === '\\') {
|
|
648
648
|
return {
|
|
649
|
-
content: ( localize(
|
|
649
|
+
content: ( localize(5437, "A file or folder name cannot start with a slash.")),
|
|
650
650
|
severity: Severity$1.Error
|
|
651
651
|
};
|
|
652
652
|
}
|
|
@@ -657,7 +657,7 @@ function validateFileName(pathService, item, name, os) {
|
|
|
657
657
|
if (child && child !== item) {
|
|
658
658
|
return {
|
|
659
659
|
content: ( localize(
|
|
660
|
-
|
|
660
|
+
5438,
|
|
661
661
|
"A file or folder **{0}** already exists at this location. Please choose a different name.",
|
|
662
662
|
name
|
|
663
663
|
)),
|
|
@@ -669,7 +669,7 @@ function validateFileName(pathService, item, name, os) {
|
|
|
669
669
|
const escapedName = name.replace(/\*/g, '\\*');
|
|
670
670
|
return {
|
|
671
671
|
content: ( localize(
|
|
672
|
-
|
|
672
|
+
5439,
|
|
673
673
|
"The name **{0}** is not valid as a file or folder name. Please choose a different name.",
|
|
674
674
|
trimLongName(escapedName)
|
|
675
675
|
)),
|
|
@@ -678,7 +678,7 @@ function validateFileName(pathService, item, name, os) {
|
|
|
678
678
|
}
|
|
679
679
|
if (( (names.some(name => /^\s|\s$/.test(name))))) {
|
|
680
680
|
return {
|
|
681
|
-
content: ( localize(
|
|
681
|
+
content: ( localize(5440, "Leading or trailing whitespace detected in file or folder name.")),
|
|
682
682
|
severity: Severity$1.Warning
|
|
683
683
|
};
|
|
684
684
|
}
|
|
@@ -701,7 +701,7 @@ function getWellFormedFileName(filename) {
|
|
|
701
701
|
}
|
|
702
702
|
class CompareNewUntitledTextFilesAction extends Action2 {
|
|
703
703
|
static { this.ID = 'workbench.files.action.compareNewUntitledTextFiles'; }
|
|
704
|
-
static { this.LABEL = ( localize2(
|
|
704
|
+
static { this.LABEL = ( localize2(5441, "Compare New Untitled Text Files")); }
|
|
705
705
|
constructor() {
|
|
706
706
|
super({
|
|
707
707
|
id: CompareNewUntitledTextFilesAction.ID,
|
|
@@ -709,7 +709,7 @@ class CompareNewUntitledTextFilesAction extends Action2 {
|
|
|
709
709
|
f1: true,
|
|
710
710
|
category: Categories.File,
|
|
711
711
|
metadata: {
|
|
712
|
-
description: ( localize2(
|
|
712
|
+
description: ( localize2(5442, "Opens a new diff editor with two untitled files."))
|
|
713
713
|
}
|
|
714
714
|
});
|
|
715
715
|
}
|
|
@@ -724,7 +724,7 @@ class CompareNewUntitledTextFilesAction extends Action2 {
|
|
|
724
724
|
}
|
|
725
725
|
class CompareWithClipboardAction extends Action2 {
|
|
726
726
|
static { this.ID = 'workbench.files.action.compareWithClipboard'; }
|
|
727
|
-
static { this.LABEL = ( localize2(
|
|
727
|
+
static { this.LABEL = ( localize2(5443, "Compare Active File with Clipboard")); }
|
|
728
728
|
static { this.SCHEME_COUNTER = 0; }
|
|
729
729
|
constructor() {
|
|
730
730
|
super({
|
|
@@ -735,7 +735,7 @@ class CompareWithClipboardAction extends Action2 {
|
|
|
735
735
|
keybinding: { primary: KeyChord(2048 | 41 , 33 ), weight: 200 },
|
|
736
736
|
metadata: {
|
|
737
737
|
description: ( localize2(
|
|
738
|
-
|
|
738
|
+
5444,
|
|
739
739
|
"Opens a new diff editor to compare the active file with the contents of the clipboard."
|
|
740
740
|
))
|
|
741
741
|
}
|
|
@@ -754,7 +754,7 @@ class CompareWithClipboardAction extends Action2 {
|
|
|
754
754
|
this.registrationDisposal = textModelService.registerTextModelContentProvider(scheme, provider);
|
|
755
755
|
}
|
|
756
756
|
const name = basename$1(resource);
|
|
757
|
-
const editorLabel = ( localize(
|
|
757
|
+
const editorLabel = ( localize(5445, "Clipboard ↔ {0}", name));
|
|
758
758
|
await editorService.openEditor({
|
|
759
759
|
original: { resource: resource.with({ scheme }) },
|
|
760
760
|
modified: { resource: resource },
|
|
@@ -790,7 +790,7 @@ ClipboardContentProvider = ( (__decorate([
|
|
|
790
790
|
], ClipboardContentProvider)));
|
|
791
791
|
function onErrorWithRetry(notificationService, error, retry) {
|
|
792
792
|
notificationService.prompt(Severity$1.Error, toErrorMessage(error, false), [{
|
|
793
|
-
label: ( localize(
|
|
793
|
+
label: ( localize(5446, "Retry")),
|
|
794
794
|
run: () => retry()
|
|
795
795
|
}]);
|
|
796
796
|
}
|
|
@@ -837,8 +837,8 @@ async function openExplorerAndCreate(accessor, isFolder) {
|
|
|
837
837
|
isFolder = true;
|
|
838
838
|
}
|
|
839
839
|
await explorerService.applyBulkEdit([( (new ResourceFileEdit(undefined, resourceToCreate, { folder: isFolder })))], {
|
|
840
|
-
undoLabel: ( localize(
|
|
841
|
-
progressLabel: ( localize(
|
|
840
|
+
undoLabel: ( localize(5447, "Create {0}", value)),
|
|
841
|
+
progressLabel: ( localize(5448, "Creating {0}", value)),
|
|
842
842
|
confirmBeforeUndo: true
|
|
843
843
|
});
|
|
844
844
|
await refreshIfSeparator(value, explorerService);
|
|
@@ -899,8 +899,8 @@ const renameHandler = async (accessor) => {
|
|
|
899
899
|
try {
|
|
900
900
|
await explorerService.applyBulkEdit([( (new ResourceFileEdit(stat.resource, targetResource)))], {
|
|
901
901
|
confirmBeforeUndo: configurationService.getValue().explorer.confirmUndo === "verbose" ,
|
|
902
|
-
undoLabel: ( localize(
|
|
903
|
-
progressLabel: ( localize(
|
|
902
|
+
undoLabel: ( localize(5449, "Rename {0} to {1}", stat.name, value)),
|
|
903
|
+
progressLabel: ( localize(5450, "Renaming {0} to {1}", stat.name, value)),
|
|
904
904
|
});
|
|
905
905
|
await refreshIfSeparator(value, explorerService);
|
|
906
906
|
}
|
|
@@ -1002,12 +1002,12 @@ const pasteFileHandler = async (accessor, fileList) => {
|
|
|
1002
1002
|
if (confirmPasteNative && toPaste.files.length >= 1) {
|
|
1003
1003
|
const message = toPaste.files.length > 1 ?
|
|
1004
1004
|
( localize(
|
|
1005
|
-
|
|
1005
|
+
5451,
|
|
1006
1006
|
"Are you sure you want to paste the following {0} items?",
|
|
1007
1007
|
toPaste.files.length
|
|
1008
1008
|
)) :
|
|
1009
1009
|
( localize(
|
|
1010
|
-
|
|
1010
|
+
5452,
|
|
1011
1011
|
"Are you sure you want to paste '{0}'?",
|
|
1012
1012
|
basename(toPaste.type === 'paths' ? toPaste.files[0].fsPath : toPaste.files[0].name)
|
|
1013
1013
|
));
|
|
@@ -1027,9 +1027,9 @@ const pasteFileHandler = async (accessor, fileList) => {
|
|
|
1027
1027
|
message,
|
|
1028
1028
|
detail,
|
|
1029
1029
|
checkbox: {
|
|
1030
|
-
label: ( localize(
|
|
1030
|
+
label: ( localize(5402, "Do not ask me again"))
|
|
1031
1031
|
},
|
|
1032
|
-
primaryButton: ( localize(
|
|
1032
|
+
primaryButton: ( localize(5453, "&&Paste"))
|
|
1033
1033
|
});
|
|
1034
1034
|
if (!confirmation.confirmed) {
|
|
1035
1035
|
return;
|
|
@@ -1049,7 +1049,7 @@ const pasteFileHandler = async (accessor, fileList) => {
|
|
|
1049
1049
|
if (toPaste.type === 'paths') {
|
|
1050
1050
|
const sourceTargetPairs = coalesce(await Promise.all(( (toPaste.files.map(async (fileToPaste) => {
|
|
1051
1051
|
if (( (element.resource.toString())) !== ( (fileToPaste.toString())) && isEqualOrParent(element.resource, fileToPaste)) {
|
|
1052
|
-
throw ( (new Error(localize(
|
|
1052
|
+
throw ( (new Error(localize(5454, "File to paste is an ancestor of the destination folder"))));
|
|
1053
1053
|
}
|
|
1054
1054
|
const fileToPasteStat = await fileService.stat(fileToPaste);
|
|
1055
1055
|
let target;
|
|
@@ -1072,10 +1072,10 @@ const pasteFileHandler = async (accessor, fileList) => {
|
|
|
1072
1072
|
)));
|
|
1073
1073
|
const options = {
|
|
1074
1074
|
confirmBeforeUndo: configurationService.getValue().explorer.confirmUndo === "verbose" ,
|
|
1075
|
-
progressLabel: sourceTargetPairs.length > 1 ? ( localize(
|
|
1076
|
-
: ( localize(
|
|
1077
|
-
undoLabel: sourceTargetPairs.length > 1 ? ( localize(
|
|
1078
|
-
: ( localize(
|
|
1075
|
+
progressLabel: sourceTargetPairs.length > 1 ? ( localize(5455, "Moving {0} files", sourceTargetPairs.length))
|
|
1076
|
+
: ( localize(5456, "Moving {0}", basenameOrAuthority(sourceTargetPairs[0].target))),
|
|
1077
|
+
undoLabel: sourceTargetPairs.length > 1 ? ( localize(5457, "Move {0} files", sourceTargetPairs.length))
|
|
1078
|
+
: ( localize(5458, "Move {0}", basenameOrAuthority(sourceTargetPairs[0].target)))
|
|
1079
1079
|
};
|
|
1080
1080
|
await explorerService.applyBulkEdit(resourceFileEdits, options);
|
|
1081
1081
|
}
|
|
@@ -1121,7 +1121,7 @@ const pasteFileHandler = async (accessor, fileList) => {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
catch (e) {
|
|
1123
1123
|
onError(notificationService, ( (new Error(( localize(
|
|
1124
|
-
|
|
1124
|
+
5459,
|
|
1125
1125
|
"The file(s) to paste have been deleted or moved since you copied them. {0}",
|
|
1126
1126
|
getErrorMessage(e)
|
|
1127
1127
|
))))));
|
|
@@ -1136,10 +1136,10 @@ const pasteFileHandler = async (accessor, fileList) => {
|
|
|
1136
1136
|
const undoLevel = configurationService.getValue().explorer.confirmUndo;
|
|
1137
1137
|
const options = {
|
|
1138
1138
|
confirmBeforeUndo: undoLevel === "default" || undoLevel === "verbose" ,
|
|
1139
|
-
progressLabel: targets.length > 1 ? ( localize(
|
|
1140
|
-
: ( localize(
|
|
1141
|
-
undoLabel: targets.length > 1 ? ( localize(
|
|
1142
|
-
: ( localize(
|
|
1139
|
+
progressLabel: targets.length > 1 ? ( localize(5460, "Copying {0} files", targets.length))
|
|
1140
|
+
: ( localize(5461, "Copying {0}", basenameOrAuthority(targets[0]))),
|
|
1141
|
+
undoLabel: targets.length > 1 ? ( localize(5462, "Paste {0} files", targets.length))
|
|
1142
|
+
: ( localize(5463, "Paste {0}", basenameOrAuthority(targets[0])))
|
|
1143
1143
|
};
|
|
1144
1144
|
await explorerService.applyBulkEdit(resourceFileEdits, options);
|
|
1145
1145
|
}
|
|
@@ -1188,28 +1188,28 @@ class BaseSetActiveEditorReadonlyInSession extends Action2 {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
class SetActiveEditorReadonlyInSession extends BaseSetActiveEditorReadonlyInSession {
|
|
1190
1190
|
static { this.ID = 'workbench.action.files.setActiveEditorReadonlyInSession'; }
|
|
1191
|
-
static { this.LABEL = ( localize2(
|
|
1191
|
+
static { this.LABEL = ( localize2(5464, "Set Active Editor Read-only in Session")); }
|
|
1192
1192
|
constructor() {
|
|
1193
1193
|
super(SetActiveEditorReadonlyInSession.ID, SetActiveEditorReadonlyInSession.LABEL, true);
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
1196
|
class SetActiveEditorWriteableInSession extends BaseSetActiveEditorReadonlyInSession {
|
|
1197
1197
|
static { this.ID = 'workbench.action.files.setActiveEditorWriteableInSession'; }
|
|
1198
|
-
static { this.LABEL = ( localize2(
|
|
1198
|
+
static { this.LABEL = ( localize2(5465, "Set Active Editor Writeable in Session")); }
|
|
1199
1199
|
constructor() {
|
|
1200
1200
|
super(SetActiveEditorWriteableInSession.ID, SetActiveEditorWriteableInSession.LABEL, false);
|
|
1201
1201
|
}
|
|
1202
1202
|
}
|
|
1203
1203
|
class ToggleActiveEditorReadonlyInSession extends BaseSetActiveEditorReadonlyInSession {
|
|
1204
1204
|
static { this.ID = 'workbench.action.files.toggleActiveEditorReadonlyInSession'; }
|
|
1205
|
-
static { this.LABEL = ( localize2(
|
|
1205
|
+
static { this.LABEL = ( localize2(5466, "Toggle Active Editor Read-only in Session")); }
|
|
1206
1206
|
constructor() {
|
|
1207
1207
|
super(ToggleActiveEditorReadonlyInSession.ID, ToggleActiveEditorReadonlyInSession.LABEL, 'toggle');
|
|
1208
1208
|
}
|
|
1209
1209
|
}
|
|
1210
1210
|
class ResetActiveEditorReadonlyInSession extends BaseSetActiveEditorReadonlyInSession {
|
|
1211
1211
|
static { this.ID = 'workbench.action.files.resetActiveEditorReadonlyInSession'; }
|
|
1212
|
-
static { this.LABEL = ( localize2(
|
|
1212
|
+
static { this.LABEL = ( localize2(5467, "Reset Active Editor Read-only in Session")); }
|
|
1213
1213
|
constructor() {
|
|
1214
1214
|
super(ResetActiveEditorReadonlyInSession.ID, ResetActiveEditorReadonlyInSession.LABEL, 'reset');
|
|
1215
1215
|
}
|
|
@@ -80,16 +80,16 @@ async function doSaveEditors(accessor, editors, options) {
|
|
|
80
80
|
}
|
|
81
81
|
catch (error) {
|
|
82
82
|
if (!isCancellationError(error)) {
|
|
83
|
-
const actions = [toAction({ id: 'workbench.action.files.saveEditors', label: ( localize(
|
|
83
|
+
const actions = [toAction({ id: 'workbench.action.files.saveEditors', label: ( localize(3263, "Retry")), run: () => instantiationService.invokeFunction(accessor => doSaveEditors(accessor, editors, options)) })];
|
|
84
84
|
const editorsToRevert = editors.filter(({ editor }) => !editor.hasCapability(4 ) );
|
|
85
85
|
if (editorsToRevert.length > 0) {
|
|
86
|
-
actions.push(toAction({ id: 'workbench.action.files.revertEditors', label: editorsToRevert.length > 1 ? ( localize(
|
|
86
|
+
actions.push(toAction({ id: 'workbench.action.files.revertEditors', label: editorsToRevert.length > 1 ? ( localize(3264, "Revert All")) : ( localize(3265, "Revert")), run: () => editorService.revert(editorsToRevert) }));
|
|
87
87
|
}
|
|
88
88
|
notificationService.notify({
|
|
89
89
|
id: ( (editors.map(({ editor }) => hash(editor.resource?.toString())))).join(),
|
|
90
90
|
severity: Severity$1.Error,
|
|
91
91
|
message: ( localize(
|
|
92
|
-
|
|
92
|
+
3266,
|
|
93
93
|
"Failed to save '{0}': {1}",
|
|
94
94
|
( (editors.map(({ editor }) => editor.getName()))).join(', '),
|
|
95
95
|
toErrorMessage(error, false)
|
|
@@ -182,7 +182,7 @@ CommandsRegistry.registerCommand({
|
|
|
182
182
|
catch (error) {
|
|
183
183
|
const notificationService = accessor.get(INotificationService);
|
|
184
184
|
notificationService.error(( localize(
|
|
185
|
-
|
|
185
|
+
3267,
|
|
186
186
|
"Failed to revert '{0}': {1}",
|
|
187
187
|
( (editors.map(({ editor }) => editor.getName()))).join(', '),
|
|
188
188
|
toErrorMessage(error, false)
|
|
@@ -12,13 +12,13 @@ const COMPARE_WITH_SAVED_COMMAND_ID = 'workbench.files.action.compareWithSaved';
|
|
|
12
12
|
const COPY_PATH_COMMAND_ID = 'copyFilePath';
|
|
13
13
|
const COPY_RELATIVE_PATH_COMMAND_ID = 'copyRelativeFilePath';
|
|
14
14
|
const SAVE_FILE_AS_COMMAND_ID = 'workbench.action.files.saveAs';
|
|
15
|
-
const SAVE_FILE_AS_LABEL = ( localize2(
|
|
15
|
+
const SAVE_FILE_AS_LABEL = ( localize2(5348, "Save As..."));
|
|
16
16
|
const SAVE_FILE_COMMAND_ID = 'workbench.action.files.save';
|
|
17
|
-
const SAVE_FILE_LABEL = ( localize2(
|
|
17
|
+
const SAVE_FILE_LABEL = ( localize2(5349, "Save"));
|
|
18
18
|
const SAVE_FILE_WITHOUT_FORMATTING_COMMAND_ID = 'workbench.action.files.saveWithoutFormatting';
|
|
19
|
-
const SAVE_FILE_WITHOUT_FORMATTING_LABEL = ( localize2(
|
|
19
|
+
const SAVE_FILE_WITHOUT_FORMATTING_LABEL = ( localize2(5350, "Save without Formatting"));
|
|
20
20
|
const SAVE_ALL_COMMAND_ID = 'saveAll';
|
|
21
|
-
const SAVE_ALL_LABEL = ( localize2(
|
|
21
|
+
const SAVE_ALL_LABEL = ( localize2(5351, "Save All"));
|
|
22
22
|
const SAVE_ALL_IN_GROUP_COMMAND_ID = 'workbench.files.action.saveAllInGroup';
|
|
23
23
|
const SAVE_FILES_COMMAND_ID = 'workbench.action.files.saveFiles';
|
|
24
24
|
const OpenEditorsGroupContext = ( (new RawContextKey('groupFocusedInOpenEditors', false)));
|
|
@@ -27,13 +27,13 @@ const OpenEditorsReadonlyEditorContext = ( (new RawContextKey('readonlyEditorFoc
|
|
|
27
27
|
const OpenEditorsSelectedFileOrUntitledContext = ( (new RawContextKey('openEditorsSelectedFileOrUntitled', true)));
|
|
28
28
|
const ResourceSelectedForCompareContext = ( (new RawContextKey('resourceSelectedForCompare', false)));
|
|
29
29
|
const REMOVE_ROOT_FOLDER_COMMAND_ID = 'removeRootFolder';
|
|
30
|
-
const REMOVE_ROOT_FOLDER_LABEL = ( localize(
|
|
30
|
+
const REMOVE_ROOT_FOLDER_LABEL = ( localize(5352, "Remove Folder from Workspace"));
|
|
31
31
|
const PREVIOUS_COMPRESSED_FOLDER = 'previousCompressedFolder';
|
|
32
32
|
const NEXT_COMPRESSED_FOLDER = 'nextCompressedFolder';
|
|
33
33
|
const FIRST_COMPRESSED_FOLDER = 'firstCompressedFolder';
|
|
34
34
|
const LAST_COMPRESSED_FOLDER = 'lastCompressedFolder';
|
|
35
35
|
const NEW_UNTITLED_FILE_COMMAND_ID = 'workbench.action.files.newUntitledFile';
|
|
36
|
-
const NEW_UNTITLED_FILE_LABEL = ( localize2(
|
|
36
|
+
const NEW_UNTITLED_FILE_LABEL = ( localize2(5353, "New Untitled Text File"));
|
|
37
37
|
const NEW_FILE_COMMAND_ID = 'workbench.action.files.newFile';
|
|
38
38
|
|
|
39
39
|
export { COMPARE_RESOURCE_COMMAND_ID, COMPARE_SELECTED_COMMAND_ID, COMPARE_WITH_SAVED_COMMAND_ID, COPY_PATH_COMMAND_ID, COPY_RELATIVE_PATH_COMMAND_ID, FIRST_COMPRESSED_FOLDER, LAST_COMPRESSED_FOLDER, NEW_FILE_COMMAND_ID, NEW_UNTITLED_FILE_COMMAND_ID, NEW_UNTITLED_FILE_LABEL, NEXT_COMPRESSED_FOLDER, OPEN_TO_SIDE_COMMAND_ID, OPEN_WITH_EXPLORER_COMMAND_ID, OpenEditorsDirtyEditorContext, OpenEditorsGroupContext, OpenEditorsReadonlyEditorContext, OpenEditorsSelectedFileOrUntitledContext, PREVIOUS_COMPRESSED_FOLDER, REMOVE_ROOT_FOLDER_COMMAND_ID, REMOVE_ROOT_FOLDER_LABEL, REVEAL_IN_EXPLORER_COMMAND_ID, REVERT_FILE_COMMAND_ID, ResourceSelectedForCompareContext, SAVE_ALL_COMMAND_ID, SAVE_ALL_IN_GROUP_COMMAND_ID, SAVE_ALL_LABEL, SAVE_FILES_COMMAND_ID, SAVE_FILE_AS_COMMAND_ID, SAVE_FILE_AS_LABEL, SAVE_FILE_COMMAND_ID, SAVE_FILE_LABEL, SAVE_FILE_WITHOUT_FORMATTING_COMMAND_ID, SAVE_FILE_WITHOUT_FORMATTING_LABEL, SELECT_FOR_COMPARE_COMMAND_ID };
|