@codingame/monaco-vscode-api 7.1.0 → 7.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/api.js +60 -10
- package/extensions.d.ts +9 -0
- package/l10n.d.ts +13 -1
- package/l10n.js +3 -2
- package/missing-services.js +35 -21
- package/package.json +9 -9
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/browser.js +4 -1
- package/vscode/src/vs/base/browser/defaultWorkerFactory.js +7 -1
- package/vscode/src/vs/base/browser/dom.js +8 -1
- package/vscode/src/vs/base/browser/markdownRenderer.js +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +13 -6
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +2 -3
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +7 -8
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +2 -3
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +2 -3
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -5
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +3 -4
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +3 -5
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +3 -4
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +7 -8
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +2 -3
- package/vscode/src/vs/base/browser/ui/list/listView.js +2 -2
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +2 -3
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +4 -5
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +2 -3
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -3
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +11 -12
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +2 -3
- package/vscode/src/vs/base/common/actions.js +2 -3
- package/vscode/src/vs/base/common/arrays.js +7 -1
- package/vscode/src/vs/base/common/date.js +61 -63
- package/vscode/src/vs/base/common/errorMessage.js +8 -22
- package/vscode/src/vs/base/common/event.d.ts +16 -0
- package/vscode/src/vs/base/common/event.js +4 -0
- package/vscode/src/vs/base/common/hotReload.js +13 -1
- package/vscode/src/vs/base/common/hotReloadHelpers.js +25 -0
- package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -11
- package/vscode/src/vs/base/common/jsonSchema.js +122 -0
- package/vscode/src/vs/base/common/keybindingLabels.js +21 -22
- package/vscode/src/vs/base/common/labels.js +2 -2
- package/vscode/src/vs/base/common/network.js +1 -1
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/base.js +6 -0
- package/vscode/src/vs/base/common/observableInternal/utils.js +4 -1
- package/vscode/src/vs/base/common/path.d.ts +1 -1
- package/vscode/src/vs/base/common/path.js +20 -17
- package/vscode/src/vs/base/common/performance.js +78 -15
- package/vscode/src/vs/base/common/platform.js +14 -17
- package/vscode/src/vs/base/common/prefixTree.d.ts +2 -0
- package/vscode/src/vs/base/common/prefixTree.js +3 -0
- package/vscode/src/vs/base/common/product.d.ts +3 -7
- package/vscode/src/vs/base/common/uri.js +3 -0
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +6 -3
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +66 -18
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +18 -5
- package/vscode/src/vs/editor/browser/controller/pointerHandler.js +3 -3
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +9 -13
- package/vscode/src/vs/editor/browser/coreCommands.js +4 -5
- package/vscode/src/vs/editor/browser/editorExtensions.js +7 -8
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +2 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +2 -3
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +2 -3
- package/vscode/src/vs/editor/browser/view.js +3 -1
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +1 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +4 -6
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +13 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +17 -38
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +20 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +6 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +11 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +10 -13
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +6 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +37 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +4 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +33 -23
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +91 -41
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +9 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +3 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +7 -13
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +80 -21
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +4 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +24 -18
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +26 -13
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +4 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +8 -4
- package/vscode/src/vs/editor/common/config/diffEditor.js +2 -0
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +86 -115
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +11 -1
- package/vscode/src/vs/editor/common/config/editorOptions.js +547 -932
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +102 -144
- package/vscode/src/vs/editor/common/core/lineRange.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +11 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +2 -2
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +8 -3
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +34 -34
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +7 -0
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +40 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +52 -69
- package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -1
- package/vscode/src/vs/editor/common/languageFeatureRegistry.js +27 -14
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +2 -3
- package/vscode/src/vs/editor/common/languages.d.ts +4 -0
- package/vscode/src/vs/editor/common/languages.js +28 -29
- package/vscode/src/vs/editor/common/model/editStack.js +2 -3
- package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +57 -54
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +3 -9
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +1 -1
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +7 -14
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +7 -12
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +3 -4
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +2 -3
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +18 -19
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +2 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -53
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +22 -10
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +8 -9
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +9 -10
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +183 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +4 -5
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +3 -4
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +2 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +3 -4
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +10 -13
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +7 -8
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +12 -15
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +3 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +5 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -11
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +9 -10
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +3 -5
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +4 -5
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +3 -16
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +3 -5
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +20 -24
- package/vscode/src/vs/editor/contrib/find/browser/findModel.js +6 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +31 -35
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -21
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +11 -25
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +4 -5
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +3 -4
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +9 -10
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +18 -25
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +46 -47
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToSymbol.js +42 -17
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +3 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +5 -13
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +4 -5
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +4 -5
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +15 -22
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +7 -11
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +5 -7
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +8 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +24 -38
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +3 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +25 -27
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +12 -15
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -7
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +3 -4
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +21 -22
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +9 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +12 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +7 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +51 -42
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +3 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +6 -7
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +12 -16
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.contribution.js +0 -3
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.css.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +58 -39
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.css.js +4 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.js +301 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +7 -8
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +2 -3
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -32
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +3 -4
- package/vscode/src/vs/editor/contrib/links/browser/links.js +12 -14
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +2 -3
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +23 -24
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +2 -3
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +11 -12
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +20 -35
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +5 -56
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +71 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +8 -11
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +35 -41
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -4
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +13 -25
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +9 -11
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +5 -6
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +5 -6
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +5 -6
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +13 -15
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +10 -20
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +12 -14
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +19 -32
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +3 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +3 -4
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +67 -101
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +6 -12
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +2 -3
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +30 -49
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +7 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +18 -27
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +5 -6
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +2 -3
- package/vscode/src/vs/nls.js +27 -21
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +15 -9
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.js +1 -16
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +0 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +53 -56
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +7 -8
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +5 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +8 -9
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +4 -5
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +43 -13
- package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -6
- package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -0
- package/vscode/src/vs/platform/actions/common/actions.js +4 -0
- package/vscode/src/vs/platform/actions/common/actions.service.d.ts +14 -1
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +2 -3
- package/vscode/src/vs/platform/actions/common/menuService.js +52 -21
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +11 -3
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +14 -8
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +180 -146
- package/vscode/src/vs/platform/configuration/common/configurations.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -3
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +13 -21
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -15
- package/vscode/src/vs/platform/contextkey/common/scanner.js +7 -16
- package/vscode/src/vs/platform/contextview/browser/contextMenuService.js +2 -3
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +11 -13
- package/vscode/src/vs/platform/dnd/browser/dnd.js +3 -5
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +7 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -5
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +3 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +25 -33
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +33 -67
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +3 -18
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +31 -0
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +3 -8
- package/vscode/src/vs/platform/files/common/files.js +7 -8
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +2 -3
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +5 -0
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +10 -0
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.js +8 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +9 -14
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +2 -3
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +4 -5
- package/vscode/src/vs/platform/list/browser/listService.js +43 -71
- package/vscode/src/vs/platform/log/common/log.js +7 -8
- package/vscode/src/vs/platform/markers/common/markers.js +4 -5
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +51 -0
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +39 -32
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +7 -11
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +14 -11
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +99 -142
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +3 -5
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +3 -4
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +16 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +6 -1
- package/vscode/src/vs/platform/request/common/request.js +23 -36
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +11 -2
- package/vscode/src/vs/platform/theme/common/colorUtils.js +3 -4
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +27 -37
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +10 -11
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +120 -207
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +53 -61
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +51 -98
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +8 -9
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +13 -15
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +12 -16
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +13 -17
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +4 -9
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +7 -9
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +49 -56
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +35 -55
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +2 -3
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +5 -8
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +38 -19
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +3 -5
- package/vscode/src/vs/platform/workspace/common/workspace.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +88 -8
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +60 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +48 -18
- package/vscode/src/vs/workbench/api/common/extHostComments.js +26 -4
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +4 -6
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostEmbedding.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +6 -5
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +19 -17
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +45 -48
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +3 -9
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +12 -8
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +4 -6
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +3 -5
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +2 -8
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +69 -6
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +4 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +3 -4
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +41 -11
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +78 -23
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +10 -5
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +19 -30
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +41 -59
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +161 -132
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +7 -8
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +30 -43
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +22 -23
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +5 -6
- package/vscode/src/vs/workbench/browser/actions.js +2 -3
- package/vscode/src/vs/workbench/browser/editor.js +3 -4
- package/vscode/src/vs/workbench/browser/labels.js +3 -4
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +12 -17
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +16 -25
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +5 -7
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +45 -53
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +12 -13
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +7 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +153 -156
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +206 -329
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommandsContext.js +134 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +14 -15
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +3 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +15 -23
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +8 -11
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +63 -75
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +3 -4
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +16 -17
- package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +1 -3
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +6 -9
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +17 -19
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +18 -19
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +7 -11
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +7 -8
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +10 -11
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +9 -24
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +16 -28
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +4 -11
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +6 -13
- package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +48 -49
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +20 -22
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +3 -4
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +55 -49
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +12 -11
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +11 -11
- package/vscode/src/vs/workbench/browser/quickaccess.js +2 -3
- package/vscode/src/vs/workbench/browser/window.js +20 -28
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +376 -584
- package/vscode/src/vs/workbench/common/configuration.js +15 -19
- package/vscode/src/vs/workbench/common/contextkeys.js +87 -100
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -3
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -9
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +3 -5
- package/vscode/src/vs/workbench/common/editor.d.ts +5 -2
- package/vscode/src/vs/workbench/common/editor.js +5 -6
- package/vscode/src/vs/workbench/common/theme.js +281 -450
- package/vscode/src/vs/workbench/common/views.js +7 -11
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +207 -284
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +50 -16
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +5 -2
- package/vscode/src/vs/workbench/contrib/accessibility/common/accessibilityCommands.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +29 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +10 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +26 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +3 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +119 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +48 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +11 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +62 -33
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTaskContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +3 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +47 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +64 -37
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownRenderer.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +36 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +32 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +0 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +7 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +17 -28
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +59 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +10 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +9 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +16 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +8 -14
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActions.contribution.js +3 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +80 -23
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +11 -12
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +7 -8
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +5 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +25 -30
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +5 -7
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +11 -12
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +5 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +7 -8
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +45 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +3 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +6 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +9 -11
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +10 -15
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +5 -6
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +14 -49
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +21 -18
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +4 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +8 -13
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +43 -25
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +27 -39
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +10 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +2 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +15 -18
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +25 -29
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +10 -11
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +11 -15
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +1 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -17
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +6 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +2 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +33 -36
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +18 -22
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +77 -97
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +15 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +13 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +35 -40
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +58 -75
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +4 -5
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +2 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +90 -205
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +28 -11
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +2 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +3 -4
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +2 -3
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +5 -6
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +342 -359
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +35 -74
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +8 -19
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +3 -4
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +5 -7
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +7 -14
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +6 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +2 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +12 -20
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +28 -38
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +18 -22
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +108 -168
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +55 -30
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +9 -9
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +45 -59
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +102 -151
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +3 -4
- package/vscode/src/vs/workbench/contrib/files/browser/files.js +21 -12
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +2 -3
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +6 -8
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +9 -10
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +20 -29
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +54 -35
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +7 -10
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +2 -3
- package/vscode/src/vs/workbench/contrib/files/common/files.js +19 -40
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +5 -7
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +28 -36
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +5 -6
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +2 -3
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -10
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +23 -25
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +20 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +26 -88
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +2 -34
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +7 -8
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +13 -33
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +2 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +51 -91
- package/vscode/src/vs/workbench/contrib/issue/common/issue.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +2 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +40 -56
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +3 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +9 -10
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +2 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +43 -46
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +6 -5
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +3 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +8 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +18 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +4 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +3 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +30 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +7 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +16 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +9 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +4 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +5 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +13 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +29 -54
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +11 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +54 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +3 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +5 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +4 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +3 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +3 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +5 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +22 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +17 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +13 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +51 -43
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +18 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +3 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +3 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +4 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +14 -24
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -51
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +3 -2
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +24 -31
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +27 -39
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +18 -23
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +68 -80
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +3 -4
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +26 -57
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +11 -12
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +2 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +14 -16
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +3 -4
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +2 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +3 -4
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +5 -19
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +17 -29
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +30 -31
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +9 -13
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +9 -13
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +5 -7
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -14
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +33 -34
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +9 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +37 -51
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +21 -37
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +29 -34
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminal.suggest.js +4 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +16 -13
- package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -7
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +23 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +23 -1
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +7 -8
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +4 -5
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +21 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +2 -3
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +3 -8
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +17 -11
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +23 -25
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +21 -34
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +3 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +35 -53
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +3 -5
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +2 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +7 -8
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +145 -236
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +14 -19
- package/vscode/src/vs/workbench/services/language/common/languageService.js +40 -57
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +8 -2
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.d.ts +34 -4
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.js +6 -1
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +3 -3
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +3 -4
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +8 -9
- package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +1 -3
- package/vscode/src/vs/workbench/services/preferences/common/preferences.js +2 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +5 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +3 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.d.ts +5 -3
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.d.ts +1 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteAgentService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +14 -20
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +9 -9
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +2 -8
- package/vscode/src/vs/workbench/services/search/common/search.js +1 -1
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.js +41 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +12 -27
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +4 -5
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +34 -50
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +22 -31
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +4 -5
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +2 -3
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -13
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +8 -9
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +25 -33
- package/vscode-dts/vscode.proposed.aiTextSearchProviderNew.d.ts +119 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +61 -3
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +26 -0
- package/vscode-dts/vscode.proposed.commentReveal.d.ts +21 -8
- package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +0 -2
- package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemChangesMenu.d.ts +7 -0
- package/vscode-dts/vscode.proposed.fileComments.d.ts +1 -1
- package/vscode-dts/vscode.proposed.fileSearchProviderNew.d.ts +100 -0
- package/vscode-dts/vscode.proposed.findFiles2New.d.ts +80 -0
- package/vscode-dts/vscode.proposed.findTextInFilesNew.d.ts +143 -0
- package/vscode-dts/vscode.proposed.lmTools.d.ts +5 -0
- package/vscode-dts/vscode.proposed.quickInputButtonLocation.d.ts +29 -0
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
- package/vscode-dts/vscode.proposed.testMessageStackTrace.d.ts +38 -0
- package/vscode-dts/vscode.proposed.testRelatedCode.d.ts +36 -0
- package/vscode-dts/vscode.proposed.textSearchCompleteNew.d.ts +46 -0
- package/vscode-dts/vscode.proposed.textSearchProviderNew.d.ts +234 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.js +0 -14
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +0 -115
- package/vscode/src/vs/platform/issue/common/issue.service.js +0 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +0 -570
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +0 -207
- package/vscode/src/vs/workbench/contrib/testing/common/observableValue.js +0 -30
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +0 -1016
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +0 -390
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import {
|
|
2
|
+
import { localize } from '../../nls.js';
|
|
3
3
|
import { ConfigurationScope, Extensions as Extensions$1 } from '../../platform/configuration/common/configurationRegistry.js';
|
|
4
4
|
import { Registry } from '../../platform/registry/common/platform.js';
|
|
5
5
|
import { WorkbenchState } from '../../platform/workspace/common/workspace.js';
|
|
@@ -13,36 +13,35 @@ import { isWindows, OperatingSystem } from '../../base/common/platform.js';
|
|
|
13
13
|
import { equals } from '../../base/common/objects.js';
|
|
14
14
|
import { DeferredPromise } from '../../base/common/async.js';
|
|
15
15
|
import { IUserDataProfilesService } from '../../platform/userDataProfile/common/userDataProfile.service.js';
|
|
16
|
-
const _moduleId = "vs/workbench/common/configuration";
|
|
17
16
|
const applicationConfigurationNodeBase = ( (Object.freeze({
|
|
18
17
|
'id': 'application',
|
|
19
18
|
'order': 100,
|
|
20
|
-
'title': (
|
|
19
|
+
'title': ( localize(4699, "Application")),
|
|
21
20
|
'type': 'object'
|
|
22
21
|
})));
|
|
23
22
|
const workbenchConfigurationNodeBase = ( (Object.freeze({
|
|
24
23
|
'id': 'workbench',
|
|
25
24
|
'order': 7,
|
|
26
|
-
'title': (
|
|
25
|
+
'title': ( localize(4700, "Workbench")),
|
|
27
26
|
'type': 'object',
|
|
28
27
|
})));
|
|
29
28
|
const securityConfigurationNodeBase = ( (Object.freeze({
|
|
30
29
|
'id': 'security',
|
|
31
30
|
'scope': ConfigurationScope.APPLICATION,
|
|
32
|
-
'title': (
|
|
31
|
+
'title': ( localize(4701, "Security")),
|
|
33
32
|
'type': 'object',
|
|
34
33
|
'order': 7
|
|
35
34
|
})));
|
|
36
35
|
const problemsConfigurationNodeBase = ( (Object.freeze({
|
|
37
36
|
'id': 'problems',
|
|
38
|
-
'title': (
|
|
37
|
+
'title': ( localize(4702, "Problems")),
|
|
39
38
|
'type': 'object',
|
|
40
39
|
'order': 101
|
|
41
40
|
})));
|
|
42
41
|
const windowConfigurationNodeBase = ( (Object.freeze({
|
|
43
42
|
'id': 'window',
|
|
44
43
|
'order': 8,
|
|
45
|
-
'title': (
|
|
44
|
+
'title': ( localize(4703, "Window")),
|
|
46
45
|
'type': 'object',
|
|
47
46
|
})));
|
|
48
47
|
const Extensions = {
|
|
@@ -179,12 +178,11 @@ let DynamicWorkbenchSecurityConfiguration = class DynamicWorkbenchSecurityConfig
|
|
|
179
178
|
'items': {
|
|
180
179
|
'type': 'string',
|
|
181
180
|
'pattern': '^[^\\\\]+$',
|
|
182
|
-
'patternErrorMessage': (
|
|
181
|
+
'patternErrorMessage': ( localize(4704, 'UNC host names must not contain backslashes.'))
|
|
183
182
|
},
|
|
184
183
|
'default': [],
|
|
185
|
-
'markdownDescription': (
|
|
186
|
-
|
|
187
|
-
6,
|
|
184
|
+
'markdownDescription': ( localize(
|
|
185
|
+
4705,
|
|
188
186
|
'A set of UNC host names (without leading or trailing backslash, for example `192.168.0.1` or `my-server`) to allow without user confirmation. If a UNC host is being accessed that is not allowed via this setting or has not been acknowledged via user confirmation, an error will occur and the operation stopped. A restart is required when changing this setting. Find out more about this setting at https://aka.ms/vscode-windows-unc.'
|
|
189
187
|
)),
|
|
190
188
|
'scope': ConfigurationScope.MACHINE
|
|
@@ -192,9 +190,8 @@ let DynamicWorkbenchSecurityConfiguration = class DynamicWorkbenchSecurityConfig
|
|
|
192
190
|
'security.restrictUNCAccess': {
|
|
193
191
|
'type': 'boolean',
|
|
194
192
|
'default': true,
|
|
195
|
-
'markdownDescription': (
|
|
196
|
-
|
|
197
|
-
7,
|
|
193
|
+
'markdownDescription': ( localize(
|
|
194
|
+
4706,
|
|
198
195
|
'If enabled, only allows access to UNC host names that are allowed by the `#security.allowedUNCHosts#` setting or after user confirmation. Find out more about this setting at https://aka.ms/vscode-windows-unc.'
|
|
199
196
|
)),
|
|
200
197
|
'scope': ConfigurationScope.MACHINE
|
|
@@ -233,11 +230,10 @@ let DynamicWindowConfiguration = class DynamicWindowConfiguration extends Dispos
|
|
|
233
230
|
'type': ['string', 'null'],
|
|
234
231
|
'default': null,
|
|
235
232
|
'enum': [...( (this.userDataProfilesService.profiles.map(profile => profile.name))), null],
|
|
236
|
-
'enumItemLabels': [...( (this.userDataProfilesService.profiles.map(p => ''))), (
|
|
237
|
-
'description': (
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
"Specifies the profile to use when opening a new window. If a profile name is provided, the new window will use that profile. If no profile name is provided, the new window will use the profile of the active window or the default profile if no active window exists."
|
|
233
|
+
'enumItemLabels': [...( (this.userDataProfilesService.profiles.map(p => ''))), ( localize(4707, "Active Window"))],
|
|
234
|
+
'description': ( localize(
|
|
235
|
+
4708,
|
|
236
|
+
"Specifies the profile to use when opening a new window. If a profile name is provided, the new window will use that profile. If no profile name is provided, the new window will use the profile of the active window or the Default profile if no active window exists."
|
|
241
237
|
)),
|
|
242
238
|
'scope': ConfigurationScope.APPLICATION,
|
|
243
239
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import { DisposableStore } from '../../base/common/lifecycle.js';
|
|
3
|
-
import {
|
|
3
|
+
import { localize } from '../../nls.js';
|
|
4
4
|
import { RawContextKey } from '../../platform/contextkey/common/contextkey.js';
|
|
5
5
|
import { IContextKeyService } from '../../platform/contextkey/common/contextkey.service.js';
|
|
6
6
|
import { isEqual, basename, dirname, extname } from '../../base/common/resources.js';
|
|
@@ -11,143 +11,130 @@ import { Schemas } from '../../base/common/network.js';
|
|
|
11
11
|
import { DEFAULT_EDITOR_ASSOCIATION } from './editor.js';
|
|
12
12
|
import { isLinux } from '../../base/common/platform.js';
|
|
13
13
|
var ResourceContextKey_1;
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
_moduleId,
|
|
17
|
-
0,
|
|
14
|
+
const WorkbenchStateContext = ( (new RawContextKey('workbenchState', undefined, { type: 'string', description: ( localize(
|
|
15
|
+
487,
|
|
18
16
|
"The kind of workspace opened in the window, either 'empty' (no workspace), 'folder' (single folder) or 'workspace' (multi-root workspace)"
|
|
19
17
|
)) })));
|
|
20
|
-
const WorkspaceFolderCountContext = ( (new RawContextKey('workspaceFolderCount', 0, (
|
|
18
|
+
const WorkspaceFolderCountContext = ( (new RawContextKey('workspaceFolderCount', 0, ( localize(488, "The number of root folders in the workspace")))));
|
|
21
19
|
const OpenFolderWorkspaceSupportContext = ( (new RawContextKey('openFolderWorkspaceSupport', true, true)));
|
|
22
20
|
const EnterMultiRootWorkspaceSupportContext = ( (new RawContextKey('enterMultiRootWorkspaceSupport', true, true)));
|
|
23
21
|
const EmptyWorkspaceSupportContext = ( (new RawContextKey('emptyWorkspaceSupport', true, true)));
|
|
24
|
-
const DirtyWorkingCopiesContext = ( (new RawContextKey('dirtyWorkingCopies', false, (
|
|
25
|
-
const RemoteNameContext = ( (new RawContextKey('remoteName', '', (
|
|
26
|
-
|
|
27
|
-
3,
|
|
22
|
+
const DirtyWorkingCopiesContext = ( (new RawContextKey('dirtyWorkingCopies', false, ( localize(489, "Whether there are any working copies with unsaved changes")))));
|
|
23
|
+
const RemoteNameContext = ( (new RawContextKey('remoteName', '', ( localize(
|
|
24
|
+
490,
|
|
28
25
|
"The name of the remote the window is connected to or an empty string if not connected to any remote"
|
|
29
26
|
)))));
|
|
30
|
-
const VirtualWorkspaceContext = ( (new RawContextKey('virtualWorkspace', '', (
|
|
31
|
-
|
|
32
|
-
4,
|
|
27
|
+
const VirtualWorkspaceContext = ( (new RawContextKey('virtualWorkspace', '', ( localize(
|
|
28
|
+
491,
|
|
33
29
|
"The scheme of the current workspace is from a virtual file system or an empty string."
|
|
34
30
|
)))));
|
|
35
|
-
const TemporaryWorkspaceContext = ( (new RawContextKey('temporaryWorkspace', false, (
|
|
36
|
-
|
|
37
|
-
5,
|
|
31
|
+
const TemporaryWorkspaceContext = ( (new RawContextKey('temporaryWorkspace', false, ( localize(
|
|
32
|
+
492,
|
|
38
33
|
"The scheme of the current workspace is from a temporary file system."
|
|
39
34
|
)))));
|
|
40
|
-
const IsMainWindowFullscreenContext = ( (new RawContextKey('isFullscreen', false, (
|
|
41
|
-
const IsAuxiliaryWindowFocusedContext = ( (new RawContextKey('isAuxiliaryWindowFocusedContext', false, (
|
|
35
|
+
const IsMainWindowFullscreenContext = ( (new RawContextKey('isFullscreen', false, ( localize(493, "Whether the main window is in fullscreen mode")))));
|
|
36
|
+
const IsAuxiliaryWindowFocusedContext = ( (new RawContextKey('isAuxiliaryWindowFocusedContext', false, ( localize(494, "Whether an auxiliary window is focused")))));
|
|
42
37
|
const HasWebFileSystemAccess = ( (new RawContextKey('hasWebFileSystemAccess', false, true)));
|
|
43
|
-
const EmbedderIdentifierContext = ( (new RawContextKey('embedderIdentifier', undefined, (
|
|
44
|
-
|
|
45
|
-
8,
|
|
38
|
+
const EmbedderIdentifierContext = ( (new RawContextKey('embedderIdentifier', undefined, ( localize(
|
|
39
|
+
495,
|
|
46
40
|
'The identifier of the embedder according to the product service, if one is defined'
|
|
47
41
|
)))));
|
|
48
|
-
const ActiveEditorDirtyContext = ( (new RawContextKey('activeEditorIsDirty', false, (
|
|
49
|
-
const ActiveEditorPinnedContext = ( (new RawContextKey('activeEditorIsNotPreview', false, (
|
|
50
|
-
const ActiveEditorFirstInGroupContext = ( (new RawContextKey('activeEditorIsFirstInGroup', false, (
|
|
51
|
-
const ActiveEditorLastInGroupContext = ( (new RawContextKey('activeEditorIsLastInGroup', false, (
|
|
52
|
-
const ActiveEditorStickyContext = ( (new RawContextKey('activeEditorIsPinned', false, (
|
|
53
|
-
const ActiveEditorReadonlyContext = ( (new RawContextKey('activeEditorIsReadonly', false, (
|
|
54
|
-
const ActiveCompareEditorCanSwapContext = ( (new RawContextKey('activeCompareEditorCanSwap', false, (
|
|
55
|
-
const ActiveEditorCanToggleReadonlyContext = ( (new RawContextKey('activeEditorCanToggleReadonly', true, (
|
|
56
|
-
|
|
57
|
-
16,
|
|
42
|
+
const ActiveEditorDirtyContext = ( (new RawContextKey('activeEditorIsDirty', false, ( localize(496, "Whether the active editor has unsaved changes")))));
|
|
43
|
+
const ActiveEditorPinnedContext = ( (new RawContextKey('activeEditorIsNotPreview', false, ( localize(497, "Whether the active editor is not in preview mode")))));
|
|
44
|
+
const ActiveEditorFirstInGroupContext = ( (new RawContextKey('activeEditorIsFirstInGroup', false, ( localize(498, "Whether the active editor is the first one in its group")))));
|
|
45
|
+
const ActiveEditorLastInGroupContext = ( (new RawContextKey('activeEditorIsLastInGroup', false, ( localize(499, "Whether the active editor is the last one in its group")))));
|
|
46
|
+
const ActiveEditorStickyContext = ( (new RawContextKey('activeEditorIsPinned', false, ( localize(500, "Whether the active editor is pinned")))));
|
|
47
|
+
const ActiveEditorReadonlyContext = ( (new RawContextKey('activeEditorIsReadonly', false, ( localize(501, "Whether the active editor is read-only")))));
|
|
48
|
+
const ActiveCompareEditorCanSwapContext = ( (new RawContextKey('activeCompareEditorCanSwap', false, ( localize(502, "Whether the active compare editor can swap sides")))));
|
|
49
|
+
const ActiveEditorCanToggleReadonlyContext = ( (new RawContextKey('activeEditorCanToggleReadonly', true, ( localize(
|
|
50
|
+
503,
|
|
58
51
|
"Whether the active editor can toggle between being read-only or writeable"
|
|
59
52
|
)))));
|
|
60
|
-
const ActiveEditorCanRevertContext = ( (new RawContextKey('activeEditorCanRevert', false, (
|
|
53
|
+
const ActiveEditorCanRevertContext = ( (new RawContextKey('activeEditorCanRevert', false, ( localize(504, "Whether the active editor can revert")))));
|
|
61
54
|
const ActiveEditorCanSplitInGroupContext = ( (new RawContextKey('activeEditorCanSplitInGroup', true)));
|
|
62
|
-
const ActiveEditorContext = ( (new RawContextKey('activeEditor', null, { type: 'string', description: (
|
|
63
|
-
const ActiveEditorAvailableEditorIdsContext = ( (new RawContextKey('activeEditorAvailableEditorIds', '', (
|
|
64
|
-
|
|
65
|
-
19,
|
|
55
|
+
const ActiveEditorContext = ( (new RawContextKey('activeEditor', null, { type: 'string', description: ( localize(505, "The identifier of the active editor")) })));
|
|
56
|
+
const ActiveEditorAvailableEditorIdsContext = ( (new RawContextKey('activeEditorAvailableEditorIds', '', ( localize(
|
|
57
|
+
506,
|
|
66
58
|
"The available editor identifiers that are usable for the active editor"
|
|
67
59
|
)))));
|
|
68
|
-
const TextCompareEditorVisibleContext = ( (new RawContextKey('textCompareEditorVisible', false, (
|
|
69
|
-
const TextCompareEditorActiveContext = ( (new RawContextKey('textCompareEditorActive', false, (
|
|
70
|
-
const SideBySideEditorActiveContext = ( (new RawContextKey('sideBySideEditorActive', false, (
|
|
71
|
-
const EditorGroupEditorsCountContext = ( (new RawContextKey('groupEditorsCount', 0, (
|
|
72
|
-
const ActiveEditorGroupEmptyContext = ( (new RawContextKey('activeEditorGroupEmpty', false, (
|
|
73
|
-
const ActiveEditorGroupIndexContext = ( (new RawContextKey('activeEditorGroupIndex', 0, (
|
|
74
|
-
const ActiveEditorGroupLastContext = ( (new RawContextKey('activeEditorGroupLast', false, (
|
|
75
|
-
const ActiveEditorGroupLockedContext = ( (new RawContextKey('activeEditorGroupLocked', false, (
|
|
76
|
-
const MultipleEditorGroupsContext = ( (new RawContextKey('multipleEditorGroups', false, (
|
|
77
|
-
const MultipleEditorsSelectedInGroupContext = ( (new RawContextKey('multipleEditorsSelectedInGroup', false, (
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
)))
|
|
87
|
-
const EditorPartMultipleEditorGroupsContext = ( (new RawContextKey('editorPartMultipleEditorGroups', false, (
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
)))));
|
|
92
|
-
const
|
|
93
|
-
const
|
|
94
|
-
const
|
|
95
|
-
const
|
|
96
|
-
const
|
|
97
|
-
const
|
|
98
|
-
const
|
|
99
|
-
const
|
|
100
|
-
const
|
|
101
|
-
const
|
|
102
|
-
const
|
|
103
|
-
const
|
|
104
|
-
const
|
|
105
|
-
const
|
|
106
|
-
const
|
|
107
|
-
const
|
|
108
|
-
const
|
|
109
|
-
const
|
|
110
|
-
const
|
|
111
|
-
const
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
const PanelFocusContext = ( (new RawContextKey('panelFocus', false, ( localizeWithPath(_moduleId, 54, "Whether the panel has keyboard focus")))));
|
|
115
|
-
const PanelPositionContext = ( (new RawContextKey('panelPosition', 'bottom', ( localizeWithPath(_moduleId, 55, "The position of the panel, always 'bottom'")))));
|
|
116
|
-
const PanelAlignmentContext = ( (new RawContextKey('panelAlignment', 'center', ( localizeWithPath(
|
|
117
|
-
_moduleId,
|
|
118
|
-
56,
|
|
60
|
+
const TextCompareEditorVisibleContext = ( (new RawContextKey('textCompareEditorVisible', false, ( localize(507, "Whether a text compare editor is visible")))));
|
|
61
|
+
const TextCompareEditorActiveContext = ( (new RawContextKey('textCompareEditorActive', false, ( localize(508, "Whether a text compare editor is active")))));
|
|
62
|
+
const SideBySideEditorActiveContext = ( (new RawContextKey('sideBySideEditorActive', false, ( localize(509, "Whether a side by side editor is active")))));
|
|
63
|
+
const EditorGroupEditorsCountContext = ( (new RawContextKey('groupEditorsCount', 0, ( localize(510, "The number of opened editor groups")))));
|
|
64
|
+
const ActiveEditorGroupEmptyContext = ( (new RawContextKey('activeEditorGroupEmpty', false, ( localize(511, "Whether the active editor group is empty")))));
|
|
65
|
+
const ActiveEditorGroupIndexContext = ( (new RawContextKey('activeEditorGroupIndex', 0, ( localize(512, "The index of the active editor group")))));
|
|
66
|
+
const ActiveEditorGroupLastContext = ( (new RawContextKey('activeEditorGroupLast', false, ( localize(513, "Whether the active editor group is the last group")))));
|
|
67
|
+
const ActiveEditorGroupLockedContext = ( (new RawContextKey('activeEditorGroupLocked', false, ( localize(514, "Whether the active editor group is locked")))));
|
|
68
|
+
const MultipleEditorGroupsContext = ( (new RawContextKey('multipleEditorGroups', false, ( localize(515, "Whether there are multiple editor groups opened")))));
|
|
69
|
+
const MultipleEditorsSelectedInGroupContext = ( (new RawContextKey('multipleEditorsSelectedInGroup', false, ( localize(516, "Whether multiple editors have been selected in an editor group")))));
|
|
70
|
+
const TwoEditorsSelectedInGroupContext = ( (new RawContextKey('twoEditorsSelectedInGroup', false, ( localize(517, "Whether exactly two editors have been selected in an editor group")))));
|
|
71
|
+
const SelectedEditorsInGroupFileOrUntitledResourceContextKey = ( (new RawContextKey(
|
|
72
|
+
'SelectedEditorsInGroupFileOrUntitledResourceContextKey',
|
|
73
|
+
true,
|
|
74
|
+
( localize(
|
|
75
|
+
518,
|
|
76
|
+
"Whether all selected editors in a group have a file or untitled resource associated"
|
|
77
|
+
))
|
|
78
|
+
)));
|
|
79
|
+
const EditorPartMultipleEditorGroupsContext = ( (new RawContextKey('editorPartMultipleEditorGroups', false, ( localize(519, "Whether there are multiple editor groups opened in an editor part")))));
|
|
80
|
+
const EditorPartMaximizedEditorGroupContext = ( (new RawContextKey('editorPartMaximizedEditorGroup', false, ( localize(520, "Editor Part has a maximized group")))));
|
|
81
|
+
const IsAuxiliaryEditorPartContext = ( (new RawContextKey('isAuxiliaryEditorPart', false, ( localize(521, "Editor Part is in an auxiliary window")))));
|
|
82
|
+
const EditorsVisibleContext = ( (new RawContextKey('editorIsOpen', false, ( localize(522, "Whether an editor is open")))));
|
|
83
|
+
const InEditorZenModeContext = ( (new RawContextKey('inZenMode', false, ( localize(523, "Whether Zen mode is enabled")))));
|
|
84
|
+
const IsMainEditorCenteredLayoutContext = ( (new RawContextKey('isCenteredLayout', false, ( localize(524, "Whether centered layout is enabled for the main editor")))));
|
|
85
|
+
const SplitEditorsVertically = ( (new RawContextKey('splitEditorsVertically', false, ( localize(525, "Whether editors split vertically")))));
|
|
86
|
+
const MainEditorAreaVisibleContext = ( (new RawContextKey('mainEditorAreaVisible', true, ( localize(526, "Whether the editor area in the main window is visible")))));
|
|
87
|
+
const EditorTabsVisibleContext = ( (new RawContextKey('editorTabsVisible', true, ( localize(527, "Whether editor tabs are visible")))));
|
|
88
|
+
const SideBarVisibleContext = ( (new RawContextKey('sideBarVisible', false, ( localize(528, "Whether the sidebar is visible")))));
|
|
89
|
+
const SidebarFocusContext = ( (new RawContextKey('sideBarFocus', false, ( localize(529, "Whether the sidebar has keyboard focus")))));
|
|
90
|
+
const ActiveViewletContext = ( (new RawContextKey('activeViewlet', '', ( localize(530, "The identifier of the active viewlet")))));
|
|
91
|
+
const StatusBarFocused = ( (new RawContextKey('statusBarFocused', false, ( localize(531, "Whether the status bar has keyboard focus")))));
|
|
92
|
+
const TitleBarStyleContext = ( (new RawContextKey('titleBarStyle', isLinux ? 'native' : 'custom', ( localize(532, "Style of the window title bar")))));
|
|
93
|
+
const TitleBarVisibleContext = ( (new RawContextKey('titleBarVisible', false, ( localize(533, "Whether the title bar is visible")))));
|
|
94
|
+
const BannerFocused = ( (new RawContextKey('bannerFocused', false, ( localize(534, "Whether the banner has keyboard focus")))));
|
|
95
|
+
const NotificationFocusedContext = ( (new RawContextKey('notificationFocus', true, ( localize(535, "Whether a notification has keyboard focus")))));
|
|
96
|
+
const NotificationsCenterVisibleContext = ( (new RawContextKey('notificationCenterVisible', false, ( localize(536, "Whether the notifications center is visible")))));
|
|
97
|
+
const NotificationsToastsVisibleContext = ( (new RawContextKey('notificationToastsVisible', false, ( localize(537, "Whether a notification toast is visible")))));
|
|
98
|
+
const ActiveAuxiliaryContext = ( (new RawContextKey('activeAuxiliary', '', ( localize(538, "The identifier of the active auxiliary panel")))));
|
|
99
|
+
const AuxiliaryBarFocusContext = ( (new RawContextKey('auxiliaryBarFocus', false, ( localize(539, "Whether the auxiliary bar has keyboard focus")))));
|
|
100
|
+
const AuxiliaryBarVisibleContext = ( (new RawContextKey('auxiliaryBarVisible', false, ( localize(540, "Whether the auxiliary bar is visible")))));
|
|
101
|
+
const ActivePanelContext = ( (new RawContextKey('activePanel', '', ( localize(541, "The identifier of the active panel")))));
|
|
102
|
+
const PanelFocusContext = ( (new RawContextKey('panelFocus', false, ( localize(542, "Whether the panel has keyboard focus")))));
|
|
103
|
+
const PanelPositionContext = ( (new RawContextKey('panelPosition', 'bottom', ( localize(543, "The position of the panel, always 'bottom'")))));
|
|
104
|
+
const PanelAlignmentContext = ( (new RawContextKey('panelAlignment', 'center', ( localize(
|
|
105
|
+
544,
|
|
119
106
|
"The alignment of the panel, either 'center', 'left', 'right' or 'justify'"
|
|
120
107
|
)))));
|
|
121
|
-
const PanelVisibleContext = ( (new RawContextKey('panelVisible', false, (
|
|
122
|
-
const PanelMaximizedContext = ( (new RawContextKey('panelMaximized', false, (
|
|
123
|
-
const FocusedViewContext = ( (new RawContextKey('focusedView', '', (
|
|
108
|
+
const PanelVisibleContext = ( (new RawContextKey('panelVisible', false, ( localize(545, "Whether the panel is visible")))));
|
|
109
|
+
const PanelMaximizedContext = ( (new RawContextKey('panelMaximized', false, ( localize(546, "Whether the panel is maximized")))));
|
|
110
|
+
const FocusedViewContext = ( (new RawContextKey('focusedView', '', ( localize(547, "The identifier of the view that has keyboard focus")))));
|
|
124
111
|
function getVisbileViewContextKey(viewId) { return `view.${viewId}.visible`; }
|
|
125
112
|
let ResourceContextKey = class ResourceContextKey {
|
|
126
113
|
static { ResourceContextKey_1 = this; }
|
|
127
|
-
static { this.Scheme = ( (new RawContextKey('resourceScheme', undefined, { type: 'string', description: (
|
|
114
|
+
static { this.Scheme = ( (new RawContextKey('resourceScheme', undefined, { type: 'string', description: ( localize(548, "The scheme of the resource")) }))); }
|
|
128
115
|
static { this.Filename = ( (new RawContextKey(
|
|
129
116
|
'resourceFilename',
|
|
130
117
|
undefined,
|
|
131
|
-
{ type: 'string', description: (
|
|
118
|
+
{ type: 'string', description: ( localize(549, "The file name of the resource")) }
|
|
132
119
|
))); }
|
|
133
120
|
static { this.Dirname = ( (new RawContextKey(
|
|
134
121
|
'resourceDirname',
|
|
135
122
|
undefined,
|
|
136
|
-
{ type: 'string', description: (
|
|
123
|
+
{ type: 'string', description: ( localize(550, "The folder name the resource is contained in")) }
|
|
137
124
|
))); }
|
|
138
|
-
static { this.Path = ( (new RawContextKey('resourcePath', undefined, { type: 'string', description: (
|
|
139
|
-
static { this.LangId = ( (new RawContextKey('resourceLangId', undefined, { type: 'string', description: (
|
|
140
|
-
static { this.Resource = ( (new RawContextKey('resource', undefined, { type: 'URI', description: (
|
|
125
|
+
static { this.Path = ( (new RawContextKey('resourcePath', undefined, { type: 'string', description: ( localize(551, "The full path of the resource")) }))); }
|
|
126
|
+
static { this.LangId = ( (new RawContextKey('resourceLangId', undefined, { type: 'string', description: ( localize(552, "The language identifier of the resource")) }))); }
|
|
127
|
+
static { this.Resource = ( (new RawContextKey('resource', undefined, { type: 'URI', description: ( localize(553, "The full value of the resource including scheme and path")) }))); }
|
|
141
128
|
static { this.Extension = ( (new RawContextKey(
|
|
142
129
|
'resourceExtname',
|
|
143
130
|
undefined,
|
|
144
|
-
{ type: 'string', description: (
|
|
131
|
+
{ type: 'string', description: ( localize(554, "The extension name of the resource")) }
|
|
145
132
|
))); }
|
|
146
|
-
static { this.HasResource = ( (new RawContextKey('resourceSet', undefined, { type: 'boolean', description: (
|
|
133
|
+
static { this.HasResource = ( (new RawContextKey('resourceSet', undefined, { type: 'boolean', description: ( localize(555, "Whether a resource is present or not")) }))); }
|
|
147
134
|
static { this.IsFileSystemResource = ( (new RawContextKey(
|
|
148
135
|
'isFileSystemResource',
|
|
149
136
|
undefined,
|
|
150
|
-
{ type: 'boolean', description: (
|
|
137
|
+
{ type: 'boolean', description: ( localize(556, "Whether the resource is backed by a file system provider")) }
|
|
151
138
|
))); }
|
|
152
139
|
constructor(_contextKeyService, _fileService, _languageService, _modelService) {
|
|
153
140
|
this._contextKeyService = _contextKeyService;
|
|
@@ -253,4 +240,4 @@ function applyAvailableEditorIds(contextKey, editor, editorResolverService) {
|
|
|
253
240
|
contextKey.set(editors.join(','));
|
|
254
241
|
}
|
|
255
242
|
}
|
|
256
|
-
export { ActiveAuxiliaryContext, ActiveCompareEditorCanSwapContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorCanRevertContext, ActiveEditorCanSplitInGroupContext, ActiveEditorCanToggleReadonlyContext, ActiveEditorContext, ActiveEditorDirtyContext, ActiveEditorFirstInGroupContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorGroupLockedContext, ActiveEditorLastInGroupContext, ActiveEditorPinnedContext, ActiveEditorReadonlyContext, ActiveEditorStickyContext, ActivePanelContext, ActiveViewletContext, AuxiliaryBarFocusContext, AuxiliaryBarVisibleContext, BannerFocused, DirtyWorkingCopiesContext, EditorGroupEditorsCountContext, EditorPartMaximizedEditorGroupContext, EditorPartMultipleEditorGroupsContext, EditorTabsVisibleContext, EditorsVisibleContext, EmbedderIdentifierContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, FocusedViewContext, HasWebFileSystemAccess, InEditorZenModeContext, IsAuxiliaryEditorPartContext, IsAuxiliaryWindowFocusedContext, IsMainEditorCenteredLayoutContext, IsMainWindowFullscreenContext, MainEditorAreaVisibleContext, MultipleEditorGroupsContext, MultipleEditorsSelectedInGroupContext, NotificationFocusedContext, NotificationsCenterVisibleContext, NotificationsToastsVisibleContext, OpenFolderWorkspaceSupportContext, PanelAlignmentContext, PanelFocusContext, PanelMaximizedContext, PanelPositionContext, PanelVisibleContext, RemoteNameContext, ResourceContextKey, SideBarVisibleContext, SideBySideEditorActiveContext, SidebarFocusContext, SplitEditorsVertically, StatusBarFocused, TemporaryWorkspaceContext, TextCompareEditorActiveContext, TextCompareEditorVisibleContext, TitleBarStyleContext, TitleBarVisibleContext, TwoEditorsSelectedInGroupContext, VirtualWorkspaceContext, WorkbenchStateContext, WorkspaceFolderCountContext, applyAvailableEditorIds, getVisbileViewContextKey };
|
|
243
|
+
export { ActiveAuxiliaryContext, ActiveCompareEditorCanSwapContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorCanRevertContext, ActiveEditorCanSplitInGroupContext, ActiveEditorCanToggleReadonlyContext, ActiveEditorContext, ActiveEditorDirtyContext, ActiveEditorFirstInGroupContext, ActiveEditorGroupEmptyContext, ActiveEditorGroupIndexContext, ActiveEditorGroupLastContext, ActiveEditorGroupLockedContext, ActiveEditorLastInGroupContext, ActiveEditorPinnedContext, ActiveEditorReadonlyContext, ActiveEditorStickyContext, ActivePanelContext, ActiveViewletContext, AuxiliaryBarFocusContext, AuxiliaryBarVisibleContext, BannerFocused, DirtyWorkingCopiesContext, EditorGroupEditorsCountContext, EditorPartMaximizedEditorGroupContext, EditorPartMultipleEditorGroupsContext, EditorTabsVisibleContext, EditorsVisibleContext, EmbedderIdentifierContext, EmptyWorkspaceSupportContext, EnterMultiRootWorkspaceSupportContext, FocusedViewContext, HasWebFileSystemAccess, InEditorZenModeContext, IsAuxiliaryEditorPartContext, IsAuxiliaryWindowFocusedContext, IsMainEditorCenteredLayoutContext, IsMainWindowFullscreenContext, MainEditorAreaVisibleContext, MultipleEditorGroupsContext, MultipleEditorsSelectedInGroupContext, NotificationFocusedContext, NotificationsCenterVisibleContext, NotificationsToastsVisibleContext, OpenFolderWorkspaceSupportContext, PanelAlignmentContext, PanelFocusContext, PanelMaximizedContext, PanelPositionContext, PanelVisibleContext, RemoteNameContext, ResourceContextKey, SelectedEditorsInGroupFileOrUntitledResourceContextKey, SideBarVisibleContext, SideBySideEditorActiveContext, SidebarFocusContext, SplitEditorsVertically, StatusBarFocused, TemporaryWorkspaceContext, TextCompareEditorActiveContext, TextCompareEditorVisibleContext, TitleBarStyleContext, TitleBarVisibleContext, TwoEditorsSelectedInGroupContext, VirtualWorkspaceContext, WorkbenchStateContext, WorkspaceFolderCountContext, applyAvailableEditorIds, getVisbileViewContextKey };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import {
|
|
2
|
+
import { localize } from '../../../nls.js';
|
|
3
3
|
import { SideBySideEditorInput, AbstractSideBySideEditorInputSerializer } from './sideBySideEditorInput.js';
|
|
4
4
|
import { Verbosity, BINARY_DIFF_EDITOR_ID, TEXT_DIFF_EDITOR_ID, isResourceDiffEditorInput, EditorInputCapabilities } from '../editor.js';
|
|
5
5
|
import { BaseTextEditorModel } from './textEditorModel.js';
|
|
@@ -9,7 +9,6 @@ import { IEditorService } from '../../services/editor/common/editorService.servi
|
|
|
9
9
|
import { shorten } from '../../../base/common/labels.js';
|
|
10
10
|
import { isResolvedEditorModel } from '../../../platform/editor/common/editor.js';
|
|
11
11
|
var DiffEditorInput_1;
|
|
12
|
-
const _moduleId = "vs/workbench/common/editor/diffEditorInput";
|
|
13
12
|
let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
|
|
14
13
|
static { DiffEditorInput_1 = this; }
|
|
15
14
|
static { this.ID = 'workbench.editors.diffEditorInput'; }
|
|
@@ -43,7 +42,7 @@ let DiffEditorInput = class DiffEditorInput extends SideBySideEditorInput {
|
|
|
43
42
|
else {
|
|
44
43
|
const originalName = this.original.getName();
|
|
45
44
|
const modifiedName = this.modified.getName();
|
|
46
|
-
name = (
|
|
45
|
+
name = ( localize(8674, "{0} ↔ {1}", originalName, modifiedName));
|
|
47
46
|
forceDescription = originalName === modifiedName;
|
|
48
47
|
}
|
|
49
48
|
let shortDescription;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import { Event } from '../../../base/common/event.js';
|
|
3
|
-
import {
|
|
3
|
+
import { localize } from '../../../nls.js';
|
|
4
4
|
import { Registry } from '../../../platform/registry/common/platform.js';
|
|
5
5
|
import { EditorInputCapabilities, isResourceDiffEditorInput, isResourceMultiDiffEditorInput, isResourceSideBySideEditorInput, isResourceMergeEditorInput, isEditorInput, findViewStateForEditor, isResourceEditorInput, isDiffEditorInput, EditorExtensions } from '../editor.js';
|
|
6
6
|
import { EditorInput } from './editorInput.js';
|
|
7
7
|
import { IEditorService } from '../../services/editor/common/editorService.service.js';
|
|
8
8
|
var SideBySideEditorInput_1;
|
|
9
|
-
const _moduleId = "vs/workbench/common/editor/sideBySideEditorInput";
|
|
10
9
|
let SideBySideEditorInput = class SideBySideEditorInput extends EditorInput {
|
|
11
10
|
static { SideBySideEditorInput_1 = this; }
|
|
12
11
|
static { this.ID = 'workbench.editorinputs.sidebysideEditorInput'; }
|
|
@@ -61,13 +60,7 @@ let SideBySideEditorInput = class SideBySideEditorInput extends EditorInput {
|
|
|
61
60
|
if (this.hasIdenticalSides) {
|
|
62
61
|
return this.primary.getName();
|
|
63
62
|
}
|
|
64
|
-
return (
|
|
65
|
-
_moduleId,
|
|
66
|
-
0,
|
|
67
|
-
"{0} - {1}",
|
|
68
|
-
this.secondary.getName(),
|
|
69
|
-
this.primary.getName()
|
|
70
|
-
));
|
|
63
|
+
return ( localize(6229, "{0} - {1}", this.secondary.getName(), this.primary.getName()));
|
|
71
64
|
}
|
|
72
65
|
getPreferredName() {
|
|
73
66
|
return this.preferredName;
|
|
@@ -9,9 +9,8 @@ import { LanguageDetectionLanguageEventSource } from '../../services/languageDet
|
|
|
9
9
|
import { ILanguageDetectionService } from '../../services/languageDetection/common/languageDetectionWorkerService.service.js';
|
|
10
10
|
import { ThrottledDelayer } from '../../../base/common/async.js';
|
|
11
11
|
import { IAccessibilityService } from '../../../platform/accessibility/common/accessibility.service.js';
|
|
12
|
-
import {
|
|
12
|
+
import { localize } from '../../../nls.js';
|
|
13
13
|
var BaseTextEditorModel_1;
|
|
14
|
-
const _moduleId = "vs/workbench/common/editor/textEditorModel";
|
|
15
14
|
let BaseTextEditorModel = class BaseTextEditorModel extends EditorModel {
|
|
16
15
|
static { BaseTextEditorModel_1 = this; }
|
|
17
16
|
static { this.AUTO_DETECT_LANGUAGE_THROTTLE_DELAY = 600; }
|
|
@@ -92,9 +91,8 @@ let BaseTextEditorModel = class BaseTextEditorModel extends EditorModel {
|
|
|
92
91
|
if (lang && lang !== prevLang && !this.isDisposed()) {
|
|
93
92
|
this.setLanguageIdInternal(lang, LanguageDetectionLanguageEventSource);
|
|
94
93
|
const languageName = this.languageService.getLanguageName(lang);
|
|
95
|
-
this.accessibilityService.alert((
|
|
96
|
-
|
|
97
|
-
0,
|
|
94
|
+
this.accessibilityService.alert(( localize(
|
|
95
|
+
9822,
|
|
98
96
|
"Language {0} was automatically detected and set as the language mode.",
|
|
99
97
|
languageName ?? lang
|
|
100
98
|
)));
|
|
@@ -343,12 +343,15 @@ interface IResourceMultiDiffEditorInput extends IBaseUntypedEditorInput {
|
|
|
343
343
|
* The list of resources to compare.
|
|
344
344
|
* If not set, the resources are dynamically derived from the {@link multiDiffSource}.
|
|
345
345
|
*/
|
|
346
|
-
readonly resources?:
|
|
346
|
+
readonly resources?: IMultiDiffEditorResource[];
|
|
347
347
|
/**
|
|
348
348
|
* Whether the editor should be serialized and stored for subsequent sessions.
|
|
349
349
|
*/
|
|
350
350
|
readonly isTransient?: boolean;
|
|
351
351
|
}
|
|
352
|
+
interface IMultiDiffEditorResource extends IResourceDiffEditorInput {
|
|
353
|
+
readonly goToFileResource?: URI;
|
|
354
|
+
}
|
|
352
355
|
type IResourceMergeEditorInputSide = (IResourceEditorInput | ITextResourceEditorInput) & {
|
|
353
356
|
detail?: string;
|
|
354
357
|
};
|
|
@@ -796,4 +799,4 @@ interface IToolbarActions {
|
|
|
796
799
|
readonly secondary: IAction[];
|
|
797
800
|
}
|
|
798
801
|
|
|
799
|
-
export { AbstractEditorInput, CloseDirection, EditorCloseContext, EditorInputCapabilities, type EditorInputWithOptions, type EditorInputWithOptionsAndGroup, type EditorInputWithPreferredResource, EditorPaneSelectionChangeReason, EditorPaneSelectionCompareResult, EditorsOrder, type GroupIdentifier, GroupModelChangeKind, type IActiveEditorChangeEvent, type IEditorCloseEvent, type IEditorControl, type IEditorDescriptor, type IEditorIdentifier, type IEditorMemento, type IEditorOpenContext, type IEditorPane, type IEditorPaneScrollPosition, type IEditorPaneSelection, type IEditorPaneSelectionChangeEvent, type IEditorPartOptions, type IEditorPartOptionsChangeEvent, type IEditorSerializer, type IEditorWillMoveEvent, type IEditorWillOpenEvent, type IFileEditorInput, type IFileLimitedEditorInputOptions, type IFindEditorOptions, type IMatchEditorOptions, type IMoveResult, type IResourceDiffEditorInput, type IResourceMergeEditorInput, type IResourceMergeEditorInputSide, type IResourceMultiDiffEditorInput, type IResourceSideBySideEditorInput, type IRevertOptions, type ISaveOptions, type ITextDiffEditorPane, type IToolbarActions, type IUntitledTextResourceEditorInput, type IUntypedEditorInput, type IUntypedFileEditorInput, type IVisibleEditorPane, type PreventPinnedEditorClose, SaveReason, type SaveSource, SideBySideEditor, Verbosity };
|
|
802
|
+
export { AbstractEditorInput, CloseDirection, EditorCloseContext, EditorInputCapabilities, type EditorInputWithOptions, type EditorInputWithOptionsAndGroup, type EditorInputWithPreferredResource, EditorPaneSelectionChangeReason, EditorPaneSelectionCompareResult, EditorsOrder, type GroupIdentifier, GroupModelChangeKind, type IActiveEditorChangeEvent, type IEditorCloseEvent, type IEditorControl, type IEditorDescriptor, type IEditorIdentifier, type IEditorMemento, type IEditorOpenContext, type IEditorPane, type IEditorPaneScrollPosition, type IEditorPaneSelection, type IEditorPaneSelectionChangeEvent, type IEditorPartOptions, type IEditorPartOptionsChangeEvent, type IEditorSerializer, type IEditorWillMoveEvent, type IEditorWillOpenEvent, type IFileEditorInput, type IFileLimitedEditorInputOptions, type IFindEditorOptions, type IMatchEditorOptions, type IMoveResult, type IMultiDiffEditorResource, type IResourceDiffEditorInput, type IResourceMergeEditorInput, type IResourceMergeEditorInputSide, type IResourceMultiDiffEditorInput, type IResourceSideBySideEditorInput, type IRevertOptions, type ISaveOptions, type ITextDiffEditorPane, type IToolbarActions, type IUntitledTextResourceEditorInput, type IUntypedEditorInput, type IUntypedFileEditorInput, type IVisibleEditorPane, type PreventPinnedEditorClose, SaveReason, type SaveSource, SideBySideEditor, Verbosity };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { localize } from '../../nls.js';
|
|
2
2
|
import { assertIsDefined } from '../../base/common/types.js';
|
|
3
3
|
import { URI } from '../../base/common/uri.js';
|
|
4
4
|
import { toDisposable, Disposable } from '../../base/common/lifecycle.js';
|
|
@@ -9,15 +9,14 @@ import { Schemas } from '../../base/common/network.js';
|
|
|
9
9
|
import { isErrorWithActions, createErrorWithActions } from '../../base/common/errorMessage.js';
|
|
10
10
|
import { toAction } from '../../base/common/actions.js';
|
|
11
11
|
import Severity$1 from '../../base/common/severity.js';
|
|
12
|
-
const _moduleId = "vs/workbench/common/editor";
|
|
13
12
|
const EditorExtensions = {
|
|
14
13
|
EditorPane: 'workbench.contributions.editors',
|
|
15
14
|
EditorFactory: 'workbench.contributions.editor.inputFactories'
|
|
16
15
|
};
|
|
17
16
|
const DEFAULT_EDITOR_ASSOCIATION = {
|
|
18
17
|
id: 'default',
|
|
19
|
-
displayName: (
|
|
20
|
-
providerDisplayName: (
|
|
18
|
+
displayName: ( localize(563, "Text Editor")),
|
|
19
|
+
providerDisplayName: ( localize(564, "Built-in"))
|
|
21
20
|
};
|
|
22
21
|
const SIDE_BY_SIDE_EDITOR_ID = 'workbench.editor.sidebysideEditor';
|
|
23
22
|
const TEXT_DIFF_EDITOR_ID = 'workbench.editors.textDiffEditor';
|
|
@@ -167,7 +166,7 @@ function isDiffEditorInput(editor) {
|
|
|
167
166
|
function createTooLargeFileError(group, input, options, message, preferencesService) {
|
|
168
167
|
return createEditorOpenError(message, [
|
|
169
168
|
toAction({
|
|
170
|
-
id: 'workbench.action.openLargeFile', label: (
|
|
169
|
+
id: 'workbench.action.openLargeFile', label: ( localize(565, "Open Anyway")), run: () => {
|
|
171
170
|
const fileEditorOptions = {
|
|
172
171
|
...options,
|
|
173
172
|
limits: {
|
|
@@ -178,7 +177,7 @@ function createTooLargeFileError(group, input, options, message, preferencesServ
|
|
|
178
177
|
}
|
|
179
178
|
}),
|
|
180
179
|
toAction({
|
|
181
|
-
id: 'workbench.action.configureEditorLargeFileConfirmation', label: (
|
|
180
|
+
id: 'workbench.action.configureEditorLargeFileConfirmation', label: ( localize(566, "Configure Limit")), run: () => {
|
|
182
181
|
return preferencesService.openUserSettings({ query: 'workbench.editorLargeFileConfirmation' });
|
|
183
182
|
}
|
|
184
183
|
}),
|