@codingame/monaco-vscode-api 11.0.0 → 11.0.2
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/api.js +1 -1
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- 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/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 -6
- 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/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/codeEditor/codeEditorWidget.js +2 -2
- 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/diffEditor.contribution.js +5 -5
- 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/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/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/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +6 -4
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- 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/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- 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/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- 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/configuration/common/configurationModels.js +5 -20
- 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 +28 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- 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/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/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/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/chatQuickInputActions.js +9 -9
- 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/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/inlineChat/browser/inlineChatActions.js +18 -18
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- 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 +10 -10
- 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/common/terminalColorRegistry.js +23 -23
- 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
|
@@ -227,14 +227,14 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
227
227
|
delete options.position;
|
|
228
228
|
}
|
|
229
229
|
const widgetPosition = this._showWidget(options.headless ?? session?.headless, true, initPosition);
|
|
230
|
-
let errorMessage = ( localize(
|
|
230
|
+
let errorMessage = ( localize(5716, "Failed to start editor chat"));
|
|
231
231
|
if (!session) {
|
|
232
232
|
const createSessionCts = ( (new CancellationTokenSource()));
|
|
233
233
|
const msgListener = Event.once(this._messages.event)(m => {
|
|
234
234
|
this._log('state=_createSession) message received', m);
|
|
235
235
|
if (m === 32 ) {
|
|
236
236
|
options.autoSend = true;
|
|
237
|
-
this._ui.value.widget.updateInfo(( localize(
|
|
237
|
+
this._ui.value.widget.updateInfo(( localize(5717, "Getting ready...")));
|
|
238
238
|
}
|
|
239
239
|
else {
|
|
240
240
|
createSessionCts.cancel();
|
|
@@ -553,7 +553,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
553
553
|
let newPosition;
|
|
554
554
|
if (response.result?.errorDetails) ;
|
|
555
555
|
else if (response.response.value.length === 0) {
|
|
556
|
-
const status = ( localize(
|
|
556
|
+
const status = ( localize(5718, "No results, please refine your input and try again"));
|
|
557
557
|
this._ui.value.widget.updateStatus(status, { classes: ['warn'] });
|
|
558
558
|
}
|
|
559
559
|
else {
|
|
@@ -587,7 +587,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
587
587
|
await this._strategy.apply();
|
|
588
588
|
}
|
|
589
589
|
catch (err) {
|
|
590
|
-
this._dialogService.error(( localize(
|
|
590
|
+
this._dialogService.error(( localize(5719, "Failed to apply changes.", toErrorMessage(err))));
|
|
591
591
|
this._log('FAILED to apply changes');
|
|
592
592
|
this._log(err);
|
|
593
593
|
}
|
|
@@ -607,7 +607,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
607
607
|
undoCancelEdits = this._strategy.cancel();
|
|
608
608
|
}
|
|
609
609
|
catch (err) {
|
|
610
|
-
this._dialogService.error(( localize(
|
|
610
|
+
this._dialogService.error(( localize(5720, "Failed to discard changes.", toErrorMessage(err))));
|
|
611
611
|
this._log('FAILED to discard changes');
|
|
612
612
|
this._log(err);
|
|
613
613
|
}
|
|
@@ -733,7 +733,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
733
733
|
if (!this._session) {
|
|
734
734
|
return;
|
|
735
735
|
}
|
|
736
|
-
const status = ( localize(
|
|
736
|
+
const status = ( localize(5721, "Accept or discard changes to continue saving."));
|
|
737
737
|
this._ui.value.widget.updateStatus(status, { classes: ['warn'] });
|
|
738
738
|
if (this._ui.value.position) {
|
|
739
739
|
this._editor.revealLineInCenterIfOutsideViewport(this._ui.value.position.lineNumber);
|
|
@@ -198,7 +198,7 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
198
198
|
this.widget.reset();
|
|
199
199
|
this.widget.chatWidget.setVisible(false);
|
|
200
200
|
super.hide();
|
|
201
|
-
status(( localize(
|
|
201
|
+
status(( localize(10340, 'Closed inline chat widget')));
|
|
202
202
|
scrollState.restore(this.editor);
|
|
203
203
|
}
|
|
204
204
|
};
|
|
@@ -10,8 +10,8 @@ class ListResizeColumnAction extends Action2 {
|
|
|
10
10
|
constructor() {
|
|
11
11
|
super({
|
|
12
12
|
id: 'list.resizeColumn',
|
|
13
|
-
title: { value: ( localize(
|
|
14
|
-
category: { value: ( localize(
|
|
13
|
+
title: { value: ( localize(4528, "Resize Column")), original: 'Resize Column' },
|
|
14
|
+
category: { value: ( localize(4529, "List")), original: 'List' },
|
|
15
15
|
precondition: WorkbenchListFocusContextKey,
|
|
16
16
|
f1: true
|
|
17
17
|
});
|
|
@@ -16,14 +16,14 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
|
|
|
16
16
|
items.push({ label, index });
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
const column = await this._quickInputService.pick(items, { placeHolder: ( localize(
|
|
19
|
+
const column = await this._quickInputService.pick(items, { placeHolder: ( localize(9985, "Select the column to resize, type to filter.")) });
|
|
20
20
|
if (!column) {
|
|
21
21
|
return;
|
|
22
22
|
}
|
|
23
23
|
const value = await this._quickInputService.input({
|
|
24
|
-
placeHolder: ( localize(
|
|
24
|
+
placeHolder: ( localize(9986, "i.e. 20, 60, 100...")),
|
|
25
25
|
prompt: ( localize(
|
|
26
|
-
|
|
26
|
+
9987,
|
|
27
27
|
"Please enter a width in percentage for the '{0}' column.",
|
|
28
28
|
column.label
|
|
29
29
|
)),
|
|
@@ -38,11 +38,11 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
|
|
|
38
38
|
async _validateColumnResizeValue(input) {
|
|
39
39
|
const percentage = Number.parseInt(input);
|
|
40
40
|
if (input && !Number.isInteger(percentage)) {
|
|
41
|
-
return ( localize(
|
|
41
|
+
return ( localize(9988, "Please enter an integer."));
|
|
42
42
|
}
|
|
43
43
|
else if (percentage < 0 || percentage > 100) {
|
|
44
44
|
return ( localize(
|
|
45
|
-
|
|
45
|
+
9989,
|
|
46
46
|
"Please enter a number greater than 0 and less than or equal to 100."
|
|
47
47
|
));
|
|
48
48
|
}
|
|
@@ -18,7 +18,7 @@ var SetLogLevelAction_1;
|
|
|
18
18
|
let SetLogLevelAction = class SetLogLevelAction extends Action {
|
|
19
19
|
static { SetLogLevelAction_1 = this; }
|
|
20
20
|
static { this.ID = 'workbench.action.setLogLevel'; }
|
|
21
|
-
static { this.TITLE = ( localize2(
|
|
21
|
+
static { this.TITLE = ( localize2(6202, "Set Log Level...")); }
|
|
22
22
|
constructor(id, label, quickInputService, loggerService, outputService, defaultLogLevelsService) {
|
|
23
23
|
super(id, label);
|
|
24
24
|
this.quickInputService = quickInputService;
|
|
@@ -55,19 +55,19 @@ let SetLogLevelAction = class SetLogLevelAction extends Action {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
const entries = [];
|
|
58
|
-
entries.push({ type: 'separator', label: ( localize(
|
|
58
|
+
entries.push({ type: 'separator', label: ( localize(6203, "All")) });
|
|
59
59
|
entries.push(...this.getLogLevelEntries(defaultLogLevels.default, this.loggerService.getLogLevel(), true));
|
|
60
60
|
if (extensionLogs.length) {
|
|
61
|
-
entries.push({ type: 'separator', label: ( localize(
|
|
61
|
+
entries.push({ type: 'separator', label: ( localize(6204, "Extension Logs")) });
|
|
62
62
|
entries.push(...extensionLogs.sort((a, b) => a.label.localeCompare(b.label)));
|
|
63
63
|
}
|
|
64
|
-
entries.push({ type: 'separator', label: ( localize(
|
|
64
|
+
entries.push({ type: 'separator', label: ( localize(6205, "Logs")) });
|
|
65
65
|
entries.push(...logs.sort((a, b) => a.label.localeCompare(b.label)));
|
|
66
66
|
return (
|
|
67
67
|
(new Promise((resolve, reject) => {
|
|
68
68
|
const disposables = ( (new DisposableStore()));
|
|
69
69
|
const quickPick = disposables.add(this.quickInputService.createQuickPick({ useSeparators: true }));
|
|
70
|
-
quickPick.placeholder = ( localize(
|
|
70
|
+
quickPick.placeholder = ( localize(6206, "Set Log Level"));
|
|
71
71
|
quickPick.items = entries;
|
|
72
72
|
let selectedItem;
|
|
73
73
|
disposables.add(quickPick.onDidTriggerItemButton(e => {
|
|
@@ -99,7 +99,7 @@ let SetLogLevelAction = class SetLogLevelAction extends Action {
|
|
|
99
99
|
(new Promise((resolve, reject) => {
|
|
100
100
|
const disposables = ( (new DisposableStore()));
|
|
101
101
|
const quickPick = disposables.add(this.quickInputService.createQuickPick());
|
|
102
|
-
quickPick.placeholder = logChannel ? ( localize(
|
|
102
|
+
quickPick.placeholder = logChannel ? ( localize(6207, " {0}: Select log level", logChannel?.label)) : ( localize(6208, "Select log level"));
|
|
103
103
|
quickPick.items = entries;
|
|
104
104
|
quickPick.activeItems = entries.filter((entry) => entry.level === this.loggerService.getLogLevel());
|
|
105
105
|
let selectedItem;
|
|
@@ -123,7 +123,7 @@ let SetLogLevelAction = class SetLogLevelAction extends Action {
|
|
|
123
123
|
);
|
|
124
124
|
}
|
|
125
125
|
getLogLevelEntries(defaultLogLevel, currentLogLevel, canSetDefaultLogLevel) {
|
|
126
|
-
const button = canSetDefaultLogLevel ? { iconClass: ThemeIcon.asClassName(Codicon.checkAll), tooltip: ( localize(
|
|
126
|
+
const button = canSetDefaultLogLevel ? { iconClass: ThemeIcon.asClassName(Codicon.checkAll), tooltip: ( localize(6209, "Set as Default Log Level")) } : undefined;
|
|
127
127
|
return [
|
|
128
128
|
{ label: this.getLabel(LogLevel.Trace, currentLogLevel), level: LogLevel.Trace, description: this.getDescription(LogLevel.Trace, defaultLogLevel), buttons: button && defaultLogLevel !== LogLevel.Trace ? [button] : undefined },
|
|
129
129
|
{ label: this.getLabel(LogLevel.Debug, currentLogLevel), level: LogLevel.Debug, description: this.getDescription(LogLevel.Debug, defaultLogLevel), buttons: button && defaultLogLevel !== LogLevel.Debug ? [button] : undefined },
|
|
@@ -138,7 +138,7 @@ let SetLogLevelAction = class SetLogLevelAction extends Action {
|
|
|
138
138
|
return level === current ? `$(check) ${label}` : label;
|
|
139
139
|
}
|
|
140
140
|
getDescription(level, defaultLogLevel) {
|
|
141
|
-
return defaultLogLevel === level ? ( localize(
|
|
141
|
+
return defaultLogLevel === level ? ( localize(6210, "Default")) : undefined;
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
SetLogLevelAction = SetLogLevelAction_1 = ( (__decorate([
|
|
@@ -149,7 +149,7 @@ SetLogLevelAction = SetLogLevelAction_1 = ( (__decorate([
|
|
|
149
149
|
], SetLogLevelAction)));
|
|
150
150
|
(class OpenWindowSessionLogFileAction extends Action {
|
|
151
151
|
static { this.ID = 'workbench.action.openSessionLogFile'; }
|
|
152
|
-
static { this.TITLE = ( localize2(
|
|
152
|
+
static { this.TITLE = ( localize2(6211, "Open Window Log File (Session)...")); }
|
|
153
153
|
constructor(id, label, environmentService, fileService, quickInputService, editorService) {
|
|
154
154
|
super(id, label);
|
|
155
155
|
this.environmentService = environmentService;
|
|
@@ -161,10 +161,10 @@ SetLogLevelAction = SetLogLevelAction_1 = ( (__decorate([
|
|
|
161
161
|
const sessionResult = await this.quickInputService.pick(this.getSessions().then(sessions => ( (sessions.map((s, index) => ({
|
|
162
162
|
id: ( (s.toString())),
|
|
163
163
|
label: basename(s),
|
|
164
|
-
description: index === 0 ? ( localize(
|
|
164
|
+
description: index === 0 ? ( localize(6212, "Current")) : undefined
|
|
165
165
|
}))))), {
|
|
166
166
|
canPickMany: false,
|
|
167
|
-
placeHolder: ( localize(
|
|
167
|
+
placeHolder: ( localize(6213, "Select Session"))
|
|
168
168
|
});
|
|
169
169
|
if (sessionResult) {
|
|
170
170
|
const logFileResult = await this.quickInputService.pick(this.getLogFiles(( (URI.parse(sessionResult.id)))).then(logFiles => ( (logFiles.map((s) => ({
|
|
@@ -172,7 +172,7 @@ SetLogLevelAction = SetLogLevelAction_1 = ( (__decorate([
|
|
|
172
172
|
label: basename(s)
|
|
173
173
|
}))))), {
|
|
174
174
|
canPickMany: false,
|
|
175
|
-
placeHolder: ( localize(
|
|
175
|
+
placeHolder: ( localize(6214, "Select Log file"))
|
|
176
176
|
});
|
|
177
177
|
if (logFileResult) {
|
|
178
178
|
return this.editorService.openEditor({ resource: ( (URI.parse(logFileResult.id))), options: { pinned: true } }).then(() => undefined);
|
|
@@ -76,7 +76,7 @@ let MergeEditorInput = class MergeEditorInput extends AbstractTextResourceEditor
|
|
|
76
76
|
return capabilities;
|
|
77
77
|
}
|
|
78
78
|
getName() {
|
|
79
|
-
return ( localize(
|
|
79
|
+
return ( localize(7964, "Merging: {0}", super.getName()));
|
|
80
80
|
}
|
|
81
81
|
async resolve() {
|
|
82
82
|
if (!this._inputModel) {
|
|
@@ -107,12 +107,12 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
107
107
|
const isMany = inputModels.length > 1;
|
|
108
108
|
const message = isMany
|
|
109
109
|
? ( localize(
|
|
110
|
-
|
|
110
|
+
10894,
|
|
111
111
|
'Do you want keep the merge result of {0} files?',
|
|
112
112
|
inputModels.length
|
|
113
113
|
))
|
|
114
114
|
: ( localize(
|
|
115
|
-
|
|
115
|
+
10895,
|
|
116
116
|
'Do you want keep the merge result of {0}?',
|
|
117
117
|
basename(inputModels[0].model.resultTextModel.uri)
|
|
118
118
|
));
|
|
@@ -120,12 +120,12 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
120
120
|
const buttons = [
|
|
121
121
|
{
|
|
122
122
|
label: hasUnhandledConflicts ?
|
|
123
|
-
( localize(
|
|
124
|
-
( localize(
|
|
123
|
+
( localize(10896, "&&Save With Conflicts")) :
|
|
124
|
+
( localize(10897, "&&Save")),
|
|
125
125
|
run: () => 0
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
|
-
label: ( localize(
|
|
128
|
+
label: ( localize(10898, "Do&&n't Save")),
|
|
129
129
|
run: () => 1
|
|
130
130
|
}
|
|
131
131
|
];
|
|
@@ -135,16 +135,16 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
135
135
|
detail: hasUnhandledConflicts
|
|
136
136
|
? isMany
|
|
137
137
|
? ( localize(
|
|
138
|
-
|
|
138
|
+
10899,
|
|
139
139
|
"The files contain unhandled conflicts. The merge results will be lost if you don't save them."
|
|
140
140
|
))
|
|
141
141
|
: ( localize(
|
|
142
|
-
|
|
142
|
+
10900,
|
|
143
143
|
"The file contains unhandled conflicts. The merge result will be lost if you don't save it."
|
|
144
144
|
))
|
|
145
145
|
: isMany
|
|
146
|
-
? ( localize(
|
|
147
|
-
: ( localize(
|
|
146
|
+
? ( localize(10901, "The merge results will be lost if you don't save them."))
|
|
147
|
+
: ( localize(10902, "The merge result will be lost if you don't save it.")),
|
|
148
148
|
buttons,
|
|
149
149
|
cancelButton: {
|
|
150
150
|
run: () => 2
|
|
@@ -169,12 +169,12 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
169
169
|
}
|
|
170
170
|
(async () => {
|
|
171
171
|
const { confirmed } = await this.dialogService.confirm({
|
|
172
|
-
message: ( localize(
|
|
172
|
+
message: ( localize(10903, "Do you want to accept the merge result?")),
|
|
173
173
|
detail: ( localize(
|
|
174
|
-
|
|
174
|
+
10904,
|
|
175
175
|
"This will write the merge result to the original file and close the merge editor."
|
|
176
176
|
)),
|
|
177
|
-
primaryButton: ( localize(
|
|
177
|
+
primaryButton: ( localize(10905, '&&Accept Merge'))
|
|
178
178
|
});
|
|
179
179
|
if (confirmed) {
|
|
180
180
|
await this.accept();
|
|
@@ -199,7 +199,7 @@ let WorkspaceMergeEditorModeFactory = class WorkspaceMergeEditorModeFactory {
|
|
|
199
199
|
this._textModelService = _textModelService;
|
|
200
200
|
this.textFileService = textFileService;
|
|
201
201
|
}
|
|
202
|
-
static { this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource('merge-editor.source', ( localize(
|
|
202
|
+
static { this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource('merge-editor.source', ( localize(10906, "Before Resolving Conflicts In Merge Editor"))); }
|
|
203
203
|
async createInputModel(args) {
|
|
204
204
|
const store = ( (new DisposableStore()));
|
|
205
205
|
let resultTextFileModel = undefined;
|
|
@@ -309,12 +309,12 @@ let WorkspaceMergeEditorInputModel = class WorkspaceMergeEditorInputModel extend
|
|
|
309
309
|
if (someDirty) {
|
|
310
310
|
const message = isMany
|
|
311
311
|
? ( localize(
|
|
312
|
-
|
|
312
|
+
10907,
|
|
313
313
|
'Do you want to save the changes you made to {0} files?',
|
|
314
314
|
inputModels.length
|
|
315
315
|
))
|
|
316
316
|
: ( localize(
|
|
317
|
-
|
|
317
|
+
10908,
|
|
318
318
|
'Do you want to save the changes you made to {0}?',
|
|
319
319
|
basename(inputModels[0].resultUri)
|
|
320
320
|
));
|
|
@@ -324,25 +324,25 @@ let WorkspaceMergeEditorInputModel = class WorkspaceMergeEditorInputModel extend
|
|
|
324
324
|
detail: someUnhandledConflicts ?
|
|
325
325
|
isMany
|
|
326
326
|
? ( localize(
|
|
327
|
-
|
|
327
|
+
10909,
|
|
328
328
|
"The files contain unhandled conflicts. Your changes will be lost if you don't save them."
|
|
329
329
|
))
|
|
330
330
|
: ( localize(
|
|
331
|
-
|
|
331
|
+
10910,
|
|
332
332
|
"The file contains unhandled conflicts. Your changes will be lost if you don't save them."
|
|
333
333
|
))
|
|
334
334
|
: isMany
|
|
335
|
-
? ( localize(
|
|
336
|
-
: ( localize(
|
|
335
|
+
? ( localize(10911, "Your changes will be lost if you don't save them."))
|
|
336
|
+
: ( localize(10912, "Your changes will be lost if you don't save them.")),
|
|
337
337
|
buttons: [
|
|
338
338
|
{
|
|
339
339
|
label: someUnhandledConflicts
|
|
340
|
-
? ( localize(
|
|
341
|
-
: ( localize(
|
|
340
|
+
? ( localize(10913, '&&Save with Conflicts'))
|
|
341
|
+
: ( localize(10914, '&&Save')),
|
|
342
342
|
run: () => 0
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
|
-
label: ( localize(
|
|
345
|
+
label: ( localize(10915, "Do&&n't Save")),
|
|
346
346
|
run: () => 1
|
|
347
347
|
}
|
|
348
348
|
],
|
|
@@ -355,21 +355,21 @@ let WorkspaceMergeEditorInputModel = class WorkspaceMergeEditorInputModel extend
|
|
|
355
355
|
else if (someUnhandledConflicts && !this._storageService.getBoolean(StorageCloseWithConflicts, 0 , false)) {
|
|
356
356
|
const { confirmed, checkboxChecked } = await this._dialogService.confirm({
|
|
357
357
|
message: isMany
|
|
358
|
-
? ( localize(
|
|
358
|
+
? ( localize(10916, 'Do you want to close {0} merge editors?', inputModels.length))
|
|
359
359
|
: ( localize(
|
|
360
|
-
|
|
360
|
+
10917,
|
|
361
361
|
'Do you want to close the merge editor for {0}?',
|
|
362
362
|
basename(inputModels[0].resultUri)
|
|
363
363
|
)),
|
|
364
364
|
detail: someUnhandledConflicts ?
|
|
365
365
|
isMany
|
|
366
|
-
? ( localize(
|
|
367
|
-
: ( localize(
|
|
366
|
+
? ( localize(10918, "The files contain unhandled conflicts."))
|
|
367
|
+
: ( localize(10919, "The file contains unhandled conflicts."))
|
|
368
368
|
: undefined,
|
|
369
369
|
primaryButton: someUnhandledConflicts
|
|
370
|
-
? ( localize(
|
|
371
|
-
: ( localize(
|
|
372
|
-
checkbox: { label: ( localize(
|
|
370
|
+
? ( localize(10920, '&&Close with Conflicts'))
|
|
371
|
+
: ( localize(10921, '&&Close')),
|
|
372
|
+
checkbox: { label: ( localize(10922, "Do not ask me again")) }
|
|
373
373
|
});
|
|
374
374
|
if (checkboxChecked) {
|
|
375
375
|
this._storageService.store(StorageCloseWithConflicts, true, 0 , 0 );
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { localize } from '../../../../nls.js';
|
|
2
2
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
3
|
|
|
4
|
-
const ctxIsMergeEditor = ( (new RawContextKey('isMergeEditor', false, { type: 'boolean', description: ( localize(
|
|
4
|
+
const ctxIsMergeEditor = ( (new RawContextKey('isMergeEditor', false, { type: 'boolean', description: ( localize(11100, 'The editor is a merge editor')) })));
|
|
5
5
|
const ctxIsMergeResultEditor = ( (new RawContextKey(
|
|
6
6
|
'isMergeResultEditor',
|
|
7
7
|
false,
|
|
8
|
-
{ type: 'boolean', description: ( localize(
|
|
8
|
+
{ type: 'boolean', description: ( localize(11101, 'The editor is a the result editor of a merge editor.')) }
|
|
9
9
|
)));
|
|
10
10
|
const ctxMergeEditorLayout = ( (new RawContextKey(
|
|
11
11
|
'mergeEditorLayout',
|
|
12
12
|
'mixed',
|
|
13
|
-
{ type: 'string', description: ( localize(
|
|
13
|
+
{ type: 'string', description: ( localize(11102, 'The layout mode of a merge editor')) }
|
|
14
14
|
)));
|
|
15
15
|
const ctxMergeEditorShowBase = ( (new RawContextKey(
|
|
16
16
|
'mergeEditorShowBase',
|
|
17
17
|
false,
|
|
18
|
-
{ type: 'boolean', description: ( localize(
|
|
18
|
+
{ type: 'boolean', description: ( localize(11103, 'If the merge editor shows the base version')) }
|
|
19
19
|
)));
|
|
20
20
|
const ctxMergeEditorShowBaseAtTop = ( (new RawContextKey(
|
|
21
21
|
'mergeEditorShowBaseAtTop',
|
|
22
22
|
false,
|
|
23
|
-
{ type: 'boolean', description: ( localize(
|
|
23
|
+
{ type: 'boolean', description: ( localize(11104, 'If base should be shown at the top')) }
|
|
24
24
|
)));
|
|
25
25
|
const ctxMergeEditorShowNonConflictingChanges = ( (new RawContextKey(
|
|
26
26
|
'mergeEditorShowNonConflictingChanges',
|
|
27
27
|
false,
|
|
28
|
-
{ type: 'boolean', description: ( localize(
|
|
28
|
+
{ type: 'boolean', description: ( localize(11105, 'If the merge editor shows non-conflicting changes')) }
|
|
29
29
|
)));
|
|
30
|
-
const ctxMergeBaseUri = ( (new RawContextKey('mergeEditorBaseUri', '', { type: 'string', description: ( localize(
|
|
31
|
-
const ctxMergeResultUri = ( (new RawContextKey('mergeEditorResultUri', '', { type: 'string', description: ( localize(
|
|
30
|
+
const ctxMergeBaseUri = ( (new RawContextKey('mergeEditorBaseUri', '', { type: 'string', description: ( localize(11106, 'The uri of the baser of a merge editor')) })));
|
|
31
|
+
const ctxMergeResultUri = ( (new RawContextKey('mergeEditorResultUri', '', { type: 'string', description: ( localize(11107, 'The uri of the result of a merge editor')) })));
|
|
32
32
|
const StorageCloseWithConflicts = 'mergeEditorCloseWithConflicts';
|
|
33
33
|
|
|
34
34
|
export { StorageCloseWithConflicts, ctxIsMergeEditor, ctxIsMergeResultEditor, ctxMergeBaseUri, ctxMergeEditorLayout, ctxMergeEditorShowBase, ctxMergeEditorShowBaseAtTop, ctxMergeEditorShowNonConflictingChanges, ctxMergeResultUri };
|
|
@@ -2,6 +2,6 @@ import { Codicon } from '../../../../base/common/codicons.js';
|
|
|
2
2
|
import { localize } from '../../../../nls.js';
|
|
3
3
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
4
4
|
|
|
5
|
-
const MultiDiffEditorIcon = registerIcon('multi-diff-editor-label-icon', Codicon.diffMultiple, ( localize(
|
|
5
|
+
const MultiDiffEditorIcon = registerIcon('multi-diff-editor-label-icon', Codicon.diffMultiple, ( localize(10474, 'Icon of the multi diff editor label.')));
|
|
6
6
|
|
|
7
7
|
export { MultiDiffEditorIcon };
|
|
@@ -117,9 +117,9 @@ let MultiDiffEditorInput = class MultiDiffEditorInput extends EditorInput {
|
|
|
117
117
|
};
|
|
118
118
|
this._register(autorun((reader) => {
|
|
119
119
|
const resources = this.resources.read(reader);
|
|
120
|
-
const label = this.label ?? ( localize(
|
|
120
|
+
const label = this.label ?? ( localize(6181, "Multi Diff Editor"));
|
|
121
121
|
if (resources) {
|
|
122
|
-
this._name = label + ( localize(
|
|
122
|
+
this._name = label + ( localize(6182, " ({0} files)", resources.length));
|
|
123
123
|
}
|
|
124
124
|
else {
|
|
125
125
|
this._name = label;
|
|
@@ -133,7 +133,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
133
133
|
return [{
|
|
134
134
|
text: `$(${successStateIcon.id})`,
|
|
135
135
|
color: themeColorFromId(cellStatusIconSuccess),
|
|
136
|
-
tooltip: ( localize(
|
|
136
|
+
tooltip: ( localize(8161, "Success")),
|
|
137
137
|
alignment: 1 ,
|
|
138
138
|
priority: Number.MAX_SAFE_INTEGER
|
|
139
139
|
}];
|
|
@@ -142,7 +142,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
142
142
|
return [{
|
|
143
143
|
text: `$(${errorStateIcon.id})`,
|
|
144
144
|
color: themeColorFromId(cellStatusIconError),
|
|
145
|
-
tooltip: ( localize(
|
|
145
|
+
tooltip: ( localize(8162, "Failed")),
|
|
146
146
|
alignment: 1 ,
|
|
147
147
|
priority: Number.MAX_SAFE_INTEGER
|
|
148
148
|
}];
|
|
@@ -150,7 +150,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
150
150
|
else if (state === NotebookCellExecutionState.Pending || state === NotebookCellExecutionState.Unconfirmed) {
|
|
151
151
|
return [{
|
|
152
152
|
text: `$(${pendingStateIcon.id})`,
|
|
153
|
-
tooltip: ( localize(
|
|
153
|
+
tooltip: ( localize(8163, "Pending")),
|
|
154
154
|
alignment: 1 ,
|
|
155
155
|
priority: Number.MAX_SAFE_INTEGER
|
|
156
156
|
}];
|
|
@@ -161,7 +161,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
161
161
|
ThemeIcon.modify(executingStateIcon, 'spin');
|
|
162
162
|
return [{
|
|
163
163
|
text: `$(${icon.id})`,
|
|
164
|
-
tooltip: ( localize(
|
|
164
|
+
tooltip: ( localize(8164, "Executing")),
|
|
165
165
|
alignment: 1 ,
|
|
166
166
|
priority: Number.MAX_SAFE_INTEGER
|
|
167
167
|
}];
|
|
@@ -265,10 +265,10 @@ let TimerCellStatusBarItem = class TimerCellStatusBarItem extends Disposable {
|
|
|
265
265
|
}));
|
|
266
266
|
renderTimes += `- [${rendererInfo?.displayName ?? key}](command:workbench.action.openIssueReporter?${args}) ${formatCellDuration(renderDuration[key])}\n`;
|
|
267
267
|
}
|
|
268
|
-
renderTimes += `\n*${( localize(
|
|
268
|
+
renderTimes += `\n*${( localize(8165, "Use the links above to file an issue using the issue reporter."))}*\n`;
|
|
269
269
|
tooltip = {
|
|
270
270
|
value: ( localize(
|
|
271
|
-
|
|
271
|
+
8166,
|
|
272
272
|
"**Last Execution** {0}\n\n**Execution Time** {1}\n\n**Overhead Time** {2}\n\n**Render Times**\n\n{3}",
|
|
273
273
|
lastExecution,
|
|
274
274
|
formatCellDuration(executionDuration),
|
|
@@ -274,10 +274,10 @@ let NotebookFindWidget = class NotebookFindWidget extends SimpleFindReplaceWidge
|
|
|
274
274
|
_getAriaLabel(label, currentMatch, searchString) {
|
|
275
275
|
if (label === NLS_NO_RESULTS) {
|
|
276
276
|
return searchString === ''
|
|
277
|
-
? ( localize(
|
|
278
|
-
: ( localize(
|
|
277
|
+
? ( localize(10333, "{0} found", label))
|
|
278
|
+
: ( localize(10334, "{0} found for '{1}'", label, searchString));
|
|
279
279
|
}
|
|
280
|
-
return ( localize(
|
|
280
|
+
return ( localize(10335, "{0} found for '{1}'", label, searchString));
|
|
281
281
|
}
|
|
282
282
|
dispose() {
|
|
283
283
|
this._notebookEditor?.removeClassName(FIND_SHOW_TRANSITION);
|
|
@@ -182,7 +182,7 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
182
182
|
const knownProvider = this._notebookService.getViewTypeProvider(input.viewType);
|
|
183
183
|
if (!knownProvider) {
|
|
184
184
|
throw ( (new Error(localize(
|
|
185
|
-
|
|
185
|
+
8018,
|
|
186
186
|
"Cannot open resource with notebook editor type '{0}', please check if you have the right extension installed and enabled.",
|
|
187
187
|
input.viewType
|
|
188
188
|
))));
|
|
@@ -190,14 +190,14 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
190
190
|
await this._extensionsWorkbenchService.whenInitialized;
|
|
191
191
|
const extensionInfo = this._extensionsWorkbenchService.local.find(e => e.identifier.id === knownProvider);
|
|
192
192
|
throw createEditorOpenError(( (new Error(localize(
|
|
193
|
-
|
|
193
|
+
8019,
|
|
194
194
|
"Cannot open resource with notebook editor type '{0}', please check if you have the right extension installed and enabled.",
|
|
195
195
|
input.viewType
|
|
196
196
|
)))), [
|
|
197
197
|
toAction({
|
|
198
198
|
id: 'workbench.notebook.action.installOrEnableMissing', label: extensionInfo
|
|
199
|
-
? localize(
|
|
200
|
-
: localize(
|
|
199
|
+
? localize(8020, "Enable extension for '{0}'", input.viewType)
|
|
200
|
+
: localize(8021, "Install extension for '{0}'", input.viewType),
|
|
201
201
|
run: async () => {
|
|
202
202
|
const d = this._notebookService.onAddViewType(viewType => {
|
|
203
203
|
if (viewType === input.viewType) {
|
|
@@ -221,7 +221,7 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
221
221
|
}
|
|
222
222
|
}),
|
|
223
223
|
toAction({
|
|
224
|
-
id: 'workbench.notebook.action.openAsText', label: localize(
|
|
224
|
+
id: 'workbench.notebook.action.openAsText', label: localize(8022, "Open As Text"), run: async () => {
|
|
225
225
|
const backup = await this._workingCopyBackupService.resolve({ resource: input.resource, typeId: NotebookWorkingCopyTypeIdentifier.create(input.viewType) });
|
|
226
226
|
if (backup) {
|
|
227
227
|
const contents = await streamToBuffer(backup.value);
|
|
@@ -264,14 +264,14 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
264
264
|
let message;
|
|
265
265
|
if (e instanceof TooLargeFileOperationError) {
|
|
266
266
|
message = ( localize(
|
|
267
|
-
|
|
267
|
+
8023,
|
|
268
268
|
"The notebook is not displayed in the notebook editor because it is very large ({0}).",
|
|
269
269
|
ByteSize.formatSize(e.size)
|
|
270
270
|
));
|
|
271
271
|
}
|
|
272
272
|
else {
|
|
273
273
|
message = ( localize(
|
|
274
|
-
|
|
274
|
+
8024,
|
|
275
275
|
"The notebook is not displayed in the notebook editor because it is very large."
|
|
276
276
|
));
|
|
277
277
|
}
|
|
@@ -279,7 +279,7 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
279
279
|
}
|
|
280
280
|
const error = createEditorOpenError(e instanceof Error ? e : ( (new Error((e ? e.message : '')))), [
|
|
281
281
|
toAction({
|
|
282
|
-
id: 'workbench.notebook.action.openInTextEditor', label: ( localize(
|
|
282
|
+
id: 'workbench.notebook.action.openInTextEditor', label: ( localize(8025, "Open in Text Editor")), run: async () => {
|
|
283
283
|
const activeEditorPane = this._editorService.activeEditorPane;
|
|
284
284
|
if (!activeEditorPane) {
|
|
285
285
|
return;
|
|
@@ -49,8 +49,8 @@ let NotebookEditorInput = class NotebookEditorInput extends AbstractResourceEdit
|
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
51
|
const reason = e.auto
|
|
52
|
-
? ( localize(
|
|
53
|
-
: ( localize(
|
|
52
|
+
? ( localize(7807, "One of the opened editors is a notebook editor."))
|
|
53
|
+
: ( localize(7808, "Notebook '{0}' could not be saved.", this.resource.path));
|
|
54
54
|
e.veto((async () => {
|
|
55
55
|
const editors = editorService.findEditors(this);
|
|
56
56
|
if (e.auto) {
|
|
@@ -128,7 +128,7 @@ let DefineKeybindingWidget = class DefineKeybindingWidget extends Widget {
|
|
|
128
128
|
this._domNode.setClassName('defineKeybindingWidget');
|
|
129
129
|
this._domNode.setWidth(DefineKeybindingWidget_1.WIDTH);
|
|
130
130
|
this._domNode.setHeight(DefineKeybindingWidget_1.HEIGHT);
|
|
131
|
-
const message = ( localize(
|
|
131
|
+
const message = ( localize(8874, "Press desired key combination and then press ENTER."));
|
|
132
132
|
append(this._domNode.domNode, $('.message', undefined, message));
|
|
133
133
|
this._domNode.domNode.style.backgroundColor = asCssVariable(editorWidgetBackground);
|
|
134
134
|
this._domNode.domNode.style.color = asCssVariable(editorWidgetForeground);
|
|
@@ -176,7 +176,7 @@ let DefineKeybindingWidget = class DefineKeybindingWidget extends Widget {
|
|
|
176
176
|
printExisting(numberOfExisting) {
|
|
177
177
|
if (numberOfExisting > 0) {
|
|
178
178
|
const existingElement = $('span.existingText');
|
|
179
|
-
const text = numberOfExisting === 1 ? ( localize(
|
|
179
|
+
const text = numberOfExisting === 1 ? ( localize(8875, "1 existing command has this keybinding", numberOfExisting)) : ( localize(8876, "{0} existing commands have this keybinding", numberOfExisting));
|
|
180
180
|
append(existingElement, document.createTextNode(text));
|
|
181
181
|
alert(text);
|
|
182
182
|
this._showExistingKeybindingsNode.appendChild(existingElement);
|
|
@@ -194,7 +194,7 @@ let DefineKeybindingWidget = class DefineKeybindingWidget extends Widget {
|
|
|
194
194
|
firstLabel.set(this._chords?.[0] ?? undefined);
|
|
195
195
|
if (this._chords) {
|
|
196
196
|
for (let i = 1; i < this._chords.length; i++) {
|
|
197
|
-
this._outputNode.appendChild(document.createTextNode(( localize(
|
|
197
|
+
this._outputNode.appendChild(document.createTextNode(( localize(8877, "chord to"))));
|
|
198
198
|
const chordLabel = this._keybindingDisposables.add(( (new KeybindingLabel(this._outputNode, OS, defaultKeybindingLabelStyles))));
|
|
199
199
|
chordLabel.set(this._chords[i]);
|
|
200
200
|
}
|