monaco-editor 0.55.0-dev-20251021 → 0.55.0-dev-20251022
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/dev/vs/assets/{css.worker-BdF74HVr.js → css.worker-CNVxDEHL.js} +57 -56
- package/dev/vs/assets/{editor.worker-Ci2aWZp5.js → editor.worker-CxT_Qhsk.js} +57 -56
- package/dev/vs/assets/{html.worker-PHv_zBMJ.js → html.worker-BkUmTRjE.js} +57 -56
- package/dev/vs/assets/{json.worker-Bu5ZSywK.js → json.worker-DK-97m-d.js} +57 -56
- package/dev/vs/assets/{ts.worker-DvEf1R_D.js → ts.worker-cHRPyRgi.js} +57 -56
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{cssMode-Bwd5iTwO.js → cssMode-D2ACZpcd.js} +2 -2
- package/dev/vs/editor/editor.main.css +3 -4
- package/dev/vs/editor/editor.main.js +6 -6
- package/dev/vs/{editor.api-DtdJriTE.js → editor.api-CMtrd0pO.js} +1917 -1944
- package/dev/vs/{freemarker2-vzq7IT1V.js → freemarker2-CnYj74J4.js} +1 -1
- package/dev/vs/{handlebars-voSBoDYq.js → handlebars-DExk9yf4.js} +1 -1
- package/dev/vs/{html-DgBvMxaw.js → html-Dql17k62.js} +1 -1
- package/dev/vs/{htmlMode-B73e0LQu.js → htmlMode-CCEnhGm2.js} +2 -2
- package/dev/vs/{javascript-B456O1TJ.js → javascript-CqoKoqPi.js} +1 -1
- package/dev/vs/{jsonMode-0j9Sufcy.js → jsonMode-Cz5IbqId.js} +2 -2
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/monaco.contribution.js +1 -1
- package/dev/vs/language/json/monaco.contribution.js +1 -1
- package/dev/vs/language/typescript/monaco.contribution.js +1 -1
- package/dev/vs/{liquid-DtsObjyU.js → liquid-DxCkw3Wy.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-BOGx43ac.js → lspLanguageFeatures-BQO5gQ_I.js} +1 -1
- package/dev/vs/{mdx-CpdAOlbp.js → mdx-DZF1Tct2.js} +1 -1
- package/dev/vs/{monaco.contribution-DgD6w475.js → monaco.contribution-BIhJP-zM.js} +2 -2
- package/dev/vs/{monaco.contribution-96LxvCLa.js → monaco.contribution-BLcNO6tV.js} +2 -2
- package/dev/vs/{monaco.contribution-BNV_Bhhz.js → monaco.contribution-Bpf9llGo.js} +2 -2
- package/dev/vs/{monaco.contribution-CLECD6oi.js → monaco.contribution-D1GYx7Ac.js} +2 -2
- package/dev/vs/nls.messages.cs.js +2 -2
- package/dev/vs/nls.messages.de.js +2 -2
- package/dev/vs/nls.messages.es.js +2 -2
- package/dev/vs/nls.messages.fr.js +2 -2
- package/dev/vs/nls.messages.it.js +2 -2
- package/dev/vs/nls.messages.ja.js +2 -2
- package/dev/vs/nls.messages.ko.js +2 -2
- package/dev/vs/nls.messages.pl.js +2 -2
- package/dev/vs/nls.messages.pt-br.js +2 -2
- package/dev/vs/nls.messages.ru.js +2 -2
- package/dev/vs/nls.messages.tr.js +2 -2
- package/dev/vs/nls.messages.zh-cn.js +2 -2
- package/dev/vs/nls.messages.zh-tw.js +2 -2
- package/dev/vs/{python-Bdcmm8So.js → python-DtVp4js9.js} +1 -1
- package/dev/vs/{razor-C2m7Vs0-.js → razor-C3g5CXT6.js} +1 -1
- package/dev/vs/{tsMode-qQDYDzQT.js → tsMode-B63tFZWa.js} +2 -2
- package/dev/vs/{typescript-BoBnM-0b.js → typescript-YutvBaV7.js} +1 -1
- package/dev/vs/{workers-B1DA8fIt.js → workers-D12Uf0L2.js} +1 -1
- package/dev/vs/{xml-DmpITxBR.js → xml-D1v3XWzg.js} +1 -1
- package/dev/vs/{yaml-Pd4qqIOC.js → yaml-D29Ou18G.js} +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/iconLabel/iconlabel.css +2 -3
- package/esm/vs/base/common/codiconsLibrary.js +1 -0
- package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
- package/esm/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
- package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/esm/vs/editor/browser/coreCommands.js +3 -3
- package/esm/vs/editor/browser/editorExtensions.js +9 -9
- package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/esm/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/esm/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +54 -54
- package/esm/vs/editor/common/config/editorOptions.js +406 -406
- package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
- package/esm/vs/editor/common/editorContextKeys.js +46 -46
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +56 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +10 -10
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -52
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +2 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/esm/vs/editor/contrib/links/browser/links.js +10 -10
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +35 -28
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/min/vs/assets/{css.worker-DpW7RrDt.js → css.worker-BHMeXSeR.js} +1 -1
- package/min/vs/assets/{editor.worker-BvjSTWxN.js → editor.worker-DTWRgIAS.js} +1 -1
- package/min/vs/assets/{html.worker-zYFVFHK_.js → html.worker-CXhlyGiJ.js} +1 -1
- package/min/vs/assets/{json.worker-BCgqF_m2.js → json.worker-DzYjDoHF.js} +1 -1
- package/min/vs/assets/{ts.worker-CQxe4KB6.js → ts.worker-CW5rcuCX.js} +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/{cssMode-CvaUVk1W.js → cssMode-1TDQPhHq.js} +1 -1
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +3 -3
- package/min/vs/{editor.api-DGkWFOQA.js → editor.api-wrjhPWGt.js} +123 -123
- package/min/vs/{freemarker2-B_vQOikd.js → freemarker2-B8YhwE9w.js} +1 -1
- package/min/vs/{handlebars-DqjIuZnJ.js → handlebars-DxIz966T.js} +1 -1
- package/min/vs/{html-DAxAlcjQ.js → html-TUDpfuzj.js} +1 -1
- package/min/vs/{htmlMode-C37mDTXf.js → htmlMode-BTG6W7ly.js} +1 -1
- package/min/vs/{javascript-CmHtjIt-.js → javascript-DjDRFeo7.js} +1 -1
- package/min/vs/{jsonMode-D1uvcOsy.js → jsonMode-cxGzlpDo.js} +4 -4
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/monaco.contribution.js +1 -1
- package/min/vs/language/typescript/monaco.contribution.js +1 -1
- package/min/vs/{liquid-CQBeFlV7.js → liquid-Bsimqao4.js} +1 -1
- package/min/vs/{lspLanguageFeatures-DTAub2tJ.js → lspLanguageFeatures-B9vCOFZO.js} +1 -1
- package/min/vs/{mdx-BFnE9qyd.js → mdx-DAXjads7.js} +1 -1
- package/min/vs/{monaco.contribution-Ba-90VRW.js → monaco.contribution-B40WJdZo.js} +1 -1
- package/min/vs/{monaco.contribution-bCyc25XC.js → monaco.contribution-Bck58VVU.js} +1 -1
- package/min/vs/{monaco.contribution-D4gtmCUd.js → monaco.contribution-CTUxDbdl.js} +1 -1
- package/min/vs/{monaco.contribution-DBV8hY3j.js → monaco.contribution-Dng4cbIh.js} +1 -1
- package/min/vs/nls.messages.cs.js +3 -3
- package/min/vs/nls.messages.de.js +3 -3
- package/min/vs/nls.messages.es.js +3 -3
- package/min/vs/nls.messages.fr.js +3 -3
- package/min/vs/nls.messages.it.js +3 -3
- package/min/vs/nls.messages.ja.js +3 -3
- package/min/vs/nls.messages.ko.js +3 -3
- package/min/vs/nls.messages.pl.js +3 -3
- package/min/vs/nls.messages.pt-br.js +2 -2
- package/min/vs/nls.messages.ru.js +3 -3
- package/min/vs/nls.messages.tr.js +3 -3
- package/min/vs/nls.messages.zh-cn.js +3 -3
- package/min/vs/nls.messages.zh-tw.js +3 -3
- package/min/vs/{python-BX875IYK.js → python-k7tPtlws.js} +1 -1
- package/min/vs/{razor-BBB6Wn5s.js → razor-9j5Idzae.js} +1 -1
- package/min/vs/{tsMode-DYyNPclY.js → tsMode-BDVJ4HNT.js} +5 -5
- package/min/vs/{typescript-AvfgkAyn.js → typescript-1Ue-gdOx.js} +1 -1
- package/min/vs/{workers-DnTKLxL6.js → workers-jkActJYc.js} +1 -1
- package/min/vs/{xml-BVhc_vbm.js → xml-BsAArBP5.js} +1 -1
- package/min/vs/{yaml-a9dM1cQx.js → yaml-2dSzUkHA.js} +1 -1
- package/package.json +5 -5
|
@@ -8,16 +8,16 @@ import { scrollbarSliderBackground, scrollbarSliderHoverBackground, scrollbarSli
|
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
10
10
|
*--------------------------------------------------------------------------------------------*/
|
|
11
|
-
const minimapFindMatch = registerColor('minimap.findMatchHighlight', { light: '#d18616', dark: '#d18616', hcDark: '#AB5A00', hcLight: '#0F4A85' }, localize(
|
|
12
|
-
const minimapSelectionOccurrenceHighlight = registerColor('minimap.selectionOccurrenceHighlight', { light: '#c9c9c9', dark: '#676767', hcDark: '#ffffff', hcLight: '#0F4A85' }, localize(
|
|
13
|
-
const minimapSelection = registerColor('minimap.selectionHighlight', { light: '#ADD6FF', dark: '#264F78', hcDark: '#ffffff', hcLight: '#0F4A85' }, localize(
|
|
14
|
-
const minimapInfo = registerColor('minimap.infoHighlight', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, localize(
|
|
15
|
-
const minimapWarning = registerColor('minimap.warningHighlight', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, localize(
|
|
16
|
-
const minimapError = registerColor('minimap.errorHighlight', { dark: new Color(new RGBA(255, 18, 18, 0.7)), light: new Color(new RGBA(255, 18, 18, 0.7)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, localize(
|
|
17
|
-
const minimapBackground = registerColor('minimap.background', null, localize(
|
|
18
|
-
const minimapForegroundOpacity = registerColor('minimap.foregroundOpacity', Color.fromHex('#000f'), localize(
|
|
19
|
-
registerColor('minimapSlider.background', transparent(scrollbarSliderBackground, 0.5), localize(
|
|
20
|
-
registerColor('minimapSlider.hoverBackground', transparent(scrollbarSliderHoverBackground, 0.5), localize(
|
|
21
|
-
registerColor('minimapSlider.activeBackground', transparent(scrollbarSliderActiveBackground, 0.5), localize(
|
|
11
|
+
const minimapFindMatch = registerColor('minimap.findMatchHighlight', { light: '#d18616', dark: '#d18616', hcDark: '#AB5A00', hcLight: '#0F4A85' }, localize(1974, 'Minimap marker color for find matches.'), true);
|
|
12
|
+
const minimapSelectionOccurrenceHighlight = registerColor('minimap.selectionOccurrenceHighlight', { light: '#c9c9c9', dark: '#676767', hcDark: '#ffffff', hcLight: '#0F4A85' }, localize(1975, 'Minimap marker color for repeating editor selections.'), true);
|
|
13
|
+
const minimapSelection = registerColor('minimap.selectionHighlight', { light: '#ADD6FF', dark: '#264F78', hcDark: '#ffffff', hcLight: '#0F4A85' }, localize(1976, 'Minimap marker color for the editor selection.'), true);
|
|
14
|
+
const minimapInfo = registerColor('minimap.infoHighlight', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, localize(1977, 'Minimap marker color for infos.'));
|
|
15
|
+
const minimapWarning = registerColor('minimap.warningHighlight', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, localize(1978, 'Minimap marker color for warnings.'));
|
|
16
|
+
const minimapError = registerColor('minimap.errorHighlight', { dark: new Color(new RGBA(255, 18, 18, 0.7)), light: new Color(new RGBA(255, 18, 18, 0.7)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, localize(1979, 'Minimap marker color for errors.'));
|
|
17
|
+
const minimapBackground = registerColor('minimap.background', null, localize(1980, "Minimap background color."));
|
|
18
|
+
const minimapForegroundOpacity = registerColor('minimap.foregroundOpacity', Color.fromHex('#000f'), localize(1981, 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
|
|
19
|
+
registerColor('minimapSlider.background', transparent(scrollbarSliderBackground, 0.5), localize(1982, "Minimap slider background color."));
|
|
20
|
+
registerColor('minimapSlider.hoverBackground', transparent(scrollbarSliderHoverBackground, 0.5), localize(1983, "Minimap slider background color when hovering."));
|
|
21
|
+
registerColor('minimapSlider.activeBackground', transparent(scrollbarSliderActiveBackground, 0.5), localize(1984, "Minimap slider background color when clicked on."));
|
|
22
22
|
|
|
23
23
|
export { minimapBackground, minimapError, minimapFindMatch, minimapForegroundOpacity, minimapInfo, minimapSelection, minimapSelectionOccurrenceHighlight, minimapWarning };
|
|
@@ -8,24 +8,24 @@ import { focusBorder, contrastBorder } from './baseColors.js';
|
|
|
8
8
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
9
9
|
*--------------------------------------------------------------------------------------------*/
|
|
10
10
|
// ----- sash
|
|
11
|
-
registerColor('sash.hoverBorder', focusBorder, localize(
|
|
11
|
+
registerColor('sash.hoverBorder', focusBorder, localize(1985, "Border color of active sashes."));
|
|
12
12
|
// ----- badge
|
|
13
|
-
const badgeBackground = registerColor('badge.background', { dark: '#4D4D4D', light: '#C4C4C4', hcDark: Color.black, hcLight: '#0F4A85' }, localize(
|
|
14
|
-
const badgeForeground = registerColor('badge.foreground', { dark: Color.white, light: '#333', hcDark: Color.white, hcLight: Color.white }, localize(
|
|
15
|
-
registerColor('activityWarningBadge.foreground', { dark: Color.black.lighten(0.2), light: Color.white, hcDark: null, hcLight: Color.black.lighten(0.2) }, localize(
|
|
16
|
-
registerColor('activityWarningBadge.background', { dark: '#CCA700', light: '#BF8803', hcDark: null, hcLight: '#CCA700' }, localize(
|
|
17
|
-
registerColor('activityErrorBadge.foreground', { dark: Color.black.lighten(0.2), light: Color.white, hcDark: null, hcLight: Color.black.lighten(0.2) }, localize(
|
|
18
|
-
registerColor('activityErrorBadge.background', { dark: '#F14C4C', light: '#E51400', hcDark: null, hcLight: '#F14C4C' }, localize(
|
|
13
|
+
const badgeBackground = registerColor('badge.background', { dark: '#4D4D4D', light: '#C4C4C4', hcDark: Color.black, hcLight: '#0F4A85' }, localize(1986, "Badge background color. Badges are small information labels, e.g. for search results count."));
|
|
14
|
+
const badgeForeground = registerColor('badge.foreground', { dark: Color.white, light: '#333', hcDark: Color.white, hcLight: Color.white }, localize(1987, "Badge foreground color. Badges are small information labels, e.g. for search results count."));
|
|
15
|
+
registerColor('activityWarningBadge.foreground', { dark: Color.black.lighten(0.2), light: Color.white, hcDark: null, hcLight: Color.black.lighten(0.2) }, localize(1988, 'Foreground color of the warning activity badge'));
|
|
16
|
+
registerColor('activityWarningBadge.background', { dark: '#CCA700', light: '#BF8803', hcDark: null, hcLight: '#CCA700' }, localize(1989, 'Background color of the warning activity badge'));
|
|
17
|
+
registerColor('activityErrorBadge.foreground', { dark: Color.black.lighten(0.2), light: Color.white, hcDark: null, hcLight: Color.black.lighten(0.2) }, localize(1990, 'Foreground color of the error activity badge'));
|
|
18
|
+
registerColor('activityErrorBadge.background', { dark: '#F14C4C', light: '#E51400', hcDark: null, hcLight: '#F14C4C' }, localize(1991, 'Background color of the error activity badge'));
|
|
19
19
|
// ----- scrollbar
|
|
20
|
-
const scrollbarShadow = registerColor('scrollbar.shadow', { dark: '#000000', light: '#DDDDDD', hcDark: null, hcLight: null }, localize(
|
|
21
|
-
const scrollbarSliderBackground = registerColor('scrollbarSlider.background', { dark: Color.fromHex('#797979').transparent(0.4), light: Color.fromHex('#646464').transparent(0.4), hcDark: transparent(contrastBorder, 0.6), hcLight: transparent(contrastBorder, 0.4) }, localize(
|
|
22
|
-
const scrollbarSliderHoverBackground = registerColor('scrollbarSlider.hoverBackground', { dark: Color.fromHex('#646464').transparent(0.7), light: Color.fromHex('#646464').transparent(0.7), hcDark: transparent(contrastBorder, 0.8), hcLight: transparent(contrastBorder, 0.8) }, localize(
|
|
23
|
-
const scrollbarSliderActiveBackground = registerColor('scrollbarSlider.activeBackground', { dark: Color.fromHex('#BFBFBF').transparent(0.4), light: Color.fromHex('#000000').transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
20
|
+
const scrollbarShadow = registerColor('scrollbar.shadow', { dark: '#000000', light: '#DDDDDD', hcDark: null, hcLight: null }, localize(1992, "Scrollbar shadow to indicate that the view is scrolled."));
|
|
21
|
+
const scrollbarSliderBackground = registerColor('scrollbarSlider.background', { dark: Color.fromHex('#797979').transparent(0.4), light: Color.fromHex('#646464').transparent(0.4), hcDark: transparent(contrastBorder, 0.6), hcLight: transparent(contrastBorder, 0.4) }, localize(1993, "Scrollbar slider background color."));
|
|
22
|
+
const scrollbarSliderHoverBackground = registerColor('scrollbarSlider.hoverBackground', { dark: Color.fromHex('#646464').transparent(0.7), light: Color.fromHex('#646464').transparent(0.7), hcDark: transparent(contrastBorder, 0.8), hcLight: transparent(contrastBorder, 0.8) }, localize(1994, "Scrollbar slider background color when hovering."));
|
|
23
|
+
const scrollbarSliderActiveBackground = registerColor('scrollbarSlider.activeBackground', { dark: Color.fromHex('#BFBFBF').transparent(0.4), light: Color.fromHex('#000000').transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, localize(1995, "Scrollbar slider background color when clicked on."));
|
|
24
24
|
// ----- progress bar
|
|
25
|
-
const progressBarBackground = registerColor('progressBar.background', { dark: Color.fromHex('#0E70C0'), light: Color.fromHex('#0E70C0'), hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
25
|
+
const progressBarBackground = registerColor('progressBar.background', { dark: Color.fromHex('#0E70C0'), light: Color.fromHex('#0E70C0'), hcDark: contrastBorder, hcLight: contrastBorder }, localize(1996, "Background color of the progress bar that can show for long running operations."));
|
|
26
26
|
// ----- chart
|
|
27
|
-
registerColor('chart.line', { dark: '#236B8E', light: '#236B8E', hcDark: '#236B8E', hcLight: '#236B8E' }, localize(
|
|
28
|
-
registerColor('chart.axis', { dark: Color.fromHex('#BFBFBF').transparent(0.4), light: Color.fromHex('#000000').transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
29
|
-
registerColor('chart.guide', { dark: Color.fromHex('#BFBFBF').transparent(0.2), light: Color.fromHex('#000000').transparent(0.2), hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
27
|
+
registerColor('chart.line', { dark: '#236B8E', light: '#236B8E', hcDark: '#236B8E', hcLight: '#236B8E' }, localize(1997, "Line color for the chart."));
|
|
28
|
+
registerColor('chart.axis', { dark: Color.fromHex('#BFBFBF').transparent(0.4), light: Color.fromHex('#000000').transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, localize(1998, "Axis color for the chart."));
|
|
29
|
+
registerColor('chart.guide', { dark: Color.fromHex('#BFBFBF').transparent(0.2), light: Color.fromHex('#000000').transparent(0.2), hcDark: contrastBorder, hcLight: contrastBorder }, localize(1999, "Guide line for the chart."));
|
|
30
30
|
|
|
31
31
|
export { badgeBackground, badgeForeground, progressBarBackground, scrollbarShadow, scrollbarSliderActiveBackground, scrollbarSliderBackground, scrollbarSliderHoverBackground };
|
|
@@ -8,14 +8,14 @@ import { listActiveSelectionForeground, listActiveSelectionIconForeground, listA
|
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
10
10
|
*--------------------------------------------------------------------------------------------*/
|
|
11
|
-
const quickInputBackground = registerColor('quickInput.background', editorWidgetBackground, localize(
|
|
12
|
-
const quickInputForeground = registerColor('quickInput.foreground', editorWidgetForeground, localize(
|
|
13
|
-
const quickInputTitleBackground = registerColor('quickInputTitle.background', { dark: new Color(new RGBA(255, 255, 255, 0.105)), light: new Color(new RGBA(0, 0, 0, 0.06)), hcDark: '#000000', hcLight: Color.white }, localize(
|
|
14
|
-
const pickerGroupForeground = registerColor('pickerGroup.foreground', { dark: '#3794FF', light: '#0066BF', hcDark: Color.white, hcLight: '#0F4A85' }, localize(
|
|
15
|
-
const pickerGroupBorder = registerColor('pickerGroup.border', { dark: '#3F3F46', light: '#CCCEDB', hcDark: Color.white, hcLight: '#0F4A85' }, localize(
|
|
16
|
-
const _deprecatedQuickInputListFocusBackground = registerColor('quickInput.list.focusBackground', null, '', undefined, localize(
|
|
17
|
-
const quickInputListFocusForeground = registerColor('quickInputList.focusForeground', listActiveSelectionForeground, localize(
|
|
18
|
-
const quickInputListFocusIconForeground = registerColor('quickInputList.focusIconForeground', listActiveSelectionIconForeground, localize(
|
|
19
|
-
const quickInputListFocusBackground = registerColor('quickInputList.focusBackground', { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, localize(
|
|
11
|
+
const quickInputBackground = registerColor('quickInput.background', editorWidgetBackground, localize(2000, "Quick picker background color. The quick picker widget is the container for pickers like the command palette."));
|
|
12
|
+
const quickInputForeground = registerColor('quickInput.foreground', editorWidgetForeground, localize(2001, "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette."));
|
|
13
|
+
const quickInputTitleBackground = registerColor('quickInputTitle.background', { dark: new Color(new RGBA(255, 255, 255, 0.105)), light: new Color(new RGBA(0, 0, 0, 0.06)), hcDark: '#000000', hcLight: Color.white }, localize(2002, "Quick picker title background color. The quick picker widget is the container for pickers like the command palette."));
|
|
14
|
+
const pickerGroupForeground = registerColor('pickerGroup.foreground', { dark: '#3794FF', light: '#0066BF', hcDark: Color.white, hcLight: '#0F4A85' }, localize(2003, "Quick picker color for grouping labels."));
|
|
15
|
+
const pickerGroupBorder = registerColor('pickerGroup.border', { dark: '#3F3F46', light: '#CCCEDB', hcDark: Color.white, hcLight: '#0F4A85' }, localize(2004, "Quick picker color for grouping borders."));
|
|
16
|
+
const _deprecatedQuickInputListFocusBackground = registerColor('quickInput.list.focusBackground', null, '', undefined, localize(2005, "Please use quickInputList.focusBackground instead"));
|
|
17
|
+
const quickInputListFocusForeground = registerColor('quickInputList.focusForeground', listActiveSelectionForeground, localize(2006, "Quick picker foreground color for the focused item."));
|
|
18
|
+
const quickInputListFocusIconForeground = registerColor('quickInputList.focusIconForeground', listActiveSelectionIconForeground, localize(2007, "Quick picker icon foreground color for the focused item."));
|
|
19
|
+
const quickInputListFocusBackground = registerColor('quickInputList.focusBackground', { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, localize(2008, "Quick picker background color for the focused item."));
|
|
20
20
|
|
|
21
21
|
export { _deprecatedQuickInputListFocusBackground, pickerGroupBorder, pickerGroupForeground, quickInputBackground, quickInputForeground, quickInputListFocusBackground, quickInputListFocusForeground, quickInputListFocusIconForeground, quickInputTitleBackground };
|
|
@@ -7,7 +7,7 @@ import { editorFindMatchHighlight, editorFindMatchHighlightBorder } from './edit
|
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
9
9
|
*--------------------------------------------------------------------------------------------*/
|
|
10
|
-
registerColor('search.resultsInfoForeground', { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, localize(
|
|
10
|
+
registerColor('search.resultsInfoForeground', { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, localize(2009, "Color of the text in the search viewlet's completion message."));
|
|
11
11
|
// ----- search editor (Distinct from normal editor find match to allow for better differentiation)
|
|
12
|
-
registerColor('searchEditor.findMatchBackground', { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, localize(
|
|
13
|
-
registerColor('searchEditor.findMatchBorder', { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, localize(
|
|
12
|
+
registerColor('searchEditor.findMatchBackground', { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, localize(2010, "Color of the Search Editor query matches."));
|
|
13
|
+
registerColor('searchEditor.findMatchBorder', { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, localize(2011, "Border color of the Search Editor query matches."));
|
|
@@ -59,7 +59,7 @@ var IconFontDefinition;
|
|
|
59
59
|
})(IconFontDefinition || (IconFontDefinition = {}));
|
|
60
60
|
// regexes for validation of font properties
|
|
61
61
|
const fontIdRegex = /^([\w_-]+)$/;
|
|
62
|
-
const fontIdErrorMessage = localize(
|
|
62
|
+
const fontIdErrorMessage = localize(2014, 'The font ID must only contain letters, numbers, underscores and dashes.');
|
|
63
63
|
class IconRegistry extends Disposable {
|
|
64
64
|
constructor() {
|
|
65
65
|
super();
|
|
@@ -70,8 +70,8 @@ class IconRegistry extends Disposable {
|
|
|
70
70
|
icons: {
|
|
71
71
|
type: 'object',
|
|
72
72
|
properties: {
|
|
73
|
-
fontId: { type: 'string', description: localize(
|
|
74
|
-
fontCharacter: { type: 'string', description: localize(
|
|
73
|
+
fontId: { type: 'string', description: localize(2015, 'The id of the font to use. If not set, the font that is defined first is used.'), pattern: fontIdRegex.source, patternErrorMessage: fontIdErrorMessage },
|
|
74
|
+
fontCharacter: { type: 'string', description: localize(2016, 'The font character associated with the icon definition.') }
|
|
75
75
|
},
|
|
76
76
|
additionalProperties: false,
|
|
77
77
|
defaultSnippets: [{ body: { fontCharacter: '\\\\e030' } }]
|
|
@@ -174,9 +174,9 @@ iconRegistry.onDidChange(() => {
|
|
|
174
174
|
});
|
|
175
175
|
//setTimeout(_ => console.log(iconRegistry.toString()), 5000);
|
|
176
176
|
// common icons
|
|
177
|
-
const widgetClose = registerIcon('widget-close', Codicon.close, localize(
|
|
178
|
-
registerIcon('goto-previous-location', Codicon.arrowUp, localize(
|
|
179
|
-
registerIcon('goto-next-location', Codicon.arrowDown, localize(
|
|
177
|
+
const widgetClose = registerIcon('widget-close', Codicon.close, localize(2017, 'Icon for the close action in widgets.'));
|
|
178
|
+
registerIcon('goto-previous-location', Codicon.arrowUp, localize(2018, 'Icon for goto previous editor location.'));
|
|
179
|
+
registerIcon('goto-next-location', Codicon.arrowDown, localize(2019, 'Icon for goto next editor location.'));
|
|
180
180
|
ThemeIcon.modify(Codicon.sync, 'spin');
|
|
181
181
|
ThemeIcon.modify(Codicon.loading, 'spin');
|
|
182
182
|
|
|
@@ -70,10 +70,10 @@ class RemovedResources {
|
|
|
70
70
|
}
|
|
71
71
|
const messages = [];
|
|
72
72
|
if (externalRemoval.length > 0) {
|
|
73
|
-
messages.push(localize(
|
|
73
|
+
messages.push(localize(2020, "The following files have been closed and modified on disk: {0}.", externalRemoval.join(', ')));
|
|
74
74
|
}
|
|
75
75
|
if (noParallelUniverses.length > 0) {
|
|
76
|
-
messages.push(localize(
|
|
76
|
+
messages.push(localize(2021, "The following files have been modified in an incompatible way: {0}.", noParallelUniverses.join(', ')));
|
|
77
77
|
}
|
|
78
78
|
return messages.join('\n');
|
|
79
79
|
}
|
|
@@ -645,10 +645,10 @@ let UndoRedoService = class UndoRedoService {
|
|
|
645
645
|
}
|
|
646
646
|
_checkWorkspaceUndo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
|
|
647
647
|
if (element.removedResources) {
|
|
648
|
-
return this._tryToSplitAndUndo(strResource, element, element.removedResources, localize(
|
|
648
|
+
return this._tryToSplitAndUndo(strResource, element, element.removedResources, localize(2022, "Could not undo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
|
|
649
649
|
}
|
|
650
650
|
if (checkInvalidatedResources && element.invalidatedResources) {
|
|
651
|
-
return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, localize(
|
|
651
|
+
return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, localize(2023, "Could not undo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
|
|
652
652
|
}
|
|
653
653
|
// this must be the last past element in all the impacted resources!
|
|
654
654
|
const cannotUndoDueToResources = [];
|
|
@@ -658,7 +658,7 @@ let UndoRedoService = class UndoRedoService {
|
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
if (cannotUndoDueToResources.length > 0) {
|
|
661
|
-
return this._tryToSplitAndUndo(strResource, element, null, localize(
|
|
661
|
+
return this._tryToSplitAndUndo(strResource, element, null, localize(2024, "Could not undo '{0}' across all files because changes were made to {1}", element.label, cannotUndoDueToResources.join(', ')));
|
|
662
662
|
}
|
|
663
663
|
const cannotLockDueToResources = [];
|
|
664
664
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -667,11 +667,11 @@ let UndoRedoService = class UndoRedoService {
|
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
if (cannotLockDueToResources.length > 0) {
|
|
670
|
-
return this._tryToSplitAndUndo(strResource, element, null, localize(
|
|
670
|
+
return this._tryToSplitAndUndo(strResource, element, null, localize(2025, "Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(', ')));
|
|
671
671
|
}
|
|
672
672
|
// check if new stack elements were added in the meantime...
|
|
673
673
|
if (!editStackSnapshot.isValid()) {
|
|
674
|
-
return this._tryToSplitAndUndo(strResource, element, null, localize(
|
|
674
|
+
return this._tryToSplitAndUndo(strResource, element, null, localize(2026, "Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
|
|
675
675
|
}
|
|
676
676
|
return null;
|
|
677
677
|
}
|
|
@@ -718,14 +718,14 @@ let UndoRedoService = class UndoRedoService {
|
|
|
718
718
|
})(UndoChoice || (UndoChoice = {}));
|
|
719
719
|
const { result } = await this._dialogService.prompt({
|
|
720
720
|
type: Severity.Info,
|
|
721
|
-
message: localize(
|
|
721
|
+
message: localize(2027, "Would you like to undo '{0}' across all files?", element.label),
|
|
722
722
|
buttons: [
|
|
723
723
|
{
|
|
724
|
-
label: localize(
|
|
724
|
+
label: localize(2028, "&&Undo in {0} Files", editStackSnapshot.editStacks.length),
|
|
725
725
|
run: () => UndoChoice.All
|
|
726
726
|
},
|
|
727
727
|
{
|
|
728
|
-
label: localize(
|
|
728
|
+
label: localize(2029, "Undo this &&File"),
|
|
729
729
|
run: () => UndoChoice.This
|
|
730
730
|
}
|
|
731
731
|
],
|
|
@@ -776,7 +776,7 @@ let UndoRedoService = class UndoRedoService {
|
|
|
776
776
|
return;
|
|
777
777
|
}
|
|
778
778
|
if (editStack.locked) {
|
|
779
|
-
const message = localize(
|
|
779
|
+
const message = localize(2030, "Could not undo '{0}' because there is already an undo or redo operation running.", element.label);
|
|
780
780
|
this._notificationService.warn(message);
|
|
781
781
|
return;
|
|
782
782
|
}
|
|
@@ -860,9 +860,9 @@ let UndoRedoService = class UndoRedoService {
|
|
|
860
860
|
}
|
|
861
861
|
async _confirmAndContinueUndo(strResource, sourceId, element) {
|
|
862
862
|
const result = await this._dialogService.confirm({
|
|
863
|
-
message: localize(
|
|
864
|
-
primaryButton: localize(
|
|
865
|
-
cancelButton: localize(
|
|
863
|
+
message: localize(2031, "Would you like to undo '{0}'?", element.label),
|
|
864
|
+
primaryButton: localize(2032, "&&Yes"),
|
|
865
|
+
cancelButton: localize(2033, "No")
|
|
866
866
|
});
|
|
867
867
|
if (!result.confirmed) {
|
|
868
868
|
return;
|
|
@@ -919,10 +919,10 @@ let UndoRedoService = class UndoRedoService {
|
|
|
919
919
|
}
|
|
920
920
|
_checkWorkspaceRedo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
|
|
921
921
|
if (element.removedResources) {
|
|
922
|
-
return this._tryToSplitAndRedo(strResource, element, element.removedResources, localize(
|
|
922
|
+
return this._tryToSplitAndRedo(strResource, element, element.removedResources, localize(2034, "Could not redo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
|
|
923
923
|
}
|
|
924
924
|
if (checkInvalidatedResources && element.invalidatedResources) {
|
|
925
|
-
return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, localize(
|
|
925
|
+
return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, localize(2035, "Could not redo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
|
|
926
926
|
}
|
|
927
927
|
// this must be the last future element in all the impacted resources!
|
|
928
928
|
const cannotRedoDueToResources = [];
|
|
@@ -932,7 +932,7 @@ let UndoRedoService = class UndoRedoService {
|
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
if (cannotRedoDueToResources.length > 0) {
|
|
935
|
-
return this._tryToSplitAndRedo(strResource, element, null, localize(
|
|
935
|
+
return this._tryToSplitAndRedo(strResource, element, null, localize(2036, "Could not redo '{0}' across all files because changes were made to {1}", element.label, cannotRedoDueToResources.join(', ')));
|
|
936
936
|
}
|
|
937
937
|
const cannotLockDueToResources = [];
|
|
938
938
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -941,11 +941,11 @@ let UndoRedoService = class UndoRedoService {
|
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
943
|
if (cannotLockDueToResources.length > 0) {
|
|
944
|
-
return this._tryToSplitAndRedo(strResource, element, null, localize(
|
|
944
|
+
return this._tryToSplitAndRedo(strResource, element, null, localize(2037, "Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(', ')));
|
|
945
945
|
}
|
|
946
946
|
// check if new stack elements were added in the meantime...
|
|
947
947
|
if (!editStackSnapshot.isValid()) {
|
|
948
|
-
return this._tryToSplitAndRedo(strResource, element, null, localize(
|
|
948
|
+
return this._tryToSplitAndRedo(strResource, element, null, localize(2038, "Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
|
|
949
949
|
}
|
|
950
950
|
return null;
|
|
951
951
|
}
|
|
@@ -984,7 +984,7 @@ let UndoRedoService = class UndoRedoService {
|
|
|
984
984
|
return;
|
|
985
985
|
}
|
|
986
986
|
if (editStack.locked) {
|
|
987
|
-
const message = localize(
|
|
987
|
+
const message = localize(2039, "Could not redo '{0}' because there is already an undo or redo operation running.", element.label);
|
|
988
988
|
this._notificationService.warn(message);
|
|
989
989
|
return;
|
|
990
990
|
}
|
|
@@ -75,7 +75,7 @@ class WorkspaceFolder {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
const WORKSPACE_EXTENSION = 'code-workspace';
|
|
78
|
-
[{ name: localize(
|
|
78
|
+
[{ name: localize(2040, "Code Workspace"), extensions: [WORKSPACE_EXTENSION] }];
|
|
79
79
|
const STANDALONE_EDITOR_WORKSPACE_ID = '4064f6ec-cb38-4ad0-af64-ee6467e63c82';
|
|
80
80
|
function isStandaloneEditorWorkspace(workspace) {
|
|
81
81
|
return workspace.id === STANDALONE_EDITOR_WORKSPACE_ID;
|