monaco-editor 0.56.0-dev-20260121 → 0.56.0-dev-20260123
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-C1mHXZTT.js → css.worker-ffp49_cC.js} +58 -56
- package/dev/vs/assets/{editor.worker-DMuwmZqI.js → editor.worker-waqpqn9S.js} +58 -56
- package/dev/vs/assets/{editorWebWorkerMain-BF9MKtzx.js → editorWebWorkerMain-rsQTQBqS.js} +58 -56
- package/dev/vs/assets/{html.worker-CnU9mi9l.js → html.worker-B-Dhwg_P.js} +58 -56
- package/dev/vs/assets/{json.worker-CnKP0LWf.js → json.worker-Cz-hJJ-X.js} +58 -56
- package/dev/vs/assets/{ts.worker-Cw4JXdL0.js → ts.worker-BHSjxfUg.js} +58 -56
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{css.worker-B9TJsr2Z.js → css.worker-DbKG6W5b.js} +2 -2
- package/dev/vs/{cssMode-B0VkNrib.js → cssMode-C3CjCC4D.js} +1 -1
- package/dev/vs/editor/editor.main.css +20 -49
- package/dev/vs/editor/editor.main.js +2 -2
- package/dev/vs/editor/editor.worker.js +1 -1
- package/dev/vs/{editor-CR18QzPP.js → editor-ByVgNwiX.js} +1232 -1136
- package/dev/vs/editor.js +1 -1
- package/dev/vs/{editorWorkerHost--0eDLpc-.js → editorWorkerHost-CSCfA6JO.js} +60 -58
- package/dev/vs/{freemarker2-Byr9HmH9.js → freemarker2-Bnmb8_zY.js} +1 -1
- package/dev/vs/{handlebars-BEVXeROF.js → handlebars-Dc4pj4ST.js} +1 -1
- package/dev/vs/{html-CetHjWIf.js → html-Gx48L-1h.js} +1 -1
- package/dev/vs/{html.worker-B4TnFQEA.js → html.worker-Q3fLApWB.js} +2 -2
- package/dev/vs/{htmlMode-BNKYUVNo.js → htmlMode-C0cIjK2m.js} +1 -1
- package/dev/vs/{index-g_7JbDIY.js → index-BmuewTCy.js} +1 -1
- package/dev/vs/index.js +1 -1
- package/dev/vs/{initialize-Bfvoywyr.js → initialize-J9jkp405.js} +1 -1
- package/dev/vs/{javascript-BEgEU725.js → javascript-D0xbuIYt.js} +1 -1
- package/dev/vs/{json.worker-C2LEGBju.js → json.worker-Byvb_Y0q.js} +2 -2
- package/dev/vs/{jsonMode-CT2UkfFE.js → jsonMode-Dc1J228j.js} +1 -1
- package/dev/vs/language/css/css.worker.js +1 -1
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/html.worker.js +1 -1
- package/dev/vs/language/html/monaco.contribution.js +1 -1
- package/dev/vs/language/json/json.worker.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/language/typescript/ts.worker.js +1 -1
- package/dev/vs/{liquid-D-aiCb1P.js → liquid-BS75ollB.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-CE9Occyu.js → lspLanguageFeatures-9tffJ5tN.js} +1 -1
- package/dev/vs/{mdx-DchJ8pbq.js → mdx-BafRHPZZ.js} +1 -1
- package/dev/vs/{monaco.contribution-CVBrIlxn.js → monaco.contribution-BOrU-t9u.js} +2 -2
- package/dev/vs/{monaco.contribution-CZxuzvA9.js → monaco.contribution-BuTPNIwn.js} +2 -2
- package/dev/vs/{monaco.contribution-Cw4OdERZ.js → monaco.contribution-D_m9AMAg.js} +2 -2
- package/dev/vs/{monaco.contribution-CHqb1dWh.js → monaco.contribution-DhNNHvGu.js} +2 -2
- package/dev/vs/nls/lang/cs.js +2 -2
- package/dev/vs/nls/lang/de.js +2 -2
- package/dev/vs/nls/lang/es.js +2 -2
- package/dev/vs/nls/lang/fr.js +2 -2
- package/dev/vs/nls/lang/it.js +2 -2
- package/dev/vs/nls/lang/ja.js +2 -2
- package/dev/vs/nls/lang/ko.js +2 -2
- package/dev/vs/nls/lang/pl.js +2 -2
- package/dev/vs/nls/lang/pt-br.js +2 -2
- package/dev/vs/nls/lang/ru.js +2 -2
- package/dev/vs/nls/lang/tr.js +2 -2
- package/dev/vs/nls/lang/zh-cn.js +2 -2
- package/dev/vs/nls/lang/zh-tw.js +2 -2
- package/dev/vs/{python-BCOSaCC8.js → python-D-c3bdyL.js} +1 -1
- package/dev/vs/{razor-BM2tZCwj.js → razor-v7al5kd4.js} +1 -1
- package/dev/vs/{toggleHighContrast-CLgtrrIB.js → toggleHighContrast-DkOkzJmE.js} +952 -839
- package/dev/vs/{ts.worker-CArJhH03.js → ts.worker-D8b1uxsf.js} +2 -2
- package/dev/vs/{tsMode-jpkv3SbL.js → tsMode-KTRrMuzt.js} +1 -1
- package/dev/vs/{typescript-f8pt88eA.js → typescript-BSiaiq-E.js} +1 -1
- package/dev/vs/{workers-zrUx_2Gw.js → workers-CRiEObDp.js} +1 -1
- package/dev/vs/{xml-CmSjtiR0.js → xml-CNu5z8S7.js} +1 -1
- package/dev/vs/{yaml-PRriLGdw.js → yaml-3Fy2WUAc.js} +1 -1
- package/esm/vs/base/browser/markdownRenderer.js +0 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/tree/abstractTree.js +15 -2
- package/esm/vs/base/common/actions.js +1 -1
- package/esm/vs/base/common/codiconsLibrary.js +2 -0
- package/esm/vs/base/common/errorMessage.js +6 -6
- package/esm/vs/base/common/keybindingLabels.js +20 -20
- package/esm/vs/base/common/network.js +0 -2
- package/esm/vs/base/common/observableInternal/observables/derivedImpl.js +10 -4
- 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/observableCodeEditor.js +41 -0
- package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
- package/esm/vs/editor/browser/services/renameSymbolTrackerService.js +18 -0
- package/esm/vs/editor/browser/view.js +3 -0
- package/esm/vs/editor/browser/viewParts/viewLines/viewLine.js +14 -0
- package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +7 -0
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +8 -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/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/browser/widget/multiDiffEditor/style.css +2 -41
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +55 -55
- package/esm/vs/editor/common/config/editorOptions.js +410 -410
- package/esm/vs/editor/common/core/editorColorRegistry.js +70 -70
- package/esm/vs/editor/common/editorContextKeys.js +48 -48
- 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 +11 -11
- 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 +44 -34
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +5 -4
- 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/hoverColorPicker/hoverColorPickerParticipant.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.css +5 -6
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +2 -1
- package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +55 -47
- 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 +40 -40
- 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/hoverCopyButton.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +7 -7
- 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 +21 -21
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +107 -18
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +3 -3
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +2 -8
- 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 +10 -10
- 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 +9 -9
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- 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 +3 -3
- package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js +2 -1
- package/esm/vs/editor/standalone/browser/standaloneServices.js +2 -0
- package/esm/vs/nls/lang/cs.js +2 -2
- package/esm/vs/nls/lang/de.js +2 -2
- package/esm/vs/nls/lang/es.js +2 -2
- package/esm/vs/nls/lang/fr.js +2 -2
- package/esm/vs/nls/lang/it.js +2 -2
- package/esm/vs/nls/lang/ja.js +2 -2
- package/esm/vs/nls/lang/ko.js +2 -2
- package/esm/vs/nls/lang/pl.js +2 -2
- package/esm/vs/nls/lang/pt-br.js +2 -2
- package/esm/vs/nls/lang/ru.js +2 -2
- package/esm/vs/nls/lang/tr.js +2 -2
- package/esm/vs/nls/lang/zh-cn.js +2 -2
- package/esm/vs/nls/lang/zh-tw.js +2 -2
- 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 +35 -12
- package/esm/vs/platform/actionWidget/browser/actionWidget.css +10 -0
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/actions.js +2 -0
- 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/hover/browser/hoverWidget.js +1 -1
- package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- 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 +8 -8
- 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/quickinput/browser/tree/quickTree.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +18 -18
- 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 +16 -16
- 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-57ylMqdQ.js → css.worker-vaqto7sr.js} +1 -1
- package/min/vs/assets/{editor.worker-C7rTzOHm.js → editor.worker-BuSZtiLy.js} +1 -1
- package/min/vs/assets/{editorWebWorkerMain-CRWuSSWk.js → editorWebWorkerMain-CcySIMs1.js} +1 -1
- package/min/vs/assets/{html.worker-DUkJXKh4.js → html.worker-tjoOkh5c.js} +29 -29
- package/min/vs/assets/{json.worker-DHFIjIvp.js → json.worker-ChdyNJDo.js} +1 -1
- package/min/vs/assets/{ts.worker-CKcSPjM2.js → ts.worker-2vlHj5mS.js} +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/css.worker-BZUqk_6e.js +1 -0
- package/min/vs/{cssMode-CheCY05R.js → cssMode-EV9AppWM.js} +1 -1
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +1 -1
- package/min/vs/editor/editor.worker.js +1 -1
- package/min/vs/{editor-DxYWA3-X.js → editor-CWlwBnTd.js} +100 -100
- package/min/vs/editor.js +1 -1
- package/min/vs/{editorWorkerHost-DnKHgOKB.js → editorWorkerHost-BdAdaHF2.js} +2 -2
- package/min/vs/{freemarker2-C7J7V1Hp.js → freemarker2-CVBBrC8k.js} +1 -1
- package/min/vs/{handlebars-DsCar5Ix.js → handlebars-jFcyrSuz.js} +1 -1
- package/min/vs/{html-BGLIaUZV.js → html-IMKtsVBe.js} +1 -1
- package/min/vs/html.worker-BWiqWL_n.js +1 -0
- package/min/vs/{htmlMode-BB6WOoy3.js → htmlMode-GF6ANT1a.js} +1 -1
- package/min/vs/{index-BdR0nSqf.js → index-Duco_ua_.js} +1 -1
- package/min/vs/index.js +1 -1
- package/min/vs/{initialize-BZ6ciHHH.js → initialize-ChT-7fRb.js} +1 -1
- package/min/vs/{javascript-CXE3i1eX.js → javascript-CBNkgHAf.js} +1 -1
- package/min/vs/json.worker-ByICzyV2.js +1 -0
- package/min/vs/{jsonMode-rtaE9alu.js → jsonMode-Dcnh-7Ad.js} +1 -1
- package/min/vs/language/css/css.worker.js +1 -1
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/html.worker.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/json.worker.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/language/typescript/ts.worker.js +1 -1
- package/min/vs/{liquid-CEdn0ovR.js → liquid-_SgSuP3b.js} +1 -1
- package/min/vs/{lspLanguageFeatures-CRAjJmzF.js → lspLanguageFeatures-GNn6MJbu.js} +1 -1
- package/min/vs/{mdx-DLDMIqnu.js → mdx-Erxbe_-t.js} +1 -1
- package/min/vs/{monaco.contribution-C67XgReK.js → monaco.contribution-0dpFCE3L.js} +1 -1
- package/min/vs/{monaco.contribution-DjiQkKLa.js → monaco.contribution-BnqxFPvj.js} +1 -1
- package/min/vs/{monaco.contribution-BrRAk-VA.js → monaco.contribution-BxCvVJFk.js} +1 -1
- package/min/vs/{monaco.contribution-CYT-Sx3l.js → monaco.contribution-CeyPlyhD.js} +1 -1
- package/min/vs/nls/lang/cs.js +2 -2
- package/min/vs/nls/lang/de.js +2 -2
- package/min/vs/nls/lang/es.js +2 -2
- package/min/vs/nls/lang/fr.js +2 -2
- package/min/vs/nls/lang/it.js +2 -2
- package/min/vs/nls/lang/ja.js +2 -2
- package/min/vs/nls/lang/ko.js +2 -2
- package/min/vs/nls/lang/pl.js +2 -2
- package/min/vs/nls/lang/pt-br.js +2 -2
- package/min/vs/nls/lang/ru.js +2 -2
- package/min/vs/nls/lang/tr.js +2 -2
- package/min/vs/nls/lang/zh-cn.js +2 -2
- package/min/vs/nls/lang/zh-tw.js +2 -2
- package/min/vs/{python-CKbl_I3e.js → python-DzOjdI_x.js} +1 -1
- package/min/vs/{razor--RjiPxbd.js → razor-Dwx3J3cB.js} +1 -1
- package/min/vs/{toggleHighContrast-BKDMxisH.js → toggleHighContrast-Bg5GLQ5J.js} +32 -32
- package/min/vs/ts.worker-GOUX_DXT.js +1 -0
- package/min/vs/{tsMode-C48d5M22.js → tsMode-DxnLySbu.js} +1 -1
- package/min/vs/{typescript-e7oUhPyX.js → typescript-Blb6Hbmt.js} +1 -1
- package/min/vs/{workers-CtpYUoCo.js → workers-BmNNZ7XJ.js} +1 -1
- package/min/vs/{xml-tOyfgws7.js → xml-VvrpA2Ly.js} +1 -1
- package/min/vs/{yaml-Cmf9NYDf.js → yaml-CsmbXG_T.js} +1 -1
- package/package.json +3 -3
- package/min/vs/css.worker-CkPP9VjP.js +0 -1
- package/min/vs/html.worker-uHOusrcK.js +0 -1
- package/min/vs/json.worker-DGsNKzKv.js +0 -1
- package/min/vs/ts.worker-DyDnfuDL.js +0 -1
|
@@ -9,58 +9,58 @@ import { editorWidgetBackground } from './editorColors.js';
|
|
|
9
9
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
10
10
|
*--------------------------------------------------------------------------------------------*/
|
|
11
11
|
// ----- input
|
|
12
|
-
const inputBackground = registerColor('input.background', { dark: '#3C3C3C', light: Color.white, hcDark: Color.black, hcLight: Color.white }, localize(
|
|
13
|
-
const inputForeground = registerColor('input.foreground', foreground, localize(
|
|
14
|
-
const inputBorder = registerColor('input.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
15
|
-
const inputActiveOptionBorder = registerColor('inputOption.activeBorder', { dark: '#007ACC', light: '#007ACC', hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
16
|
-
const inputActiveOptionHoverBackground = registerColor('inputOption.hoverBackground', { dark: '#5a5d5e80', light: '#b8b8b850', hcDark: null, hcLight: null }, localize(
|
|
17
|
-
const inputActiveOptionBackground = registerColor('inputOption.activeBackground', { dark: transparent(focusBorder, 0.4), light: transparent(focusBorder, 0.2), hcDark: Color.transparent, hcLight: Color.transparent }, localize(
|
|
18
|
-
const inputActiveOptionForeground = registerColor('inputOption.activeForeground', { dark: Color.white, light: Color.black, hcDark: foreground, hcLight: foreground }, localize(
|
|
19
|
-
registerColor('input.placeholderForeground', { light: transparent(foreground, 0.5), dark: transparent(foreground, 0.5), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, localize(
|
|
12
|
+
const inputBackground = registerColor('input.background', { dark: '#3C3C3C', light: Color.white, hcDark: Color.black, hcLight: Color.white }, localize(1914, "Input box background."));
|
|
13
|
+
const inputForeground = registerColor('input.foreground', foreground, localize(1915, "Input box foreground."));
|
|
14
|
+
const inputBorder = registerColor('input.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(1916, "Input box border."));
|
|
15
|
+
const inputActiveOptionBorder = registerColor('inputOption.activeBorder', { dark: '#007ACC', light: '#007ACC', hcDark: contrastBorder, hcLight: contrastBorder }, localize(1917, "Border color of activated options in input fields."));
|
|
16
|
+
const inputActiveOptionHoverBackground = registerColor('inputOption.hoverBackground', { dark: '#5a5d5e80', light: '#b8b8b850', hcDark: null, hcLight: null }, localize(1918, "Background color of activated options in input fields."));
|
|
17
|
+
const inputActiveOptionBackground = registerColor('inputOption.activeBackground', { dark: transparent(focusBorder, 0.4), light: transparent(focusBorder, 0.2), hcDark: Color.transparent, hcLight: Color.transparent }, localize(1919, "Background hover color of options in input fields."));
|
|
18
|
+
const inputActiveOptionForeground = registerColor('inputOption.activeForeground', { dark: Color.white, light: Color.black, hcDark: foreground, hcLight: foreground }, localize(1920, "Foreground color of activated options in input fields."));
|
|
19
|
+
registerColor('input.placeholderForeground', { light: transparent(foreground, 0.5), dark: transparent(foreground, 0.5), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, localize(1921, "Input box foreground color for placeholder text."));
|
|
20
20
|
// ----- input validation
|
|
21
|
-
const inputValidationInfoBackground = registerColor('inputValidation.infoBackground', { dark: '#063B49', light: '#D6ECF2', hcDark: Color.black, hcLight: Color.white }, localize(
|
|
22
|
-
const inputValidationInfoForeground = registerColor('inputValidation.infoForeground', { dark: null, light: null, hcDark: null, hcLight: foreground }, localize(
|
|
23
|
-
const inputValidationInfoBorder = registerColor('inputValidation.infoBorder', { dark: '#007acc', light: '#007acc', hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
24
|
-
const inputValidationWarningBackground = registerColor('inputValidation.warningBackground', { dark: '#352A05', light: '#F6F5D2', hcDark: Color.black, hcLight: Color.white }, localize(
|
|
25
|
-
const inputValidationWarningForeground = registerColor('inputValidation.warningForeground', { dark: null, light: null, hcDark: null, hcLight: foreground }, localize(
|
|
26
|
-
const inputValidationWarningBorder = registerColor('inputValidation.warningBorder', { dark: '#B89500', light: '#B89500', hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
27
|
-
const inputValidationErrorBackground = registerColor('inputValidation.errorBackground', { dark: '#5A1D1D', light: '#F2DEDE', hcDark: Color.black, hcLight: Color.white }, localize(
|
|
28
|
-
const inputValidationErrorForeground = registerColor('inputValidation.errorForeground', { dark: null, light: null, hcDark: null, hcLight: foreground }, localize(
|
|
29
|
-
const inputValidationErrorBorder = registerColor('inputValidation.errorBorder', { dark: '#BE1100', light: '#BE1100', hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
21
|
+
const inputValidationInfoBackground = registerColor('inputValidation.infoBackground', { dark: '#063B49', light: '#D6ECF2', hcDark: Color.black, hcLight: Color.white }, localize(1922, "Input validation background color for information severity."));
|
|
22
|
+
const inputValidationInfoForeground = registerColor('inputValidation.infoForeground', { dark: null, light: null, hcDark: null, hcLight: foreground }, localize(1923, "Input validation foreground color for information severity."));
|
|
23
|
+
const inputValidationInfoBorder = registerColor('inputValidation.infoBorder', { dark: '#007acc', light: '#007acc', hcDark: contrastBorder, hcLight: contrastBorder }, localize(1924, "Input validation border color for information severity."));
|
|
24
|
+
const inputValidationWarningBackground = registerColor('inputValidation.warningBackground', { dark: '#352A05', light: '#F6F5D2', hcDark: Color.black, hcLight: Color.white }, localize(1925, "Input validation background color for warning severity."));
|
|
25
|
+
const inputValidationWarningForeground = registerColor('inputValidation.warningForeground', { dark: null, light: null, hcDark: null, hcLight: foreground }, localize(1926, "Input validation foreground color for warning severity."));
|
|
26
|
+
const inputValidationWarningBorder = registerColor('inputValidation.warningBorder', { dark: '#B89500', light: '#B89500', hcDark: contrastBorder, hcLight: contrastBorder }, localize(1927, "Input validation border color for warning severity."));
|
|
27
|
+
const inputValidationErrorBackground = registerColor('inputValidation.errorBackground', { dark: '#5A1D1D', light: '#F2DEDE', hcDark: Color.black, hcLight: Color.white }, localize(1928, "Input validation background color for error severity."));
|
|
28
|
+
const inputValidationErrorForeground = registerColor('inputValidation.errorForeground', { dark: null, light: null, hcDark: null, hcLight: foreground }, localize(1929, "Input validation foreground color for error severity."));
|
|
29
|
+
const inputValidationErrorBorder = registerColor('inputValidation.errorBorder', { dark: '#BE1100', light: '#BE1100', hcDark: contrastBorder, hcLight: contrastBorder }, localize(1930, "Input validation border color for error severity."));
|
|
30
30
|
// ----- select
|
|
31
|
-
const selectBackground = registerColor('dropdown.background', { dark: '#3C3C3C', light: Color.white, hcDark: Color.black, hcLight: Color.white }, localize(
|
|
32
|
-
const selectListBackground = registerColor('dropdown.listBackground', { dark: null, light: null, hcDark: Color.black, hcLight: Color.white }, localize(
|
|
33
|
-
const selectForeground = registerColor('dropdown.foreground', { dark: '#F0F0F0', light: foreground, hcDark: Color.white, hcLight: foreground }, localize(
|
|
34
|
-
const selectBorder = registerColor('dropdown.border', { dark: selectBackground, light: '#CECECE', hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
31
|
+
const selectBackground = registerColor('dropdown.background', { dark: '#3C3C3C', light: Color.white, hcDark: Color.black, hcLight: Color.white }, localize(1931, "Dropdown background."));
|
|
32
|
+
const selectListBackground = registerColor('dropdown.listBackground', { dark: null, light: null, hcDark: Color.black, hcLight: Color.white }, localize(1932, "Dropdown list background."));
|
|
33
|
+
const selectForeground = registerColor('dropdown.foreground', { dark: '#F0F0F0', light: foreground, hcDark: Color.white, hcLight: foreground }, localize(1933, "Dropdown foreground."));
|
|
34
|
+
const selectBorder = registerColor('dropdown.border', { dark: selectBackground, light: '#CECECE', hcDark: contrastBorder, hcLight: contrastBorder }, localize(1934, "Dropdown border."));
|
|
35
35
|
// ------ button
|
|
36
|
-
const buttonForeground = registerColor('button.foreground', Color.white, localize(
|
|
37
|
-
const buttonSeparator = registerColor('button.separator', transparent(buttonForeground, .4), localize(
|
|
38
|
-
const buttonBackground = registerColor('button.background', { dark: '#0E639C', light: '#007ACC', hcDark: Color.black, hcLight: '#0F4A85' }, localize(
|
|
39
|
-
const buttonHoverBackground = registerColor('button.hoverBackground', { dark: lighten(buttonBackground, 0.2), light: darken(buttonBackground, 0.2), hcDark: buttonBackground, hcLight: buttonBackground }, localize(
|
|
40
|
-
const buttonBorder = registerColor('button.border', contrastBorder, localize(
|
|
41
|
-
const buttonSecondaryForeground = registerColor('button.secondaryForeground', { dark: Color.white, light: Color.white, hcDark: Color.white, hcLight: foreground }, localize(
|
|
42
|
-
const buttonSecondaryBackground = registerColor('button.secondaryBackground', { dark: '#3A3D41', light: '#5F6A79', hcDark: null, hcLight: Color.white }, localize(
|
|
43
|
-
const buttonSecondaryHoverBackground = registerColor('button.secondaryHoverBackground', { dark: lighten(buttonSecondaryBackground, 0.2), light: darken(buttonSecondaryBackground, 0.2), hcDark: null, hcLight: null }, localize(
|
|
36
|
+
const buttonForeground = registerColor('button.foreground', Color.white, localize(1935, "Button foreground color."));
|
|
37
|
+
const buttonSeparator = registerColor('button.separator', transparent(buttonForeground, .4), localize(1936, "Button separator color."));
|
|
38
|
+
const buttonBackground = registerColor('button.background', { dark: '#0E639C', light: '#007ACC', hcDark: Color.black, hcLight: '#0F4A85' }, localize(1937, "Button background color."));
|
|
39
|
+
const buttonHoverBackground = registerColor('button.hoverBackground', { dark: lighten(buttonBackground, 0.2), light: darken(buttonBackground, 0.2), hcDark: buttonBackground, hcLight: buttonBackground }, localize(1938, "Button background color when hovering."));
|
|
40
|
+
const buttonBorder = registerColor('button.border', contrastBorder, localize(1939, "Button border color."));
|
|
41
|
+
const buttonSecondaryForeground = registerColor('button.secondaryForeground', { dark: Color.white, light: Color.white, hcDark: Color.white, hcLight: foreground }, localize(1940, "Secondary button foreground color."));
|
|
42
|
+
const buttonSecondaryBackground = registerColor('button.secondaryBackground', { dark: '#3A3D41', light: '#5F6A79', hcDark: null, hcLight: Color.white }, localize(1941, "Secondary button background color."));
|
|
43
|
+
const buttonSecondaryHoverBackground = registerColor('button.secondaryHoverBackground', { dark: lighten(buttonSecondaryBackground, 0.2), light: darken(buttonSecondaryBackground, 0.2), hcDark: null, hcLight: null }, localize(1942, "Secondary button background color when hovering."));
|
|
44
44
|
// ------ radio
|
|
45
|
-
const radioActiveForeground = registerColor('radio.activeForeground', inputActiveOptionForeground, localize(
|
|
46
|
-
const radioActiveBackground = registerColor('radio.activeBackground', inputActiveOptionBackground, localize(
|
|
47
|
-
const radioActiveBorder = registerColor('radio.activeBorder', inputActiveOptionBorder, localize(
|
|
48
|
-
const radioInactiveForeground = registerColor('radio.inactiveForeground', null, localize(
|
|
49
|
-
const radioInactiveBackground = registerColor('radio.inactiveBackground', null, localize(
|
|
50
|
-
const radioInactiveBorder = registerColor('radio.inactiveBorder', { light: transparent(radioActiveForeground, .2), dark: transparent(radioActiveForeground, .2), hcDark: transparent(radioActiveForeground, .4), hcLight: transparent(radioActiveForeground, .2) }, localize(
|
|
51
|
-
const radioInactiveHoverBackground = registerColor('radio.inactiveHoverBackground', inputActiveOptionHoverBackground, localize(
|
|
45
|
+
const radioActiveForeground = registerColor('radio.activeForeground', inputActiveOptionForeground, localize(1943, "Foreground color of active radio option."));
|
|
46
|
+
const radioActiveBackground = registerColor('radio.activeBackground', inputActiveOptionBackground, localize(1944, "Background color of active radio option."));
|
|
47
|
+
const radioActiveBorder = registerColor('radio.activeBorder', inputActiveOptionBorder, localize(1945, "Border color of the active radio option."));
|
|
48
|
+
const radioInactiveForeground = registerColor('radio.inactiveForeground', null, localize(1946, "Foreground color of inactive radio option."));
|
|
49
|
+
const radioInactiveBackground = registerColor('radio.inactiveBackground', null, localize(1947, "Background color of inactive radio option."));
|
|
50
|
+
const radioInactiveBorder = registerColor('radio.inactiveBorder', { light: transparent(radioActiveForeground, .2), dark: transparent(radioActiveForeground, .2), hcDark: transparent(radioActiveForeground, .4), hcLight: transparent(radioActiveForeground, .2) }, localize(1948, "Border color of the inactive radio option."));
|
|
51
|
+
const radioInactiveHoverBackground = registerColor('radio.inactiveHoverBackground', inputActiveOptionHoverBackground, localize(1949, "Background color of inactive active radio option when hovering."));
|
|
52
52
|
// ------ checkbox
|
|
53
|
-
const checkboxBackground = registerColor('checkbox.background', selectBackground, localize(
|
|
54
|
-
registerColor('checkbox.selectBackground', editorWidgetBackground, localize(
|
|
55
|
-
const checkboxForeground = registerColor('checkbox.foreground', selectForeground, localize(
|
|
56
|
-
const checkboxBorder = registerColor('checkbox.border', selectBorder, localize(
|
|
57
|
-
registerColor('checkbox.selectBorder', iconForeground, localize(
|
|
58
|
-
const checkboxDisabledBackground = registerColor('checkbox.disabled.background', { op: 7 /* ColorTransformType.Mix */, color: checkboxBackground, with: checkboxForeground, ratio: 0.33 }, localize(
|
|
59
|
-
const checkboxDisabledForeground = registerColor('checkbox.disabled.foreground', { op: 7 /* ColorTransformType.Mix */, color: checkboxForeground, with: checkboxBackground, ratio: 0.33 }, localize(
|
|
53
|
+
const checkboxBackground = registerColor('checkbox.background', selectBackground, localize(1950, "Background color of checkbox widget."));
|
|
54
|
+
registerColor('checkbox.selectBackground', editorWidgetBackground, localize(1951, "Background color of checkbox widget when the element it's in is selected."));
|
|
55
|
+
const checkboxForeground = registerColor('checkbox.foreground', selectForeground, localize(1952, "Foreground color of checkbox widget."));
|
|
56
|
+
const checkboxBorder = registerColor('checkbox.border', selectBorder, localize(1953, "Border color of checkbox widget."));
|
|
57
|
+
registerColor('checkbox.selectBorder', iconForeground, localize(1954, "Border color of checkbox widget when the element it's in is selected."));
|
|
58
|
+
const checkboxDisabledBackground = registerColor('checkbox.disabled.background', { op: 7 /* ColorTransformType.Mix */, color: checkboxBackground, with: checkboxForeground, ratio: 0.33 }, localize(1955, "Background of a disabled checkbox."));
|
|
59
|
+
const checkboxDisabledForeground = registerColor('checkbox.disabled.foreground', { op: 7 /* ColorTransformType.Mix */, color: checkboxForeground, with: checkboxBackground, ratio: 0.33 }, localize(1956, "Foreground of a disabled checkbox."));
|
|
60
60
|
// ------ keybinding label
|
|
61
|
-
const keybindingLabelBackground = registerColor('keybindingLabel.background', { dark: new Color(new RGBA(128, 128, 128, 0.17)), light: new Color(new RGBA(221, 221, 221, 0.4)), hcDark: Color.transparent, hcLight: Color.transparent }, localize(
|
|
62
|
-
const keybindingLabelForeground = registerColor('keybindingLabel.foreground', { dark: Color.fromHex('#CCCCCC'), light: Color.fromHex('#555555'), hcDark: Color.white, hcLight: foreground }, localize(
|
|
63
|
-
const keybindingLabelBorder = registerColor('keybindingLabel.border', { dark: new Color(new RGBA(51, 51, 51, 0.6)), light: new Color(new RGBA(204, 204, 204, 0.4)), hcDark: new Color(new RGBA(111, 195, 223)), hcLight: contrastBorder }, localize(
|
|
64
|
-
const keybindingLabelBottomBorder = registerColor('keybindingLabel.bottomBorder', { dark: new Color(new RGBA(68, 68, 68, 0.6)), light: new Color(new RGBA(187, 187, 187, 0.4)), hcDark: new Color(new RGBA(111, 195, 223)), hcLight: foreground }, localize(
|
|
61
|
+
const keybindingLabelBackground = registerColor('keybindingLabel.background', { dark: new Color(new RGBA(128, 128, 128, 0.17)), light: new Color(new RGBA(221, 221, 221, 0.4)), hcDark: Color.transparent, hcLight: Color.transparent }, localize(1957, "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut."));
|
|
62
|
+
const keybindingLabelForeground = registerColor('keybindingLabel.foreground', { dark: Color.fromHex('#CCCCCC'), light: Color.fromHex('#555555'), hcDark: Color.white, hcLight: foreground }, localize(1958, "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut."));
|
|
63
|
+
const keybindingLabelBorder = registerColor('keybindingLabel.border', { dark: new Color(new RGBA(51, 51, 51, 0.6)), light: new Color(new RGBA(204, 204, 204, 0.4)), hcDark: new Color(new RGBA(111, 195, 223)), hcLight: contrastBorder }, localize(1959, "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut."));
|
|
64
|
+
const keybindingLabelBottomBorder = registerColor('keybindingLabel.bottomBorder', { dark: new Color(new RGBA(68, 68, 68, 0.6)), light: new Color(new RGBA(187, 187, 187, 0.4)), hcDark: new Color(new RGBA(111, 195, 223)), hcLight: foreground }, localize(1960, "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut."));
|
|
65
65
|
|
|
66
66
|
export { buttonBackground, buttonBorder, buttonForeground, buttonHoverBackground, buttonSecondaryBackground, buttonSecondaryForeground, buttonSecondaryHoverBackground, buttonSeparator, checkboxBackground, checkboxBorder, checkboxDisabledBackground, checkboxDisabledForeground, checkboxForeground, inputActiveOptionBackground, inputActiveOptionBorder, inputActiveOptionForeground, inputActiveOptionHoverBackground, inputBackground, inputBorder, inputForeground, inputValidationErrorBackground, inputValidationErrorBorder, inputValidationErrorForeground, inputValidationInfoBackground, inputValidationInfoBorder, inputValidationInfoForeground, inputValidationWarningBackground, inputValidationWarningBorder, inputValidationWarningForeground, keybindingLabelBackground, keybindingLabelBorder, keybindingLabelBottomBorder, keybindingLabelForeground, radioActiveBackground, radioActiveBorder, radioActiveForeground, radioInactiveBackground, radioInactiveBorder, radioInactiveForeground, radioInactiveHoverBackground, selectBackground, selectBorder, selectForeground, selectListBackground };
|
|
@@ -8,44 +8,44 @@ import { editorWidgetBackground, widgetShadow, editorFindMatchHighlight, editorF
|
|
|
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 listFocusBackground = registerColor('list.focusBackground', null, localize(
|
|
12
|
-
const listFocusForeground = registerColor('list.focusForeground', null, localize(
|
|
13
|
-
const listFocusOutline = registerColor('list.focusOutline', { dark: focusBorder, light: focusBorder, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(
|
|
14
|
-
const listFocusAndSelectionOutline = registerColor('list.focusAndSelectionOutline', null, localize(
|
|
15
|
-
const listActiveSelectionBackground = registerColor('list.activeSelectionBackground', { dark: '#04395E', light: '#0060C0', hcDark: null, hcLight: Color.fromHex('#0F4A85').transparent(0.1) }, localize(
|
|
16
|
-
const listActiveSelectionForeground = registerColor('list.activeSelectionForeground', { dark: Color.white, light: Color.white, hcDark: null, hcLight: null }, localize(
|
|
17
|
-
const listActiveSelectionIconForeground = registerColor('list.activeSelectionIconForeground', null, localize(
|
|
18
|
-
const listInactiveSelectionBackground = registerColor('list.inactiveSelectionBackground', { dark: '#37373D', light: '#E4E6F1', hcDark: null, hcLight: Color.fromHex('#0F4A85').transparent(0.1) }, localize(
|
|
19
|
-
const listInactiveSelectionForeground = registerColor('list.inactiveSelectionForeground', null, localize(
|
|
20
|
-
const listInactiveSelectionIconForeground = registerColor('list.inactiveSelectionIconForeground', null, localize(
|
|
21
|
-
const listInactiveFocusBackground = registerColor('list.inactiveFocusBackground', null, localize(
|
|
22
|
-
const listInactiveFocusOutline = registerColor('list.inactiveFocusOutline', null, localize(
|
|
23
|
-
const listHoverBackground = registerColor('list.hoverBackground', { dark: '#2A2D2E', light: '#F0F0F0', hcDark: Color.white.transparent(0.1), hcLight: Color.fromHex('#0F4A85').transparent(0.1) }, localize(
|
|
24
|
-
const listHoverForeground = registerColor('list.hoverForeground', null, localize(
|
|
25
|
-
const listDropOverBackground = registerColor('list.dropBackground', { dark: '#062F4A', light: '#D6EBFF', hcDark: null, hcLight: null }, localize(
|
|
26
|
-
const listDropBetweenBackground = registerColor('list.dropBetweenBackground', { dark: iconForeground, light: iconForeground, hcDark: null, hcLight: null }, localize(
|
|
27
|
-
const listHighlightForeground = registerColor('list.highlightForeground', { dark: '#2AAAFF', light: '#0066BF', hcDark: focusBorder, hcLight: focusBorder }, localize(
|
|
28
|
-
const listFocusHighlightForeground = registerColor('list.focusHighlightForeground', { dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, '#BBE7FF'), hcDark: listHighlightForeground, hcLight: listHighlightForeground }, localize(
|
|
29
|
-
registerColor('list.invalidItemForeground', { dark: '#B89500', light: '#B89500', hcDark: '#B89500', hcLight: '#B5200D' }, localize(
|
|
30
|
-
registerColor('list.errorForeground', { dark: '#F88070', light: '#B01011', hcDark: null, hcLight: null }, localize(
|
|
31
|
-
registerColor('list.warningForeground', { dark: '#CCA700', light: '#855F00', hcDark: null, hcLight: null }, localize(
|
|
32
|
-
const listFilterWidgetBackground = registerColor('listFilterWidget.background', { light: darken(editorWidgetBackground, 0), dark: lighten(editorWidgetBackground, 0), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, localize(
|
|
33
|
-
const listFilterWidgetOutline = registerColor('listFilterWidget.outline', { dark: Color.transparent, light: Color.transparent, hcDark: '#f38518', hcLight: '#007ACC' }, localize(
|
|
34
|
-
const listFilterWidgetNoMatchesOutline = registerColor('listFilterWidget.noMatchesOutline', { dark: '#BE1100', light: '#BE1100', hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
35
|
-
const listFilterWidgetShadow = registerColor('listFilterWidget.shadow', widgetShadow, localize(
|
|
36
|
-
registerColor('list.filterMatchBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, localize(
|
|
37
|
-
registerColor('list.filterMatchBorder', { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, localize(
|
|
38
|
-
registerColor('list.deemphasizedForeground', { dark: '#8C8C8C', light: '#8E8E90', hcDark: '#A7A8A9', hcLight: '#666666' }, localize(
|
|
11
|
+
const listFocusBackground = registerColor('list.focusBackground', null, localize(1961, "List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
12
|
+
const listFocusForeground = registerColor('list.focusForeground', null, localize(1962, "List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
13
|
+
const listFocusOutline = registerColor('list.focusOutline', { dark: focusBorder, light: focusBorder, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(1963, "List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
14
|
+
const listFocusAndSelectionOutline = registerColor('list.focusAndSelectionOutline', null, localize(1964, "List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not."));
|
|
15
|
+
const listActiveSelectionBackground = registerColor('list.activeSelectionBackground', { dark: '#04395E', light: '#0060C0', hcDark: null, hcLight: Color.fromHex('#0F4A85').transparent(0.1) }, localize(1965, "List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
16
|
+
const listActiveSelectionForeground = registerColor('list.activeSelectionForeground', { dark: Color.white, light: Color.white, hcDark: null, hcLight: null }, localize(1966, "List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
17
|
+
const listActiveSelectionIconForeground = registerColor('list.activeSelectionIconForeground', null, localize(1967, "List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not."));
|
|
18
|
+
const listInactiveSelectionBackground = registerColor('list.inactiveSelectionBackground', { dark: '#37373D', light: '#E4E6F1', hcDark: null, hcLight: Color.fromHex('#0F4A85').transparent(0.1) }, localize(1968, "List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
19
|
+
const listInactiveSelectionForeground = registerColor('list.inactiveSelectionForeground', null, localize(1969, "List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
20
|
+
const listInactiveSelectionIconForeground = registerColor('list.inactiveSelectionIconForeground', null, localize(1970, "List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
21
|
+
const listInactiveFocusBackground = registerColor('list.inactiveFocusBackground', null, localize(1971, "List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
22
|
+
const listInactiveFocusOutline = registerColor('list.inactiveFocusOutline', null, localize(1972, "List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not."));
|
|
23
|
+
const listHoverBackground = registerColor('list.hoverBackground', { dark: '#2A2D2E', light: '#F0F0F0', hcDark: Color.white.transparent(0.1), hcLight: Color.fromHex('#0F4A85').transparent(0.1) }, localize(1973, "List/Tree background when hovering over items using the mouse."));
|
|
24
|
+
const listHoverForeground = registerColor('list.hoverForeground', null, localize(1974, "List/Tree foreground when hovering over items using the mouse."));
|
|
25
|
+
const listDropOverBackground = registerColor('list.dropBackground', { dark: '#062F4A', light: '#D6EBFF', hcDark: null, hcLight: null }, localize(1975, "List/Tree drag and drop background when moving items over other items when using the mouse."));
|
|
26
|
+
const listDropBetweenBackground = registerColor('list.dropBetweenBackground', { dark: iconForeground, light: iconForeground, hcDark: null, hcLight: null }, localize(1976, "List/Tree drag and drop border color when moving items between items when using the mouse."));
|
|
27
|
+
const listHighlightForeground = registerColor('list.highlightForeground', { dark: '#2AAAFF', light: '#0066BF', hcDark: focusBorder, hcLight: focusBorder }, localize(1977, 'List/Tree foreground color of the match highlights when searching inside the list/tree.'));
|
|
28
|
+
const listFocusHighlightForeground = registerColor('list.focusHighlightForeground', { dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, '#BBE7FF'), hcDark: listHighlightForeground, hcLight: listHighlightForeground }, localize(1978, 'List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree.'));
|
|
29
|
+
registerColor('list.invalidItemForeground', { dark: '#B89500', light: '#B89500', hcDark: '#B89500', hcLight: '#B5200D' }, localize(1979, 'List/Tree foreground color for invalid items, for example an unresolved root in explorer.'));
|
|
30
|
+
registerColor('list.errorForeground', { dark: '#F88070', light: '#B01011', hcDark: null, hcLight: null }, localize(1980, 'Foreground color of list items containing errors.'));
|
|
31
|
+
registerColor('list.warningForeground', { dark: '#CCA700', light: '#855F00', hcDark: null, hcLight: null }, localize(1981, 'Foreground color of list items containing warnings.'));
|
|
32
|
+
const listFilterWidgetBackground = registerColor('listFilterWidget.background', { light: darken(editorWidgetBackground, 0), dark: lighten(editorWidgetBackground, 0), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, localize(1982, 'Background color of the type filter widget in lists and trees.'));
|
|
33
|
+
const listFilterWidgetOutline = registerColor('listFilterWidget.outline', { dark: Color.transparent, light: Color.transparent, hcDark: '#f38518', hcLight: '#007ACC' }, localize(1983, 'Outline color of the type filter widget in lists and trees.'));
|
|
34
|
+
const listFilterWidgetNoMatchesOutline = registerColor('listFilterWidget.noMatchesOutline', { dark: '#BE1100', light: '#BE1100', hcDark: contrastBorder, hcLight: contrastBorder }, localize(1984, 'Outline color of the type filter widget in lists and trees, when there are no matches.'));
|
|
35
|
+
const listFilterWidgetShadow = registerColor('listFilterWidget.shadow', widgetShadow, localize(1985, 'Shadow color of the type filter widget in lists and trees.'));
|
|
36
|
+
registerColor('list.filterMatchBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, localize(1986, 'Background color of the filtered match.'));
|
|
37
|
+
registerColor('list.filterMatchBorder', { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, localize(1987, 'Border color of the filtered match.'));
|
|
38
|
+
registerColor('list.deemphasizedForeground', { dark: '#8C8C8C', light: '#8E8E90', hcDark: '#A7A8A9', hcLight: '#666666' }, localize(1988, "List/Tree foreground color for items that are deemphasized."));
|
|
39
39
|
// ------ tree
|
|
40
|
-
const treeIndentGuidesStroke = registerColor('tree.indentGuidesStroke', { dark: '#585858', light: '#a9a9a9', hcDark: '#a9a9a9', hcLight: '#a5a5a5' }, localize(
|
|
41
|
-
const treeInactiveIndentGuidesStroke = registerColor('tree.inactiveIndentGuidesStroke', transparent(treeIndentGuidesStroke, 0.4), localize(
|
|
40
|
+
const treeIndentGuidesStroke = registerColor('tree.indentGuidesStroke', { dark: '#585858', light: '#a9a9a9', hcDark: '#a9a9a9', hcLight: '#a5a5a5' }, localize(1989, "Tree stroke color for the indentation guides."));
|
|
41
|
+
const treeInactiveIndentGuidesStroke = registerColor('tree.inactiveIndentGuidesStroke', transparent(treeIndentGuidesStroke, 0.4), localize(1990, "Tree stroke color for the indentation guides that are not active."));
|
|
42
42
|
// ------ table
|
|
43
|
-
const tableColumnsBorder = registerColor('tree.tableColumnsBorder', { dark: '#CCCCCC20', light: '#61616120', hcDark: null, hcLight: null }, localize(
|
|
44
|
-
const tableOddRowsBackgroundColor = registerColor('tree.tableOddRowsBackground', { dark: transparent(foreground, 0.04), light: transparent(foreground, 0.04), hcDark: null, hcLight: null }, localize(
|
|
43
|
+
const tableColumnsBorder = registerColor('tree.tableColumnsBorder', { dark: '#CCCCCC20', light: '#61616120', hcDark: null, hcLight: null }, localize(1991, "Table border color between columns."));
|
|
44
|
+
const tableOddRowsBackgroundColor = registerColor('tree.tableOddRowsBackground', { dark: transparent(foreground, 0.04), light: transparent(foreground, 0.04), hcDark: null, hcLight: null }, localize(1992, "Background color for odd table rows."));
|
|
45
45
|
// ------ action list
|
|
46
|
-
registerColor('editorActionList.background', editorWidgetBackground, localize(
|
|
47
|
-
const editorActionListForeground = registerColor('editorActionList.foreground', editorWidgetForeground, localize(
|
|
48
|
-
registerColor('editorActionList.focusForeground', listActiveSelectionForeground, localize(
|
|
49
|
-
registerColor('editorActionList.focusBackground', listActiveSelectionBackground, localize(
|
|
46
|
+
registerColor('editorActionList.background', editorWidgetBackground, localize(1993, "Action List background color."));
|
|
47
|
+
const editorActionListForeground = registerColor('editorActionList.foreground', editorWidgetForeground, localize(1994, "Action List foreground color."));
|
|
48
|
+
registerColor('editorActionList.focusForeground', listActiveSelectionForeground, localize(1995, "Action List foreground color for the focused item."));
|
|
49
|
+
registerColor('editorActionList.focusBackground', listActiveSelectionBackground, localize(1996, "Action List background color for the focused item."));
|
|
50
50
|
|
|
51
51
|
export { editorActionListForeground, listActiveSelectionBackground, listActiveSelectionForeground, listActiveSelectionIconForeground, listDropBetweenBackground, listDropOverBackground, listFilterWidgetBackground, listFilterWidgetNoMatchesOutline, listFilterWidgetOutline, listFilterWidgetShadow, listFocusAndSelectionOutline, listFocusBackground, listFocusForeground, listFocusHighlightForeground, listFocusOutline, listHighlightForeground, listHoverBackground, listHoverForeground, listInactiveFocusBackground, listInactiveFocusOutline, listInactiveSelectionBackground, listInactiveSelectionForeground, listInactiveSelectionIconForeground, tableColumnsBorder, tableOddRowsBackgroundColor, treeInactiveIndentGuidesStroke, treeIndentGuidesStroke };
|
|
@@ -8,12 +8,12 @@ import { listActiveSelectionForeground, listActiveSelectionBackground } from './
|
|
|
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 menuBorder = registerColor('menu.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
12
|
-
const menuForeground = registerColor('menu.foreground', selectForeground, localize(
|
|
13
|
-
const menuBackground = registerColor('menu.background', selectBackground, localize(
|
|
14
|
-
const menuSelectionForeground = registerColor('menu.selectionForeground', listActiveSelectionForeground, localize(
|
|
15
|
-
const menuSelectionBackground = registerColor('menu.selectionBackground', listActiveSelectionBackground, localize(
|
|
16
|
-
const menuSelectionBorder = registerColor('menu.selectionBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(
|
|
17
|
-
const menuSeparatorBackground = registerColor('menu.separatorBackground', { dark: '#606060', light: '#D4D4D4', hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
11
|
+
const menuBorder = registerColor('menu.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, localize(1997, "Border color of menus."));
|
|
12
|
+
const menuForeground = registerColor('menu.foreground', selectForeground, localize(1998, "Foreground color of menu items."));
|
|
13
|
+
const menuBackground = registerColor('menu.background', selectBackground, localize(1999, "Background color of menu items."));
|
|
14
|
+
const menuSelectionForeground = registerColor('menu.selectionForeground', listActiveSelectionForeground, localize(2000, "Foreground color of the selected menu item in menus."));
|
|
15
|
+
const menuSelectionBackground = registerColor('menu.selectionBackground', listActiveSelectionBackground, localize(2001, "Background color of the selected menu item in menus."));
|
|
16
|
+
const menuSelectionBorder = registerColor('menu.selectionBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(2002, "Border color of the selected menu item in menus."));
|
|
17
|
+
const menuSeparatorBackground = registerColor('menu.separatorBackground', { dark: '#606060', light: '#D4D4D4', hcDark: contrastBorder, hcLight: contrastBorder }, localize(2003, "Color of a separator menu item in menus."));
|
|
18
18
|
|
|
19
19
|
export { menuBackground, menuBorder, menuForeground, menuSelectionBackground, menuSelectionBorder, menuSelectionForeground, menuSeparatorBackground };
|
|
@@ -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', editorFindMatchHighlight, localize(
|
|
12
|
-
const minimapSelectionOccurrenceHighlight = registerColor('minimap.selectionOccurrenceHighlight', editorSelectionHighlight, localize(
|
|
13
|
-
const minimapSelection = registerColor('minimap.selectionHighlight', editorSelectionBackground, 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', editorFindMatchHighlight, localize(2004, 'Minimap marker color for find matches.'), true);
|
|
12
|
+
const minimapSelectionOccurrenceHighlight = registerColor('minimap.selectionOccurrenceHighlight', editorSelectionHighlight, localize(2005, 'Minimap marker color for repeating editor selections.'), true);
|
|
13
|
+
const minimapSelection = registerColor('minimap.selectionHighlight', editorSelectionBackground, localize(2006, 'Minimap marker color for the editor selection.'), true);
|
|
14
|
+
const minimapInfo = registerColor('minimap.infoHighlight', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, localize(2007, 'Minimap marker color for infos.'));
|
|
15
|
+
const minimapWarning = registerColor('minimap.warningHighlight', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, localize(2008, '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(2009, 'Minimap marker color for errors.'));
|
|
17
|
+
const minimapBackground = registerColor('minimap.background', null, localize(2010, "Minimap background color."));
|
|
18
|
+
const minimapForegroundOpacity = registerColor('minimap.foregroundOpacity', Color.fromHex('#000f'), localize(2011, '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(2012, "Minimap slider background color."));
|
|
20
|
+
registerColor('minimapSlider.hoverBackground', transparent(scrollbarSliderHoverBackground, 0.5), localize(2013, "Minimap slider background color when hovering."));
|
|
21
|
+
registerColor('minimapSlider.activeBackground', transparent(scrollbarSliderActiveBackground, 0.5), localize(2014, "Minimap slider background color when clicked on."));
|
|
22
22
|
|
|
23
23
|
export { minimapBackground, minimapError, minimapFindMatch, minimapForegroundOpacity, minimapInfo, minimapSelection, minimapSelectionOccurrenceHighlight, minimapWarning };
|
|
@@ -8,25 +8,25 @@ 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(2015, "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.white, light: Color.white, hcDark: Color.white, hcLight: Color.white }, localize(
|
|
16
|
-
registerColor('activityWarningBadge.background', { dark: '#B27C00', light: '#B27C00', hcDark: null, hcLight: '#B27C00' }, 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(2016, "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(2017, "Badge foreground color. Badges are small information labels, e.g. for search results count."));
|
|
15
|
+
registerColor('activityWarningBadge.foreground', { dark: Color.white, light: Color.white, hcDark: Color.white, hcLight: Color.white }, localize(2018, 'Foreground color of the warning activity badge'));
|
|
16
|
+
registerColor('activityWarningBadge.background', { dark: '#B27C00', light: '#B27C00', hcDark: null, hcLight: '#B27C00' }, localize(2019, '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(2020, 'Foreground color of the error activity badge'));
|
|
18
|
+
registerColor('activityErrorBadge.background', { dark: '#F14C4C', light: '#E51400', hcDark: null, hcLight: '#F14C4C' }, localize(2021, '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(
|
|
24
|
-
registerColor('scrollbar.background', null, localize(
|
|
20
|
+
const scrollbarShadow = registerColor('scrollbar.shadow', { dark: '#000000', light: '#DDDDDD', hcDark: null, hcLight: null }, localize(2022, "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(2023, "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(2024, "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(2025, "Scrollbar slider background color when clicked on."));
|
|
24
|
+
registerColor('scrollbar.background', null, localize(2026, "Scrollbar track background color."));
|
|
25
25
|
// ----- progress bar
|
|
26
|
-
const progressBarBackground = registerColor('progressBar.background', { dark: Color.fromHex('#0E70C0'), light: Color.fromHex('#0E70C0'), hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
26
|
+
const progressBarBackground = registerColor('progressBar.background', { dark: Color.fromHex('#0E70C0'), light: Color.fromHex('#0E70C0'), hcDark: contrastBorder, hcLight: contrastBorder }, localize(2027, "Background color of the progress bar that can show for long running operations."));
|
|
27
27
|
// ----- chart
|
|
28
|
-
registerColor('chart.line', { dark: '#236B8E', light: '#236B8E', hcDark: '#236B8E', hcLight: '#236B8E' }, localize(
|
|
29
|
-
registerColor('chart.axis', { dark: Color.fromHex('#BFBFBF').transparent(0.4), light: Color.fromHex('#000000').transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
30
|
-
registerColor('chart.guide', { dark: Color.fromHex('#BFBFBF').transparent(0.2), light: Color.fromHex('#000000').transparent(0.2), hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
28
|
+
registerColor('chart.line', { dark: '#236B8E', light: '#236B8E', hcDark: '#236B8E', hcLight: '#236B8E' }, localize(2028, "Line color for the chart."));
|
|
29
|
+
registerColor('chart.axis', { dark: Color.fromHex('#BFBFBF').transparent(0.4), light: Color.fromHex('#000000').transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, localize(2029, "Axis color for the chart."));
|
|
30
|
+
registerColor('chart.guide', { dark: Color.fromHex('#BFBFBF').transparent(0.2), light: Color.fromHex('#000000').transparent(0.2), hcDark: contrastBorder, hcLight: contrastBorder }, localize(2030, "Guide line for the chart."));
|
|
31
31
|
|
|
32
32
|
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(2031, "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(2032, "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(2033, "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(2034, "Quick picker color for grouping labels."));
|
|
15
|
+
const pickerGroupBorder = registerColor('pickerGroup.border', { dark: '#3F3F46', light: '#CCCEDB', hcDark: Color.white, hcLight: '#0F4A85' }, localize(2035, "Quick picker color for grouping borders."));
|
|
16
|
+
const _deprecatedQuickInputListFocusBackground = registerColor('quickInput.list.focusBackground', null, '', undefined, localize(2036, "Please use quickInputList.focusBackground instead"));
|
|
17
|
+
const quickInputListFocusForeground = registerColor('quickInputList.focusForeground', listActiveSelectionForeground, localize(2037, "Quick picker foreground color for the focused item."));
|
|
18
|
+
const quickInputListFocusIconForeground = registerColor('quickInputList.focusIconForeground', listActiveSelectionIconForeground, localize(2038, "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(2039, "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(2040, "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(2041, "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(2042, "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(2045, '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(2046, '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(2047, '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(2048, 'Icon for the close action in widgets.'));
|
|
178
|
+
registerIcon('goto-previous-location', Codicon.arrowUp, localize(2049, 'Icon for goto previous editor location.'));
|
|
179
|
+
registerIcon('goto-next-location', Codicon.arrowDown, localize(2050, '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(2051, "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(2052, "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(2053, "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(2054, "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(2055, "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(2056, "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(2057, "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(2058, "Would you like to undo '{0}' across all files?", element.label),
|
|
722
722
|
buttons: [
|
|
723
723
|
{
|
|
724
|
-
label: localize(
|
|
724
|
+
label: localize(2059, "&&Undo in {0} Files", editStackSnapshot.editStacks.length),
|
|
725
725
|
run: () => UndoChoice.All
|
|
726
726
|
},
|
|
727
727
|
{
|
|
728
|
-
label: localize(
|
|
728
|
+
label: localize(2060, "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(2061, "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(2062, "Would you like to undo '{0}'?", element.label),
|
|
864
|
+
primaryButton: localize(2063, "&&Yes"),
|
|
865
|
+
cancelButton: localize(2064, "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(2065, "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(2066, "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(2067, "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(2068, "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(2069, "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(2070, "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(2071, "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;
|