monaco-editor 0.56.0-dev-20260113 → 0.56.0-dev-20260116
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-B4u8BWhg.js → css.worker-C1mHXZTT.js} +55 -55
- package/dev/vs/assets/{editor.worker-BCw6uAjg.js → editor.worker-DMuwmZqI.js} +55 -55
- package/dev/vs/assets/{editorWebWorkerMain-CeIXdrW0.js → editorWebWorkerMain-BF9MKtzx.js} +55 -55
- package/dev/vs/assets/{html.worker-B-Jcoci3.js → html.worker-CnU9mi9l.js} +55 -55
- package/dev/vs/assets/{json.worker-BpmVTt7n.js → json.worker-CnKP0LWf.js} +55 -55
- package/dev/vs/assets/{ts.worker-CPlP8nZ0.js → ts.worker-Cw4JXdL0.js} +55 -55
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/css.worker-B9TJsr2Z.js +5 -0
- package/dev/vs/{cssMode-BEukq5u0.js → cssMode-DHV9sMQi.js} +2 -6
- package/dev/vs/editor/editor.main.css +37 -23
- package/dev/vs/editor/editor.main.js +10 -3178
- package/dev/vs/editor/editor.worker.js +1 -1
- package/dev/vs/{editor-BD6q8TI1.js → editor-BTEbNxE2.js} +703 -586
- package/dev/vs/editor.js +1 -1
- package/dev/vs/{editorWorkerHost-C6qzpbiG.js → editorWorkerHost--0eDLpc-.js} +57 -57
- package/dev/vs/{freemarker2-lOxAB__C.js → freemarker2-Dq_j1fXA.js} +1 -1
- package/dev/vs/{handlebars-PlqQ1WFo.js → handlebars-DPZdWYjc.js} +1 -1
- package/dev/vs/{html-BHf3H_zO.js → html-DHy2Qtlf.js} +1 -1
- package/dev/vs/html.worker-B4TnFQEA.js +5 -0
- package/dev/vs/{htmlMode-CAbblI08.js → htmlMode-CK4CuwW5.js} +2 -6
- package/dev/vs/index-C4qZmtMk.js +3169 -0
- package/dev/vs/index.js +23 -0
- package/dev/vs/{initialize-BCWs-0Hl.js → initialize-Bfvoywyr.js} +1 -1
- package/dev/vs/{javascript-BfBKHXS5.js → javascript-Bbk-b6fJ.js} +1 -1
- package/dev/vs/json.worker-C2LEGBju.js +5 -0
- package/dev/vs/{jsonMode-DjCUBCJf.js → jsonMode-DZUKN9F2.js} +2 -6
- 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-ru5qQvh3.js → liquid-DJoh8neA.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-qP8Sjc4-.js → lspLanguageFeatures-C6AyKVlZ.js} +1 -1
- package/dev/vs/{mdx-LPJIIjTi.js → mdx-Bc9Wi7Yp.js} +1 -1
- package/dev/vs/{monaco.contribution-Cn4sp0rT.js → monaco.contribution-Dioy2gsL.js} +2 -2
- package/dev/vs/{monaco.contribution-BUS19PbW.js → monaco.contribution-Dp0abtES.js} +2 -2
- package/dev/vs/{monaco.contribution-Dh6bcJ62.js → monaco.contribution-QjKN2IAC.js} +2 -2
- package/dev/vs/{monaco.contribution-CAodrNii.js → monaco.contribution-ebA6cx7_.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-C3STc4Jq.js → python-T13bwMqv.js} +1 -1
- package/dev/vs/{razor-C_h91a99.js → razor-PnbkQS-a.js} +1 -1
- package/dev/vs/{toggleHighContrast-BYijNqvT.js → toggleHighContrast-BT_lXcSg.js} +792 -753
- package/dev/vs/ts.worker-CArJhH03.js +5 -0
- package/dev/vs/{tsMode-LmHd2bVJ.js → tsMode-dEZrXjQR.js} +2 -6
- package/dev/vs/{typescript-DrD88DNo.js → typescript-C7a_eRmw.js} +1 -1
- package/dev/vs/{workers-jwm1wsc0.js → workers-jA_HWRt3.js} +1 -1
- package/dev/vs/{xml-CIdZXDjG.js → xml-E9G9gloz.js} +1 -1
- package/dev/vs/{yaml-F0FhO8OI.js → yaml-2TR38CXi.js} +1 -1
- package/esm/vs/base/browser/domStylesheets.js +10 -19
- package/esm/vs/base/browser/ui/button/button.css +14 -5
- package/esm/vs/base/browser/ui/button/button.js +1 -0
- package/esm/vs/base/browser/ui/inputbox/inputBox.css +1 -1
- package/esm/vs/base/browser/ui/scrollbar/scrollbarArrow.js +1 -1
- package/esm/vs/base/browser/ui/selectBox/selectBox.css +2 -2
- package/esm/vs/base/browser/ui/selectBox/selectBoxCustom.css +1 -1
- package/esm/vs/base/browser/ui/toolbar/toolbar.css +14 -2
- package/esm/vs/base/browser/ui/toolbar/toolbar.js +42 -15
- package/esm/vs/base/common/async.js +1 -1
- package/esm/vs/base/common/network.js +2 -0
- package/esm/vs/base/common/observableInternal/reactions/autorun.js +1 -1
- package/esm/vs/base/common/validation.js +12 -1
- package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/esm/vs/editor/browser/observableCodeEditor.js +3 -3
- package/esm/vs/editor/browser/view/viewController.js +66 -1
- package/esm/vs/editor/browser/viewParts/minimap/minimap.js +9 -9
- package/esm/vs/editor/browser/viewParts/rulers/rulers.css +1 -0
- package/esm/vs/editor/browser/viewParts/rulers/rulers.js +1 -1
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +4 -0
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +1 -1
- package/esm/vs/editor/common/core/editorColorRegistry.js +35 -34
- 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/supports/tokenization.js +12 -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/model/textModelSearch.js +1 -1
- package/esm/vs/editor/common/model/tokens/tokenizationFontDecorationsProvider.js +4 -4
- package/esm/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +11 -11
- package/esm/vs/editor/common/textModelEvents.js +2 -2
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/common/viewModel/viewModelImpl.js +3 -3
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +20 -8
- 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/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.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 +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/contentHoverController.js +8 -3
- package/esm/vs/editor/contrib/hover/browser/glyphHoverController.js +7 -1
- 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/hoverUtils.js +10 -5
- 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 +24 -22
- 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 +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +7 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +2 -2
- 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/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.css +1 -1
- 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/editor.api.d.ts +23 -1
- package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js +4 -0
- package/esm/vs/features/anchorSelect/register.d.ts +2 -1
- package/esm/vs/features/bracketMatching/register.d.ts +2 -1
- package/esm/vs/features/caretOperations/register.d.ts +2 -1
- package/esm/vs/features/clipboard/register.d.ts +2 -1
- package/esm/vs/features/codeAction/register.d.ts +2 -1
- package/esm/vs/features/codeEditor/register.d.ts +2 -1
- package/esm/vs/features/codelens/register.d.ts +2 -1
- package/esm/vs/features/codicon/register.d.ts +2 -1
- package/esm/vs/features/colorPicker/register.d.ts +2 -1
- package/esm/vs/features/comment/register.d.ts +2 -1
- package/esm/vs/features/contextmenu/register.d.ts +2 -1
- package/esm/vs/features/cursorUndo/register.d.ts +2 -1
- package/esm/vs/features/diffEditor/register.d.ts +2 -1
- package/esm/vs/features/diffEditorBreadcrumbs/register.d.ts +2 -1
- package/esm/vs/features/dnd/register.d.ts +2 -1
- package/esm/vs/features/documentSymbols/register.d.ts +2 -1
- package/esm/vs/features/dropOrPasteInto/register.d.ts +2 -1
- package/esm/vs/features/find/register.d.ts +2 -1
- package/esm/vs/features/floatingMenu/register.d.ts +2 -1
- package/esm/vs/features/folding/register.d.ts +2 -1
- package/esm/vs/features/fontZoom/register.d.ts +2 -1
- package/esm/vs/features/format/register.d.ts +2 -1
- package/esm/vs/features/gotoError/register.d.ts +2 -1
- package/esm/vs/features/gotoLine/register.d.ts +2 -1
- package/esm/vs/features/gotoSymbol/register.d.ts +2 -1
- package/esm/vs/features/gpu/register.d.ts +2 -1
- package/esm/vs/features/hover/register.d.ts +2 -1
- package/esm/vs/features/iPadShowKeyboard/register.d.ts +2 -1
- package/esm/vs/features/inPlaceReplace/register.d.ts +2 -1
- package/esm/vs/features/indentation/register.d.ts +2 -1
- package/esm/vs/features/inlayHints/register.d.ts +2 -1
- package/esm/vs/features/inlineCompletions/register.d.ts +2 -1
- package/esm/vs/features/inlineProgress/register.d.ts +2 -1
- package/esm/vs/features/insertFinalNewLine/register.d.ts +2 -1
- package/esm/vs/features/inspectTokens/register.d.ts +2 -1
- package/esm/vs/features/lineSelection/register.d.ts +2 -1
- package/esm/vs/features/linesOperations/register.d.ts +2 -1
- package/esm/vs/features/linkedEditing/register.d.ts +2 -1
- package/esm/vs/features/links/register.d.ts +2 -1
- package/esm/vs/features/longLinesHelper/register.d.ts +2 -1
- package/esm/vs/features/middleScroll/register.d.ts +2 -1
- package/esm/vs/features/multicursor/register.d.ts +2 -1
- package/esm/vs/features/parameterHints/register.d.ts +2 -1
- package/esm/vs/features/placeholderText/register.d.ts +2 -1
- package/esm/vs/features/quickCommand/register.d.ts +2 -1
- package/esm/vs/features/quickHelp/register.d.ts +2 -1
- package/esm/vs/features/quickOutline/register.d.ts +2 -1
- package/esm/vs/features/readOnlyMessage/register.d.ts +2 -1
- package/esm/vs/features/referenceSearch/register.d.ts +2 -1
- package/esm/vs/features/rename/register.d.ts +2 -1
- package/esm/vs/features/sectionHeaders/register.d.ts +2 -1
- package/esm/vs/features/semanticTokens/register.d.ts +2 -1
- package/esm/vs/features/smartSelect/register.d.ts +2 -1
- package/esm/vs/features/snippet/register.d.ts +2 -1
- package/esm/vs/features/stickyScroll/register.d.ts +2 -1
- package/esm/vs/features/suggest/register.d.ts +2 -1
- package/esm/vs/features/toggleHighContrast/register.d.ts +2 -1
- package/esm/vs/features/toggleTabFocusMode/register.d.ts +2 -1
- package/esm/vs/features/tokenization/register.d.ts +2 -1
- package/esm/vs/features/unicodeHighlighter/register.d.ts +2 -1
- package/esm/vs/features/unusualLineTerminators/register.d.ts +2 -1
- package/esm/vs/features/wordHighlighter/register.d.ts +2 -1
- package/esm/vs/features/wordOperations/register.d.ts +2 -1
- package/esm/vs/features/wordPartOperations/register.d.ts +2 -1
- package/esm/vs/languages/definitions/abap/register.d.ts +2 -1
- package/esm/vs/languages/definitions/apex/register.d.ts +2 -1
- package/esm/vs/languages/definitions/azcli/register.d.ts +2 -1
- package/esm/vs/languages/definitions/bat/register.d.ts +2 -1
- package/esm/vs/languages/definitions/bicep/register.d.ts +2 -1
- package/esm/vs/languages/definitions/cameligo/register.d.ts +2 -1
- package/esm/vs/languages/definitions/clojure/register.d.ts +2 -1
- package/esm/vs/languages/definitions/coffee/register.d.ts +2 -1
- package/esm/vs/languages/definitions/cpp/register.d.ts +2 -1
- package/esm/vs/languages/definitions/csharp/register.d.ts +2 -1
- package/esm/vs/languages/definitions/csp/register.d.ts +2 -1
- package/esm/vs/languages/definitions/css/register.d.ts +2 -1
- package/esm/vs/languages/definitions/cypher/register.d.ts +2 -1
- package/esm/vs/languages/definitions/dart/register.d.ts +2 -1
- package/esm/vs/languages/definitions/dockerfile/register.d.ts +2 -1
- package/esm/vs/languages/definitions/ecl/register.d.ts +2 -1
- package/esm/vs/languages/definitions/elixir/register.d.ts +2 -1
- package/esm/vs/languages/definitions/flow9/register.d.ts +2 -1
- package/esm/vs/languages/definitions/freemarker2/register.d.ts +2 -1
- package/esm/vs/languages/definitions/fsharp/register.d.ts +2 -1
- package/esm/vs/languages/definitions/go/register.d.ts +2 -1
- package/esm/vs/languages/definitions/graphql/register.d.ts +2 -1
- package/esm/vs/languages/definitions/handlebars/register.d.ts +2 -1
- package/esm/vs/languages/definitions/hcl/register.d.ts +2 -1
- package/esm/vs/languages/definitions/html/register.d.ts +2 -1
- package/esm/vs/languages/definitions/ini/register.d.ts +2 -1
- package/esm/vs/languages/definitions/java/register.d.ts +2 -1
- package/esm/vs/languages/definitions/javascript/register.d.ts +2 -1
- package/esm/vs/languages/definitions/julia/register.d.ts +2 -1
- package/esm/vs/languages/definitions/kotlin/register.d.ts +2 -1
- package/esm/vs/languages/definitions/less/register.d.ts +2 -1
- package/esm/vs/languages/definitions/lexon/register.d.ts +2 -1
- package/esm/vs/languages/definitions/liquid/register.d.ts +2 -1
- package/esm/vs/languages/definitions/lua/register.d.ts +2 -1
- package/esm/vs/languages/definitions/m3/register.d.ts +2 -1
- package/esm/vs/languages/definitions/markdown/register.d.ts +2 -1
- package/esm/vs/languages/definitions/mdx/register.d.ts +2 -1
- package/esm/vs/languages/definitions/mips/register.d.ts +2 -1
- package/esm/vs/languages/definitions/msdax/register.d.ts +2 -1
- package/esm/vs/languages/definitions/mysql/register.d.ts +2 -1
- package/esm/vs/languages/definitions/objective-c/register.d.ts +2 -1
- package/esm/vs/languages/definitions/pascal/register.d.ts +2 -1
- package/esm/vs/languages/definitions/pascaligo/register.d.ts +2 -1
- package/esm/vs/languages/definitions/perl/register.d.ts +2 -1
- package/esm/vs/languages/definitions/pgsql/register.d.ts +2 -1
- package/esm/vs/languages/definitions/php/register.d.ts +2 -1
- package/esm/vs/languages/definitions/pla/register.d.ts +2 -1
- package/esm/vs/languages/definitions/postiats/register.d.ts +2 -1
- package/esm/vs/languages/definitions/powerquery/register.d.ts +2 -1
- package/esm/vs/languages/definitions/powershell/register.d.ts +2 -1
- package/esm/vs/languages/definitions/protobuf/register.d.ts +2 -1
- package/esm/vs/languages/definitions/pug/register.d.ts +2 -1
- package/esm/vs/languages/definitions/python/register.d.ts +2 -1
- package/esm/vs/languages/definitions/qsharp/register.d.ts +2 -1
- package/esm/vs/languages/definitions/r/register.d.ts +2 -1
- package/esm/vs/languages/definitions/razor/register.d.ts +2 -1
- package/esm/vs/languages/definitions/redis/register.d.ts +2 -1
- package/esm/vs/languages/definitions/redshift/register.d.ts +2 -1
- package/esm/vs/languages/definitions/restructuredtext/register.d.ts +2 -1
- package/esm/vs/languages/definitions/ruby/register.d.ts +2 -1
- package/esm/vs/languages/definitions/rust/register.d.ts +2 -1
- package/esm/vs/languages/definitions/sb/register.d.ts +2 -1
- package/esm/vs/languages/definitions/scala/register.d.ts +2 -1
- package/esm/vs/languages/definitions/scheme/register.d.ts +2 -1
- package/esm/vs/languages/definitions/scss/register.d.ts +2 -1
- package/esm/vs/languages/definitions/shell/register.d.ts +2 -1
- package/esm/vs/languages/definitions/solidity/register.d.ts +2 -1
- package/esm/vs/languages/definitions/sophia/register.d.ts +2 -1
- package/esm/vs/languages/definitions/sparql/register.d.ts +2 -1
- package/esm/vs/languages/definitions/sql/register.d.ts +2 -1
- package/esm/vs/languages/definitions/st/register.d.ts +2 -1
- package/esm/vs/languages/definitions/swift/register.d.ts +2 -1
- package/esm/vs/languages/definitions/systemverilog/register.d.ts +2 -1
- package/esm/vs/languages/definitions/tcl/register.d.ts +2 -1
- package/esm/vs/languages/definitions/twig/register.d.ts +2 -1
- package/esm/vs/languages/definitions/typescript/register.d.ts +2 -1
- package/esm/vs/languages/definitions/typespec/register.d.ts +2 -1
- package/esm/vs/languages/definitions/vb/register.d.ts +2 -1
- package/esm/vs/languages/definitions/wgsl/register.d.ts +2 -1
- package/esm/vs/languages/definitions/xml/register.d.ts +2 -1
- package/esm/vs/languages/definitions/yaml/register.d.ts +2 -1
- package/esm/vs/languages/features/css/register.d.ts +193 -1
- package/esm/vs/languages/features/css/workerManager.js +1 -1
- package/esm/vs/languages/features/html/register.d.ts +164 -1
- package/esm/vs/languages/features/html/workerManager.js +1 -1
- package/esm/vs/languages/features/json/register.d.ts +235 -1
- package/esm/vs/languages/features/json/workerManager.js +1 -1
- package/esm/vs/languages/features/typescript/register.d.ts +443 -1
- package/esm/vs/languages/features/typescript/workerManager.js +1 -1
- 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 +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +8 -8
- 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 +1 -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/observable/common/platformObservableUtils.js +1 -1
- 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/media/quickInput.css +3 -11
- 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/webWorker/browser/webWorkerServiceImpl.js +7 -2
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/min/vs/assets/{css.worker-CTho1Z2s.js → css.worker-57ylMqdQ.js} +1 -1
- package/min/vs/assets/{editor.worker-Cj3y49Lu.js → editor.worker-C7rTzOHm.js} +1 -1
- package/min/vs/assets/{editorWebWorkerMain-N9BQrLTN.js → editorWebWorkerMain-CRWuSSWk.js} +1 -1
- package/min/vs/assets/{html.worker-B5eygcqw.js → html.worker-DUkJXKh4.js} +1 -1
- package/min/vs/assets/{json.worker-C6iI2Vxn.js → json.worker-DHFIjIvp.js} +1 -1
- package/min/vs/assets/{ts.worker-BAsDYLKY.js → ts.worker-CKcSPjM2.js} +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/css.worker-CkPP9VjP.js +1 -0
- package/min/vs/cssMode-D0C9OvuF.js +1 -0
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +1 -5
- package/min/vs/editor/editor.worker.js +1 -1
- package/min/vs/{editor-_RCEdmvY.js → editor-BbF9z4be.js} +107 -106
- package/min/vs/editor.js +1 -1
- package/min/vs/{editorWorkerHost-CQ7aiWlF.js → editorWorkerHost-DnKHgOKB.js} +2 -2
- package/min/vs/{freemarker2-D4d_C6LW.js → freemarker2-D9E55wFi.js} +1 -1
- package/min/vs/{handlebars-C6NNUzyJ.js → handlebars-CKRX4i8S.js} +1 -1
- package/min/vs/{html-BABEugMf.js → html-BeyhNtRJ.js} +1 -1
- package/min/vs/html.worker-uHOusrcK.js +1 -0
- package/min/vs/htmlMode-BrA9UyCN.js +1 -0
- package/min/vs/{index-CNJX59UW.js → index-049xrXrp.js} +1 -1
- package/min/vs/index-hUpZwLg1.js +5 -0
- package/min/vs/index.js +1 -0
- package/min/vs/{initialize-B_j9nAKL.js → initialize-BZ6ciHHH.js} +1 -1
- package/min/vs/{javascript-NuiwrX-5.js → javascript-DfkW5xhQ.js} +1 -1
- package/min/vs/json.worker-DGsNKzKv.js +1 -0
- package/min/vs/jsonMode-7CSZcC7s.js +1 -0
- 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 +3 -3
- 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-Bguw2x1v.js → liquid-pyVMSu08.js} +1 -1
- package/min/vs/{lspLanguageFeatures-D6IPmlbJ.js → lspLanguageFeatures-VPBqCdCb.js} +1 -1
- package/min/vs/{mdx-t4SbqCJO.js → mdx-BXbm8amL.js} +1 -1
- package/min/vs/{monaco.contribution-B6PO-qMO.js → monaco.contribution-BKcbrDXE.js} +1 -1
- package/min/vs/{monaco.contribution-CS8nS4qi.js → monaco.contribution-BjMddBgJ.js} +1 -1
- package/min/vs/{monaco.contribution-DCqiCzUr.js → monaco.contribution-BwI5AUDz.js} +1 -1
- package/min/vs/{monaco.contribution-DxVLeGt5.js → monaco.contribution-DdP5lKVl.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-NI5xUoLf.js → python-Cpm6f5bx.js} +1 -1
- package/min/vs/{razor-DY059DxF.js → razor-D_lKrE4A.js} +1 -1
- package/min/vs/{toggleHighContrast-B_2Wj21t.js → toggleHighContrast-BIWKqxQU.js} +32 -32
- package/min/vs/ts.worker-DyDnfuDL.js +1 -0
- package/min/vs/{tsMode-BIyo5lcL.js → tsMode-Blo4JbIC.js} +4 -4
- package/min/vs/{typescript-Pa7G7GO1.js → typescript-Bzo8PSiy.js} +1 -1
- package/min/vs/{typespec-D-PIh9Xw.js → typespec-8OfoLt6R.js} +1 -1
- package/min/vs/{workers-BZfsJ0Zq.js → workers-1UKK1eiI.js} +1 -1
- package/min/vs/{xml-BOHwjsBh.js → xml-DqJ2UhAw.js} +1 -1
- package/min/vs/{yaml-VcxPd5Wl.js → yaml-D-e6Mk4S.js} +1 -1
- package/monaco.d.ts +23 -1
- package/package.json +12 -11
- package/min/vs/cssMode-DH3ZJTuM.js +0 -1
- package/min/vs/htmlMode-CZJida2w.js +0 -1
- package/min/vs/jsonMode-CD9KTNi5.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/editor-
|
|
1
|
+
define("vs/editor-BTEbNxE2", ["require", "exports", "./editorWorkerHost--0eDLpc-"], (function(require, exports, editorWorkerHost) {
|
|
2
2
|
"use strict";
|
|
3
3
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
|
|
4
4
|
const EditorZoom = new class {
|
|
@@ -3934,6 +3934,7 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
3934
3934
|
Schemas.vscodeChatEditor = "vscode-chat-editor";
|
|
3935
3935
|
Schemas.vscodeChatInput = "chatSessionInput";
|
|
3936
3936
|
Schemas.vscodeLocalChatSession = "vscode-chat-session";
|
|
3937
|
+
Schemas.vscodeChatPrompt = "vscode-chat-prompt";
|
|
3937
3938
|
Schemas.webviewPanel = "webview-panel";
|
|
3938
3939
|
Schemas.vscodeWebview = "vscode-webview";
|
|
3939
3940
|
Schemas.vscodeBrowser = "vscode-browser";
|
|
@@ -8821,17 +8822,17 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
8821
8822
|
function hintDidYouMean(...meant) {
|
|
8822
8823
|
switch (meant.length) {
|
|
8823
8824
|
case 1:
|
|
8824
|
-
return editorWorkerHost.localize(
|
|
8825
|
+
return editorWorkerHost.localize(1708, "Did you mean {0}?", meant[0]);
|
|
8825
8826
|
case 2:
|
|
8826
|
-
return editorWorkerHost.localize(
|
|
8827
|
+
return editorWorkerHost.localize(1709, "Did you mean {0} or {1}?", meant[0], meant[1]);
|
|
8827
8828
|
case 3:
|
|
8828
|
-
return editorWorkerHost.localize(
|
|
8829
|
+
return editorWorkerHost.localize(1710, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
|
|
8829
8830
|
default:
|
|
8830
8831
|
return void 0;
|
|
8831
8832
|
}
|
|
8832
8833
|
}
|
|
8833
|
-
const hintDidYouForgetToOpenOrCloseQuote = editorWorkerHost.localize(
|
|
8834
|
-
const hintDidYouForgetToEscapeSlash = editorWorkerHost.localize(
|
|
8834
|
+
const hintDidYouForgetToOpenOrCloseQuote = editorWorkerHost.localize(1711, "Did you forget to open or close the quote?");
|
|
8835
|
+
const hintDidYouForgetToEscapeSlash = editorWorkerHost.localize(1712, "Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/'.");
|
|
8835
8836
|
const _Scanner = class _Scanner {
|
|
8836
8837
|
constructor() {
|
|
8837
8838
|
this._input = "";
|
|
@@ -9155,14 +9156,14 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
9155
9156
|
const defaultConfig = {
|
|
9156
9157
|
regexParsingWithErrorRecovery: true
|
|
9157
9158
|
};
|
|
9158
|
-
const errorEmptyString = editorWorkerHost.localize(
|
|
9159
|
-
const hintEmptyString = editorWorkerHost.localize(
|
|
9160
|
-
const errorNoInAfterNot = editorWorkerHost.localize(
|
|
9161
|
-
const errorClosingParenthesis = editorWorkerHost.localize(
|
|
9162
|
-
const errorUnexpectedToken = editorWorkerHost.localize(
|
|
9163
|
-
const hintUnexpectedToken = editorWorkerHost.localize(
|
|
9164
|
-
const errorUnexpectedEOF = editorWorkerHost.localize(
|
|
9165
|
-
const hintUnexpectedEOF = editorWorkerHost.localize(
|
|
9159
|
+
const errorEmptyString = editorWorkerHost.localize(1690, "Empty context key expression");
|
|
9160
|
+
const hintEmptyString = editorWorkerHost.localize(1691, "Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively.");
|
|
9161
|
+
const errorNoInAfterNot = editorWorkerHost.localize(1692, "'in' after 'not'.");
|
|
9162
|
+
const errorClosingParenthesis = editorWorkerHost.localize(1693, "closing parenthesis ')'");
|
|
9163
|
+
const errorUnexpectedToken = editorWorkerHost.localize(1694, "Unexpected token");
|
|
9164
|
+
const hintUnexpectedToken = editorWorkerHost.localize(1695, "Did you forget to put && or || before the token?");
|
|
9165
|
+
const errorUnexpectedEOF = editorWorkerHost.localize(1696, "Unexpected end of expression");
|
|
9166
|
+
const hintUnexpectedEOF = editorWorkerHost.localize(1697, "Did you forget to put a context key?");
|
|
9166
9167
|
let Parser$1 = (_a2 = class {
|
|
9167
9168
|
constructor(_config = defaultConfig) {
|
|
9168
9169
|
this._config = _config;
|
|
@@ -9487,7 +9488,7 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
9487
9488
|
throw this._errExpectedButGot(message, this._peek());
|
|
9488
9489
|
}
|
|
9489
9490
|
_errExpectedButGot(expected, got, additionalInfo) {
|
|
9490
|
-
const message = editorWorkerHost.localize(
|
|
9491
|
+
const message = editorWorkerHost.localize(1698, "Expected: {0}\nReceived: '{1}'.", expected, Scanner.getLexeme(got));
|
|
9491
9492
|
const offset = got.offset;
|
|
9492
9493
|
const lexeme = Scanner.getLexeme(got);
|
|
9493
9494
|
this._parsingErrors.push({ message, offset, lexeme, additionalInfo });
|
|
@@ -10985,6 +10986,7 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
10985
10986
|
_MenuId.AgentSessionsToolbar = new _MenuId("AgentSessionsToolbar");
|
|
10986
10987
|
_MenuId.AgentSessionItemToolbar = new _MenuId("AgentSessionItemToolbar");
|
|
10987
10988
|
_MenuId.AgentSessionSectionToolbar = new _MenuId("AgentSessionSectionToolbar");
|
|
10989
|
+
_MenuId.AgentsControlMenu = new _MenuId("AgentsControlMenu");
|
|
10988
10990
|
_MenuId.ChatViewSessionTitleNavigationToolbar = new _MenuId("ChatViewSessionTitleNavigationToolbar");
|
|
10989
10991
|
_MenuId.ChatViewSessionTitleToolbar = new _MenuId("ChatViewSessionTitleToolbar");
|
|
10990
10992
|
let MenuId = _MenuId;
|
|
@@ -12218,7 +12220,7 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
12218
12220
|
order: 1
|
|
12219
12221
|
}]
|
|
12220
12222
|
}));
|
|
12221
|
-
const __worker_url_0__ = "" + new URL(require.toUrl("./assets/editorWebWorkerMain-
|
|
12223
|
+
const __worker_url_0__ = "" + new URL(require.toUrl("./assets/editorWebWorkerMain-BF9MKtzx.js"), document.baseURI).href;
|
|
12222
12224
|
class WebWorkerDescriptor {
|
|
12223
12225
|
constructor(args) {
|
|
12224
12226
|
this.esmModuleLocation = args.esmModuleLocation;
|
|
@@ -13182,7 +13184,7 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
13182
13184
|
this.configurationDefaultsOverrides = /* @__PURE__ */ new Map();
|
|
13183
13185
|
this.defaultLanguageConfigurationOverridesNode = {
|
|
13184
13186
|
id: "defaultOverrides",
|
|
13185
|
-
title: editorWorkerHost.localize(
|
|
13187
|
+
title: editorWorkerHost.localize(1679, "Default Language Configuration Overrides"),
|
|
13186
13188
|
properties: {}
|
|
13187
13189
|
};
|
|
13188
13190
|
this.configurationContributors = [this.defaultLanguageConfigurationOverridesNode];
|
|
@@ -13259,7 +13261,7 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
13259
13261
|
},
|
|
13260
13262
|
type: "object",
|
|
13261
13263
|
default: newDefaultOverride.value,
|
|
13262
|
-
description: editorWorkerHost.localize(
|
|
13264
|
+
description: editorWorkerHost.localize(1680, "Configure settings to be overridden for {0}.", getLanguageTagSettingPlainKey(key)),
|
|
13263
13265
|
$ref: resourceLanguageSettingsSchemaId,
|
|
13264
13266
|
defaultDefaultValue: newDefaultOverride.value,
|
|
13265
13267
|
source,
|
|
@@ -13441,8 +13443,8 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
13441
13443
|
const overrideIdentifierProperty = `[${overrideIdentifier}]`;
|
|
13442
13444
|
const resourceLanguagePropertiesSchema = {
|
|
13443
13445
|
type: "object",
|
|
13444
|
-
description: editorWorkerHost.localize(
|
|
13445
|
-
errorMessage: editorWorkerHost.localize(
|
|
13446
|
+
description: editorWorkerHost.localize(1681, "Configure editor settings to be overridden for a language."),
|
|
13447
|
+
errorMessage: editorWorkerHost.localize(1682, "This setting does not support per-language configuration."),
|
|
13446
13448
|
$ref: resourceLanguageSettingsSchemaId
|
|
13447
13449
|
};
|
|
13448
13450
|
this.updatePropertyDefaultValue(overrideIdentifierProperty, resourceLanguagePropertiesSchema);
|
|
@@ -13450,8 +13452,8 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
13450
13452
|
}
|
|
13451
13453
|
registerOverridePropertyPatternKey() {
|
|
13452
13454
|
({
|
|
13453
|
-
description: editorWorkerHost.localize(
|
|
13454
|
-
errorMessage: editorWorkerHost.localize(
|
|
13455
|
+
description: editorWorkerHost.localize(1683, "Configure editor settings to be overridden for a language."),
|
|
13456
|
+
errorMessage: editorWorkerHost.localize(1684, "This setting does not support per-language configuration.")
|
|
13455
13457
|
});
|
|
13456
13458
|
this._onDidSchemaChange.fire();
|
|
13457
13459
|
}
|
|
@@ -13514,16 +13516,16 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
13514
13516
|
Registry.add(Extensions$5.Configuration, configurationRegistry$2);
|
|
13515
13517
|
function validateProperty(property, schema, extensionId) {
|
|
13516
13518
|
if (!property.trim()) {
|
|
13517
|
-
return editorWorkerHost.localize(
|
|
13519
|
+
return editorWorkerHost.localize(1685, "Cannot register an empty property");
|
|
13518
13520
|
}
|
|
13519
13521
|
if (OVERRIDE_PROPERTY_REGEX.test(property)) {
|
|
13520
|
-
return editorWorkerHost.localize(
|
|
13522
|
+
return editorWorkerHost.localize(1686, "Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.", property);
|
|
13521
13523
|
}
|
|
13522
13524
|
if (configurationRegistry$2.getConfigurationProperties()[property] !== void 0 && (!extensionId || !EXTENSION_UNIFICATION_EXTENSION_IDS.has(extensionId.toLowerCase()))) {
|
|
13523
|
-
return editorWorkerHost.localize(
|
|
13525
|
+
return editorWorkerHost.localize(1687, "Cannot register '{0}'. This property is already registered.", property);
|
|
13524
13526
|
}
|
|
13525
13527
|
if (schema.policy?.name && configurationRegistry$2.getPolicyConfigurations().get(schema.policy?.name) !== void 0) {
|
|
13526
|
-
return editorWorkerHost.localize(
|
|
13528
|
+
return editorWorkerHost.localize(1688, "Cannot register '{0}'. The associated policy {1} is already registered with {2}.", property, schema.policy?.name, configurationRegistry$2.getPolicyConfigurations().get(schema.policy?.name));
|
|
13527
13529
|
}
|
|
13528
13530
|
return null;
|
|
13529
13531
|
}
|
|
@@ -13563,7 +13565,7 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
13563
13565
|
ModesRegistry.registerLanguage({
|
|
13564
13566
|
id: PLAINTEXT_LANGUAGE_ID,
|
|
13565
13567
|
extensions: [PLAINTEXT_EXTENSION],
|
|
13566
|
-
aliases: [editorWorkerHost.localize(
|
|
13568
|
+
aliases: [editorWorkerHost.localize(792, "Plain Text"), "text"],
|
|
13567
13569
|
mimetypes: [Mimes.text]
|
|
13568
13570
|
});
|
|
13569
13571
|
Registry.as(Extensions$5.Configuration).registerDefaultConfigurations([{
|
|
@@ -15882,7 +15884,7 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
15882
15884
|
}
|
|
15883
15885
|
if (isOverflowing) {
|
|
15884
15886
|
sb.appendString('<span class="mtkoverflow">');
|
|
15885
|
-
sb.appendString(editorWorkerHost.localize(
|
|
15887
|
+
sb.appendString(editorWorkerHost.localize(805, "Show more ({0})", renderOverflowingCharCount(overflowingCharCount)));
|
|
15886
15888
|
sb.appendString("</span>");
|
|
15887
15889
|
}
|
|
15888
15890
|
sb.appendString("</span>");
|
|
@@ -15893,7 +15895,7 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
15893
15895
|
}
|
|
15894
15896
|
function renderOverflowingCharCount(n) {
|
|
15895
15897
|
if (n < 1024) {
|
|
15896
|
-
return editorWorkerHost.localize(
|
|
15898
|
+
return editorWorkerHost.localize(806, "{0} chars", n);
|
|
15897
15899
|
}
|
|
15898
15900
|
if (n < 1024 * 1024) {
|
|
15899
15901
|
return `${(n / 1024).toFixed(1)} KB`;
|
|
@@ -17768,11 +17770,9 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
17768
17770
|
}
|
|
17769
17771
|
})(inputLatency || (inputLatency = {}));
|
|
17770
17772
|
const globalStylesheets = /* @__PURE__ */ new Map();
|
|
17771
|
-
|
|
17772
|
-
return new WrappedStyleElement();
|
|
17773
|
-
}
|
|
17774
|
-
class WrappedStyleElement {
|
|
17773
|
+
class WrappedStyleElement extends editorWorkerHost.Disposable {
|
|
17775
17774
|
constructor() {
|
|
17775
|
+
super(...arguments);
|
|
17776
17776
|
this._currentCssStyle = "";
|
|
17777
17777
|
this._styleSheet = void 0;
|
|
17778
17778
|
}
|
|
@@ -17782,16 +17782,14 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
17782
17782
|
}
|
|
17783
17783
|
this._currentCssStyle = cssStyle;
|
|
17784
17784
|
if (!this._styleSheet) {
|
|
17785
|
-
this._styleSheet = createStyleSheet(mainWindow.document.head, (s) => s.textContent = cssStyle);
|
|
17785
|
+
this._styleSheet = createStyleSheet(mainWindow.document.head, (s) => s.textContent = cssStyle, this._store);
|
|
17786
17786
|
} else {
|
|
17787
17787
|
this._styleSheet.textContent = cssStyle;
|
|
17788
17788
|
}
|
|
17789
17789
|
}
|
|
17790
17790
|
dispose() {
|
|
17791
|
-
|
|
17792
|
-
|
|
17793
|
-
this._styleSheet = void 0;
|
|
17794
|
-
}
|
|
17791
|
+
super.dispose();
|
|
17792
|
+
this._styleSheet = void 0;
|
|
17795
17793
|
}
|
|
17796
17794
|
}
|
|
17797
17795
|
function createStyleSheet(container = mainWindow.document.head, beforeAppend, disposableStore) {
|
|
@@ -17883,7 +17881,7 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
17883
17881
|
}
|
|
17884
17882
|
function createStyleSheetFromObservable(css) {
|
|
17885
17883
|
const store = new editorWorkerHost.DisposableStore();
|
|
17886
|
-
const w = store.add(
|
|
17884
|
+
const w = store.add(new WrappedStyleElement());
|
|
17887
17885
|
store.add(autorun((reader) => {
|
|
17888
17886
|
w.setStyle(css.read(reader));
|
|
17889
17887
|
}));
|
|
@@ -17977,13 +17975,13 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
17977
17975
|
}
|
|
17978
17976
|
if (needsTransparency) {
|
|
17979
17977
|
propertySchema.pattern = "^#(?:(?<rgba>[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$";
|
|
17980
|
-
propertySchema.patternErrorMessage = editorWorkerHost.localize(
|
|
17978
|
+
propertySchema.patternErrorMessage = editorWorkerHost.localize(2041, "This color must be transparent or it will obscure content");
|
|
17981
17979
|
}
|
|
17982
17980
|
this.colorSchema.properties[id] = {
|
|
17983
17981
|
description,
|
|
17984
17982
|
oneOf: [
|
|
17985
17983
|
propertySchema,
|
|
17986
|
-
{ type: "string", const: DEFAULT_COLOR_CONFIG_VALUE, description: editorWorkerHost.localize(
|
|
17984
|
+
{ type: "string", const: DEFAULT_COLOR_CONFIG_VALUE, description: editorWorkerHost.localize(2042, "Use the default color.") }
|
|
17987
17985
|
]
|
|
17988
17986
|
};
|
|
17989
17987
|
this.colorReferenceSchema.enum.push(id);
|
|
@@ -18109,264 +18107,264 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
18109
18107
|
delayer$1.schedule();
|
|
18110
18108
|
}
|
|
18111
18109
|
});
|
|
18112
|
-
const foreground = registerColor("foreground", { dark: "#CCCCCC", light: "#616161", hcDark: "#FFFFFF", hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18113
|
-
registerColor("disabledForeground", { dark: "#CCCCCC80", light: "#61616180", hcDark: "#A5A5A5", hcLight: "#7F7F7F" }, editorWorkerHost.localize(
|
|
18114
|
-
registerColor("errorForeground", { dark: "#F48771", light: "#A1260D", hcDark: "#F48771", hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18115
|
-
const descriptionForeground = registerColor("descriptionForeground", { light: "#717171", dark: transparent(foreground, 0.7), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, editorWorkerHost.localize(
|
|
18116
|
-
const iconForeground = registerColor("icon.foreground", { dark: "#C5C5C5", light: "#424242", hcDark: "#FFFFFF", hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18117
|
-
const focusBorder = registerColor("focusBorder", { dark: "#007FD4", light: "#0090F1", hcDark: "#F38518", hcLight: "#006BBD" }, editorWorkerHost.localize(
|
|
18118
|
-
const contrastBorder = registerColor("contrastBorder", { light: null, dark: null, hcDark: "#6FC3DF", hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18119
|
-
const activeContrastBorder = registerColor("contrastActiveBorder", { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, editorWorkerHost.localize(
|
|
18120
|
-
registerColor("selection.background", null, editorWorkerHost.localize(
|
|
18121
|
-
const textLinkForeground = registerColor("textLink.foreground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18122
|
-
registerColor("textLink.activeForeground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18123
|
-
registerColor("textSeparator.foreground", { light: "#0000002e", dark: "#ffffff2e", hcDark: editorWorkerHost.Color.black, hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18124
|
-
registerColor("textPreformat.foreground", { light: "#A31515", dark: "#D7BA7D", hcDark: "#FFFFFF", hcLight: "#FFFFFF" }, editorWorkerHost.localize(
|
|
18125
|
-
registerColor("textPreformat.background", { light: "#0000001A", dark: "#FFFFFF1A", hcDark: null, hcLight: "#09345f" }, editorWorkerHost.localize(
|
|
18126
|
-
registerColor("textPreformat.border", { light: null, dark: null, hcDark: contrastBorder, hcLight: null }, editorWorkerHost.localize(
|
|
18127
|
-
registerColor("textBlockQuote.background", { light: "#f2f2f2", dark: "#222222", hcDark: null, hcLight: "#F2F2F2" }, editorWorkerHost.localize(
|
|
18128
|
-
registerColor("textBlockQuote.border", { light: "#007acc80", dark: "#007acc80", hcDark: editorWorkerHost.Color.white, hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18129
|
-
registerColor("textCodeBlock.background", { light: "#dcdcdc66", dark: "#0a0a0a66", hcDark: editorWorkerHost.Color.black, hcLight: "#F2F2F2" }, editorWorkerHost.localize(
|
|
18130
|
-
registerColor("sash.hoverBorder", focusBorder, editorWorkerHost.localize(
|
|
18131
|
-
const badgeBackground = registerColor("badge.background", { dark: "#4D4D4D", light: "#C4C4C4", hcDark: editorWorkerHost.Color.black, hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18132
|
-
const badgeForeground = registerColor("badge.foreground", { dark: editorWorkerHost.Color.white, light: "#333", hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18133
|
-
registerColor("activityWarningBadge.foreground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18134
|
-
registerColor("activityWarningBadge.background", { dark: "#B27C00", light: "#B27C00", hcDark: null, hcLight: "#B27C00" }, editorWorkerHost.localize(
|
|
18135
|
-
registerColor("activityErrorBadge.foreground", { dark: editorWorkerHost.Color.black.lighten(0.2), light: editorWorkerHost.Color.white, hcDark: null, hcLight: editorWorkerHost.Color.black.lighten(0.2) }, editorWorkerHost.localize(
|
|
18136
|
-
registerColor("activityErrorBadge.background", { dark: "#F14C4C", light: "#E51400", hcDark: null, hcLight: "#F14C4C" }, editorWorkerHost.localize(
|
|
18137
|
-
const scrollbarShadow = registerColor("scrollbar.shadow", { dark: "#000000", light: "#DDDDDD", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18138
|
-
const scrollbarSliderBackground = registerColor("scrollbarSlider.background", { dark: editorWorkerHost.Color.fromHex("#797979").transparent(0.4), light: editorWorkerHost.Color.fromHex("#646464").transparent(0.4), hcDark: transparent(contrastBorder, 0.6), hcLight: transparent(contrastBorder, 0.4) }, editorWorkerHost.localize(
|
|
18139
|
-
const scrollbarSliderHoverBackground = registerColor("scrollbarSlider.hoverBackground", { dark: editorWorkerHost.Color.fromHex("#646464").transparent(0.7), light: editorWorkerHost.Color.fromHex("#646464").transparent(0.7), hcDark: transparent(contrastBorder, 0.8), hcLight: transparent(contrastBorder, 0.8) }, editorWorkerHost.localize(
|
|
18140
|
-
const scrollbarSliderActiveBackground = registerColor("scrollbarSlider.activeBackground", { dark: editorWorkerHost.Color.fromHex("#BFBFBF").transparent(0.4), light: editorWorkerHost.Color.fromHex("#000000").transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18141
|
-
registerColor("scrollbar.background", null, editorWorkerHost.localize(
|
|
18142
|
-
const progressBarBackground = registerColor("progressBar.background", { dark: editorWorkerHost.Color.fromHex("#0E70C0"), light: editorWorkerHost.Color.fromHex("#0E70C0"), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18143
|
-
registerColor("chart.line", { dark: "#236B8E", light: "#236B8E", hcDark: "#236B8E", hcLight: "#236B8E" }, editorWorkerHost.localize(
|
|
18144
|
-
registerColor("chart.axis", { dark: editorWorkerHost.Color.fromHex("#BFBFBF").transparent(0.4), light: editorWorkerHost.Color.fromHex("#000000").transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18145
|
-
registerColor("chart.guide", { dark: editorWorkerHost.Color.fromHex("#BFBFBF").transparent(0.2), light: editorWorkerHost.Color.fromHex("#000000").transparent(0.2), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18146
|
-
const editorBackground = registerColor("editor.background", { light: "#ffffff", dark: "#1E1E1E", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18147
|
-
const editorForeground = registerColor("editor.foreground", { light: "#333333", dark: "#BBBBBB", hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(
|
|
18148
|
-
registerColor("editorStickyScroll.background", editorBackground, editorWorkerHost.localize(
|
|
18149
|
-
registerColor("editorStickyScrollGutter.background", editorBackground, editorWorkerHost.localize(
|
|
18150
|
-
registerColor("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(
|
|
18151
|
-
registerColor("editorStickyScroll.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18152
|
-
registerColor("editorStickyScroll.shadow", scrollbarShadow, editorWorkerHost.localize(
|
|
18153
|
-
const editorWidgetBackground = registerColor("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18154
|
-
const editorWidgetForeground = registerColor("editorWidget.foreground", foreground, editorWorkerHost.localize(
|
|
18155
|
-
const editorWidgetBorder = registerColor("editorWidget.border", { dark: "#454545", light: "#C8C8C8", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18156
|
-
registerColor("editorWidget.resizeBorder", null, editorWorkerHost.localize(
|
|
18157
|
-
registerColor("editorError.background", null, editorWorkerHost.localize(
|
|
18158
|
-
const editorErrorForeground = registerColor("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDark: "#F48771", hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18159
|
-
const editorErrorBorder = registerColor("editorError.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#E47777").transparent(0.8), hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18160
|
-
const editorWarningBackground = registerColor("editorWarning.background", null, editorWorkerHost.localize(
|
|
18161
|
-
const editorWarningForeground = registerColor("editorWarning.foreground", { dark: "#CCA700", light: "#BF8803", hcDark: "#FFD370", hcLight: "#895503" }, editorWorkerHost.localize(
|
|
18162
|
-
const editorWarningBorder = registerColor("editorWarning.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#FFCC00").transparent(0.8), hcLight: editorWorkerHost.Color.fromHex("#FFCC00").transparent(0.8) }, editorWorkerHost.localize(
|
|
18163
|
-
registerColor("editorInfo.background", null, editorWorkerHost.localize(
|
|
18164
|
-
const editorInfoForeground = registerColor("editorInfo.foreground", { dark: "#59a4f9", light: "#0063d3", hcDark: "#59a4f9", hcLight: "#0063d3" }, editorWorkerHost.localize(
|
|
18165
|
-
const editorInfoBorder = registerColor("editorInfo.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#59a4f9").transparent(0.8), hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18166
|
-
const editorHintForeground = registerColor("editorHint.foreground", { dark: editorWorkerHost.Color.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18167
|
-
registerColor("editorHint.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18168
|
-
const editorActiveLinkForeground = registerColor("editorLink.activeForeground", { dark: "#4E94CE", light: editorWorkerHost.Color.blue, hcDark: editorWorkerHost.Color.cyan, hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18169
|
-
const editorSelectionBackground = registerColor("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18170
|
-
const editorSelectionForeground = registerColor("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18171
|
-
const editorInactiveSelection = registerColor("editor.inactiveSelectionBackground", { light: transparent(editorSelectionBackground, 0.5), dark: transparent(editorSelectionBackground, 0.5), hcDark: transparent(editorSelectionBackground, 0.7), hcLight: transparent(editorSelectionBackground, 0.5) }, editorWorkerHost.localize(
|
|
18172
|
-
const editorSelectionHighlight = registerColor("editor.selectionHighlightBackground", { light: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), dark: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18173
|
-
registerColor("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18174
|
-
registerColor("editor.compositionBorder", { light: "#000000", dark: "#ffffff", hcLight: "#000000", hcDark: "#ffffff" }, editorWorkerHost.localize(
|
|
18175
|
-
registerColor("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18176
|
-
const editorFindMatchForeground = registerColor("editor.findMatchForeground", null, editorWorkerHost.localize(
|
|
18177
|
-
const editorFindMatchHighlight = registerColor("editor.findMatchHighlightBackground", { light: "#EA5C0055", dark: "#EA5C0055", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18178
|
-
const editorFindMatchHighlightForeground = registerColor("editor.findMatchHighlightForeground", null, editorWorkerHost.localize(
|
|
18179
|
-
registerColor("editor.findRangeHighlightBackground", { dark: "#3a3d4166", light: "#b4b4b44d", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18180
|
-
registerColor("editor.findMatchBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18181
|
-
const editorFindMatchHighlightBorder = registerColor("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18182
|
-
const editorFindRangeHighlightBorder = registerColor("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark: transparent(activeContrastBorder, 0.4), hcLight: transparent(activeContrastBorder, 0.4) }, editorWorkerHost.localize(
|
|
18183
|
-
registerColor("editor.hoverHighlightBackground", { light: "#ADD6FF26", dark: "#264f7840", hcDark: "#ADD6FF26", hcLight: null }, editorWorkerHost.localize(
|
|
18184
|
-
const editorHoverBackground = registerColor("editorHoverWidget.background", editorWidgetBackground, editorWorkerHost.localize(
|
|
18185
|
-
const editorHoverForeground = registerColor("editorHoverWidget.foreground", editorWidgetForeground, editorWorkerHost.localize(
|
|
18186
|
-
const editorHoverBorder = registerColor("editorHoverWidget.border", editorWidgetBorder, editorWorkerHost.localize(
|
|
18187
|
-
registerColor("editorHoverWidget.statusBarBackground", { dark: lighten(editorHoverBackground, 0.2), light: darken(editorHoverBackground, 0.05), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, editorWorkerHost.localize(
|
|
18188
|
-
const editorInlayHintForeground = registerColor("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.black }, editorWorkerHost.localize(
|
|
18189
|
-
const editorInlayHintBackground = registerColor("editorInlayHint.background", { dark: transparent(badgeBackground, 0.1), light: transparent(badgeBackground, 0.1), hcDark: transparent(editorWorkerHost.Color.white, 0.1), hcLight: transparent(badgeBackground, 0.1) }, editorWorkerHost.localize(
|
|
18190
|
-
const editorInlayHintTypeForeground = registerColor("editorInlayHint.typeForeground", editorInlayHintForeground, editorWorkerHost.localize(
|
|
18191
|
-
const editorInlayHintTypeBackground = registerColor("editorInlayHint.typeBackground", editorInlayHintBackground, editorWorkerHost.localize(
|
|
18192
|
-
const editorInlayHintParameterForeground = registerColor("editorInlayHint.parameterForeground", editorInlayHintForeground, editorWorkerHost.localize(
|
|
18193
|
-
const editorInlayHintParameterBackground = registerColor("editorInlayHint.parameterBackground", editorInlayHintBackground, editorWorkerHost.localize(
|
|
18194
|
-
const editorLightBulbForeground = registerColor("editorLightBulb.foreground", { dark: "#FFCC00", light: "#DDB100", hcDark: "#FFCC00", hcLight: "#007ACC" }, editorWorkerHost.localize(
|
|
18195
|
-
registerColor("editorLightBulbAutoFix.foreground", { dark: "#75BEFF", light: "#007ACC", hcDark: "#75BEFF", hcLight: "#007ACC" }, editorWorkerHost.localize(
|
|
18196
|
-
registerColor("editorLightBulbAi.foreground", editorLightBulbForeground, editorWorkerHost.localize(
|
|
18197
|
-
registerColor("editor.snippetTabstopHighlightBackground", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(124, 124, 124, 0.3)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.2)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(124, 124, 124, 0.3)), hcLight: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.2)) }, editorWorkerHost.localize(
|
|
18198
|
-
registerColor("editor.snippetTabstopHighlightBorder", null, editorWorkerHost.localize(
|
|
18199
|
-
registerColor("editor.snippetFinalTabstopHighlightBackground", null, editorWorkerHost.localize(
|
|
18200
|
-
registerColor("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18110
|
+
const foreground = registerColor("foreground", { dark: "#CCCCCC", light: "#616161", hcDark: "#FFFFFF", hcLight: "#292929" }, editorWorkerHost.localize(1791, "Overall foreground color. This color is only used if not overridden by a component."));
|
|
18111
|
+
registerColor("disabledForeground", { dark: "#CCCCCC80", light: "#61616180", hcDark: "#A5A5A5", hcLight: "#7F7F7F" }, editorWorkerHost.localize(1792, "Overall foreground for disabled elements. This color is only used if not overridden by a component."));
|
|
18112
|
+
registerColor("errorForeground", { dark: "#F48771", light: "#A1260D", hcDark: "#F48771", hcLight: "#B5200D" }, editorWorkerHost.localize(1793, "Overall foreground color for error messages. This color is only used if not overridden by a component."));
|
|
18113
|
+
const descriptionForeground = registerColor("descriptionForeground", { light: "#717171", dark: transparent(foreground, 0.7), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, editorWorkerHost.localize(1794, "Foreground color for description text providing additional information, for example for a label."));
|
|
18114
|
+
const iconForeground = registerColor("icon.foreground", { dark: "#C5C5C5", light: "#424242", hcDark: "#FFFFFF", hcLight: "#292929" }, editorWorkerHost.localize(1795, "The default color for icons in the workbench."));
|
|
18115
|
+
const focusBorder = registerColor("focusBorder", { dark: "#007FD4", light: "#0090F1", hcDark: "#F38518", hcLight: "#006BBD" }, editorWorkerHost.localize(1796, "Overall border color for focused elements. This color is only used if not overridden by a component."));
|
|
18116
|
+
const contrastBorder = registerColor("contrastBorder", { light: null, dark: null, hcDark: "#6FC3DF", hcLight: "#0F4A85" }, editorWorkerHost.localize(1797, "An extra border around elements to separate them from others for greater contrast."));
|
|
18117
|
+
const activeContrastBorder = registerColor("contrastActiveBorder", { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, editorWorkerHost.localize(1798, "An extra border around active elements to separate them from others for greater contrast."));
|
|
18118
|
+
registerColor("selection.background", null, editorWorkerHost.localize(1799, "The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."));
|
|
18119
|
+
const textLinkForeground = registerColor("textLink.foreground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, editorWorkerHost.localize(1800, "Foreground color for links in text."));
|
|
18120
|
+
registerColor("textLink.activeForeground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, editorWorkerHost.localize(1801, "Foreground color for links in text when clicked on and on mouse hover."));
|
|
18121
|
+
registerColor("textSeparator.foreground", { light: "#0000002e", dark: "#ffffff2e", hcDark: editorWorkerHost.Color.black, hcLight: "#292929" }, editorWorkerHost.localize(1802, "Color for text separators."));
|
|
18122
|
+
registerColor("textPreformat.foreground", { light: "#A31515", dark: "#D7BA7D", hcDark: "#FFFFFF", hcLight: "#FFFFFF" }, editorWorkerHost.localize(1803, "Foreground color for preformatted text segments."));
|
|
18123
|
+
registerColor("textPreformat.background", { light: "#0000001A", dark: "#FFFFFF1A", hcDark: null, hcLight: "#09345f" }, editorWorkerHost.localize(1804, "Background color for preformatted text segments."));
|
|
18124
|
+
registerColor("textPreformat.border", { light: null, dark: null, hcDark: contrastBorder, hcLight: null }, editorWorkerHost.localize(1805, "Border color for preformatted text segments."));
|
|
18125
|
+
registerColor("textBlockQuote.background", { light: "#f2f2f2", dark: "#222222", hcDark: null, hcLight: "#F2F2F2" }, editorWorkerHost.localize(1806, "Background color for block quotes in text."));
|
|
18126
|
+
registerColor("textBlockQuote.border", { light: "#007acc80", dark: "#007acc80", hcDark: editorWorkerHost.Color.white, hcLight: "#292929" }, editorWorkerHost.localize(1807, "Border color for block quotes in text."));
|
|
18127
|
+
registerColor("textCodeBlock.background", { light: "#dcdcdc66", dark: "#0a0a0a66", hcDark: editorWorkerHost.Color.black, hcLight: "#F2F2F2" }, editorWorkerHost.localize(1808, "Background color for code blocks in text."));
|
|
18128
|
+
registerColor("sash.hoverBorder", focusBorder, editorWorkerHost.localize(2013, "Border color of active sashes."));
|
|
18129
|
+
const badgeBackground = registerColor("badge.background", { dark: "#4D4D4D", light: "#C4C4C4", hcDark: editorWorkerHost.Color.black, hcLight: "#0F4A85" }, editorWorkerHost.localize(2014, "Badge background color. Badges are small information labels, e.g. for search results count."));
|
|
18130
|
+
const badgeForeground = registerColor("badge.foreground", { dark: editorWorkerHost.Color.white, light: "#333", hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(2015, "Badge foreground color. Badges are small information labels, e.g. for search results count."));
|
|
18131
|
+
registerColor("activityWarningBadge.foreground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(2016, "Foreground color of the warning activity badge"));
|
|
18132
|
+
registerColor("activityWarningBadge.background", { dark: "#B27C00", light: "#B27C00", hcDark: null, hcLight: "#B27C00" }, editorWorkerHost.localize(2017, "Background color of the warning activity badge"));
|
|
18133
|
+
registerColor("activityErrorBadge.foreground", { dark: editorWorkerHost.Color.black.lighten(0.2), light: editorWorkerHost.Color.white, hcDark: null, hcLight: editorWorkerHost.Color.black.lighten(0.2) }, editorWorkerHost.localize(2018, "Foreground color of the error activity badge"));
|
|
18134
|
+
registerColor("activityErrorBadge.background", { dark: "#F14C4C", light: "#E51400", hcDark: null, hcLight: "#F14C4C" }, editorWorkerHost.localize(2019, "Background color of the error activity badge"));
|
|
18135
|
+
const scrollbarShadow = registerColor("scrollbar.shadow", { dark: "#000000", light: "#DDDDDD", hcDark: null, hcLight: null }, editorWorkerHost.localize(2020, "Scrollbar shadow to indicate that the view is scrolled."));
|
|
18136
|
+
const scrollbarSliderBackground = registerColor("scrollbarSlider.background", { dark: editorWorkerHost.Color.fromHex("#797979").transparent(0.4), light: editorWorkerHost.Color.fromHex("#646464").transparent(0.4), hcDark: transparent(contrastBorder, 0.6), hcLight: transparent(contrastBorder, 0.4) }, editorWorkerHost.localize(2021, "Scrollbar slider background color."));
|
|
18137
|
+
const scrollbarSliderHoverBackground = registerColor("scrollbarSlider.hoverBackground", { dark: editorWorkerHost.Color.fromHex("#646464").transparent(0.7), light: editorWorkerHost.Color.fromHex("#646464").transparent(0.7), hcDark: transparent(contrastBorder, 0.8), hcLight: transparent(contrastBorder, 0.8) }, editorWorkerHost.localize(2022, "Scrollbar slider background color when hovering."));
|
|
18138
|
+
const scrollbarSliderActiveBackground = registerColor("scrollbarSlider.activeBackground", { dark: editorWorkerHost.Color.fromHex("#BFBFBF").transparent(0.4), light: editorWorkerHost.Color.fromHex("#000000").transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2023, "Scrollbar slider background color when clicked on."));
|
|
18139
|
+
registerColor("scrollbar.background", null, editorWorkerHost.localize(2024, "Scrollbar track background color."));
|
|
18140
|
+
const progressBarBackground = registerColor("progressBar.background", { dark: editorWorkerHost.Color.fromHex("#0E70C0"), light: editorWorkerHost.Color.fromHex("#0E70C0"), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2025, "Background color of the progress bar that can show for long running operations."));
|
|
18141
|
+
registerColor("chart.line", { dark: "#236B8E", light: "#236B8E", hcDark: "#236B8E", hcLight: "#236B8E" }, editorWorkerHost.localize(2026, "Line color for the chart."));
|
|
18142
|
+
registerColor("chart.axis", { dark: editorWorkerHost.Color.fromHex("#BFBFBF").transparent(0.4), light: editorWorkerHost.Color.fromHex("#000000").transparent(0.6), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2027, "Axis color for the chart."));
|
|
18143
|
+
registerColor("chart.guide", { dark: editorWorkerHost.Color.fromHex("#BFBFBF").transparent(0.2), light: editorWorkerHost.Color.fromHex("#000000").transparent(0.2), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2028, "Guide line for the chart."));
|
|
18144
|
+
const editorBackground = registerColor("editor.background", { light: "#ffffff", dark: "#1E1E1E", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1817, "Editor background color."));
|
|
18145
|
+
const editorForeground = registerColor("editor.foreground", { light: "#333333", dark: "#BBBBBB", hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(1818, "Editor default foreground color."));
|
|
18146
|
+
registerColor("editorStickyScroll.background", editorBackground, editorWorkerHost.localize(1819, "Background color of sticky scroll in the editor"));
|
|
18147
|
+
registerColor("editorStickyScrollGutter.background", editorBackground, editorWorkerHost.localize(1820, "Background color of the gutter part of sticky scroll in the editor"));
|
|
18148
|
+
registerColor("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(1821, "Background color of sticky scroll on hover in the editor"));
|
|
18149
|
+
registerColor("editorStickyScroll.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1822, "Border color of sticky scroll in the editor"));
|
|
18150
|
+
registerColor("editorStickyScroll.shadow", scrollbarShadow, editorWorkerHost.localize(1823, " Shadow color of sticky scroll in the editor"));
|
|
18151
|
+
const editorWidgetBackground = registerColor("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1824, "Background color of editor widgets, such as find/replace."));
|
|
18152
|
+
const editorWidgetForeground = registerColor("editorWidget.foreground", foreground, editorWorkerHost.localize(1825, "Foreground color of editor widgets, such as find/replace."));
|
|
18153
|
+
const editorWidgetBorder = registerColor("editorWidget.border", { dark: "#454545", light: "#C8C8C8", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1826, "Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget."));
|
|
18154
|
+
registerColor("editorWidget.resizeBorder", null, editorWorkerHost.localize(1827, "Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget."));
|
|
18155
|
+
registerColor("editorError.background", null, editorWorkerHost.localize(1828, "Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18156
|
+
const editorErrorForeground = registerColor("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDark: "#F48771", hcLight: "#B5200D" }, editorWorkerHost.localize(1829, "Foreground color of error squigglies in the editor."));
|
|
18157
|
+
const editorErrorBorder = registerColor("editorError.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#E47777").transparent(0.8), hcLight: "#B5200D" }, editorWorkerHost.localize(1830, "If set, color of double underlines for errors in the editor."));
|
|
18158
|
+
const editorWarningBackground = registerColor("editorWarning.background", null, editorWorkerHost.localize(1831, "Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18159
|
+
const editorWarningForeground = registerColor("editorWarning.foreground", { dark: "#CCA700", light: "#BF8803", hcDark: "#FFD370", hcLight: "#895503" }, editorWorkerHost.localize(1832, "Foreground color of warning squigglies in the editor."));
|
|
18160
|
+
const editorWarningBorder = registerColor("editorWarning.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#FFCC00").transparent(0.8), hcLight: editorWorkerHost.Color.fromHex("#FFCC00").transparent(0.8) }, editorWorkerHost.localize(1833, "If set, color of double underlines for warnings in the editor."));
|
|
18161
|
+
registerColor("editorInfo.background", null, editorWorkerHost.localize(1834, "Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18162
|
+
const editorInfoForeground = registerColor("editorInfo.foreground", { dark: "#59a4f9", light: "#0063d3", hcDark: "#59a4f9", hcLight: "#0063d3" }, editorWorkerHost.localize(1835, "Foreground color of info squigglies in the editor."));
|
|
18163
|
+
const editorInfoBorder = registerColor("editorInfo.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#59a4f9").transparent(0.8), hcLight: "#292929" }, editorWorkerHost.localize(1836, "If set, color of double underlines for infos in the editor."));
|
|
18164
|
+
const editorHintForeground = registerColor("editorHint.foreground", { dark: editorWorkerHost.Color.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, editorWorkerHost.localize(1837, "Foreground color of hint squigglies in the editor."));
|
|
18165
|
+
registerColor("editorHint.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, editorWorkerHost.localize(1838, "If set, color of double underlines for hints in the editor."));
|
|
18166
|
+
const editorActiveLinkForeground = registerColor("editorLink.activeForeground", { dark: "#4E94CE", light: editorWorkerHost.Color.blue, hcDark: editorWorkerHost.Color.cyan, hcLight: "#292929" }, editorWorkerHost.localize(1839, "Color of active links."));
|
|
18167
|
+
const editorSelectionBackground = registerColor("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, editorWorkerHost.localize(1840, "Color of the editor selection."));
|
|
18168
|
+
const editorSelectionForeground = registerColor("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1841, "Color of the selected text for high contrast."));
|
|
18169
|
+
const editorInactiveSelection = registerColor("editor.inactiveSelectionBackground", { light: transparent(editorSelectionBackground, 0.5), dark: transparent(editorSelectionBackground, 0.5), hcDark: transparent(editorSelectionBackground, 0.7), hcLight: transparent(editorSelectionBackground, 0.5) }, editorWorkerHost.localize(1842, "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18170
|
+
const editorSelectionHighlight = registerColor("editor.selectionHighlightBackground", { light: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), dark: lessProminent(editorSelectionBackground, editorBackground, 0.3, 0.6), hcDark: null, hcLight: null }, editorWorkerHost.localize(1843, "Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18171
|
+
registerColor("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1844, "Border color for regions with the same content as the selection."));
|
|
18172
|
+
registerColor("editor.compositionBorder", { light: "#000000", dark: "#ffffff", hcLight: "#000000", hcDark: "#ffffff" }, editorWorkerHost.localize(1845, "The border color for an IME composition."));
|
|
18173
|
+
registerColor("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, editorWorkerHost.localize(1846, "Color of the current search match."));
|
|
18174
|
+
const editorFindMatchForeground = registerColor("editor.findMatchForeground", null, editorWorkerHost.localize(1847, "Text color of the current search match."));
|
|
18175
|
+
const editorFindMatchHighlight = registerColor("editor.findMatchHighlightBackground", { light: "#EA5C0055", dark: "#EA5C0055", hcDark: null, hcLight: null }, editorWorkerHost.localize(1848, "Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18176
|
+
const editorFindMatchHighlightForeground = registerColor("editor.findMatchHighlightForeground", null, editorWorkerHost.localize(1849, "Foreground color of the other search matches."), true);
|
|
18177
|
+
registerColor("editor.findRangeHighlightBackground", { dark: "#3a3d4166", light: "#b4b4b44d", hcDark: null, hcLight: null }, editorWorkerHost.localize(1850, "Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18178
|
+
registerColor("editor.findMatchBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1851, "Border color of the current search match."));
|
|
18179
|
+
const editorFindMatchHighlightBorder = registerColor("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1852, "Border color of the other search matches."));
|
|
18180
|
+
const editorFindRangeHighlightBorder = registerColor("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark: transparent(activeContrastBorder, 0.4), hcLight: transparent(activeContrastBorder, 0.4) }, editorWorkerHost.localize(1853, "Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18181
|
+
registerColor("editor.hoverHighlightBackground", { light: "#ADD6FF26", dark: "#264f7840", hcDark: "#ADD6FF26", hcLight: null }, editorWorkerHost.localize(1854, "Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18182
|
+
const editorHoverBackground = registerColor("editorHoverWidget.background", editorWidgetBackground, editorWorkerHost.localize(1855, "Background color of the editor hover."));
|
|
18183
|
+
const editorHoverForeground = registerColor("editorHoverWidget.foreground", editorWidgetForeground, editorWorkerHost.localize(1856, "Foreground color of the editor hover."));
|
|
18184
|
+
const editorHoverBorder = registerColor("editorHoverWidget.border", editorWidgetBorder, editorWorkerHost.localize(1857, "Border color of the editor hover."));
|
|
18185
|
+
registerColor("editorHoverWidget.statusBarBackground", { dark: lighten(editorHoverBackground, 0.2), light: darken(editorHoverBackground, 0.05), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, editorWorkerHost.localize(1858, "Background color of the editor hover status bar."));
|
|
18186
|
+
const editorInlayHintForeground = registerColor("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.black }, editorWorkerHost.localize(1859, "Foreground color of inline hints"));
|
|
18187
|
+
const editorInlayHintBackground = registerColor("editorInlayHint.background", { dark: transparent(badgeBackground, 0.1), light: transparent(badgeBackground, 0.1), hcDark: transparent(editorWorkerHost.Color.white, 0.1), hcLight: transparent(badgeBackground, 0.1) }, editorWorkerHost.localize(1860, "Background color of inline hints"));
|
|
18188
|
+
const editorInlayHintTypeForeground = registerColor("editorInlayHint.typeForeground", editorInlayHintForeground, editorWorkerHost.localize(1861, "Foreground color of inline hints for types"));
|
|
18189
|
+
const editorInlayHintTypeBackground = registerColor("editorInlayHint.typeBackground", editorInlayHintBackground, editorWorkerHost.localize(1862, "Background color of inline hints for types"));
|
|
18190
|
+
const editorInlayHintParameterForeground = registerColor("editorInlayHint.parameterForeground", editorInlayHintForeground, editorWorkerHost.localize(1863, "Foreground color of inline hints for parameters"));
|
|
18191
|
+
const editorInlayHintParameterBackground = registerColor("editorInlayHint.parameterBackground", editorInlayHintBackground, editorWorkerHost.localize(1864, "Background color of inline hints for parameters"));
|
|
18192
|
+
const editorLightBulbForeground = registerColor("editorLightBulb.foreground", { dark: "#FFCC00", light: "#DDB100", hcDark: "#FFCC00", hcLight: "#007ACC" }, editorWorkerHost.localize(1865, "The color used for the lightbulb actions icon."));
|
|
18193
|
+
registerColor("editorLightBulbAutoFix.foreground", { dark: "#75BEFF", light: "#007ACC", hcDark: "#75BEFF", hcLight: "#007ACC" }, editorWorkerHost.localize(1866, "The color used for the lightbulb auto fix actions icon."));
|
|
18194
|
+
registerColor("editorLightBulbAi.foreground", editorLightBulbForeground, editorWorkerHost.localize(1867, "The color used for the lightbulb AI icon."));
|
|
18195
|
+
registerColor("editor.snippetTabstopHighlightBackground", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(124, 124, 124, 0.3)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.2)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(124, 124, 124, 0.3)), hcLight: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.2)) }, editorWorkerHost.localize(1868, "Highlight background color of a snippet tabstop."));
|
|
18196
|
+
registerColor("editor.snippetTabstopHighlightBorder", null, editorWorkerHost.localize(1869, "Highlight border color of a snippet tabstop."));
|
|
18197
|
+
registerColor("editor.snippetFinalTabstopHighlightBackground", null, editorWorkerHost.localize(1870, "Highlight background color of the final tabstop of a snippet."));
|
|
18198
|
+
registerColor("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, editorWorkerHost.localize(1871, "Highlight border color of the final tabstop of a snippet."));
|
|
18201
18199
|
const defaultInsertColor = new editorWorkerHost.Color(new editorWorkerHost.RGBA(155, 185, 85, 0.2));
|
|
18202
18200
|
const defaultRemoveColor = new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 0, 0, 0.2));
|
|
18203
|
-
const diffInserted = registerColor("diffEditor.insertedTextBackground", { dark: "#9ccc2c33", light: "#9ccc2c40", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18204
|
-
const diffRemoved = registerColor("diffEditor.removedTextBackground", { dark: "#ff000033", light: "#ff000033", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18205
|
-
const diffInsertedLine = registerColor("diffEditor.insertedLineBackground", { dark: defaultInsertColor, light: defaultInsertColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18206
|
-
registerColor("diffEditor.removedLineBackground", { dark: defaultRemoveColor, light: defaultRemoveColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18207
|
-
registerColor("diffEditorGutter.insertedLineBackground", null, editorWorkerHost.localize(
|
|
18208
|
-
registerColor("diffEditorGutter.removedLineBackground", null, editorWorkerHost.localize(
|
|
18209
|
-
const diffOverviewRulerInserted = registerColor("diffEditorOverview.insertedForeground", null, editorWorkerHost.localize(
|
|
18210
|
-
const diffOverviewRulerRemoved = registerColor("diffEditorOverview.removedForeground", null, editorWorkerHost.localize(
|
|
18211
|
-
registerColor("diffEditor.insertedTextBorder", { dark: null, light: null, hcDark: "#33ff2eff", hcLight: "#374E06" }, editorWorkerHost.localize(
|
|
18212
|
-
registerColor("diffEditor.removedTextBorder", { dark: null, light: null, hcDark: "#FF008F", hcLight: "#AD0707" }, editorWorkerHost.localize(
|
|
18213
|
-
registerColor("diffEditor.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18214
|
-
registerColor("diffEditor.diagonalFill", { dark: "#cccccc33", light: "#22222233", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18215
|
-
registerColor("diffEditor.unchangedRegionBackground", "sideBar.background", editorWorkerHost.localize(
|
|
18216
|
-
registerColor("diffEditor.unchangedRegionForeground", "foreground", editorWorkerHost.localize(
|
|
18217
|
-
registerColor("diffEditor.unchangedCodeBackground", { dark: "#74747429", light: "#b8b8b829", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18218
|
-
const widgetShadow = registerColor("widget.shadow", { dark: transparent(editorWorkerHost.Color.black, 0.36), light: transparent(editorWorkerHost.Color.black, 0.16), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18219
|
-
const widgetBorder = registerColor("widget.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18220
|
-
const toolbarHoverBackground = registerColor("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18221
|
-
registerColor("toolbar.hoverOutline", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18222
|
-
registerColor("toolbar.activeBackground", { dark: lighten(toolbarHoverBackground, 0.1), light: darken(toolbarHoverBackground, 0.1), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18223
|
-
const breadcrumbsForeground = registerColor("breadcrumb.foreground", transparent(foreground, 0.8), editorWorkerHost.localize(
|
|
18224
|
-
const breadcrumbsBackground = registerColor("breadcrumb.background", editorBackground, editorWorkerHost.localize(
|
|
18225
|
-
const breadcrumbsFocusForeground = registerColor("breadcrumb.focusForeground", { light: darken(foreground, 0.2), dark: lighten(foreground, 0.1), hcDark: lighten(foreground, 0.1), hcLight: lighten(foreground, 0.1) }, editorWorkerHost.localize(
|
|
18226
|
-
const breadcrumbsActiveSelectionForeground = registerColor("breadcrumb.activeSelectionForeground", { light: darken(foreground, 0.2), dark: lighten(foreground, 0.1), hcDark: lighten(foreground, 0.1), hcLight: lighten(foreground, 0.1) }, editorWorkerHost.localize(
|
|
18227
|
-
registerColor("breadcrumbPicker.background", editorWidgetBackground, editorWorkerHost.localize(
|
|
18201
|
+
const diffInserted = registerColor("diffEditor.insertedTextBackground", { dark: "#9ccc2c33", light: "#9ccc2c40", hcDark: null, hcLight: null }, editorWorkerHost.localize(1872, "Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18202
|
+
const diffRemoved = registerColor("diffEditor.removedTextBackground", { dark: "#ff000033", light: "#ff000033", hcDark: null, hcLight: null }, editorWorkerHost.localize(1873, "Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18203
|
+
const diffInsertedLine = registerColor("diffEditor.insertedLineBackground", { dark: defaultInsertColor, light: defaultInsertColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1874, "Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18204
|
+
registerColor("diffEditor.removedLineBackground", { dark: defaultRemoveColor, light: defaultRemoveColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1875, "Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18205
|
+
registerColor("diffEditorGutter.insertedLineBackground", null, editorWorkerHost.localize(1876, "Background color for the margin where lines got inserted."));
|
|
18206
|
+
registerColor("diffEditorGutter.removedLineBackground", null, editorWorkerHost.localize(1877, "Background color for the margin where lines got removed."));
|
|
18207
|
+
const diffOverviewRulerInserted = registerColor("diffEditorOverview.insertedForeground", null, editorWorkerHost.localize(1878, "Diff overview ruler foreground for inserted content."));
|
|
18208
|
+
const diffOverviewRulerRemoved = registerColor("diffEditorOverview.removedForeground", null, editorWorkerHost.localize(1879, "Diff overview ruler foreground for removed content."));
|
|
18209
|
+
registerColor("diffEditor.insertedTextBorder", { dark: null, light: null, hcDark: "#33ff2eff", hcLight: "#374E06" }, editorWorkerHost.localize(1880, "Outline color for the text that got inserted."));
|
|
18210
|
+
registerColor("diffEditor.removedTextBorder", { dark: null, light: null, hcDark: "#FF008F", hcLight: "#AD0707" }, editorWorkerHost.localize(1881, "Outline color for text that got removed."));
|
|
18211
|
+
registerColor("diffEditor.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1882, "Border color between the two text editors."));
|
|
18212
|
+
registerColor("diffEditor.diagonalFill", { dark: "#cccccc33", light: "#22222233", hcDark: null, hcLight: null }, editorWorkerHost.localize(1883, "Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views."));
|
|
18213
|
+
registerColor("diffEditor.unchangedRegionBackground", "sideBar.background", editorWorkerHost.localize(1884, "The background color of unchanged blocks in the diff editor."));
|
|
18214
|
+
registerColor("diffEditor.unchangedRegionForeground", "foreground", editorWorkerHost.localize(1885, "The foreground color of unchanged blocks in the diff editor."));
|
|
18215
|
+
registerColor("diffEditor.unchangedCodeBackground", { dark: "#74747429", light: "#b8b8b829", hcDark: null, hcLight: null }, editorWorkerHost.localize(1886, "The background color of unchanged code in the diff editor."));
|
|
18216
|
+
const widgetShadow = registerColor("widget.shadow", { dark: transparent(editorWorkerHost.Color.black, 0.36), light: transparent(editorWorkerHost.Color.black, 0.16), hcDark: null, hcLight: null }, editorWorkerHost.localize(1887, "Shadow color of widgets such as find/replace inside the editor."));
|
|
18217
|
+
const widgetBorder = registerColor("widget.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1888, "Border color of widgets such as find/replace inside the editor."));
|
|
18218
|
+
const toolbarHoverBackground = registerColor("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, editorWorkerHost.localize(1889, "Toolbar background when hovering over actions using the mouse"));
|
|
18219
|
+
registerColor("toolbar.hoverOutline", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1890, "Toolbar outline when hovering over actions using the mouse"));
|
|
18220
|
+
registerColor("toolbar.activeBackground", { dark: lighten(toolbarHoverBackground, 0.1), light: darken(toolbarHoverBackground, 0.1), hcDark: null, hcLight: null }, editorWorkerHost.localize(1891, "Toolbar background when holding the mouse over actions"));
|
|
18221
|
+
const breadcrumbsForeground = registerColor("breadcrumb.foreground", transparent(foreground, 0.8), editorWorkerHost.localize(1892, "Color of focused breadcrumb items."));
|
|
18222
|
+
const breadcrumbsBackground = registerColor("breadcrumb.background", editorBackground, editorWorkerHost.localize(1893, "Background color of breadcrumb items."));
|
|
18223
|
+
const breadcrumbsFocusForeground = registerColor("breadcrumb.focusForeground", { light: darken(foreground, 0.2), dark: lighten(foreground, 0.1), hcDark: lighten(foreground, 0.1), hcLight: lighten(foreground, 0.1) }, editorWorkerHost.localize(1894, "Color of focused breadcrumb items."));
|
|
18224
|
+
const breadcrumbsActiveSelectionForeground = registerColor("breadcrumb.activeSelectionForeground", { light: darken(foreground, 0.2), dark: lighten(foreground, 0.1), hcDark: lighten(foreground, 0.1), hcLight: lighten(foreground, 0.1) }, editorWorkerHost.localize(1895, "Color of selected breadcrumb items."));
|
|
18225
|
+
registerColor("breadcrumbPicker.background", editorWidgetBackground, editorWorkerHost.localize(1896, "Background color of breadcrumb item picker."));
|
|
18228
18226
|
const headerTransparency = 0.5;
|
|
18229
18227
|
const currentBaseColor = editorWorkerHost.Color.fromHex("#40C8AE").transparent(headerTransparency);
|
|
18230
18228
|
const incomingBaseColor = editorWorkerHost.Color.fromHex("#40A6FF").transparent(headerTransparency);
|
|
18231
18229
|
const commonBaseColor = editorWorkerHost.Color.fromHex("#606060").transparent(0.4);
|
|
18232
18230
|
const contentTransparency = 0.4;
|
|
18233
18231
|
const rulerTransparency = 1;
|
|
18234
|
-
const mergeCurrentHeaderBackground = registerColor("merge.currentHeaderBackground", { dark: currentBaseColor, light: currentBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18235
|
-
registerColor("merge.currentContentBackground", transparent(mergeCurrentHeaderBackground, contentTransparency), editorWorkerHost.localize(
|
|
18236
|
-
const mergeIncomingHeaderBackground = registerColor("merge.incomingHeaderBackground", { dark: incomingBaseColor, light: incomingBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18237
|
-
registerColor("merge.incomingContentBackground", transparent(mergeIncomingHeaderBackground, contentTransparency), editorWorkerHost.localize(
|
|
18238
|
-
const mergeCommonHeaderBackground = registerColor("merge.commonHeaderBackground", { dark: commonBaseColor, light: commonBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18239
|
-
registerColor("merge.commonContentBackground", transparent(mergeCommonHeaderBackground, contentTransparency), editorWorkerHost.localize(
|
|
18240
|
-
const mergeBorder = registerColor("merge.border", { dark: null, light: null, hcDark: "#C3DF6F", hcLight: "#007ACC" }, editorWorkerHost.localize(
|
|
18241
|
-
registerColor("editorOverviewRuler.currentContentForeground", { dark: transparent(mergeCurrentHeaderBackground, rulerTransparency), light: transparent(mergeCurrentHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(
|
|
18242
|
-
registerColor("editorOverviewRuler.incomingContentForeground", { dark: transparent(mergeIncomingHeaderBackground, rulerTransparency), light: transparent(mergeIncomingHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(
|
|
18243
|
-
registerColor("editorOverviewRuler.commonContentForeground", { dark: transparent(mergeCommonHeaderBackground, rulerTransparency), light: transparent(mergeCommonHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(
|
|
18244
|
-
const overviewRulerFindMatchForeground = registerColor("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186167e", hcDark: "#AB5A00", hcLight: "#AB5A00" }, editorWorkerHost.localize(
|
|
18245
|
-
const overviewRulerSelectionHighlightForeground = registerColor("editorOverviewRuler.selectionHighlightForeground", "#A0A0A0CC", editorWorkerHost.localize(
|
|
18246
|
-
const problemsErrorIconForeground = registerColor("problemsErrorIcon.foreground", editorErrorForeground, editorWorkerHost.localize(
|
|
18247
|
-
const problemsWarningIconForeground = registerColor("problemsWarningIcon.foreground", editorWarningForeground, editorWorkerHost.localize(
|
|
18248
|
-
const problemsInfoIconForeground = registerColor("problemsInfoIcon.foreground", editorInfoForeground, editorWorkerHost.localize(
|
|
18249
|
-
const minimapFindMatch = registerColor("minimap.findMatchHighlight", editorFindMatchHighlight, editorWorkerHost.localize(
|
|
18250
|
-
const minimapSelectionOccurrenceHighlight = registerColor("minimap.selectionOccurrenceHighlight", editorSelectionHighlight, editorWorkerHost.localize(
|
|
18251
|
-
const minimapSelection = registerColor("minimap.selectionHighlight", editorSelectionBackground, editorWorkerHost.localize(
|
|
18252
|
-
const minimapInfo = registerColor("minimap.infoHighlight", { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, editorWorkerHost.localize(
|
|
18253
|
-
const minimapWarning = registerColor("minimap.warningHighlight", { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, editorWorkerHost.localize(
|
|
18254
|
-
const minimapError = registerColor("minimap.errorHighlight", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.7)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.7)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 50, 50, 1)), hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18255
|
-
const minimapBackground = registerColor("minimap.background", null, editorWorkerHost.localize(
|
|
18256
|
-
const minimapForegroundOpacity = registerColor("minimap.foregroundOpacity", editorWorkerHost.Color.fromHex("#000f"), editorWorkerHost.localize(
|
|
18257
|
-
registerColor("minimapSlider.background", transparent(scrollbarSliderBackground, 0.5), editorWorkerHost.localize(
|
|
18258
|
-
registerColor("minimapSlider.hoverBackground", transparent(scrollbarSliderHoverBackground, 0.5), editorWorkerHost.localize(
|
|
18259
|
-
registerColor("minimapSlider.activeBackground", transparent(scrollbarSliderActiveBackground, 0.5), editorWorkerHost.localize(
|
|
18260
|
-
registerColor("charts.foreground", foreground, editorWorkerHost.localize(
|
|
18261
|
-
registerColor("charts.lines", transparent(foreground, 0.5), editorWorkerHost.localize(
|
|
18262
|
-
registerColor("charts.red", editorErrorForeground, editorWorkerHost.localize(
|
|
18263
|
-
registerColor("charts.blue", editorInfoForeground, editorWorkerHost.localize(
|
|
18264
|
-
registerColor("charts.yellow", editorWarningForeground, editorWorkerHost.localize(
|
|
18265
|
-
registerColor("charts.orange", minimapFindMatch, editorWorkerHost.localize(
|
|
18266
|
-
registerColor("charts.green", { dark: "#89D185", light: "#388A34", hcDark: "#89D185", hcLight: "#374e06" }, editorWorkerHost.localize(
|
|
18267
|
-
registerColor("charts.purple", { dark: "#B180D7", light: "#652D90", hcDark: "#B180D7", hcLight: "#652D90" }, editorWorkerHost.localize(
|
|
18268
|
-
const inputBackground = registerColor("input.background", { dark: "#3C3C3C", light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18269
|
-
const inputForeground = registerColor("input.foreground", foreground, editorWorkerHost.localize(
|
|
18270
|
-
const inputBorder = registerColor("input.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18271
|
-
const inputActiveOptionBorder = registerColor("inputOption.activeBorder", { dark: "#007ACC", light: "#007ACC", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18272
|
-
const inputActiveOptionHoverBackground = registerColor("inputOption.hoverBackground", { dark: "#5a5d5e80", light: "#b8b8b850", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18273
|
-
const inputActiveOptionBackground = registerColor("inputOption.activeBackground", { dark: transparent(focusBorder, 0.4), light: transparent(focusBorder, 0.2), hcDark: editorWorkerHost.Color.transparent, hcLight: editorWorkerHost.Color.transparent }, editorWorkerHost.localize(
|
|
18274
|
-
const inputActiveOptionForeground = registerColor("inputOption.activeForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.black, hcDark: foreground, hcLight: foreground }, editorWorkerHost.localize(
|
|
18275
|
-
registerColor("input.placeholderForeground", { light: transparent(foreground, 0.5), dark: transparent(foreground, 0.5), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, editorWorkerHost.localize(
|
|
18276
|
-
const inputValidationInfoBackground = registerColor("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18277
|
-
const inputValidationInfoForeground = registerColor("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(
|
|
18278
|
-
const inputValidationInfoBorder = registerColor("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18279
|
-
const inputValidationWarningBackground = registerColor("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18280
|
-
const inputValidationWarningForeground = registerColor("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(
|
|
18281
|
-
const inputValidationWarningBorder = registerColor("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18282
|
-
const inputValidationErrorBackground = registerColor("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18283
|
-
const inputValidationErrorForeground = registerColor("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(
|
|
18284
|
-
const inputValidationErrorBorder = registerColor("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18285
|
-
const selectBackground = registerColor("dropdown.background", { dark: "#3C3C3C", light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18286
|
-
const selectListBackground = registerColor("dropdown.listBackground", { dark: null, light: null, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18287
|
-
const selectForeground = registerColor("dropdown.foreground", { dark: "#F0F0F0", light: foreground, hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(
|
|
18288
|
-
const selectBorder = registerColor("dropdown.border", { dark: selectBackground, light: "#CECECE", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18289
|
-
const buttonForeground = registerColor("button.foreground", editorWorkerHost.Color.white, editorWorkerHost.localize(
|
|
18290
|
-
const buttonSeparator = registerColor("button.separator", transparent(buttonForeground, 0.4), editorWorkerHost.localize(
|
|
18291
|
-
const buttonBackground = registerColor("button.background", { dark: "#0E639C", light: "#007ACC", hcDark: editorWorkerHost.Color.black, hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18292
|
-
const buttonHoverBackground = registerColor("button.hoverBackground", { dark: lighten(buttonBackground, 0.2), light: darken(buttonBackground, 0.2), hcDark: buttonBackground, hcLight: buttonBackground }, editorWorkerHost.localize(
|
|
18293
|
-
const buttonBorder = registerColor("button.border", contrastBorder, editorWorkerHost.localize(
|
|
18294
|
-
const buttonSecondaryForeground = registerColor("button.secondaryForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(
|
|
18295
|
-
const buttonSecondaryBackground = registerColor("button.secondaryBackground", { dark: "#3A3D41", light: "#5F6A79", hcDark: null, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18296
|
-
const buttonSecondaryHoverBackground = registerColor("button.secondaryHoverBackground", { dark: lighten(buttonSecondaryBackground, 0.2), light: darken(buttonSecondaryBackground, 0.2), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18297
|
-
const radioActiveForeground = registerColor("radio.activeForeground", inputActiveOptionForeground, editorWorkerHost.localize(
|
|
18298
|
-
const radioActiveBackground = registerColor("radio.activeBackground", inputActiveOptionBackground, editorWorkerHost.localize(
|
|
18299
|
-
const radioActiveBorder = registerColor("radio.activeBorder", inputActiveOptionBorder, editorWorkerHost.localize(
|
|
18300
|
-
const radioInactiveForeground = registerColor("radio.inactiveForeground", null, editorWorkerHost.localize(
|
|
18301
|
-
const radioInactiveBackground = registerColor("radio.inactiveBackground", null, editorWorkerHost.localize(
|
|
18302
|
-
const radioInactiveBorder = registerColor("radio.inactiveBorder", { light: transparent(radioActiveForeground, 0.2), dark: transparent(radioActiveForeground, 0.2), hcDark: transparent(radioActiveForeground, 0.4), hcLight: transparent(radioActiveForeground, 0.2) }, editorWorkerHost.localize(
|
|
18303
|
-
const radioInactiveHoverBackground = registerColor("radio.inactiveHoverBackground", inputActiveOptionHoverBackground, editorWorkerHost.localize(
|
|
18304
|
-
const checkboxBackground = registerColor("checkbox.background", selectBackground, editorWorkerHost.localize(
|
|
18305
|
-
registerColor("checkbox.selectBackground", editorWidgetBackground, editorWorkerHost.localize(
|
|
18306
|
-
const checkboxForeground = registerColor("checkbox.foreground", selectForeground, editorWorkerHost.localize(
|
|
18307
|
-
const checkboxBorder = registerColor("checkbox.border", selectBorder, editorWorkerHost.localize(
|
|
18308
|
-
registerColor("checkbox.selectBorder", iconForeground, editorWorkerHost.localize(
|
|
18309
|
-
const checkboxDisabledBackground = registerColor("checkbox.disabled.background", { op: 7, color: checkboxBackground, with: checkboxForeground, ratio: 0.33 }, editorWorkerHost.localize(
|
|
18310
|
-
const checkboxDisabledForeground = registerColor("checkbox.disabled.foreground", { op: 7, color: checkboxForeground, with: checkboxBackground, ratio: 0.33 }, editorWorkerHost.localize(
|
|
18311
|
-
const keybindingLabelBackground = registerColor("keybindingLabel.background", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(128, 128, 128, 0.17)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(221, 221, 221, 0.4)), hcDark: editorWorkerHost.Color.transparent, hcLight: editorWorkerHost.Color.transparent }, editorWorkerHost.localize(
|
|
18312
|
-
const keybindingLabelForeground = registerColor("keybindingLabel.foreground", { dark: editorWorkerHost.Color.fromHex("#CCCCCC"), light: editorWorkerHost.Color.fromHex("#555555"), hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(
|
|
18313
|
-
const keybindingLabelBorder = registerColor("keybindingLabel.border", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(51, 51, 51, 0.6)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(204, 204, 204, 0.4)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(111, 195, 223)), hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18314
|
-
const keybindingLabelBottomBorder = registerColor("keybindingLabel.bottomBorder", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(68, 68, 68, 0.6)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(187, 187, 187, 0.4)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(111, 195, 223)), hcLight: foreground }, editorWorkerHost.localize(
|
|
18315
|
-
const listFocusBackground = registerColor("list.focusBackground", null, editorWorkerHost.localize(
|
|
18316
|
-
const listFocusForeground = registerColor("list.focusForeground", null, editorWorkerHost.localize(
|
|
18317
|
-
const listFocusOutline = registerColor("list.focusOutline", { dark: focusBorder, light: focusBorder, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18318
|
-
const listFocusAndSelectionOutline = registerColor("list.focusAndSelectionOutline", null, editorWorkerHost.localize(
|
|
18319
|
-
const listActiveSelectionBackground = registerColor("list.activeSelectionBackground", { dark: "#04395E", light: "#0060C0", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(
|
|
18320
|
-
const listActiveSelectionForeground = registerColor("list.activeSelectionForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18321
|
-
const listActiveSelectionIconForeground = registerColor("list.activeSelectionIconForeground", null, editorWorkerHost.localize(
|
|
18322
|
-
const listInactiveSelectionBackground = registerColor("list.inactiveSelectionBackground", { dark: "#37373D", light: "#E4E6F1", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(
|
|
18323
|
-
const listInactiveSelectionForeground = registerColor("list.inactiveSelectionForeground", null, editorWorkerHost.localize(
|
|
18324
|
-
const listInactiveSelectionIconForeground = registerColor("list.inactiveSelectionIconForeground", null, editorWorkerHost.localize(
|
|
18325
|
-
const listInactiveFocusBackground = registerColor("list.inactiveFocusBackground", null, editorWorkerHost.localize(
|
|
18326
|
-
const listInactiveFocusOutline = registerColor("list.inactiveFocusOutline", null, editorWorkerHost.localize(
|
|
18327
|
-
const listHoverBackground = registerColor("list.hoverBackground", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: editorWorkerHost.Color.white.transparent(0.1), hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(
|
|
18328
|
-
const listHoverForeground = registerColor("list.hoverForeground", null, editorWorkerHost.localize(
|
|
18329
|
-
const listDropOverBackground = registerColor("list.dropBackground", { dark: "#062F4A", light: "#D6EBFF", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18330
|
-
const listDropBetweenBackground = registerColor("list.dropBetweenBackground", { dark: iconForeground, light: iconForeground, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18331
|
-
const listHighlightForeground = registerColor("list.highlightForeground", { dark: "#2AAAFF", light: "#0066BF", hcDark: focusBorder, hcLight: focusBorder }, editorWorkerHost.localize(
|
|
18332
|
-
const listFocusHighlightForeground = registerColor("list.focusHighlightForeground", { dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, "#BBE7FF"), hcDark: listHighlightForeground, hcLight: listHighlightForeground }, editorWorkerHost.localize(
|
|
18333
|
-
registerColor("list.invalidItemForeground", { dark: "#B89500", light: "#B89500", hcDark: "#B89500", hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18334
|
-
registerColor("list.errorForeground", { dark: "#F88070", light: "#B01011", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18335
|
-
registerColor("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18336
|
-
const listFilterWidgetBackground = registerColor("listFilterWidget.background", { light: darken(editorWidgetBackground, 0), dark: lighten(editorWidgetBackground, 0), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, editorWorkerHost.localize(
|
|
18337
|
-
const listFilterWidgetOutline = registerColor("listFilterWidget.outline", { dark: editorWorkerHost.Color.transparent, light: editorWorkerHost.Color.transparent, hcDark: "#f38518", hcLight: "#007ACC" }, editorWorkerHost.localize(
|
|
18338
|
-
const listFilterWidgetNoMatchesOutline = registerColor("listFilterWidget.noMatchesOutline", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18339
|
-
const listFilterWidgetShadow = registerColor("listFilterWidget.shadow", widgetShadow, editorWorkerHost.localize(
|
|
18340
|
-
registerColor("list.filterMatchBackground", { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18341
|
-
registerColor("list.filterMatchBorder", { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18342
|
-
registerColor("list.deemphasizedForeground", { dark: "#8C8C8C", light: "#8E8E90", hcDark: "#A7A8A9", hcLight: "#666666" }, editorWorkerHost.localize(
|
|
18343
|
-
const treeIndentGuidesStroke = registerColor("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, editorWorkerHost.localize(
|
|
18344
|
-
const treeInactiveIndentGuidesStroke = registerColor("tree.inactiveIndentGuidesStroke", transparent(treeIndentGuidesStroke, 0.4), editorWorkerHost.localize(
|
|
18345
|
-
const tableColumnsBorder = registerColor("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18346
|
-
const tableOddRowsBackgroundColor = registerColor("tree.tableOddRowsBackground", { dark: transparent(foreground, 0.04), light: transparent(foreground, 0.04), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18347
|
-
registerColor("editorActionList.background", editorWidgetBackground, editorWorkerHost.localize(
|
|
18348
|
-
const editorActionListForeground = registerColor("editorActionList.foreground", editorWidgetForeground, editorWorkerHost.localize(
|
|
18349
|
-
registerColor("editorActionList.focusForeground", listActiveSelectionForeground, editorWorkerHost.localize(
|
|
18350
|
-
registerColor("editorActionList.focusBackground", listActiveSelectionBackground, editorWorkerHost.localize(
|
|
18351
|
-
const menuBorder = registerColor("menu.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18352
|
-
const menuForeground = registerColor("menu.foreground", selectForeground, editorWorkerHost.localize(
|
|
18353
|
-
const menuBackground = registerColor("menu.background", selectBackground, editorWorkerHost.localize(
|
|
18354
|
-
const menuSelectionForeground = registerColor("menu.selectionForeground", listActiveSelectionForeground, editorWorkerHost.localize(
|
|
18355
|
-
const menuSelectionBackground = registerColor("menu.selectionBackground", listActiveSelectionBackground, editorWorkerHost.localize(
|
|
18356
|
-
const menuSelectionBorder = registerColor("menu.selectionBorder", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18357
|
-
const menuSeparatorBackground = registerColor("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18358
|
-
const quickInputBackground = registerColor("quickInput.background", editorWidgetBackground, editorWorkerHost.localize(
|
|
18359
|
-
const quickInputForeground = registerColor("quickInput.foreground", editorWidgetForeground, editorWorkerHost.localize(
|
|
18360
|
-
const quickInputTitleBackground = registerColor("quickInputTitle.background", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 255, 255, 0.105)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18361
|
-
const pickerGroupForeground = registerColor("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: editorWorkerHost.Color.white, hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18362
|
-
const pickerGroupBorder = registerColor("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: editorWorkerHost.Color.white, hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18363
|
-
const _deprecatedQuickInputListFocusBackground = registerColor("quickInput.list.focusBackground", null, "", void 0, editorWorkerHost.localize(
|
|
18364
|
-
const quickInputListFocusForeground = registerColor("quickInputList.focusForeground", listActiveSelectionForeground, editorWorkerHost.localize(
|
|
18365
|
-
const quickInputListFocusIconForeground = registerColor("quickInputList.focusIconForeground", listActiveSelectionIconForeground, editorWorkerHost.localize(
|
|
18366
|
-
const quickInputListFocusBackground = registerColor("quickInputList.focusBackground", { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18367
|
-
registerColor("search.resultsInfoForeground", { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, editorWorkerHost.localize(
|
|
18368
|
-
registerColor("searchEditor.findMatchBackground", { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, editorWorkerHost.localize(
|
|
18369
|
-
registerColor("searchEditor.findMatchBorder", { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, editorWorkerHost.localize(
|
|
18232
|
+
const mergeCurrentHeaderBackground = registerColor("merge.currentHeaderBackground", { dark: currentBaseColor, light: currentBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1897, "Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18233
|
+
registerColor("merge.currentContentBackground", transparent(mergeCurrentHeaderBackground, contentTransparency), editorWorkerHost.localize(1898, "Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18234
|
+
const mergeIncomingHeaderBackground = registerColor("merge.incomingHeaderBackground", { dark: incomingBaseColor, light: incomingBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1899, "Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18235
|
+
registerColor("merge.incomingContentBackground", transparent(mergeIncomingHeaderBackground, contentTransparency), editorWorkerHost.localize(1900, "Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18236
|
+
const mergeCommonHeaderBackground = registerColor("merge.commonHeaderBackground", { dark: commonBaseColor, light: commonBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1901, "Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18237
|
+
registerColor("merge.commonContentBackground", transparent(mergeCommonHeaderBackground, contentTransparency), editorWorkerHost.localize(1902, "Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18238
|
+
const mergeBorder = registerColor("merge.border", { dark: null, light: null, hcDark: "#C3DF6F", hcLight: "#007ACC" }, editorWorkerHost.localize(1903, "Border color on headers and the splitter in inline merge-conflicts."));
|
|
18239
|
+
registerColor("editorOverviewRuler.currentContentForeground", { dark: transparent(mergeCurrentHeaderBackground, rulerTransparency), light: transparent(mergeCurrentHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(1904, "Current overview ruler foreground for inline merge-conflicts."));
|
|
18240
|
+
registerColor("editorOverviewRuler.incomingContentForeground", { dark: transparent(mergeIncomingHeaderBackground, rulerTransparency), light: transparent(mergeIncomingHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(1905, "Incoming overview ruler foreground for inline merge-conflicts."));
|
|
18241
|
+
registerColor("editorOverviewRuler.commonContentForeground", { dark: transparent(mergeCommonHeaderBackground, rulerTransparency), light: transparent(mergeCommonHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(1906, "Common ancestor overview ruler foreground for inline merge-conflicts."));
|
|
18242
|
+
const overviewRulerFindMatchForeground = registerColor("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186167e", hcDark: "#AB5A00", hcLight: "#AB5A00" }, editorWorkerHost.localize(1907, "Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18243
|
+
const overviewRulerSelectionHighlightForeground = registerColor("editorOverviewRuler.selectionHighlightForeground", "#A0A0A0CC", editorWorkerHost.localize(1908, "Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18244
|
+
const problemsErrorIconForeground = registerColor("problemsErrorIcon.foreground", editorErrorForeground, editorWorkerHost.localize(1909, "The color used for the problems error icon."));
|
|
18245
|
+
const problemsWarningIconForeground = registerColor("problemsWarningIcon.foreground", editorWarningForeground, editorWorkerHost.localize(1910, "The color used for the problems warning icon."));
|
|
18246
|
+
const problemsInfoIconForeground = registerColor("problemsInfoIcon.foreground", editorInfoForeground, editorWorkerHost.localize(1911, "The color used for the problems info icon."));
|
|
18247
|
+
const minimapFindMatch = registerColor("minimap.findMatchHighlight", editorFindMatchHighlight, editorWorkerHost.localize(2002, "Minimap marker color for find matches."), true);
|
|
18248
|
+
const minimapSelectionOccurrenceHighlight = registerColor("minimap.selectionOccurrenceHighlight", editorSelectionHighlight, editorWorkerHost.localize(2003, "Minimap marker color for repeating editor selections."), true);
|
|
18249
|
+
const minimapSelection = registerColor("minimap.selectionHighlight", editorSelectionBackground, editorWorkerHost.localize(2004, "Minimap marker color for the editor selection."), true);
|
|
18250
|
+
const minimapInfo = registerColor("minimap.infoHighlight", { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, editorWorkerHost.localize(2005, "Minimap marker color for infos."));
|
|
18251
|
+
const minimapWarning = registerColor("minimap.warningHighlight", { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, editorWorkerHost.localize(2006, "Minimap marker color for warnings."));
|
|
18252
|
+
const minimapError = registerColor("minimap.errorHighlight", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.7)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.7)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 50, 50, 1)), hcLight: "#B5200D" }, editorWorkerHost.localize(2007, "Minimap marker color for errors."));
|
|
18253
|
+
const minimapBackground = registerColor("minimap.background", null, editorWorkerHost.localize(2008, "Minimap background color."));
|
|
18254
|
+
const minimapForegroundOpacity = registerColor("minimap.foregroundOpacity", editorWorkerHost.Color.fromHex("#000f"), editorWorkerHost.localize(2009, 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
|
|
18255
|
+
registerColor("minimapSlider.background", transparent(scrollbarSliderBackground, 0.5), editorWorkerHost.localize(2010, "Minimap slider background color."));
|
|
18256
|
+
registerColor("minimapSlider.hoverBackground", transparent(scrollbarSliderHoverBackground, 0.5), editorWorkerHost.localize(2011, "Minimap slider background color when hovering."));
|
|
18257
|
+
registerColor("minimapSlider.activeBackground", transparent(scrollbarSliderActiveBackground, 0.5), editorWorkerHost.localize(2012, "Minimap slider background color when clicked on."));
|
|
18258
|
+
registerColor("charts.foreground", foreground, editorWorkerHost.localize(1809, "The foreground color used in charts."));
|
|
18259
|
+
registerColor("charts.lines", transparent(foreground, 0.5), editorWorkerHost.localize(1810, "The color used for horizontal lines in charts."));
|
|
18260
|
+
registerColor("charts.red", editorErrorForeground, editorWorkerHost.localize(1811, "The red color used in chart visualizations."));
|
|
18261
|
+
registerColor("charts.blue", editorInfoForeground, editorWorkerHost.localize(1812, "The blue color used in chart visualizations."));
|
|
18262
|
+
registerColor("charts.yellow", editorWarningForeground, editorWorkerHost.localize(1813, "The yellow color used in chart visualizations."));
|
|
18263
|
+
registerColor("charts.orange", minimapFindMatch, editorWorkerHost.localize(1814, "The orange color used in chart visualizations."));
|
|
18264
|
+
registerColor("charts.green", { dark: "#89D185", light: "#388A34", hcDark: "#89D185", hcLight: "#374e06" }, editorWorkerHost.localize(1815, "The green color used in chart visualizations."));
|
|
18265
|
+
registerColor("charts.purple", { dark: "#B180D7", light: "#652D90", hcDark: "#B180D7", hcLight: "#652D90" }, editorWorkerHost.localize(1816, "The purple color used in chart visualizations."));
|
|
18266
|
+
const inputBackground = registerColor("input.background", { dark: "#3C3C3C", light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1912, "Input box background."));
|
|
18267
|
+
const inputForeground = registerColor("input.foreground", foreground, editorWorkerHost.localize(1913, "Input box foreground."));
|
|
18268
|
+
const inputBorder = registerColor("input.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1914, "Input box border."));
|
|
18269
|
+
const inputActiveOptionBorder = registerColor("inputOption.activeBorder", { dark: "#007ACC", light: "#007ACC", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1915, "Border color of activated options in input fields."));
|
|
18270
|
+
const inputActiveOptionHoverBackground = registerColor("inputOption.hoverBackground", { dark: "#5a5d5e80", light: "#b8b8b850", hcDark: null, hcLight: null }, editorWorkerHost.localize(1916, "Background color of activated options in input fields."));
|
|
18271
|
+
const inputActiveOptionBackground = registerColor("inputOption.activeBackground", { dark: transparent(focusBorder, 0.4), light: transparent(focusBorder, 0.2), hcDark: editorWorkerHost.Color.transparent, hcLight: editorWorkerHost.Color.transparent }, editorWorkerHost.localize(1917, "Background hover color of options in input fields."));
|
|
18272
|
+
const inputActiveOptionForeground = registerColor("inputOption.activeForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.black, hcDark: foreground, hcLight: foreground }, editorWorkerHost.localize(1918, "Foreground color of activated options in input fields."));
|
|
18273
|
+
registerColor("input.placeholderForeground", { light: transparent(foreground, 0.5), dark: transparent(foreground, 0.5), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, editorWorkerHost.localize(1919, "Input box foreground color for placeholder text."));
|
|
18274
|
+
const inputValidationInfoBackground = registerColor("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1920, "Input validation background color for information severity."));
|
|
18275
|
+
const inputValidationInfoForeground = registerColor("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(1921, "Input validation foreground color for information severity."));
|
|
18276
|
+
const inputValidationInfoBorder = registerColor("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1922, "Input validation border color for information severity."));
|
|
18277
|
+
const inputValidationWarningBackground = registerColor("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1923, "Input validation background color for warning severity."));
|
|
18278
|
+
const inputValidationWarningForeground = registerColor("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(1924, "Input validation foreground color for warning severity."));
|
|
18279
|
+
const inputValidationWarningBorder = registerColor("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1925, "Input validation border color for warning severity."));
|
|
18280
|
+
const inputValidationErrorBackground = registerColor("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1926, "Input validation background color for error severity."));
|
|
18281
|
+
const inputValidationErrorForeground = registerColor("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(1927, "Input validation foreground color for error severity."));
|
|
18282
|
+
const inputValidationErrorBorder = registerColor("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1928, "Input validation border color for error severity."));
|
|
18283
|
+
const selectBackground = registerColor("dropdown.background", { dark: "#3C3C3C", light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1929, "Dropdown background."));
|
|
18284
|
+
const selectListBackground = registerColor("dropdown.listBackground", { dark: null, light: null, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1930, "Dropdown list background."));
|
|
18285
|
+
const selectForeground = registerColor("dropdown.foreground", { dark: "#F0F0F0", light: foreground, hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(1931, "Dropdown foreground."));
|
|
18286
|
+
const selectBorder = registerColor("dropdown.border", { dark: selectBackground, light: "#CECECE", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1932, "Dropdown border."));
|
|
18287
|
+
const buttonForeground = registerColor("button.foreground", editorWorkerHost.Color.white, editorWorkerHost.localize(1933, "Button foreground color."));
|
|
18288
|
+
const buttonSeparator = registerColor("button.separator", transparent(buttonForeground, 0.4), editorWorkerHost.localize(1934, "Button separator color."));
|
|
18289
|
+
const buttonBackground = registerColor("button.background", { dark: "#0E639C", light: "#007ACC", hcDark: editorWorkerHost.Color.black, hcLight: "#0F4A85" }, editorWorkerHost.localize(1935, "Button background color."));
|
|
18290
|
+
const buttonHoverBackground = registerColor("button.hoverBackground", { dark: lighten(buttonBackground, 0.2), light: darken(buttonBackground, 0.2), hcDark: buttonBackground, hcLight: buttonBackground }, editorWorkerHost.localize(1936, "Button background color when hovering."));
|
|
18291
|
+
const buttonBorder = registerColor("button.border", contrastBorder, editorWorkerHost.localize(1937, "Button border color."));
|
|
18292
|
+
const buttonSecondaryForeground = registerColor("button.secondaryForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(1938, "Secondary button foreground color."));
|
|
18293
|
+
const buttonSecondaryBackground = registerColor("button.secondaryBackground", { dark: "#3A3D41", light: "#5F6A79", hcDark: null, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1939, "Secondary button background color."));
|
|
18294
|
+
const buttonSecondaryHoverBackground = registerColor("button.secondaryHoverBackground", { dark: lighten(buttonSecondaryBackground, 0.2), light: darken(buttonSecondaryBackground, 0.2), hcDark: null, hcLight: null }, editorWorkerHost.localize(1940, "Secondary button background color when hovering."));
|
|
18295
|
+
const radioActiveForeground = registerColor("radio.activeForeground", inputActiveOptionForeground, editorWorkerHost.localize(1941, "Foreground color of active radio option."));
|
|
18296
|
+
const radioActiveBackground = registerColor("radio.activeBackground", inputActiveOptionBackground, editorWorkerHost.localize(1942, "Background color of active radio option."));
|
|
18297
|
+
const radioActiveBorder = registerColor("radio.activeBorder", inputActiveOptionBorder, editorWorkerHost.localize(1943, "Border color of the active radio option."));
|
|
18298
|
+
const radioInactiveForeground = registerColor("radio.inactiveForeground", null, editorWorkerHost.localize(1944, "Foreground color of inactive radio option."));
|
|
18299
|
+
const radioInactiveBackground = registerColor("radio.inactiveBackground", null, editorWorkerHost.localize(1945, "Background color of inactive radio option."));
|
|
18300
|
+
const radioInactiveBorder = registerColor("radio.inactiveBorder", { light: transparent(radioActiveForeground, 0.2), dark: transparent(radioActiveForeground, 0.2), hcDark: transparent(radioActiveForeground, 0.4), hcLight: transparent(radioActiveForeground, 0.2) }, editorWorkerHost.localize(1946, "Border color of the inactive radio option."));
|
|
18301
|
+
const radioInactiveHoverBackground = registerColor("radio.inactiveHoverBackground", inputActiveOptionHoverBackground, editorWorkerHost.localize(1947, "Background color of inactive active radio option when hovering."));
|
|
18302
|
+
const checkboxBackground = registerColor("checkbox.background", selectBackground, editorWorkerHost.localize(1948, "Background color of checkbox widget."));
|
|
18303
|
+
registerColor("checkbox.selectBackground", editorWidgetBackground, editorWorkerHost.localize(1949, "Background color of checkbox widget when the element it's in is selected."));
|
|
18304
|
+
const checkboxForeground = registerColor("checkbox.foreground", selectForeground, editorWorkerHost.localize(1950, "Foreground color of checkbox widget."));
|
|
18305
|
+
const checkboxBorder = registerColor("checkbox.border", selectBorder, editorWorkerHost.localize(1951, "Border color of checkbox widget."));
|
|
18306
|
+
registerColor("checkbox.selectBorder", iconForeground, editorWorkerHost.localize(1952, "Border color of checkbox widget when the element it's in is selected."));
|
|
18307
|
+
const checkboxDisabledBackground = registerColor("checkbox.disabled.background", { op: 7, color: checkboxBackground, with: checkboxForeground, ratio: 0.33 }, editorWorkerHost.localize(1953, "Background of a disabled checkbox."));
|
|
18308
|
+
const checkboxDisabledForeground = registerColor("checkbox.disabled.foreground", { op: 7, color: checkboxForeground, with: checkboxBackground, ratio: 0.33 }, editorWorkerHost.localize(1954, "Foreground of a disabled checkbox."));
|
|
18309
|
+
const keybindingLabelBackground = registerColor("keybindingLabel.background", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(128, 128, 128, 0.17)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(221, 221, 221, 0.4)), hcDark: editorWorkerHost.Color.transparent, hcLight: editorWorkerHost.Color.transparent }, editorWorkerHost.localize(1955, "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut."));
|
|
18310
|
+
const keybindingLabelForeground = registerColor("keybindingLabel.foreground", { dark: editorWorkerHost.Color.fromHex("#CCCCCC"), light: editorWorkerHost.Color.fromHex("#555555"), hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(1956, "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut."));
|
|
18311
|
+
const keybindingLabelBorder = registerColor("keybindingLabel.border", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(51, 51, 51, 0.6)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(204, 204, 204, 0.4)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(111, 195, 223)), hcLight: contrastBorder }, editorWorkerHost.localize(1957, "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut."));
|
|
18312
|
+
const keybindingLabelBottomBorder = registerColor("keybindingLabel.bottomBorder", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(68, 68, 68, 0.6)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(187, 187, 187, 0.4)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(111, 195, 223)), hcLight: foreground }, editorWorkerHost.localize(1958, "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut."));
|
|
18313
|
+
const listFocusBackground = registerColor("list.focusBackground", null, editorWorkerHost.localize(1959, "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."));
|
|
18314
|
+
const listFocusForeground = registerColor("list.focusForeground", null, editorWorkerHost.localize(1960, "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."));
|
|
18315
|
+
const listFocusOutline = registerColor("list.focusOutline", { dark: focusBorder, light: focusBorder, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1961, "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."));
|
|
18316
|
+
const listFocusAndSelectionOutline = registerColor("list.focusAndSelectionOutline", null, editorWorkerHost.localize(1962, "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."));
|
|
18317
|
+
const listActiveSelectionBackground = registerColor("list.activeSelectionBackground", { dark: "#04395E", light: "#0060C0", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(1963, "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."));
|
|
18318
|
+
const listActiveSelectionForeground = registerColor("list.activeSelectionForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: null, hcLight: null }, editorWorkerHost.localize(1964, "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."));
|
|
18319
|
+
const listActiveSelectionIconForeground = registerColor("list.activeSelectionIconForeground", null, editorWorkerHost.localize(1965, "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."));
|
|
18320
|
+
const listInactiveSelectionBackground = registerColor("list.inactiveSelectionBackground", { dark: "#37373D", light: "#E4E6F1", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(1966, "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."));
|
|
18321
|
+
const listInactiveSelectionForeground = registerColor("list.inactiveSelectionForeground", null, editorWorkerHost.localize(1967, "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."));
|
|
18322
|
+
const listInactiveSelectionIconForeground = registerColor("list.inactiveSelectionIconForeground", null, editorWorkerHost.localize(1968, "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."));
|
|
18323
|
+
const listInactiveFocusBackground = registerColor("list.inactiveFocusBackground", null, editorWorkerHost.localize(1969, "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."));
|
|
18324
|
+
const listInactiveFocusOutline = registerColor("list.inactiveFocusOutline", null, editorWorkerHost.localize(1970, "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."));
|
|
18325
|
+
const listHoverBackground = registerColor("list.hoverBackground", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: editorWorkerHost.Color.white.transparent(0.1), hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(1971, "List/Tree background when hovering over items using the mouse."));
|
|
18326
|
+
const listHoverForeground = registerColor("list.hoverForeground", null, editorWorkerHost.localize(1972, "List/Tree foreground when hovering over items using the mouse."));
|
|
18327
|
+
const listDropOverBackground = registerColor("list.dropBackground", { dark: "#062F4A", light: "#D6EBFF", hcDark: null, hcLight: null }, editorWorkerHost.localize(1973, "List/Tree drag and drop background when moving items over other items when using the mouse."));
|
|
18328
|
+
const listDropBetweenBackground = registerColor("list.dropBetweenBackground", { dark: iconForeground, light: iconForeground, hcDark: null, hcLight: null }, editorWorkerHost.localize(1974, "List/Tree drag and drop border color when moving items between items when using the mouse."));
|
|
18329
|
+
const listHighlightForeground = registerColor("list.highlightForeground", { dark: "#2AAAFF", light: "#0066BF", hcDark: focusBorder, hcLight: focusBorder }, editorWorkerHost.localize(1975, "List/Tree foreground color of the match highlights when searching inside the list/tree."));
|
|
18330
|
+
const listFocusHighlightForeground = registerColor("list.focusHighlightForeground", { dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, "#BBE7FF"), hcDark: listHighlightForeground, hcLight: listHighlightForeground }, editorWorkerHost.localize(1976, "List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));
|
|
18331
|
+
registerColor("list.invalidItemForeground", { dark: "#B89500", light: "#B89500", hcDark: "#B89500", hcLight: "#B5200D" }, editorWorkerHost.localize(1977, "List/Tree foreground color for invalid items, for example an unresolved root in explorer."));
|
|
18332
|
+
registerColor("list.errorForeground", { dark: "#F88070", light: "#B01011", hcDark: null, hcLight: null }, editorWorkerHost.localize(1978, "Foreground color of list items containing errors."));
|
|
18333
|
+
registerColor("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, hcLight: null }, editorWorkerHost.localize(1979, "Foreground color of list items containing warnings."));
|
|
18334
|
+
const listFilterWidgetBackground = registerColor("listFilterWidget.background", { light: darken(editorWidgetBackground, 0), dark: lighten(editorWidgetBackground, 0), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, editorWorkerHost.localize(1980, "Background color of the type filter widget in lists and trees."));
|
|
18335
|
+
const listFilterWidgetOutline = registerColor("listFilterWidget.outline", { dark: editorWorkerHost.Color.transparent, light: editorWorkerHost.Color.transparent, hcDark: "#f38518", hcLight: "#007ACC" }, editorWorkerHost.localize(1981, "Outline color of the type filter widget in lists and trees."));
|
|
18336
|
+
const listFilterWidgetNoMatchesOutline = registerColor("listFilterWidget.noMatchesOutline", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1982, "Outline color of the type filter widget in lists and trees, when there are no matches."));
|
|
18337
|
+
const listFilterWidgetShadow = registerColor("listFilterWidget.shadow", widgetShadow, editorWorkerHost.localize(1983, "Shadow color of the type filter widget in lists and trees."));
|
|
18338
|
+
registerColor("list.filterMatchBackground", { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, editorWorkerHost.localize(1984, "Background color of the filtered match."));
|
|
18339
|
+
registerColor("list.filterMatchBorder", { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1985, "Border color of the filtered match."));
|
|
18340
|
+
registerColor("list.deemphasizedForeground", { dark: "#8C8C8C", light: "#8E8E90", hcDark: "#A7A8A9", hcLight: "#666666" }, editorWorkerHost.localize(1986, "List/Tree foreground color for items that are deemphasized."));
|
|
18341
|
+
const treeIndentGuidesStroke = registerColor("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, editorWorkerHost.localize(1987, "Tree stroke color for the indentation guides."));
|
|
18342
|
+
const treeInactiveIndentGuidesStroke = registerColor("tree.inactiveIndentGuidesStroke", transparent(treeIndentGuidesStroke, 0.4), editorWorkerHost.localize(1988, "Tree stroke color for the indentation guides that are not active."));
|
|
18343
|
+
const tableColumnsBorder = registerColor("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, editorWorkerHost.localize(1989, "Table border color between columns."));
|
|
18344
|
+
const tableOddRowsBackgroundColor = registerColor("tree.tableOddRowsBackground", { dark: transparent(foreground, 0.04), light: transparent(foreground, 0.04), hcDark: null, hcLight: null }, editorWorkerHost.localize(1990, "Background color for odd table rows."));
|
|
18345
|
+
registerColor("editorActionList.background", editorWidgetBackground, editorWorkerHost.localize(1991, "Action List background color."));
|
|
18346
|
+
const editorActionListForeground = registerColor("editorActionList.foreground", editorWidgetForeground, editorWorkerHost.localize(1992, "Action List foreground color."));
|
|
18347
|
+
registerColor("editorActionList.focusForeground", listActiveSelectionForeground, editorWorkerHost.localize(1993, "Action List foreground color for the focused item."));
|
|
18348
|
+
registerColor("editorActionList.focusBackground", listActiveSelectionBackground, editorWorkerHost.localize(1994, "Action List background color for the focused item."));
|
|
18349
|
+
const menuBorder = registerColor("menu.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1995, "Border color of menus."));
|
|
18350
|
+
const menuForeground = registerColor("menu.foreground", selectForeground, editorWorkerHost.localize(1996, "Foreground color of menu items."));
|
|
18351
|
+
const menuBackground = registerColor("menu.background", selectBackground, editorWorkerHost.localize(1997, "Background color of menu items."));
|
|
18352
|
+
const menuSelectionForeground = registerColor("menu.selectionForeground", listActiveSelectionForeground, editorWorkerHost.localize(1998, "Foreground color of the selected menu item in menus."));
|
|
18353
|
+
const menuSelectionBackground = registerColor("menu.selectionBackground", listActiveSelectionBackground, editorWorkerHost.localize(1999, "Background color of the selected menu item in menus."));
|
|
18354
|
+
const menuSelectionBorder = registerColor("menu.selectionBorder", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(2e3, "Border color of the selected menu item in menus."));
|
|
18355
|
+
const menuSeparatorBackground = registerColor("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2001, "Color of a separator menu item in menus."));
|
|
18356
|
+
const quickInputBackground = registerColor("quickInput.background", editorWidgetBackground, editorWorkerHost.localize(2029, "Quick picker background color. The quick picker widget is the container for pickers like the command palette."));
|
|
18357
|
+
const quickInputForeground = registerColor("quickInput.foreground", editorWidgetForeground, editorWorkerHost.localize(2030, "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette."));
|
|
18358
|
+
const quickInputTitleBackground = registerColor("quickInputTitle.background", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 255, 255, 0.105)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(2031, "Quick picker title background color. The quick picker widget is the container for pickers like the command palette."));
|
|
18359
|
+
const pickerGroupForeground = registerColor("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: editorWorkerHost.Color.white, hcLight: "#0F4A85" }, editorWorkerHost.localize(2032, "Quick picker color for grouping labels."));
|
|
18360
|
+
const pickerGroupBorder = registerColor("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: editorWorkerHost.Color.white, hcLight: "#0F4A85" }, editorWorkerHost.localize(2033, "Quick picker color for grouping borders."));
|
|
18361
|
+
const _deprecatedQuickInputListFocusBackground = registerColor("quickInput.list.focusBackground", null, "", void 0, editorWorkerHost.localize(2034, "Please use quickInputList.focusBackground instead"));
|
|
18362
|
+
const quickInputListFocusForeground = registerColor("quickInputList.focusForeground", listActiveSelectionForeground, editorWorkerHost.localize(2035, "Quick picker foreground color for the focused item."));
|
|
18363
|
+
const quickInputListFocusIconForeground = registerColor("quickInputList.focusIconForeground", listActiveSelectionIconForeground, editorWorkerHost.localize(2036, "Quick picker icon foreground color for the focused item."));
|
|
18364
|
+
const quickInputListFocusBackground = registerColor("quickInputList.focusBackground", { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, editorWorkerHost.localize(2037, "Quick picker background color for the focused item."));
|
|
18365
|
+
registerColor("search.resultsInfoForeground", { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, editorWorkerHost.localize(2038, "Color of the text in the search viewlet's completion message."));
|
|
18366
|
+
registerColor("searchEditor.findMatchBackground", { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, editorWorkerHost.localize(2039, "Color of the Search Editor query matches."));
|
|
18367
|
+
registerColor("searchEditor.findMatchBorder", { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, editorWorkerHost.localize(2040, "Border color of the Search Editor query matches."));
|
|
18370
18368
|
class PageCoordinates {
|
|
18371
18369
|
constructor(x, y) {
|
|
18372
18370
|
this.x = x;
|
|
@@ -28165,62 +28163,62 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
28165
28163
|
exports.EditorContextKeys = void 0;
|
|
28166
28164
|
(function(EditorContextKeys) {
|
|
28167
28165
|
EditorContextKeys.editorSimpleInput = new RawContextKey("editorSimpleInput", false, true);
|
|
28168
|
-
EditorContextKeys.editorTextFocus = new RawContextKey("editorTextFocus", false, editorWorkerHost.localize(
|
|
28169
|
-
EditorContextKeys.focus = new RawContextKey("editorFocus", false, editorWorkerHost.localize(
|
|
28170
|
-
EditorContextKeys.textInputFocus = new RawContextKey("textInputFocus", false, editorWorkerHost.localize(
|
|
28171
|
-
EditorContextKeys.readOnly = new RawContextKey("editorReadonly", false, editorWorkerHost.localize(
|
|
28172
|
-
EditorContextKeys.inDiffEditor = new RawContextKey("inDiffEditor", false, editorWorkerHost.localize(
|
|
28173
|
-
EditorContextKeys.isEmbeddedDiffEditor = new RawContextKey("isEmbeddedDiffEditor", false, editorWorkerHost.localize(
|
|
28174
|
-
EditorContextKeys.inMultiDiffEditor = new RawContextKey("inMultiDiffEditor", false, editorWorkerHost.localize(
|
|
28175
|
-
EditorContextKeys.multiDiffEditorAllCollapsed = new RawContextKey("multiDiffEditorAllCollapsed", void 0, editorWorkerHost.localize(
|
|
28176
|
-
EditorContextKeys.hasChanges = new RawContextKey("diffEditorHasChanges", false, editorWorkerHost.localize(
|
|
28177
|
-
EditorContextKeys.comparingMovedCode = new RawContextKey("comparingMovedCode", false, editorWorkerHost.localize(
|
|
28178
|
-
EditorContextKeys.accessibleDiffViewerVisible = new RawContextKey("accessibleDiffViewerVisible", false, editorWorkerHost.localize(
|
|
28179
|
-
EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = new RawContextKey("diffEditorRenderSideBySideInlineBreakpointReached", false, editorWorkerHost.localize(
|
|
28180
|
-
EditorContextKeys.diffEditorInlineMode = new RawContextKey("diffEditorInlineMode", false, editorWorkerHost.localize(
|
|
28181
|
-
EditorContextKeys.diffEditorOriginalWritable = new RawContextKey("diffEditorOriginalWritable", false, editorWorkerHost.localize(
|
|
28182
|
-
EditorContextKeys.diffEditorModifiedWritable = new RawContextKey("diffEditorModifiedWritable", false, editorWorkerHost.localize(
|
|
28183
|
-
EditorContextKeys.diffEditorOriginalUri = new RawContextKey("diffEditorOriginalUri", "", editorWorkerHost.localize(
|
|
28184
|
-
EditorContextKeys.diffEditorModifiedUri = new RawContextKey("diffEditorModifiedUri", "", editorWorkerHost.localize(
|
|
28185
|
-
EditorContextKeys.columnSelection = new RawContextKey("editorColumnSelection", false, editorWorkerHost.localize(
|
|
28166
|
+
EditorContextKeys.editorTextFocus = new RawContextKey("editorTextFocus", false, editorWorkerHost.localize(688, "Whether the editor text has focus (cursor is blinking)"));
|
|
28167
|
+
EditorContextKeys.focus = new RawContextKey("editorFocus", false, editorWorkerHost.localize(689, "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)"));
|
|
28168
|
+
EditorContextKeys.textInputFocus = new RawContextKey("textInputFocus", false, editorWorkerHost.localize(690, "Whether an editor or a rich text input has focus (cursor is blinking)"));
|
|
28169
|
+
EditorContextKeys.readOnly = new RawContextKey("editorReadonly", false, editorWorkerHost.localize(691, "Whether the editor is read-only"));
|
|
28170
|
+
EditorContextKeys.inDiffEditor = new RawContextKey("inDiffEditor", false, editorWorkerHost.localize(692, "Whether the context is a diff editor"));
|
|
28171
|
+
EditorContextKeys.isEmbeddedDiffEditor = new RawContextKey("isEmbeddedDiffEditor", false, editorWorkerHost.localize(693, "Whether the context is an embedded diff editor"));
|
|
28172
|
+
EditorContextKeys.inMultiDiffEditor = new RawContextKey("inMultiDiffEditor", false, editorWorkerHost.localize(694, "Whether the context is a multi diff editor"));
|
|
28173
|
+
EditorContextKeys.multiDiffEditorAllCollapsed = new RawContextKey("multiDiffEditorAllCollapsed", void 0, editorWorkerHost.localize(695, "Whether all files in multi diff editor are collapsed"));
|
|
28174
|
+
EditorContextKeys.hasChanges = new RawContextKey("diffEditorHasChanges", false, editorWorkerHost.localize(696, "Whether the diff editor has changes"));
|
|
28175
|
+
EditorContextKeys.comparingMovedCode = new RawContextKey("comparingMovedCode", false, editorWorkerHost.localize(697, "Whether a moved code block is selected for comparison"));
|
|
28176
|
+
EditorContextKeys.accessibleDiffViewerVisible = new RawContextKey("accessibleDiffViewerVisible", false, editorWorkerHost.localize(698, "Whether the accessible diff viewer is visible"));
|
|
28177
|
+
EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = new RawContextKey("diffEditorRenderSideBySideInlineBreakpointReached", false, editorWorkerHost.localize(699, "Whether the diff editor render side by side inline breakpoint is reached"));
|
|
28178
|
+
EditorContextKeys.diffEditorInlineMode = new RawContextKey("diffEditorInlineMode", false, editorWorkerHost.localize(700, "Whether inline mode is active"));
|
|
28179
|
+
EditorContextKeys.diffEditorOriginalWritable = new RawContextKey("diffEditorOriginalWritable", false, editorWorkerHost.localize(701, "Whether modified is writable in the diff editor"));
|
|
28180
|
+
EditorContextKeys.diffEditorModifiedWritable = new RawContextKey("diffEditorModifiedWritable", false, editorWorkerHost.localize(702, "Whether modified is writable in the diff editor"));
|
|
28181
|
+
EditorContextKeys.diffEditorOriginalUri = new RawContextKey("diffEditorOriginalUri", "", editorWorkerHost.localize(703, "The uri of the original document"));
|
|
28182
|
+
EditorContextKeys.diffEditorModifiedUri = new RawContextKey("diffEditorModifiedUri", "", editorWorkerHost.localize(704, "The uri of the modified document"));
|
|
28183
|
+
EditorContextKeys.columnSelection = new RawContextKey("editorColumnSelection", false, editorWorkerHost.localize(705, "Whether `editor.columnSelection` is enabled"));
|
|
28186
28184
|
EditorContextKeys.writable = EditorContextKeys.readOnly.toNegated();
|
|
28187
|
-
EditorContextKeys.hasNonEmptySelection = new RawContextKey("editorHasSelection", false, editorWorkerHost.localize(
|
|
28185
|
+
EditorContextKeys.hasNonEmptySelection = new RawContextKey("editorHasSelection", false, editorWorkerHost.localize(706, "Whether the editor has text selected"));
|
|
28188
28186
|
EditorContextKeys.hasOnlyEmptySelection = EditorContextKeys.hasNonEmptySelection.toNegated();
|
|
28189
|
-
EditorContextKeys.hasMultipleSelections = new RawContextKey("editorHasMultipleSelections", false, editorWorkerHost.localize(
|
|
28187
|
+
EditorContextKeys.hasMultipleSelections = new RawContextKey("editorHasMultipleSelections", false, editorWorkerHost.localize(707, "Whether the editor has multiple selections"));
|
|
28190
28188
|
EditorContextKeys.hasSingleSelection = EditorContextKeys.hasMultipleSelections.toNegated();
|
|
28191
|
-
EditorContextKeys.tabMovesFocus = new RawContextKey("editorTabMovesFocus", false, editorWorkerHost.localize(
|
|
28189
|
+
EditorContextKeys.tabMovesFocus = new RawContextKey("editorTabMovesFocus", false, editorWorkerHost.localize(708, "Whether `Tab` will move focus out of the editor"));
|
|
28192
28190
|
EditorContextKeys.tabDoesNotMoveFocus = EditorContextKeys.tabMovesFocus.toNegated();
|
|
28193
28191
|
EditorContextKeys.isInEmbeddedEditor = new RawContextKey("isInEmbeddedEditor", false, true);
|
|
28194
28192
|
EditorContextKeys.canUndo = new RawContextKey("canUndo", false, true);
|
|
28195
28193
|
EditorContextKeys.canRedo = new RawContextKey("canRedo", false, true);
|
|
28196
|
-
EditorContextKeys.hoverVisible = new RawContextKey("editorHoverVisible", false, editorWorkerHost.localize(
|
|
28197
|
-
EditorContextKeys.hoverFocused = new RawContextKey("editorHoverFocused", false, editorWorkerHost.localize(
|
|
28198
|
-
EditorContextKeys.stickyScrollFocused = new RawContextKey("stickyScrollFocused", false, editorWorkerHost.localize(
|
|
28199
|
-
EditorContextKeys.stickyScrollVisible = new RawContextKey("stickyScrollVisible", false, editorWorkerHost.localize(
|
|
28200
|
-
EditorContextKeys.standaloneColorPickerVisible = new RawContextKey("standaloneColorPickerVisible", false, editorWorkerHost.localize(
|
|
28201
|
-
EditorContextKeys.standaloneColorPickerFocused = new RawContextKey("standaloneColorPickerFocused", false, editorWorkerHost.localize(
|
|
28202
|
-
EditorContextKeys.isComposing = new RawContextKey("isComposing", false, editorWorkerHost.localize(
|
|
28203
|
-
EditorContextKeys.inCompositeEditor = new RawContextKey("inCompositeEditor", void 0, editorWorkerHost.localize(
|
|
28194
|
+
EditorContextKeys.hoverVisible = new RawContextKey("editorHoverVisible", false, editorWorkerHost.localize(709, "Whether the editor hover is visible"));
|
|
28195
|
+
EditorContextKeys.hoverFocused = new RawContextKey("editorHoverFocused", false, editorWorkerHost.localize(710, "Whether the editor hover is focused"));
|
|
28196
|
+
EditorContextKeys.stickyScrollFocused = new RawContextKey("stickyScrollFocused", false, editorWorkerHost.localize(711, "Whether the sticky scroll is focused"));
|
|
28197
|
+
EditorContextKeys.stickyScrollVisible = new RawContextKey("stickyScrollVisible", false, editorWorkerHost.localize(712, "Whether the sticky scroll is visible"));
|
|
28198
|
+
EditorContextKeys.standaloneColorPickerVisible = new RawContextKey("standaloneColorPickerVisible", false, editorWorkerHost.localize(713, "Whether the standalone color picker is visible"));
|
|
28199
|
+
EditorContextKeys.standaloneColorPickerFocused = new RawContextKey("standaloneColorPickerFocused", false, editorWorkerHost.localize(714, "Whether the standalone color picker is focused"));
|
|
28200
|
+
EditorContextKeys.isComposing = new RawContextKey("isComposing", false, editorWorkerHost.localize(715, "Whether the editor is in the composition mode"));
|
|
28201
|
+
EditorContextKeys.inCompositeEditor = new RawContextKey("inCompositeEditor", void 0, editorWorkerHost.localize(716, "Whether the editor is part of a larger editor (e.g. notebooks)"));
|
|
28204
28202
|
EditorContextKeys.notInCompositeEditor = EditorContextKeys.inCompositeEditor.toNegated();
|
|
28205
|
-
EditorContextKeys.languageId = new RawContextKey("editorLangId", "", editorWorkerHost.localize(
|
|
28206
|
-
EditorContextKeys.hasCompletionItemProvider = new RawContextKey("editorHasCompletionItemProvider", false, editorWorkerHost.localize(
|
|
28207
|
-
EditorContextKeys.hasCodeActionsProvider = new RawContextKey("editorHasCodeActionsProvider", false, editorWorkerHost.localize(
|
|
28208
|
-
EditorContextKeys.hasCodeLensProvider = new RawContextKey("editorHasCodeLensProvider", false, editorWorkerHost.localize(
|
|
28209
|
-
EditorContextKeys.hasDefinitionProvider = new RawContextKey("editorHasDefinitionProvider", false, editorWorkerHost.localize(
|
|
28210
|
-
EditorContextKeys.hasDeclarationProvider = new RawContextKey("editorHasDeclarationProvider", false, editorWorkerHost.localize(
|
|
28211
|
-
EditorContextKeys.hasImplementationProvider = new RawContextKey("editorHasImplementationProvider", false, editorWorkerHost.localize(
|
|
28212
|
-
EditorContextKeys.hasTypeDefinitionProvider = new RawContextKey("editorHasTypeDefinitionProvider", false, editorWorkerHost.localize(
|
|
28213
|
-
EditorContextKeys.hasHoverProvider = new RawContextKey("editorHasHoverProvider", false, editorWorkerHost.localize(
|
|
28214
|
-
EditorContextKeys.hasDocumentHighlightProvider = new RawContextKey("editorHasDocumentHighlightProvider", false, editorWorkerHost.localize(
|
|
28215
|
-
EditorContextKeys.hasDocumentSymbolProvider = new RawContextKey("editorHasDocumentSymbolProvider", false, editorWorkerHost.localize(
|
|
28216
|
-
EditorContextKeys.hasReferenceProvider = new RawContextKey("editorHasReferenceProvider", false, editorWorkerHost.localize(
|
|
28217
|
-
EditorContextKeys.hasRenameProvider = new RawContextKey("editorHasRenameProvider", false, editorWorkerHost.localize(
|
|
28218
|
-
EditorContextKeys.hasSignatureHelpProvider = new RawContextKey("editorHasSignatureHelpProvider", false, editorWorkerHost.localize(
|
|
28219
|
-
EditorContextKeys.hasInlayHintsProvider = new RawContextKey("editorHasInlayHintsProvider", false, editorWorkerHost.localize(
|
|
28220
|
-
EditorContextKeys.hasDocumentFormattingProvider = new RawContextKey("editorHasDocumentFormattingProvider", false, editorWorkerHost.localize(
|
|
28221
|
-
EditorContextKeys.hasDocumentSelectionFormattingProvider = new RawContextKey("editorHasDocumentSelectionFormattingProvider", false, editorWorkerHost.localize(
|
|
28222
|
-
EditorContextKeys.hasMultipleDocumentFormattingProvider = new RawContextKey("editorHasMultipleDocumentFormattingProvider", false, editorWorkerHost.localize(
|
|
28223
|
-
EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = new RawContextKey("editorHasMultipleDocumentSelectionFormattingProvider", false, editorWorkerHost.localize(
|
|
28203
|
+
EditorContextKeys.languageId = new RawContextKey("editorLangId", "", editorWorkerHost.localize(717, "The language identifier of the editor"));
|
|
28204
|
+
EditorContextKeys.hasCompletionItemProvider = new RawContextKey("editorHasCompletionItemProvider", false, editorWorkerHost.localize(718, "Whether the editor has a completion item provider"));
|
|
28205
|
+
EditorContextKeys.hasCodeActionsProvider = new RawContextKey("editorHasCodeActionsProvider", false, editorWorkerHost.localize(719, "Whether the editor has a code actions provider"));
|
|
28206
|
+
EditorContextKeys.hasCodeLensProvider = new RawContextKey("editorHasCodeLensProvider", false, editorWorkerHost.localize(720, "Whether the editor has a code lens provider"));
|
|
28207
|
+
EditorContextKeys.hasDefinitionProvider = new RawContextKey("editorHasDefinitionProvider", false, editorWorkerHost.localize(721, "Whether the editor has a definition provider"));
|
|
28208
|
+
EditorContextKeys.hasDeclarationProvider = new RawContextKey("editorHasDeclarationProvider", false, editorWorkerHost.localize(722, "Whether the editor has a declaration provider"));
|
|
28209
|
+
EditorContextKeys.hasImplementationProvider = new RawContextKey("editorHasImplementationProvider", false, editorWorkerHost.localize(723, "Whether the editor has an implementation provider"));
|
|
28210
|
+
EditorContextKeys.hasTypeDefinitionProvider = new RawContextKey("editorHasTypeDefinitionProvider", false, editorWorkerHost.localize(724, "Whether the editor has a type definition provider"));
|
|
28211
|
+
EditorContextKeys.hasHoverProvider = new RawContextKey("editorHasHoverProvider", false, editorWorkerHost.localize(725, "Whether the editor has a hover provider"));
|
|
28212
|
+
EditorContextKeys.hasDocumentHighlightProvider = new RawContextKey("editorHasDocumentHighlightProvider", false, editorWorkerHost.localize(726, "Whether the editor has a document highlight provider"));
|
|
28213
|
+
EditorContextKeys.hasDocumentSymbolProvider = new RawContextKey("editorHasDocumentSymbolProvider", false, editorWorkerHost.localize(727, "Whether the editor has a document symbol provider"));
|
|
28214
|
+
EditorContextKeys.hasReferenceProvider = new RawContextKey("editorHasReferenceProvider", false, editorWorkerHost.localize(728, "Whether the editor has a reference provider"));
|
|
28215
|
+
EditorContextKeys.hasRenameProvider = new RawContextKey("editorHasRenameProvider", false, editorWorkerHost.localize(729, "Whether the editor has a rename provider"));
|
|
28216
|
+
EditorContextKeys.hasSignatureHelpProvider = new RawContextKey("editorHasSignatureHelpProvider", false, editorWorkerHost.localize(730, "Whether the editor has a signature help provider"));
|
|
28217
|
+
EditorContextKeys.hasInlayHintsProvider = new RawContextKey("editorHasInlayHintsProvider", false, editorWorkerHost.localize(731, "Whether the editor has an inline hints provider"));
|
|
28218
|
+
EditorContextKeys.hasDocumentFormattingProvider = new RawContextKey("editorHasDocumentFormattingProvider", false, editorWorkerHost.localize(732, "Whether the editor has a document formatting provider"));
|
|
28219
|
+
EditorContextKeys.hasDocumentSelectionFormattingProvider = new RawContextKey("editorHasDocumentSelectionFormattingProvider", false, editorWorkerHost.localize(733, "Whether the editor has a document selection formatting provider"));
|
|
28220
|
+
EditorContextKeys.hasMultipleDocumentFormattingProvider = new RawContextKey("editorHasMultipleDocumentFormattingProvider", false, editorWorkerHost.localize(734, "Whether the editor has multiple document formatting providers"));
|
|
28221
|
+
EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = new RawContextKey("editorHasMultipleDocumentSelectionFormattingProvider", false, editorWorkerHost.localize(735, "Whether the editor has multiple document selection formatting providers"));
|
|
28224
28222
|
})(exports.EditorContextKeys || (exports.EditorContextKeys = {}));
|
|
28225
28223
|
const CORE_WEIGHT = 0;
|
|
28226
28224
|
class CoreEditorCommand extends EditorCommand {
|
|
@@ -30153,6 +30151,53 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
30153
30151
|
return false;
|
|
30154
30152
|
}
|
|
30155
30153
|
}
|
|
30154
|
+
/**
|
|
30155
|
+
* Selects content inside brackets if the position is right after an opening bracket or right before a closing bracket.
|
|
30156
|
+
* @param pos The position in the model.
|
|
30157
|
+
* @param model The text model.
|
|
30158
|
+
*/
|
|
30159
|
+
static _trySelectBracketContent(model, pos) {
|
|
30160
|
+
if (pos.column > 1) {
|
|
30161
|
+
const pair = model.bracketPairs.matchBracket(pos.with(void 0, pos.column - 1));
|
|
30162
|
+
if (pair && pair[0].getEndPosition().equals(pos)) {
|
|
30163
|
+
return editorWorkerHost.Selection.fromPositions(pair[0].getEndPosition(), pair[1].getStartPosition());
|
|
30164
|
+
}
|
|
30165
|
+
}
|
|
30166
|
+
if (pos.column <= model.getLineMaxColumn(pos.lineNumber)) {
|
|
30167
|
+
const pair = model.bracketPairs.matchBracket(pos);
|
|
30168
|
+
if (pair && pair[1].getStartPosition().equals(pos)) {
|
|
30169
|
+
return editorWorkerHost.Selection.fromPositions(pair[0].getEndPosition(), pair[1].getStartPosition());
|
|
30170
|
+
}
|
|
30171
|
+
}
|
|
30172
|
+
return void 0;
|
|
30173
|
+
}
|
|
30174
|
+
/**
|
|
30175
|
+
* Selects content inside a string if the position is right after an opening quote or right before a closing quote.
|
|
30176
|
+
* @param pos The position in the model.
|
|
30177
|
+
* @param model The text model.
|
|
30178
|
+
*/
|
|
30179
|
+
static _trySelectStringContent(model, pos) {
|
|
30180
|
+
const { lineNumber, column } = pos;
|
|
30181
|
+
const { tokenization: tokens } = model;
|
|
30182
|
+
if (!tokens.hasAccurateTokensForLine(lineNumber)) {
|
|
30183
|
+
if (tokens.isCheapToTokenize(lineNumber)) {
|
|
30184
|
+
tokens.forceTokenization(lineNumber);
|
|
30185
|
+
} else {
|
|
30186
|
+
return void 0;
|
|
30187
|
+
}
|
|
30188
|
+
}
|
|
30189
|
+
const lineTokens = tokens.getLineTokens(lineNumber);
|
|
30190
|
+
const index = lineTokens.findTokenIndexAtOffset(column - 1);
|
|
30191
|
+
if (lineTokens.getStandardTokenType(index) !== 2) {
|
|
30192
|
+
return void 0;
|
|
30193
|
+
}
|
|
30194
|
+
const start = lineTokens.getStartOffset(index) + 2;
|
|
30195
|
+
const end = lineTokens.getEndOffset(index);
|
|
30196
|
+
if (column !== start && column !== end) {
|
|
30197
|
+
return void 0;
|
|
30198
|
+
}
|
|
30199
|
+
return new editorWorkerHost.Selection(lineNumber, start, lineNumber, end);
|
|
30200
|
+
}
|
|
30156
30201
|
dispatchMouse(data) {
|
|
30157
30202
|
const options = this.configuration.options;
|
|
30158
30203
|
const selectionClipboardIsOn = editorWorkerHost.isLinux && options.get(
|
|
@@ -30210,7 +30255,14 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
30210
30255
|
if (data.inSelectionMode) {
|
|
30211
30256
|
this._wordSelectDrag(data.position, data.revealType);
|
|
30212
30257
|
} else {
|
|
30213
|
-
this.
|
|
30258
|
+
const model = this.viewModel.model;
|
|
30259
|
+
const modelPos = this._convertViewToModelPosition(data.position);
|
|
30260
|
+
const selection = ViewController._trySelectBracketContent(model, modelPos) || ViewController._trySelectStringContent(model, modelPos);
|
|
30261
|
+
if (selection) {
|
|
30262
|
+
this._select(selection);
|
|
30263
|
+
} else {
|
|
30264
|
+
this._wordSelect(data.position, data.revealType);
|
|
30265
|
+
}
|
|
30214
30266
|
}
|
|
30215
30267
|
}
|
|
30216
30268
|
}
|
|
@@ -30302,6 +30354,9 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
30302
30354
|
_lastCursorLineSelectDrag(viewPosition, revealType) {
|
|
30303
30355
|
CoreNavigationCommands.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel, this._usualArgs(viewPosition, revealType));
|
|
30304
30356
|
}
|
|
30357
|
+
_select(selection) {
|
|
30358
|
+
CoreNavigationCommands.SetSelection.runCoreEditorCommand(this.viewModel, { source: "mouse", selection });
|
|
30359
|
+
}
|
|
30305
30360
|
_selectAll() {
|
|
30306
30361
|
CoreNavigationCommands.SelectAll.runCoreEditorCommand(this.viewModel, { source: "mouse" });
|
|
30307
30362
|
}
|
|
@@ -31723,40 +31778,41 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
31723
31778
|
registerColor("editorCodeLens.foreground", { dark: "#999999", light: "#919191", hcDark: "#999999", hcLight: "#292929" }, editorWorkerHost.localize(651, "Foreground color of editor CodeLens"));
|
|
31724
31779
|
registerColor("editorBracketMatch.background", { dark: "#0064001a", light: "#0064001a", hcDark: "#0064001a", hcLight: "#0000" }, editorWorkerHost.localize(652, "Background color behind matching brackets"));
|
|
31725
31780
|
registerColor("editorBracketMatch.border", { dark: "#888", light: "#B9B9B9", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(653, "Color for matching brackets boxes"));
|
|
31726
|
-
const
|
|
31727
|
-
const
|
|
31728
|
-
registerColor("
|
|
31729
|
-
registerColor("
|
|
31730
|
-
|
|
31731
|
-
registerColor("
|
|
31732
|
-
|
|
31733
|
-
registerColor("editorGhostText.
|
|
31781
|
+
const editorBracketMatchForeground = registerColor("editorBracketMatch.foreground", null, editorWorkerHost.localize(654, "Foreground color for matching brackets"));
|
|
31782
|
+
const editorOverviewRulerBorder = registerColor("editorOverviewRuler.border", { dark: "#7f7f7f4d", light: "#7f7f7f4d", hcDark: "#7f7f7f4d", hcLight: "#666666" }, editorWorkerHost.localize(655, "Color of the overview ruler border."));
|
|
31783
|
+
const editorOverviewRulerBackground = registerColor("editorOverviewRuler.background", null, editorWorkerHost.localize(656, "Background color of the editor overview ruler."));
|
|
31784
|
+
registerColor("editorGutter.background", editorBackground, editorWorkerHost.localize(657, "Background color of the editor gutter. The gutter contains the glyph margins and the line numbers."));
|
|
31785
|
+
registerColor("editorUnnecessaryCode.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#fff").transparent(0.8), hcLight: contrastBorder }, editorWorkerHost.localize(658, "Border color of unnecessary (unused) source code in the editor."));
|
|
31786
|
+
const editorUnnecessaryCodeOpacity = registerColor("editorUnnecessaryCode.opacity", { dark: editorWorkerHost.Color.fromHex("#000a"), light: editorWorkerHost.Color.fromHex("#0007"), hcDark: null, hcLight: null }, editorWorkerHost.localize(659, `Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.`));
|
|
31787
|
+
registerColor("editorGhostText.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#fff").transparent(0.8), hcLight: editorWorkerHost.Color.fromHex("#292929").transparent(0.8) }, editorWorkerHost.localize(660, "Border color of ghost text in the editor."));
|
|
31788
|
+
const ghostTextForeground = registerColor("editorGhostText.foreground", { dark: editorWorkerHost.Color.fromHex("#ffffff56"), light: editorWorkerHost.Color.fromHex("#0007"), hcDark: null, hcLight: null }, editorWorkerHost.localize(661, "Foreground color of the ghost text in the editor."));
|
|
31789
|
+
registerColor("editorGhostText.background", null, editorWorkerHost.localize(662, "Background color of the ghost text in the editor."));
|
|
31734
31790
|
const rulerRangeDefault = new editorWorkerHost.Color(new editorWorkerHost.RGBA(0, 122, 204, 0.6));
|
|
31735
|
-
const overviewRulerRangeHighlight = registerColor("editorOverviewRuler.rangeHighlightForeground", rulerRangeDefault, editorWorkerHost.localize(
|
|
31736
|
-
const overviewRulerError = registerColor("editorOverviewRuler.errorForeground", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.7)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.7)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 50, 50, 1)), hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
31737
|
-
const overviewRulerWarning = registerColor("editorOverviewRuler.warningForeground", { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, editorWorkerHost.localize(
|
|
31738
|
-
const overviewRulerInfo = registerColor("editorOverviewRuler.infoForeground", { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, editorWorkerHost.localize(
|
|
31739
|
-
const editorBracketHighlightingForeground1 = registerColor("editorBracketHighlight.foreground1", { dark: "#FFD700", light: "#0431FAFF", hcDark: "#FFD700", hcLight: "#0431FAFF" }, editorWorkerHost.localize(
|
|
31740
|
-
const editorBracketHighlightingForeground2 = registerColor("editorBracketHighlight.foreground2", { dark: "#DA70D6", light: "#319331FF", hcDark: "#DA70D6", hcLight: "#319331FF" }, editorWorkerHost.localize(
|
|
31741
|
-
const editorBracketHighlightingForeground3 = registerColor("editorBracketHighlight.foreground3", { dark: "#179FFF", light: "#7B3814FF", hcDark: "#87CEFA", hcLight: "#7B3814FF" }, editorWorkerHost.localize(
|
|
31742
|
-
const editorBracketHighlightingForeground4 = registerColor("editorBracketHighlight.foreground4", "#00000000", editorWorkerHost.localize(
|
|
31743
|
-
const editorBracketHighlightingForeground5 = registerColor("editorBracketHighlight.foreground5", "#00000000", editorWorkerHost.localize(
|
|
31744
|
-
const editorBracketHighlightingForeground6 = registerColor("editorBracketHighlight.foreground6", "#00000000", editorWorkerHost.localize(
|
|
31745
|
-
const editorBracketHighlightingUnexpectedBracketForeground = registerColor("editorBracketHighlight.unexpectedBracket.foreground", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.8)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.8)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 50, 50, 1)), hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
31746
|
-
const editorBracketPairGuideBackground1 = registerColor("editorBracketPairGuide.background1", "#00000000", editorWorkerHost.localize(
|
|
31747
|
-
const editorBracketPairGuideBackground2 = registerColor("editorBracketPairGuide.background2", "#00000000", editorWorkerHost.localize(
|
|
31748
|
-
const editorBracketPairGuideBackground3 = registerColor("editorBracketPairGuide.background3", "#00000000", editorWorkerHost.localize(
|
|
31749
|
-
const editorBracketPairGuideBackground4 = registerColor("editorBracketPairGuide.background4", "#00000000", editorWorkerHost.localize(
|
|
31750
|
-
const editorBracketPairGuideBackground5 = registerColor("editorBracketPairGuide.background5", "#00000000", editorWorkerHost.localize(
|
|
31751
|
-
const editorBracketPairGuideBackground6 = registerColor("editorBracketPairGuide.background6", "#00000000", editorWorkerHost.localize(
|
|
31752
|
-
const editorBracketPairGuideActiveBackground1 = registerColor("editorBracketPairGuide.activeBackground1", "#00000000", editorWorkerHost.localize(
|
|
31753
|
-
const editorBracketPairGuideActiveBackground2 = registerColor("editorBracketPairGuide.activeBackground2", "#00000000", editorWorkerHost.localize(
|
|
31754
|
-
const editorBracketPairGuideActiveBackground3 = registerColor("editorBracketPairGuide.activeBackground3", "#00000000", editorWorkerHost.localize(
|
|
31755
|
-
const editorBracketPairGuideActiveBackground4 = registerColor("editorBracketPairGuide.activeBackground4", "#00000000", editorWorkerHost.localize(
|
|
31756
|
-
const editorBracketPairGuideActiveBackground5 = registerColor("editorBracketPairGuide.activeBackground5", "#00000000", editorWorkerHost.localize(
|
|
31757
|
-
const editorBracketPairGuideActiveBackground6 = registerColor("editorBracketPairGuide.activeBackground6", "#00000000", editorWorkerHost.localize(
|
|
31758
|
-
registerColor("editorUnicodeHighlight.border", editorWarningForeground, editorWorkerHost.localize(
|
|
31759
|
-
registerColor("editorUnicodeHighlight.background", editorWarningBackground, editorWorkerHost.localize(
|
|
31791
|
+
const overviewRulerRangeHighlight = registerColor("editorOverviewRuler.rangeHighlightForeground", rulerRangeDefault, editorWorkerHost.localize(663, "Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
31792
|
+
const overviewRulerError = registerColor("editorOverviewRuler.errorForeground", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.7)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.7)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 50, 50, 1)), hcLight: "#B5200D" }, editorWorkerHost.localize(664, "Overview ruler marker color for errors."));
|
|
31793
|
+
const overviewRulerWarning = registerColor("editorOverviewRuler.warningForeground", { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, editorWorkerHost.localize(665, "Overview ruler marker color for warnings."));
|
|
31794
|
+
const overviewRulerInfo = registerColor("editorOverviewRuler.infoForeground", { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, editorWorkerHost.localize(666, "Overview ruler marker color for infos."));
|
|
31795
|
+
const editorBracketHighlightingForeground1 = registerColor("editorBracketHighlight.foreground1", { dark: "#FFD700", light: "#0431FAFF", hcDark: "#FFD700", hcLight: "#0431FAFF" }, editorWorkerHost.localize(667, "Foreground color of brackets (1). Requires enabling bracket pair colorization."));
|
|
31796
|
+
const editorBracketHighlightingForeground2 = registerColor("editorBracketHighlight.foreground2", { dark: "#DA70D6", light: "#319331FF", hcDark: "#DA70D6", hcLight: "#319331FF" }, editorWorkerHost.localize(668, "Foreground color of brackets (2). Requires enabling bracket pair colorization."));
|
|
31797
|
+
const editorBracketHighlightingForeground3 = registerColor("editorBracketHighlight.foreground3", { dark: "#179FFF", light: "#7B3814FF", hcDark: "#87CEFA", hcLight: "#7B3814FF" }, editorWorkerHost.localize(669, "Foreground color of brackets (3). Requires enabling bracket pair colorization."));
|
|
31798
|
+
const editorBracketHighlightingForeground4 = registerColor("editorBracketHighlight.foreground4", "#00000000", editorWorkerHost.localize(670, "Foreground color of brackets (4). Requires enabling bracket pair colorization."));
|
|
31799
|
+
const editorBracketHighlightingForeground5 = registerColor("editorBracketHighlight.foreground5", "#00000000", editorWorkerHost.localize(671, "Foreground color of brackets (5). Requires enabling bracket pair colorization."));
|
|
31800
|
+
const editorBracketHighlightingForeground6 = registerColor("editorBracketHighlight.foreground6", "#00000000", editorWorkerHost.localize(672, "Foreground color of brackets (6). Requires enabling bracket pair colorization."));
|
|
31801
|
+
const editorBracketHighlightingUnexpectedBracketForeground = registerColor("editorBracketHighlight.unexpectedBracket.foreground", { dark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.8)), light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 18, 18, 0.8)), hcDark: new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 50, 50, 1)), hcLight: "#B5200D" }, editorWorkerHost.localize(673, "Foreground color of unexpected brackets."));
|
|
31802
|
+
const editorBracketPairGuideBackground1 = registerColor("editorBracketPairGuide.background1", "#00000000", editorWorkerHost.localize(674, "Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides."));
|
|
31803
|
+
const editorBracketPairGuideBackground2 = registerColor("editorBracketPairGuide.background2", "#00000000", editorWorkerHost.localize(675, "Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides."));
|
|
31804
|
+
const editorBracketPairGuideBackground3 = registerColor("editorBracketPairGuide.background3", "#00000000", editorWorkerHost.localize(676, "Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides."));
|
|
31805
|
+
const editorBracketPairGuideBackground4 = registerColor("editorBracketPairGuide.background4", "#00000000", editorWorkerHost.localize(677, "Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides."));
|
|
31806
|
+
const editorBracketPairGuideBackground5 = registerColor("editorBracketPairGuide.background5", "#00000000", editorWorkerHost.localize(678, "Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides."));
|
|
31807
|
+
const editorBracketPairGuideBackground6 = registerColor("editorBracketPairGuide.background6", "#00000000", editorWorkerHost.localize(679, "Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides."));
|
|
31808
|
+
const editorBracketPairGuideActiveBackground1 = registerColor("editorBracketPairGuide.activeBackground1", "#00000000", editorWorkerHost.localize(680, "Background color of active bracket pair guides (1). Requires enabling bracket pair guides."));
|
|
31809
|
+
const editorBracketPairGuideActiveBackground2 = registerColor("editorBracketPairGuide.activeBackground2", "#00000000", editorWorkerHost.localize(681, "Background color of active bracket pair guides (2). Requires enabling bracket pair guides."));
|
|
31810
|
+
const editorBracketPairGuideActiveBackground3 = registerColor("editorBracketPairGuide.activeBackground3", "#00000000", editorWorkerHost.localize(682, "Background color of active bracket pair guides (3). Requires enabling bracket pair guides."));
|
|
31811
|
+
const editorBracketPairGuideActiveBackground4 = registerColor("editorBracketPairGuide.activeBackground4", "#00000000", editorWorkerHost.localize(683, "Background color of active bracket pair guides (4). Requires enabling bracket pair guides."));
|
|
31812
|
+
const editorBracketPairGuideActiveBackground5 = registerColor("editorBracketPairGuide.activeBackground5", "#00000000", editorWorkerHost.localize(684, "Background color of active bracket pair guides (5). Requires enabling bracket pair guides."));
|
|
31813
|
+
const editorBracketPairGuideActiveBackground6 = registerColor("editorBracketPairGuide.activeBackground6", "#00000000", editorWorkerHost.localize(685, "Background color of active bracket pair guides (6). Requires enabling bracket pair guides."));
|
|
31814
|
+
registerColor("editorUnicodeHighlight.border", editorWarningForeground, editorWorkerHost.localize(686, "Border color used to highlight unicode characters."));
|
|
31815
|
+
registerColor("editorUnicodeHighlight.background", editorWarningBackground, editorWorkerHost.localize(687, "Background color used to highlight unicode characters."));
|
|
31760
31816
|
registerThemingParticipant((theme, collector) => {
|
|
31761
31817
|
const background = theme.getColor(editorBackground);
|
|
31762
31818
|
const lineHighlight = theme.getColor(editorLineHighlight);
|
|
@@ -37317,7 +37373,7 @@ define("vs/editor-BD6q8TI1", ["require", "exports", "./editorWorkerHost-C6qzpbiG
|
|
|
37317
37373
|
while (addCount > 0) {
|
|
37318
37374
|
const node = createFastDomNode(document.createElement("div"));
|
|
37319
37375
|
node.setClassName("view-ruler");
|
|
37320
|
-
node.setWidth("
|
|
37376
|
+
node.setWidth("1ch");
|
|
37321
37377
|
this.domNode.appendChild(node);
|
|
37322
37378
|
this._renderedRulers.push(node);
|
|
37323
37379
|
addCount--;
|
|
@@ -45783,11 +45839,11 @@ struct VSOutput {
|
|
|
45783
45839
|
}
|
|
45784
45840
|
}
|
|
45785
45841
|
class ModelLineHeightChanged {
|
|
45786
|
-
constructor(ownerId2, decorationId, lineNumber,
|
|
45842
|
+
constructor(ownerId2, decorationId, lineNumber, lineHeightMultiplier) {
|
|
45787
45843
|
this.ownerId = ownerId2;
|
|
45788
45844
|
this.decorationId = decorationId;
|
|
45789
45845
|
this.lineNumber = lineNumber;
|
|
45790
|
-
this.
|
|
45846
|
+
this.lineHeightMultiplier = lineHeightMultiplier;
|
|
45791
45847
|
}
|
|
45792
45848
|
}
|
|
45793
45849
|
class ModelFontChanged {
|
|
@@ -49668,7 +49724,7 @@ struct VSOutput {
|
|
|
49668
49724
|
if (isEditStackElement(lastElement) && lastElement.canAppend(this._model)) {
|
|
49669
49725
|
return lastElement;
|
|
49670
49726
|
}
|
|
49671
|
-
const newElement = new SingleModelEditStackElement(editorWorkerHost.localize(
|
|
49727
|
+
const newElement = new SingleModelEditStackElement(editorWorkerHost.localize(793, "Typing"), "undoredo.textBufferEdit", this._model, beforeCursorState);
|
|
49672
49728
|
this._undoRedoService.pushElement(newElement, group);
|
|
49673
49729
|
return newElement;
|
|
49674
49730
|
}
|
|
@@ -53449,7 +53505,18 @@ struct VSOutput {
|
|
|
53449
53505
|
return rules.join("\n");
|
|
53450
53506
|
}
|
|
53451
53507
|
function classNameForFontTokenDecorations(fontFamily, fontSize) {
|
|
53452
|
-
|
|
53508
|
+
const safeFontFamily = sanitizeFontFamilyForClassName(fontFamily);
|
|
53509
|
+
return cleanClassName$1(`font-decoration-${safeFontFamily}-${fontSize}`);
|
|
53510
|
+
}
|
|
53511
|
+
function sanitizeFontFamilyForClassName(fontFamily) {
|
|
53512
|
+
const normalized = fontFamily.toLowerCase().trim();
|
|
53513
|
+
if (!normalized) {
|
|
53514
|
+
return "default";
|
|
53515
|
+
}
|
|
53516
|
+
return cleanClassName$1(normalized);
|
|
53517
|
+
}
|
|
53518
|
+
function cleanClassName$1(className2) {
|
|
53519
|
+
return className2.replace(/[^a-z0-9_-]/gi, "-");
|
|
53453
53520
|
}
|
|
53454
53521
|
class AnnotatedString {
|
|
53455
53522
|
constructor(annotations = []) {
|
|
@@ -53646,8 +53713,8 @@ struct VSOutput {
|
|
|
53646
53713
|
annotation: fontTokenDecoration
|
|
53647
53714
|
};
|
|
53648
53715
|
_TokenizationFontDecorationProvider.DECORATION_COUNT++;
|
|
53649
|
-
if (annotation.annotation.
|
|
53650
|
-
affectedLineHeights.add(new LineHeightChangingDecoration(0, decorationId, lineNumber, annotation.annotation.
|
|
53716
|
+
if (annotation.annotation.lineHeightMultiplier) {
|
|
53717
|
+
affectedLineHeights.add(new LineHeightChangingDecoration(0, decorationId, lineNumber, annotation.annotation.lineHeightMultiplier));
|
|
53651
53718
|
}
|
|
53652
53719
|
affectedLineFonts.add(new LineFontChangingDecoration(0, decorationId, lineNumber));
|
|
53653
53720
|
}
|
|
@@ -53698,8 +53765,8 @@ struct VSOutput {
|
|
|
53698
53765
|
const annotationEndPosition = this.textModel.getPositionAt(annotation.range.endExclusive);
|
|
53699
53766
|
const range2 = editorWorkerHost.Range.fromPositions(annotationStartPosition, annotationEndPosition);
|
|
53700
53767
|
const anno = annotation.annotation;
|
|
53701
|
-
const className2 = classNameForFontTokenDecorations(anno.fontToken.fontFamily ?? "", anno.fontToken.
|
|
53702
|
-
const affectsFont = !!(anno.fontToken.fontFamily || anno.fontToken.
|
|
53768
|
+
const className2 = classNameForFontTokenDecorations(anno.fontToken.fontFamily ?? "", anno.fontToken.fontSizeMultiplier ?? 0);
|
|
53769
|
+
const affectsFont = !!(anno.fontToken.fontFamily || anno.fontToken.fontSizeMultiplier);
|
|
53703
53770
|
const id = anno.decorationId;
|
|
53704
53771
|
decorations.push({
|
|
53705
53772
|
id,
|
|
@@ -64118,10 +64185,13 @@ struct VSOutput {
|
|
|
64118
64185
|
const filteredChanges = e.changes.filter((change) => change.ownerId === this._editorId || change.ownerId === 0);
|
|
64119
64186
|
this.viewLayout.changeSpecialLineHeights((accessor) => {
|
|
64120
64187
|
for (const change of filteredChanges) {
|
|
64121
|
-
const { decorationId, lineNumber,
|
|
64188
|
+
const { decorationId, lineNumber, lineHeightMultiplier } = change;
|
|
64122
64189
|
const viewRange = this.coordinatesConverter.convertModelRangeToViewRange(new editorWorkerHost.Range(lineNumber, 1, lineNumber, this.model.getLineMaxColumn(lineNumber)));
|
|
64123
|
-
if (
|
|
64124
|
-
accessor.insertOrChangeCustomLineHeight(decorationId, viewRange.startLineNumber, viewRange.endLineNumber,
|
|
64190
|
+
if (lineHeightMultiplier !== null) {
|
|
64191
|
+
accessor.insertOrChangeCustomLineHeight(decorationId, viewRange.startLineNumber, viewRange.endLineNumber, lineHeightMultiplier * this._configuration.options.get(
|
|
64192
|
+
75
|
|
64193
|
+
/* EditorOption.lineHeight */
|
|
64194
|
+
));
|
|
64125
64195
|
} else {
|
|
64126
64196
|
accessor.removeCustomLineHeight(decorationId);
|
|
64127
64197
|
}
|
|
@@ -65143,6 +65213,10 @@ struct VSOutput {
|
|
|
65143
65213
|
this._decorationTypeSubtypes = {};
|
|
65144
65214
|
this._telemetryData = codeEditorWidgetOptions.telemetryData;
|
|
65145
65215
|
this._configuration = this._register(this._createConfiguration(codeEditorWidgetOptions.isSimpleWidget || false, codeEditorWidgetOptions.contextMenuId ?? (codeEditorWidgetOptions.isSimpleWidget ? MenuId.SimpleEditorContext : MenuId.EditorContext), options, accessibilityService));
|
|
65216
|
+
this._domElement.style?.setProperty("--editor-font-size", this._configuration.options.get(
|
|
65217
|
+
61
|
|
65218
|
+
/* EditorOption.fontSize */
|
|
65219
|
+
) + "px");
|
|
65146
65220
|
this._register(this._configuration.onDidChange((e) => {
|
|
65147
65221
|
this._onDidChangeConfiguration.fire(e);
|
|
65148
65222
|
const options2 = this._configuration.options;
|
|
@@ -65156,6 +65230,15 @@ struct VSOutput {
|
|
|
65156
65230
|
);
|
|
65157
65231
|
this._onDidLayoutChange.fire(layoutInfo);
|
|
65158
65232
|
}
|
|
65233
|
+
if (e.hasChanged(
|
|
65234
|
+
61
|
|
65235
|
+
/* EditorOption.fontSize */
|
|
65236
|
+
)) {
|
|
65237
|
+
this._domElement.style.setProperty("--editor-font-size", options2.get(
|
|
65238
|
+
61
|
|
65239
|
+
/* EditorOption.fontSize */
|
|
65240
|
+
) + "px");
|
|
65241
|
+
}
|
|
65159
65242
|
}));
|
|
65160
65243
|
this._contextKeyService = this._register(contextKeyService.createScoped(this._domElement));
|
|
65161
65244
|
if (codeEditorWidgetOptions.contextKeyValues) {
|
|
@@ -67186,10 +67269,10 @@ struct VSOutput {
|
|
|
67186
67269
|
}
|
|
67187
67270
|
const messages = [];
|
|
67188
67271
|
if (externalRemoval.length > 0) {
|
|
67189
|
-
messages.push(editorWorkerHost.localize(
|
|
67272
|
+
messages.push(editorWorkerHost.localize(2049, "The following files have been closed and modified on disk: {0}.", externalRemoval.join(", ")));
|
|
67190
67273
|
}
|
|
67191
67274
|
if (noParallelUniverses.length > 0) {
|
|
67192
|
-
messages.push(editorWorkerHost.localize(
|
|
67275
|
+
messages.push(editorWorkerHost.localize(2050, "The following files have been modified in an incompatible way: {0}.", noParallelUniverses.join(", ")));
|
|
67193
67276
|
}
|
|
67194
67277
|
return messages.join("\n");
|
|
67195
67278
|
}
|
|
@@ -67764,10 +67847,10 @@ struct VSOutput {
|
|
|
67764
67847
|
}
|
|
67765
67848
|
_checkWorkspaceUndo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
|
|
67766
67849
|
if (element.removedResources) {
|
|
67767
|
-
return this._tryToSplitAndUndo(strResource, element, element.removedResources, editorWorkerHost.localize(
|
|
67850
|
+
return this._tryToSplitAndUndo(strResource, element, element.removedResources, editorWorkerHost.localize(2051, "Could not undo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
|
|
67768
67851
|
}
|
|
67769
67852
|
if (checkInvalidatedResources && element.invalidatedResources) {
|
|
67770
|
-
return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, editorWorkerHost.localize(
|
|
67853
|
+
return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, editorWorkerHost.localize(2052, "Could not undo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
|
|
67771
67854
|
}
|
|
67772
67855
|
const cannotUndoDueToResources = [];
|
|
67773
67856
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -67776,7 +67859,7 @@ struct VSOutput {
|
|
|
67776
67859
|
}
|
|
67777
67860
|
}
|
|
67778
67861
|
if (cannotUndoDueToResources.length > 0) {
|
|
67779
|
-
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(
|
|
67862
|
+
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(2053, "Could not undo '{0}' across all files because changes were made to {1}", element.label, cannotUndoDueToResources.join(", ")));
|
|
67780
67863
|
}
|
|
67781
67864
|
const cannotLockDueToResources = [];
|
|
67782
67865
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -67785,10 +67868,10 @@ struct VSOutput {
|
|
|
67785
67868
|
}
|
|
67786
67869
|
}
|
|
67787
67870
|
if (cannotLockDueToResources.length > 0) {
|
|
67788
|
-
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(
|
|
67871
|
+
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(2054, "Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(", ")));
|
|
67789
67872
|
}
|
|
67790
67873
|
if (!editStackSnapshot.isValid()) {
|
|
67791
|
-
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(
|
|
67874
|
+
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(2055, "Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
|
|
67792
67875
|
}
|
|
67793
67876
|
return null;
|
|
67794
67877
|
}
|
|
@@ -67837,14 +67920,14 @@ struct VSOutput {
|
|
|
67837
67920
|
})(UndoChoice || (UndoChoice = {}));
|
|
67838
67921
|
const { result } = await this._dialogService.prompt({
|
|
67839
67922
|
type: Severity$2.Info,
|
|
67840
|
-
message: editorWorkerHost.localize(
|
|
67923
|
+
message: editorWorkerHost.localize(2056, "Would you like to undo '{0}' across all files?", element.label),
|
|
67841
67924
|
buttons: [
|
|
67842
67925
|
{
|
|
67843
|
-
label: editorWorkerHost.localize(
|
|
67926
|
+
label: editorWorkerHost.localize(2057, "&&Undo in {0} Files", editStackSnapshot.editStacks.length),
|
|
67844
67927
|
run: () => UndoChoice.All
|
|
67845
67928
|
},
|
|
67846
67929
|
{
|
|
67847
|
-
label: editorWorkerHost.localize(
|
|
67930
|
+
label: editorWorkerHost.localize(2058, "Undo this &&File"),
|
|
67848
67931
|
run: () => UndoChoice.This
|
|
67849
67932
|
}
|
|
67850
67933
|
],
|
|
@@ -67899,7 +67982,7 @@ struct VSOutput {
|
|
|
67899
67982
|
return;
|
|
67900
67983
|
}
|
|
67901
67984
|
if (editStack.locked) {
|
|
67902
|
-
const message = editorWorkerHost.localize(
|
|
67985
|
+
const message = editorWorkerHost.localize(2059, "Could not undo '{0}' because there is already an undo or redo operation running.", element.label);
|
|
67903
67986
|
this._notificationService.warn(message);
|
|
67904
67987
|
return;
|
|
67905
67988
|
}
|
|
@@ -67977,9 +68060,9 @@ struct VSOutput {
|
|
|
67977
68060
|
}
|
|
67978
68061
|
async _confirmAndContinueUndo(strResource, sourceId, element) {
|
|
67979
68062
|
const result = await this._dialogService.confirm({
|
|
67980
|
-
message: editorWorkerHost.localize(
|
|
67981
|
-
primaryButton: editorWorkerHost.localize(
|
|
67982
|
-
cancelButton: editorWorkerHost.localize(
|
|
68063
|
+
message: editorWorkerHost.localize(2060, "Would you like to undo '{0}'?", element.label),
|
|
68064
|
+
primaryButton: editorWorkerHost.localize(2061, "&&Yes"),
|
|
68065
|
+
cancelButton: editorWorkerHost.localize(2062, "No")
|
|
67983
68066
|
});
|
|
67984
68067
|
if (!result.confirmed) {
|
|
67985
68068
|
return;
|
|
@@ -68033,10 +68116,10 @@ struct VSOutput {
|
|
|
68033
68116
|
}
|
|
68034
68117
|
_checkWorkspaceRedo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
|
|
68035
68118
|
if (element.removedResources) {
|
|
68036
|
-
return this._tryToSplitAndRedo(strResource, element, element.removedResources, editorWorkerHost.localize(
|
|
68119
|
+
return this._tryToSplitAndRedo(strResource, element, element.removedResources, editorWorkerHost.localize(2063, "Could not redo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
|
|
68037
68120
|
}
|
|
68038
68121
|
if (checkInvalidatedResources && element.invalidatedResources) {
|
|
68039
|
-
return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, editorWorkerHost.localize(
|
|
68122
|
+
return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, editorWorkerHost.localize(2064, "Could not redo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
|
|
68040
68123
|
}
|
|
68041
68124
|
const cannotRedoDueToResources = [];
|
|
68042
68125
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -68045,7 +68128,7 @@ struct VSOutput {
|
|
|
68045
68128
|
}
|
|
68046
68129
|
}
|
|
68047
68130
|
if (cannotRedoDueToResources.length > 0) {
|
|
68048
|
-
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(
|
|
68131
|
+
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(2065, "Could not redo '{0}' across all files because changes were made to {1}", element.label, cannotRedoDueToResources.join(", ")));
|
|
68049
68132
|
}
|
|
68050
68133
|
const cannotLockDueToResources = [];
|
|
68051
68134
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -68054,10 +68137,10 @@ struct VSOutput {
|
|
|
68054
68137
|
}
|
|
68055
68138
|
}
|
|
68056
68139
|
if (cannotLockDueToResources.length > 0) {
|
|
68057
|
-
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(
|
|
68140
|
+
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(2066, "Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(", ")));
|
|
68058
68141
|
}
|
|
68059
68142
|
if (!editStackSnapshot.isValid()) {
|
|
68060
|
-
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(
|
|
68143
|
+
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(2067, "Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
|
|
68061
68144
|
}
|
|
68062
68145
|
return null;
|
|
68063
68146
|
}
|
|
@@ -68104,7 +68187,7 @@ struct VSOutput {
|
|
|
68104
68187
|
return;
|
|
68105
68188
|
}
|
|
68106
68189
|
if (editStack.locked) {
|
|
68107
|
-
const message = editorWorkerHost.localize(
|
|
68190
|
+
const message = editorWorkerHost.localize(2068, "Could not redo '{0}' because there is already an undo or redo operation running.", element.label);
|
|
68108
68191
|
this._notificationService.warn(message);
|
|
68109
68192
|
return;
|
|
68110
68193
|
}
|
|
@@ -75647,7 +75730,7 @@ ${text2}</tr>
|
|
|
75647
75730
|
if (options.appearance?.showHoverHint) {
|
|
75648
75731
|
const statusBarElement = $$8("div.hover-row.status-bar");
|
|
75649
75732
|
const infoElement = $$8("div.info");
|
|
75650
|
-
infoElement.textContent = editorWorkerHost.localize(
|
|
75733
|
+
infoElement.textContent = editorWorkerHost.localize(1714, "Hold {0} key to mouse over", editorWorkerHost.isMacintosh ? "Option" : "Alt");
|
|
75651
75734
|
statusBarElement.appendChild(infoElement);
|
|
75652
75735
|
this._hover.containerDomNode.appendChild(statusBarElement);
|
|
75653
75736
|
}
|
|
@@ -76422,7 +76505,7 @@ ${text2}</tr>
|
|
|
76422
76505
|
}
|
|
76423
76506
|
if (managedContent instanceof Promise) {
|
|
76424
76507
|
if (!this._hoverWidget) {
|
|
76425
|
-
this.show(editorWorkerHost.localize(
|
|
76508
|
+
this.show(editorWorkerHost.localize(1715, "Loading..."), focus, options);
|
|
76426
76509
|
}
|
|
76427
76510
|
resolvedContent = await managedContent;
|
|
76428
76511
|
} else {
|
|
@@ -78947,11 +79030,11 @@ ${text2}</tr>
|
|
|
78947
79030
|
case 0:
|
|
78948
79031
|
throw editorWorkerHost.illegalState("impossible");
|
|
78949
79032
|
case 1:
|
|
78950
|
-
this._currentChordStatusMessage = this._notificationService.status(editorWorkerHost.localize(
|
|
79033
|
+
this._currentChordStatusMessage = this._notificationService.status(editorWorkerHost.localize(1716, "({0}) was pressed. Waiting for second key of chord...", keypressLabel));
|
|
78951
79034
|
break;
|
|
78952
79035
|
default: {
|
|
78953
79036
|
const fullKeypressLabel = this._currentChords.map(({ label }) => label).join(", ");
|
|
78954
|
-
this._currentChordStatusMessage = this._notificationService.status(editorWorkerHost.localize(
|
|
79037
|
+
this._currentChordStatusMessage = this._notificationService.status(editorWorkerHost.localize(1717, "({0}) was pressed. Waiting for next key of chord...", fullKeypressLabel));
|
|
78955
79038
|
}
|
|
78956
79039
|
}
|
|
78957
79040
|
this._scheduleLeaveChordMode();
|
|
@@ -79051,7 +79134,7 @@ ${text2}</tr>
|
|
|
79051
79134
|
if (this.inChordMode) {
|
|
79052
79135
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(", ");
|
|
79053
79136
|
this._log(`+ Leaving multi-chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
79054
|
-
this._notificationService.status(editorWorkerHost.localize(
|
|
79137
|
+
this._notificationService.status(editorWorkerHost.localize(1718, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), {
|
|
79055
79138
|
hideAfter: 10 * 1e3
|
|
79056
79139
|
/* 10s */
|
|
79057
79140
|
});
|
|
@@ -79073,7 +79156,7 @@ ${text2}</tr>
|
|
|
79073
79156
|
if (this.inChordMode) {
|
|
79074
79157
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(", ");
|
|
79075
79158
|
this._log(`+ Leaving chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
79076
|
-
this._notificationService.status(editorWorkerHost.localize(
|
|
79159
|
+
this._notificationService.status(editorWorkerHost.localize(1719, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), {
|
|
79077
79160
|
hideAfter: 10 * 1e3
|
|
79078
79161
|
/* 10s */
|
|
79079
79162
|
});
|
|
@@ -79119,7 +79202,7 @@ ${text2}</tr>
|
|
|
79119
79202
|
if (commandId) {
|
|
79120
79203
|
const keybindingLabel = this.lookupKeybinding(commandId, context, enforceContextCheck)?.getLabel();
|
|
79121
79204
|
if (keybindingLabel) {
|
|
79122
|
-
return editorWorkerHost.localize(
|
|
79205
|
+
return editorWorkerHost.localize(1720, "{0} ({1})", label, keybindingLabel);
|
|
79123
79206
|
}
|
|
79124
79207
|
}
|
|
79125
79208
|
return label;
|
|
@@ -80211,45 +80294,45 @@ ${text2}</tr>
|
|
|
80211
80294
|
}
|
|
80212
80295
|
}
|
|
80213
80296
|
const WORKSPACE_EXTENSION = "code-workspace";
|
|
80214
|
-
[{ name: editorWorkerHost.localize(
|
|
80297
|
+
[{ name: editorWorkerHost.localize(2069, "Code Workspace"), extensions: [WORKSPACE_EXTENSION] }];
|
|
80215
80298
|
const STANDALONE_EDITOR_WORKSPACE_ID = "4064f6ec-cb38-4ad0-af64-ee6467e63c82";
|
|
80216
80299
|
function isStandaloneEditorWorkspace(workspace) {
|
|
80217
80300
|
return workspace.id === STANDALONE_EDITOR_WORKSPACE_ID;
|
|
80218
80301
|
}
|
|
80219
80302
|
exports.InspectTokensNLS = void 0;
|
|
80220
80303
|
(function(InspectTokensNLS) {
|
|
80221
|
-
InspectTokensNLS.inspectTokensAction = editorWorkerHost.localize(
|
|
80304
|
+
InspectTokensNLS.inspectTokensAction = editorWorkerHost.localize(794, "Developer: Inspect Tokens");
|
|
80222
80305
|
})(exports.InspectTokensNLS || (exports.InspectTokensNLS = {}));
|
|
80223
80306
|
exports.GoToLineNLS = void 0;
|
|
80224
80307
|
(function(GoToLineNLS) {
|
|
80225
|
-
GoToLineNLS.gotoLineActionLabel = editorWorkerHost.localize(
|
|
80226
|
-
GoToLineNLS.gotoOffsetActionLabel = editorWorkerHost.localize(
|
|
80308
|
+
GoToLineNLS.gotoLineActionLabel = editorWorkerHost.localize(795, "Go to Line/Column...");
|
|
80309
|
+
GoToLineNLS.gotoOffsetActionLabel = editorWorkerHost.localize(796, "Go to Offset...");
|
|
80227
80310
|
})(exports.GoToLineNLS || (exports.GoToLineNLS = {}));
|
|
80228
80311
|
exports.QuickHelpNLS = void 0;
|
|
80229
80312
|
(function(QuickHelpNLS) {
|
|
80230
|
-
QuickHelpNLS.helpQuickAccessActionLabel = editorWorkerHost.localize(
|
|
80313
|
+
QuickHelpNLS.helpQuickAccessActionLabel = editorWorkerHost.localize(797, "Show all Quick Access Providers");
|
|
80231
80314
|
})(exports.QuickHelpNLS || (exports.QuickHelpNLS = {}));
|
|
80232
80315
|
exports.QuickCommandNLS = void 0;
|
|
80233
80316
|
(function(QuickCommandNLS) {
|
|
80234
|
-
QuickCommandNLS.quickCommandActionLabel = editorWorkerHost.localize(
|
|
80235
|
-
QuickCommandNLS.quickCommandHelp = editorWorkerHost.localize(
|
|
80317
|
+
QuickCommandNLS.quickCommandActionLabel = editorWorkerHost.localize(798, "Command Palette");
|
|
80318
|
+
QuickCommandNLS.quickCommandHelp = editorWorkerHost.localize(799, "Show And Run Commands");
|
|
80236
80319
|
})(exports.QuickCommandNLS || (exports.QuickCommandNLS = {}));
|
|
80237
80320
|
exports.QuickOutlineNLS = void 0;
|
|
80238
80321
|
(function(QuickOutlineNLS) {
|
|
80239
|
-
QuickOutlineNLS.quickOutlineActionLabel = editorWorkerHost.localize(
|
|
80240
|
-
QuickOutlineNLS.quickOutlineByCategoryActionLabel = editorWorkerHost.localize(
|
|
80322
|
+
QuickOutlineNLS.quickOutlineActionLabel = editorWorkerHost.localize(800, "Go to Symbol...");
|
|
80323
|
+
QuickOutlineNLS.quickOutlineByCategoryActionLabel = editorWorkerHost.localize(801, "Go to Symbol by Category...");
|
|
80241
80324
|
})(exports.QuickOutlineNLS || (exports.QuickOutlineNLS = {}));
|
|
80242
80325
|
var StandaloneCodeEditorNLS;
|
|
80243
80326
|
(function(StandaloneCodeEditorNLS2) {
|
|
80244
|
-
StandaloneCodeEditorNLS2.editorViewAccessibleLabel = editorWorkerHost.localize(
|
|
80327
|
+
StandaloneCodeEditorNLS2.editorViewAccessibleLabel = editorWorkerHost.localize(802, "Editor content");
|
|
80245
80328
|
})(StandaloneCodeEditorNLS || (StandaloneCodeEditorNLS = {}));
|
|
80246
80329
|
exports.ToggleHighContrastNLS = void 0;
|
|
80247
80330
|
(function(ToggleHighContrastNLS) {
|
|
80248
|
-
ToggleHighContrastNLS.toggleHighContrast = editorWorkerHost.localize(
|
|
80331
|
+
ToggleHighContrastNLS.toggleHighContrast = editorWorkerHost.localize(803, "Toggle High Contrast Theme");
|
|
80249
80332
|
})(exports.ToggleHighContrastNLS || (exports.ToggleHighContrastNLS = {}));
|
|
80250
80333
|
var StandaloneServicesNLS;
|
|
80251
80334
|
(function(StandaloneServicesNLS2) {
|
|
80252
|
-
StandaloneServicesNLS2.bulkEditServiceSummary = editorWorkerHost.localize(
|
|
80335
|
+
StandaloneServicesNLS2.bulkEditServiceSummary = editorWorkerHost.localize(804, "Made {0} edits in {1} files");
|
|
80253
80336
|
})(StandaloneServicesNLS || (StandaloneServicesNLS = {}));
|
|
80254
80337
|
const IWorkspaceTrustManagementService = createDecorator("workspaceTrustManagementService");
|
|
80255
80338
|
let registeredAssociations = [];
|
|
@@ -85534,7 +85617,7 @@ ${text2}</tr>
|
|
|
85534
85617
|
if (!this._wantsAltCommand && this._menuItemAction.alt?.enabled) {
|
|
85535
85618
|
const altTooltip = this._menuItemAction.alt.tooltip || this._menuItemAction.alt.label;
|
|
85536
85619
|
const altTitleSection = this._keybindingService.appendKeybinding(altTooltip, this._menuItemAction.alt.id, this._contextKeyService);
|
|
85537
|
-
title = editorWorkerHost.localize(
|
|
85620
|
+
title = editorWorkerHost.localize(1661, "{0}\n[{1}] {2}", title, UILabelProvider.modifierLabels[editorWorkerHost.OS].altKey, altTitleSection);
|
|
85538
85621
|
}
|
|
85539
85622
|
return title;
|
|
85540
85623
|
}
|
|
@@ -85601,9 +85684,9 @@ ${text2}</tr>
|
|
|
85601
85684
|
if (this.label) {
|
|
85602
85685
|
const kb2 = TextOnlyMenuEntryActionViewItem._symbolPrintEnter(kb);
|
|
85603
85686
|
if (this._options?.conversational) {
|
|
85604
|
-
this.label.textContent = editorWorkerHost.localize(
|
|
85687
|
+
this.label.textContent = editorWorkerHost.localize(1662, "{1} to {0}", this._action.label, kb2);
|
|
85605
85688
|
} else {
|
|
85606
|
-
this.label.textContent = editorWorkerHost.localize(
|
|
85689
|
+
this.label.textContent = editorWorkerHost.localize(1663, "{0} ({1})", this._action.label, kb2);
|
|
85607
85690
|
}
|
|
85608
85691
|
}
|
|
85609
85692
|
}
|
|
@@ -87794,17 +87877,17 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
87794
87877
|
}
|
|
87795
87878
|
MarkerSeverity2.compare = compare;
|
|
87796
87879
|
const _displayStrings = /* @__PURE__ */ Object.create(null);
|
|
87797
|
-
_displayStrings[MarkerSeverity2.Error] = editorWorkerHost.localize(
|
|
87798
|
-
_displayStrings[MarkerSeverity2.Warning] = editorWorkerHost.localize(
|
|
87799
|
-
_displayStrings[MarkerSeverity2.Info] = editorWorkerHost.localize(
|
|
87880
|
+
_displayStrings[MarkerSeverity2.Error] = editorWorkerHost.localize(1748, "Error");
|
|
87881
|
+
_displayStrings[MarkerSeverity2.Warning] = editorWorkerHost.localize(1749, "Warning");
|
|
87882
|
+
_displayStrings[MarkerSeverity2.Info] = editorWorkerHost.localize(1750, "Info");
|
|
87800
87883
|
function toString(a) {
|
|
87801
87884
|
return _displayStrings[a] || "";
|
|
87802
87885
|
}
|
|
87803
87886
|
MarkerSeverity2.toString = toString;
|
|
87804
87887
|
const _displayStringsPlural = /* @__PURE__ */ Object.create(null);
|
|
87805
|
-
_displayStringsPlural[MarkerSeverity2.Error] = editorWorkerHost.localize(
|
|
87806
|
-
_displayStringsPlural[MarkerSeverity2.Warning] = editorWorkerHost.localize(
|
|
87807
|
-
_displayStringsPlural[MarkerSeverity2.Info] = editorWorkerHost.localize(
|
|
87888
|
+
_displayStringsPlural[MarkerSeverity2.Error] = editorWorkerHost.localize(1751, "Errors");
|
|
87889
|
+
_displayStringsPlural[MarkerSeverity2.Warning] = editorWorkerHost.localize(1752, "Warnings");
|
|
87890
|
+
_displayStringsPlural[MarkerSeverity2.Info] = editorWorkerHost.localize(1753, "Infos");
|
|
87808
87891
|
function toStringPlural(a) {
|
|
87809
87892
|
return _displayStringsPlural[a] || "";
|
|
87810
87893
|
}
|
|
@@ -88817,7 +88900,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
88817
88900
|
} else {
|
|
88818
88901
|
let title = node.title;
|
|
88819
88902
|
if (!title && node.href.startsWith("command:")) {
|
|
88820
|
-
title = editorWorkerHost.localize(
|
|
88903
|
+
title = editorWorkerHost.localize(1788, "Click to execute command '{0}'", node.href.substring("command:".length));
|
|
88821
88904
|
} else if (!title) {
|
|
88822
88905
|
title = node.href;
|
|
88823
88906
|
}
|
|
@@ -88860,18 +88943,18 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
88860
88943
|
};
|
|
88861
88944
|
};
|
|
88862
88945
|
const inQuickInputContextKeyValue = "inQuickInput";
|
|
88863
|
-
const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, editorWorkerHost.localize(
|
|
88946
|
+
const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, editorWorkerHost.localize(1765, "Whether keyboard focus is inside the quick input control"));
|
|
88864
88947
|
const inQuickInputContext = ContextKeyExpr.has(inQuickInputContextKeyValue);
|
|
88865
88948
|
const quickInputAlignmentContextKeyValue = "quickInputAlignment";
|
|
88866
|
-
const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, "top", editorWorkerHost.localize(
|
|
88949
|
+
const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, "top", editorWorkerHost.localize(1766, "The alignment of the quick input"));
|
|
88867
88950
|
const quickInputTypeContextKeyValue = "quickInputType";
|
|
88868
|
-
const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, void 0, editorWorkerHost.localize(
|
|
88951
|
+
const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, void 0, editorWorkerHost.localize(1767, "The type of the currently visible quick input"));
|
|
88869
88952
|
const endOfQuickInputBoxContextKeyValue = "cursorAtEndOfQuickInputBox";
|
|
88870
|
-
const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, editorWorkerHost.localize(
|
|
88953
|
+
const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, editorWorkerHost.localize(1768, "Whether the cursor in the quick input is at the end of the input box"));
|
|
88871
88954
|
const endOfQuickInputBoxContext = ContextKeyExpr.has(endOfQuickInputBoxContextKeyValue);
|
|
88872
88955
|
const backButton = {
|
|
88873
88956
|
iconClass: exports.ThemeIcon.asClassName(editorWorkerHost.Codicon.quickInputBack),
|
|
88874
|
-
tooltip: editorWorkerHost.localize(
|
|
88957
|
+
tooltip: editorWorkerHost.localize(1769, "Back")
|
|
88875
88958
|
};
|
|
88876
88959
|
const _QuickInput = class _QuickInput extends editorWorkerHost.Disposable {
|
|
88877
88960
|
constructor(ui) {
|
|
@@ -89126,7 +89209,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89126
89209
|
}
|
|
89127
89210
|
getSteps() {
|
|
89128
89211
|
if (this.step && this.totalSteps) {
|
|
89129
|
-
return editorWorkerHost.localize(
|
|
89212
|
+
return editorWorkerHost.localize(1771, "{0}/{1}", this.step, this.totalSteps);
|
|
89130
89213
|
}
|
|
89131
89214
|
if (this.step) {
|
|
89132
89215
|
return String(this.step);
|
|
@@ -89154,7 +89237,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89154
89237
|
super.dispose();
|
|
89155
89238
|
}
|
|
89156
89239
|
};
|
|
89157
|
-
_QuickInput.noPromptMessage = editorWorkerHost.localize(
|
|
89240
|
+
_QuickInput.noPromptMessage = editorWorkerHost.localize(1770, "Press 'Enter' to confirm your input or 'Escape' to cancel");
|
|
89158
89241
|
let QuickInput = _QuickInput;
|
|
89159
89242
|
const _QuickPick = class _QuickPick extends QuickInput {
|
|
89160
89243
|
constructor(ui) {
|
|
@@ -89394,7 +89477,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89394
89477
|
this.update();
|
|
89395
89478
|
}
|
|
89396
89479
|
get okLabel() {
|
|
89397
|
-
return this._okLabel ?? editorWorkerHost.localize(
|
|
89480
|
+
return this._okLabel ?? editorWorkerHost.localize(1773, "OK");
|
|
89398
89481
|
}
|
|
89399
89482
|
set okLabel(okLabel) {
|
|
89400
89483
|
this._okLabel = okLabel;
|
|
@@ -89668,7 +89751,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89668
89751
|
this.handleAccept(inBackground ?? false);
|
|
89669
89752
|
}
|
|
89670
89753
|
};
|
|
89671
|
-
_QuickPick.DEFAULT_ARIA_LABEL = editorWorkerHost.localize(
|
|
89754
|
+
_QuickPick.DEFAULT_ARIA_LABEL = editorWorkerHost.localize(1772, "Type to narrow down results.");
|
|
89672
89755
|
let QuickPick = _QuickPick;
|
|
89673
89756
|
let InputBox$1 = class InputBox extends QuickInput {
|
|
89674
89757
|
constructor() {
|
|
@@ -89727,7 +89810,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89727
89810
|
}
|
|
89728
89811
|
set prompt(prompt) {
|
|
89729
89812
|
this._prompt = prompt;
|
|
89730
|
-
this.noValidationMessage = prompt ? editorWorkerHost.localize(
|
|
89813
|
+
this.noValidationMessage = prompt ? editorWorkerHost.localize(1774, "{0} (Press 'Enter' to confirm or 'Escape' to cancel)", prompt) : QuickInput.noPromptMessage;
|
|
89731
89814
|
this.update();
|
|
89732
89815
|
}
|
|
89733
89816
|
show() {
|
|
@@ -89804,7 +89887,9 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89804
89887
|
__param$s(0, IConfigurationService),
|
|
89805
89888
|
__param$s(1, IHoverService)
|
|
89806
89889
|
], QuickInputHoverDelegate);
|
|
89807
|
-
const ACTION_MIN_WIDTH =
|
|
89890
|
+
const ACTION_MIN_WIDTH = 20;
|
|
89891
|
+
const ACTION_PADDING = 4;
|
|
89892
|
+
const ACTION_MIN_WIDTH_VAR = "--vscode-toolbar-action-min-width";
|
|
89808
89893
|
class ToolBar extends editorWorkerHost.Disposable {
|
|
89809
89894
|
get onDidChangeDropdownVisibility() {
|
|
89810
89895
|
return this._onDidChangeDropdownVisibility.event;
|
|
@@ -89877,8 +89962,12 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89877
89962
|
return void 0;
|
|
89878
89963
|
}
|
|
89879
89964
|
}));
|
|
89965
|
+
this.actionMinWidth = (options.responsiveBehavior?.actionMinWidth ?? ACTION_MIN_WIDTH) + ACTION_PADDING;
|
|
89880
89966
|
if (this.options.responsiveBehavior?.enabled) {
|
|
89881
|
-
this.element.classList.
|
|
89967
|
+
this.element.classList.toggle("responsive", true);
|
|
89968
|
+
this.element.classList.toggle("responsive-all", this.options.responsiveBehavior.kind === "all");
|
|
89969
|
+
this.element.classList.toggle("responsive-last", this.options.responsiveBehavior.kind === "last");
|
|
89970
|
+
this.element.style.setProperty(ACTION_MIN_WIDTH_VAR, `${this.actionMinWidth - ACTION_PADDING}px`);
|
|
89882
89971
|
const observer = new ResizeObserver(() => {
|
|
89883
89972
|
this.updateActions(this.element.getBoundingClientRect().width);
|
|
89884
89973
|
});
|
|
@@ -89927,18 +90016,20 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89927
90016
|
primaryActionsToSet.forEach((action) => {
|
|
89928
90017
|
this.actionBar.push(action, { icon: this.options.icon ?? true, label: this.options.label ?? false, keybinding: this.getKeybindingLabel(action) });
|
|
89929
90018
|
});
|
|
90019
|
+
this.actionBar.domNode.classList.toggle("has-overflow", this.actionBar.hasAction(this.toggleMenuAction));
|
|
89930
90020
|
if (this.options.responsiveBehavior?.enabled) {
|
|
89931
90021
|
this.hiddenActions.length = 0;
|
|
89932
90022
|
if (this.options.responsiveBehavior?.minItems !== void 0) {
|
|
89933
|
-
|
|
90023
|
+
const itemCount = this.options.responsiveBehavior.minItems;
|
|
90024
|
+
let overflowWidth = 0;
|
|
89934
90025
|
if (this.originalSecondaryActions.length > 0 || itemCount < this.originalPrimaryActions.length) {
|
|
89935
|
-
|
|
90026
|
+
overflowWidth = ACTION_MIN_WIDTH + ACTION_PADDING;
|
|
89936
90027
|
}
|
|
89937
|
-
this.container.style.minWidth = `${itemCount *
|
|
89938
|
-
this.element.style.minWidth = `${itemCount *
|
|
90028
|
+
this.container.style.minWidth = `${itemCount * this.actionMinWidth + overflowWidth}px`;
|
|
90029
|
+
this.element.style.minWidth = `${itemCount * this.actionMinWidth + overflowWidth}px`;
|
|
89939
90030
|
} else {
|
|
89940
|
-
this.container.style.minWidth = `${ACTION_MIN_WIDTH}px`;
|
|
89941
|
-
this.element.style.minWidth = `${ACTION_MIN_WIDTH}px`;
|
|
90031
|
+
this.container.style.minWidth = `${ACTION_MIN_WIDTH + ACTION_PADDING}px`;
|
|
90032
|
+
this.element.style.minWidth = `${ACTION_MIN_WIDTH + ACTION_PADDING}px`;
|
|
89942
90033
|
}
|
|
89943
90034
|
this.updateActions(this.element.getBoundingClientRect().width);
|
|
89944
90035
|
}
|
|
@@ -89952,23 +90043,37 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89952
90043
|
return;
|
|
89953
90044
|
}
|
|
89954
90045
|
containerWidth = Math.max(containerWidth, parseInt(this.element.style.minWidth));
|
|
89955
|
-
const actionBarWidth = () =>
|
|
89956
|
-
|
|
90046
|
+
const actionBarWidth = (actualWidth) => {
|
|
90047
|
+
if (this.options.responsiveBehavior?.kind === "last") {
|
|
90048
|
+
const hasToggleMenuAction = this.actionBar.hasAction(this.toggleMenuAction);
|
|
90049
|
+
const primaryActionsCount = hasToggleMenuAction ? this.actionBar.length() - 1 : this.actionBar.length();
|
|
90050
|
+
let itemsWidth = 0;
|
|
90051
|
+
for (let i = 0; i < primaryActionsCount - 1; i++) {
|
|
90052
|
+
itemsWidth += this.actionBar.getWidth(i) + ACTION_PADDING;
|
|
90053
|
+
}
|
|
90054
|
+
itemsWidth += actualWidth ? this.actionBar.getWidth(primaryActionsCount - 1) : this.actionMinWidth;
|
|
90055
|
+
itemsWidth += hasToggleMenuAction ? ACTION_MIN_WIDTH + ACTION_PADDING : 0;
|
|
90056
|
+
return itemsWidth;
|
|
90057
|
+
} else {
|
|
90058
|
+
return this.actionBar.length() * this.actionMinWidth;
|
|
90059
|
+
}
|
|
90060
|
+
};
|
|
90061
|
+
if (actionBarWidth(false) <= containerWidth && this.hiddenActions.length === 0) {
|
|
89957
90062
|
return;
|
|
89958
90063
|
}
|
|
89959
|
-
if (actionBarWidth() > containerWidth) {
|
|
90064
|
+
if (actionBarWidth(false) > containerWidth) {
|
|
89960
90065
|
if (this.options.responsiveBehavior?.minItems !== void 0) {
|
|
89961
90066
|
const primaryActionsCount = this.actionBar.hasAction(this.toggleMenuAction) ? this.actionBar.length() - 1 : this.actionBar.length();
|
|
89962
90067
|
if (primaryActionsCount <= this.options.responsiveBehavior.minItems) {
|
|
89963
90068
|
return;
|
|
89964
90069
|
}
|
|
89965
90070
|
}
|
|
89966
|
-
while (actionBarWidth() > containerWidth && this.actionBar.length() > 0) {
|
|
90071
|
+
while (actionBarWidth(true) > containerWidth && this.actionBar.length() > 0) {
|
|
89967
90072
|
const index = this.originalPrimaryActions.length - this.hiddenActions.length - 1;
|
|
89968
90073
|
if (index < 0) {
|
|
89969
90074
|
break;
|
|
89970
90075
|
}
|
|
89971
|
-
const size2 = Math.min(
|
|
90076
|
+
const size2 = Math.min(this.actionMinWidth, this.getItemWidth(index));
|
|
89972
90077
|
const action = this.originalPrimaryActions[index];
|
|
89973
90078
|
this.hiddenActions.unshift({ action, size: size2 });
|
|
89974
90079
|
this.actionBar.pull(index);
|
|
@@ -89983,7 +90088,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89983
90088
|
} else {
|
|
89984
90089
|
while (this.hiddenActions.length > 0) {
|
|
89985
90090
|
const entry = this.hiddenActions.shift();
|
|
89986
|
-
if (actionBarWidth() + entry.size > containerWidth) {
|
|
90091
|
+
if (actionBarWidth(true) + entry.size > containerWidth) {
|
|
89987
90092
|
this.hiddenActions.unshift(entry);
|
|
89988
90093
|
break;
|
|
89989
90094
|
}
|
|
@@ -89993,7 +90098,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89993
90098
|
keybinding: this.getKeybindingLabel(entry.action),
|
|
89994
90099
|
index: this.originalPrimaryActions.length - this.hiddenActions.length - 1
|
|
89995
90100
|
});
|
|
89996
|
-
if (this.originalSecondaryActions.length === 0 && this.hiddenActions.length ===
|
|
90101
|
+
if (this.originalSecondaryActions.length === 0 && this.hiddenActions.length === 0) {
|
|
89997
90102
|
this.toggleMenuAction.menuActions = [];
|
|
89998
90103
|
this.actionBar.pull(this.actionBar.length() - 1);
|
|
89999
90104
|
}
|
|
@@ -90004,6 +90109,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
90004
90109
|
const secondaryActions = this.originalSecondaryActions.slice(0);
|
|
90005
90110
|
this.toggleMenuAction.menuActions = Separator.join(hiddenActions, secondaryActions);
|
|
90006
90111
|
}
|
|
90112
|
+
this.actionBar.domNode.classList.toggle("has-overflow", this.actionBar.hasAction(this.toggleMenuAction));
|
|
90007
90113
|
}
|
|
90008
90114
|
clear() {
|
|
90009
90115
|
this.submenuActionViewItems = [];
|
|
@@ -90063,6 +90169,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
90063
90169
|
this._element.tabIndex = 0;
|
|
90064
90170
|
this._element.setAttribute("role", "button");
|
|
90065
90171
|
this._element.classList.toggle("secondary", !!options.secondary);
|
|
90172
|
+
this._element.classList.toggle("small", !!options.small);
|
|
90066
90173
|
const background = options.secondary ? options.buttonSecondaryBackground : options.buttonBackground;
|
|
90067
90174
|
const foreground2 = options.secondary ? options.buttonSecondaryForeground : options.buttonForeground;
|
|
90068
90175
|
this._element.style.color = foreground2 || "";
|
|
@@ -98149,17 +98256,17 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
98149
98256
|
return new ObjectTreeModel(user, options);
|
|
98150
98257
|
}
|
|
98151
98258
|
}
|
|
98152
|
-
new RawContextKey("isMac", editorWorkerHost.isMacintosh, editorWorkerHost.localize(
|
|
98153
|
-
new RawContextKey("isLinux", editorWorkerHost.isLinux, editorWorkerHost.localize(
|
|
98154
|
-
const IsWindowsContext = new RawContextKey("isWindows", editorWorkerHost.isWindows, editorWorkerHost.localize(
|
|
98155
|
-
const IsWebContext = new RawContextKey("isWeb", editorWorkerHost.isWeb, editorWorkerHost.localize(
|
|
98156
|
-
new RawContextKey("isMacNative", editorWorkerHost.isMacintosh && !editorWorkerHost.isWeb, editorWorkerHost.localize(
|
|
98157
|
-
new RawContextKey("isIOS", editorWorkerHost.isIOS, editorWorkerHost.localize(
|
|
98158
|
-
new RawContextKey("isMobile", editorWorkerHost.isMobile, editorWorkerHost.localize(
|
|
98259
|
+
new RawContextKey("isMac", editorWorkerHost.isMacintosh, editorWorkerHost.localize(1699, "Whether the operating system is macOS"));
|
|
98260
|
+
new RawContextKey("isLinux", editorWorkerHost.isLinux, editorWorkerHost.localize(1700, "Whether the operating system is Linux"));
|
|
98261
|
+
const IsWindowsContext = new RawContextKey("isWindows", editorWorkerHost.isWindows, editorWorkerHost.localize(1701, "Whether the operating system is Windows"));
|
|
98262
|
+
const IsWebContext = new RawContextKey("isWeb", editorWorkerHost.isWeb, editorWorkerHost.localize(1702, "Whether the platform is a web browser"));
|
|
98263
|
+
new RawContextKey("isMacNative", editorWorkerHost.isMacintosh && !editorWorkerHost.isWeb, editorWorkerHost.localize(1703, "Whether the operating system is macOS on a non-browser platform"));
|
|
98264
|
+
new RawContextKey("isIOS", editorWorkerHost.isIOS, editorWorkerHost.localize(1704, "Whether the operating system is iOS"));
|
|
98265
|
+
new RawContextKey("isMobile", editorWorkerHost.isMobile, editorWorkerHost.localize(1705, "Whether the platform is a mobile web browser"));
|
|
98159
98266
|
new RawContextKey("isDevelopment", false, true);
|
|
98160
|
-
new RawContextKey("productQualityType", "", editorWorkerHost.localize(
|
|
98267
|
+
new RawContextKey("productQualityType", "", editorWorkerHost.localize(1706, "Quality type of VS Code"));
|
|
98161
98268
|
const InputFocusedContextKey = "inputFocus";
|
|
98162
|
-
const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, editorWorkerHost.localize(
|
|
98269
|
+
const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, editorWorkerHost.localize(1707, "Whether keyboard focus is inside an input box"));
|
|
98163
98270
|
var __decorate$r = function(decorators, target, key, desc) {
|
|
98164
98271
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
98165
98272
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -99017,118 +99124,118 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
99017
99124
|
configurationRegistry.registerConfiguration({
|
|
99018
99125
|
id: "workbench",
|
|
99019
99126
|
order: 7,
|
|
99020
|
-
title: editorWorkerHost.localize(
|
|
99127
|
+
title: editorWorkerHost.localize(1721, "Workbench"),
|
|
99021
99128
|
type: "object",
|
|
99022
99129
|
properties: {
|
|
99023
99130
|
[multiSelectModifierSettingKey]: {
|
|
99024
99131
|
type: "string",
|
|
99025
99132
|
enum: ["ctrlCmd", "alt"],
|
|
99026
99133
|
markdownEnumDescriptions: [
|
|
99027
|
-
editorWorkerHost.localize(
|
|
99028
|
-
editorWorkerHost.localize(
|
|
99134
|
+
editorWorkerHost.localize(1722, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
99135
|
+
editorWorkerHost.localize(1723, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
|
|
99029
99136
|
],
|
|
99030
99137
|
default: "ctrlCmd",
|
|
99031
|
-
description: editorWorkerHost.localize(
|
|
99138
|
+
description: editorWorkerHost.localize(1724, "The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")
|
|
99032
99139
|
},
|
|
99033
99140
|
[openModeSettingKey]: {
|
|
99034
99141
|
type: "string",
|
|
99035
99142
|
enum: ["singleClick", "doubleClick"],
|
|
99036
99143
|
default: "singleClick",
|
|
99037
|
-
description: editorWorkerHost.localize(
|
|
99144
|
+
description: editorWorkerHost.localize(1725, "Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")
|
|
99038
99145
|
},
|
|
99039
99146
|
[horizontalScrollingKey]: {
|
|
99040
99147
|
type: "boolean",
|
|
99041
99148
|
default: false,
|
|
99042
|
-
description: editorWorkerHost.localize(
|
|
99149
|
+
description: editorWorkerHost.localize(1726, "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
|
|
99043
99150
|
},
|
|
99044
99151
|
[scrollByPageKey]: {
|
|
99045
99152
|
type: "boolean",
|
|
99046
99153
|
default: false,
|
|
99047
|
-
description: editorWorkerHost.localize(
|
|
99154
|
+
description: editorWorkerHost.localize(1727, "Controls whether clicks in the scrollbar scroll page by page.")
|
|
99048
99155
|
},
|
|
99049
99156
|
[treeIndentKey]: {
|
|
99050
99157
|
type: "number",
|
|
99051
99158
|
default: 8,
|
|
99052
99159
|
minimum: 4,
|
|
99053
99160
|
maximum: 40,
|
|
99054
|
-
description: editorWorkerHost.localize(
|
|
99161
|
+
description: editorWorkerHost.localize(1728, "Controls tree indentation in pixels.")
|
|
99055
99162
|
},
|
|
99056
99163
|
[treeRenderIndentGuidesKey]: {
|
|
99057
99164
|
type: "string",
|
|
99058
99165
|
enum: ["none", "onHover", "always"],
|
|
99059
99166
|
default: "onHover",
|
|
99060
|
-
description: editorWorkerHost.localize(
|
|
99167
|
+
description: editorWorkerHost.localize(1729, "Controls whether the tree should render indent guides.")
|
|
99061
99168
|
},
|
|
99062
99169
|
[listSmoothScrolling]: {
|
|
99063
99170
|
type: "boolean",
|
|
99064
99171
|
default: false,
|
|
99065
|
-
description: editorWorkerHost.localize(
|
|
99172
|
+
description: editorWorkerHost.localize(1730, "Controls whether lists and trees have smooth scrolling.")
|
|
99066
99173
|
},
|
|
99067
99174
|
[mouseWheelScrollSensitivityKey]: {
|
|
99068
99175
|
type: "number",
|
|
99069
99176
|
default: 1,
|
|
99070
|
-
markdownDescription: editorWorkerHost.localize(
|
|
99177
|
+
markdownDescription: editorWorkerHost.localize(1731, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")
|
|
99071
99178
|
},
|
|
99072
99179
|
[fastScrollSensitivityKey]: {
|
|
99073
99180
|
type: "number",
|
|
99074
99181
|
default: 5,
|
|
99075
|
-
markdownDescription: editorWorkerHost.localize(
|
|
99182
|
+
markdownDescription: editorWorkerHost.localize(1732, "Scrolling speed multiplier when pressing `Alt`.")
|
|
99076
99183
|
},
|
|
99077
99184
|
[defaultFindModeSettingKey]: {
|
|
99078
99185
|
type: "string",
|
|
99079
99186
|
enum: ["highlight", "filter"],
|
|
99080
99187
|
enumDescriptions: [
|
|
99081
|
-
editorWorkerHost.localize(
|
|
99082
|
-
editorWorkerHost.localize(
|
|
99188
|
+
editorWorkerHost.localize(1733, "Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),
|
|
99189
|
+
editorWorkerHost.localize(1734, "Filter elements when searching.")
|
|
99083
99190
|
],
|
|
99084
99191
|
default: "highlight",
|
|
99085
|
-
description: editorWorkerHost.localize(
|
|
99192
|
+
description: editorWorkerHost.localize(1735, "Controls the default find mode for lists and trees in the workbench.")
|
|
99086
99193
|
},
|
|
99087
99194
|
[keyboardNavigationSettingKey]: {
|
|
99088
99195
|
type: "string",
|
|
99089
99196
|
enum: ["simple", "highlight", "filter"],
|
|
99090
99197
|
enumDescriptions: [
|
|
99091
|
-
editorWorkerHost.localize(
|
|
99092
|
-
editorWorkerHost.localize(
|
|
99093
|
-
editorWorkerHost.localize(
|
|
99198
|
+
editorWorkerHost.localize(1736, "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
|
|
99199
|
+
editorWorkerHost.localize(1737, "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
|
|
99200
|
+
editorWorkerHost.localize(1738, "Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")
|
|
99094
99201
|
],
|
|
99095
99202
|
default: "highlight",
|
|
99096
|
-
description: editorWorkerHost.localize(
|
|
99203
|
+
description: editorWorkerHost.localize(1739, "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),
|
|
99097
99204
|
deprecated: true,
|
|
99098
|
-
deprecationMessage: editorWorkerHost.localize(
|
|
99205
|
+
deprecationMessage: editorWorkerHost.localize(1740, "Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")
|
|
99099
99206
|
},
|
|
99100
99207
|
[defaultFindMatchTypeSettingKey]: {
|
|
99101
99208
|
type: "string",
|
|
99102
99209
|
enum: ["fuzzy", "contiguous"],
|
|
99103
99210
|
enumDescriptions: [
|
|
99104
|
-
editorWorkerHost.localize(
|
|
99105
|
-
editorWorkerHost.localize(
|
|
99211
|
+
editorWorkerHost.localize(1741, "Use fuzzy matching when searching."),
|
|
99212
|
+
editorWorkerHost.localize(1742, "Use contiguous matching when searching.")
|
|
99106
99213
|
],
|
|
99107
99214
|
default: "fuzzy",
|
|
99108
|
-
description: editorWorkerHost.localize(
|
|
99215
|
+
description: editorWorkerHost.localize(1743, "Controls the type of matching used when searching lists and trees in the workbench.")
|
|
99109
99216
|
},
|
|
99110
99217
|
[treeExpandMode]: {
|
|
99111
99218
|
type: "string",
|
|
99112
99219
|
enum: ["singleClick", "doubleClick"],
|
|
99113
99220
|
default: "singleClick",
|
|
99114
|
-
description: editorWorkerHost.localize(
|
|
99221
|
+
description: editorWorkerHost.localize(1744, "Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")
|
|
99115
99222
|
},
|
|
99116
99223
|
[treeStickyScroll]: {
|
|
99117
99224
|
type: "boolean",
|
|
99118
99225
|
default: true,
|
|
99119
|
-
description: editorWorkerHost.localize(
|
|
99226
|
+
description: editorWorkerHost.localize(1745, "Controls whether sticky scrolling is enabled in trees.")
|
|
99120
99227
|
},
|
|
99121
99228
|
[treeStickyScrollMaxElements]: {
|
|
99122
99229
|
type: "number",
|
|
99123
99230
|
minimum: 1,
|
|
99124
99231
|
default: 7,
|
|
99125
|
-
markdownDescription: editorWorkerHost.localize(
|
|
99232
|
+
markdownDescription: editorWorkerHost.localize(1746, "Controls the number of sticky elements displayed in the tree when {0} is enabled.", "`#workbench.tree.enableStickyScroll#`")
|
|
99126
99233
|
},
|
|
99127
99234
|
[typeNavigationModeSettingKey]: {
|
|
99128
99235
|
type: "string",
|
|
99129
99236
|
enum: ["automatic", "trigger"],
|
|
99130
99237
|
default: "automatic",
|
|
99131
|
-
markdownDescription: editorWorkerHost.localize(
|
|
99238
|
+
markdownDescription: editorWorkerHost.localize(1747, "Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run.")
|
|
99132
99239
|
}
|
|
99133
99240
|
}
|
|
99134
99241
|
});
|
|
@@ -99288,7 +99395,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
99288
99395
|
}
|
|
99289
99396
|
class QuickInputAccessibilityProvider {
|
|
99290
99397
|
getWidgetAriaLabel() {
|
|
99291
|
-
return editorWorkerHost.localize(
|
|
99398
|
+
return editorWorkerHost.localize(1787, "Quick Input");
|
|
99292
99399
|
}
|
|
99293
99400
|
getAriaLabel(element) {
|
|
99294
99401
|
return element.separator?.label ? `${element.saneAriaLabel}, ${element.separator.label}` : element.saneAriaLabel;
|
|
@@ -100337,7 +100444,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
100337
100444
|
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
100338
100445
|
weight: 200,
|
|
100339
100446
|
when: inQuickInputContext,
|
|
100340
|
-
metadata: { description: editorWorkerHost.localize(
|
|
100447
|
+
metadata: { description: editorWorkerHost.localize(1775, "Used while in the context of any kind of quick input. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well.") },
|
|
100341
100448
|
...rule,
|
|
100342
100449
|
secondary: getSecondary(rule.primary, rule.secondary ?? [], options)
|
|
100343
100450
|
});
|
|
@@ -100358,7 +100465,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
100358
100465
|
/* QuickInputType.QuickTree */
|
|
100359
100466
|
)
|
|
100360
100467
|
), inQuickInputContext),
|
|
100361
|
-
metadata: { description: editorWorkerHost.localize(
|
|
100468
|
+
metadata: { description: editorWorkerHost.localize(1776, "Used while in the context of the quick pick. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well.") },
|
|
100362
100469
|
...rule,
|
|
100363
100470
|
secondary: getSecondary(rule.primary, rule.secondary ?? [], options)
|
|
100364
100471
|
});
|
|
@@ -100406,8 +100513,8 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
100406
100513
|
registerQuickPickCommandAndKeybindingRule({ id: "quickInput.last", primary: ctrlKeyMod + 13, handler: focusHandler(QuickPickFocus.Last) }, { withAltMod: true, withCmdMod: true });
|
|
100407
100514
|
registerQuickPickCommandAndKeybindingRule({ id: "quickInput.next", primary: 18, handler: focusHandler(QuickPickFocus.Next) }, { withCtrlMod: true });
|
|
100408
100515
|
registerQuickPickCommandAndKeybindingRule({ id: "quickInput.previous", primary: 16, handler: focusHandler(QuickPickFocus.Previous) }, { withCtrlMod: true });
|
|
100409
|
-
const nextSeparatorFallbackDesc = editorWorkerHost.localize(
|
|
100410
|
-
const prevSeparatorFallbackDesc = editorWorkerHost.localize(
|
|
100516
|
+
const nextSeparatorFallbackDesc = editorWorkerHost.localize(1777, "If we're in quick access mode, this will navigate to the next item. If we are not in quick access mode, this will navigate to the next separator.");
|
|
100517
|
+
const prevSeparatorFallbackDesc = editorWorkerHost.localize(1778, "If we're in quick access mode, this will navigate to the previous item. If we are not in quick access mode, this will navigate to the previous separator.");
|
|
100411
100518
|
if (editorWorkerHost.isMacintosh) {
|
|
100412
100519
|
registerQuickPickCommandAndKeybindingRule({
|
|
100413
100520
|
id: "quickInput.nextSeparatorWithQuickAccessFallback",
|
|
@@ -100482,7 +100589,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
100482
100589
|
inQuickInputContext,
|
|
100483
100590
|
ContextKeyExpr.not("isComposing")
|
|
100484
100591
|
),
|
|
100485
|
-
metadata: { description: editorWorkerHost.localize(
|
|
100592
|
+
metadata: { description: editorWorkerHost.localize(1779, "Used while in the context of some quick input. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well.") },
|
|
100486
100593
|
handler: (accessor) => {
|
|
100487
100594
|
const currentQuickPick = accessor.get(IQuickInputService).currentQuickInput;
|
|
100488
100595
|
currentQuickPick?.accept();
|
|
@@ -100709,7 +100816,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
100709
100816
|
this.onCheckedEvent = onCheckedEvent;
|
|
100710
100817
|
}
|
|
100711
100818
|
getWidgetAriaLabel() {
|
|
100712
|
-
return editorWorkerHost.localize(
|
|
100819
|
+
return editorWorkerHost.localize(1789, "Quick Tree");
|
|
100713
100820
|
}
|
|
100714
100821
|
getAriaLabel(element) {
|
|
100715
100822
|
return element.ariaLabel || [element.label, element.description].map((s) => getCodiconAriaLabel(s)).filter((s) => !!s).join(", ");
|
|
@@ -101248,7 +101355,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101248
101355
|
this._onDidAcceptEmitter.fire();
|
|
101249
101356
|
}
|
|
101250
101357
|
};
|
|
101251
|
-
_QuickTree.DEFAULT_ARIA_LABEL = editorWorkerHost.localize(
|
|
101358
|
+
_QuickTree.DEFAULT_ARIA_LABEL = editorWorkerHost.localize(1790, "Type to narrow down results.");
|
|
101252
101359
|
let QuickTree = _QuickTree;
|
|
101253
101360
|
var __decorate$n = function(decorators, target, key, desc) {
|
|
101254
101361
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -101344,7 +101451,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101344
101451
|
}));
|
|
101345
101452
|
rightActionBar.getElement().classList.add("quick-input-right-action-bar");
|
|
101346
101453
|
const headerContainer = append$2(container, $(".quick-input-header"));
|
|
101347
|
-
const checkAll = this._register(new TriStateCheckbox(editorWorkerHost.localize(
|
|
101454
|
+
const checkAll = this._register(new TriStateCheckbox(editorWorkerHost.localize(1780, "Toggle all checkboxes"), false, { ...defaultCheckboxStyles, size: 15 }));
|
|
101348
101455
|
append$2(headerContainer, checkAll.domNode);
|
|
101349
101456
|
this._register(checkAll.onChange(() => {
|
|
101350
101457
|
const checked = checkAll.checked;
|
|
@@ -101363,10 +101470,10 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101363
101470
|
const visibleCountContainer = append$2(filterContainer, $(".quick-input-visible-count"));
|
|
101364
101471
|
visibleCountContainer.setAttribute("aria-live", "polite");
|
|
101365
101472
|
visibleCountContainer.setAttribute("aria-atomic", "true");
|
|
101366
|
-
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: editorWorkerHost.localize(
|
|
101473
|
+
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: editorWorkerHost.localize(1781, "{0} Results") }, this.styles.countBadge));
|
|
101367
101474
|
const countContainer = append$2(filterContainer, $(".quick-input-count"));
|
|
101368
101475
|
countContainer.setAttribute("aria-live", "polite");
|
|
101369
|
-
const count = this._register(new CountBadge(countContainer, { countFormat: editorWorkerHost.localize(
|
|
101476
|
+
const count = this._register(new CountBadge(countContainer, { countFormat: editorWorkerHost.localize(1782, "{0} Selected") }, this.styles.countBadge));
|
|
101370
101477
|
const inlineActionBar = this._register(new ToolBar(headerContainer, this.contextMenuService, {
|
|
101371
101478
|
hoverDelegate: this.options.hoverDelegate,
|
|
101372
101479
|
actionViewItemProvider: createToggleActionViewItemProvider(this.styles.toggle),
|
|
@@ -101376,13 +101483,13 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101376
101483
|
inlineActionBar.getElement().classList.add("quick-input-inline-action-bar");
|
|
101377
101484
|
const okContainer = append$2(headerContainer, $(".quick-input-action"));
|
|
101378
101485
|
const ok = this._register(new Button(okContainer, this.styles.button));
|
|
101379
|
-
ok.label = editorWorkerHost.localize(
|
|
101486
|
+
ok.label = editorWorkerHost.localize(1783, "OK");
|
|
101380
101487
|
this._register(ok.onDidClick((e) => {
|
|
101381
101488
|
this.onDidAcceptEmitter.fire();
|
|
101382
101489
|
}));
|
|
101383
101490
|
const customButtonContainer = append$2(headerContainer, $(".quick-input-action"));
|
|
101384
101491
|
const customButton = this._register(new Button(customButtonContainer, { ...this.styles.button, supportIcons: true }));
|
|
101385
|
-
customButton.label = editorWorkerHost.localize(
|
|
101492
|
+
customButton.label = editorWorkerHost.localize(1784, "Custom");
|
|
101386
101493
|
this._register(customButton.onDidClick((e) => {
|
|
101387
101494
|
this.onDidCustomEmitter.fire();
|
|
101388
101495
|
}));
|
|
@@ -101789,7 +101896,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101789
101896
|
ui.inputBox.toggles = void 0;
|
|
101790
101897
|
ui.inputBox.actions = void 0;
|
|
101791
101898
|
const backKeybindingLabel = this.options.backKeybindingLabel();
|
|
101792
|
-
backButton.tooltip = backKeybindingLabel ? editorWorkerHost.localize(
|
|
101899
|
+
backButton.tooltip = backKeybindingLabel ? editorWorkerHost.localize(1785, "Back ({0})", backKeybindingLabel) : editorWorkerHost.localize(1786, "Back");
|
|
101793
101900
|
ui.container.style.display = "";
|
|
101794
101901
|
this.updateLayout();
|
|
101795
101902
|
this.dndController?.layoutContainer();
|
|
@@ -102722,7 +102829,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102722
102829
|
IconFontDefinition2.fromJSONObject = fromJSONObject;
|
|
102723
102830
|
})(IconFontDefinition || (IconFontDefinition = {}));
|
|
102724
102831
|
const fontIdRegex = /^([\w_-]+)$/;
|
|
102725
|
-
const fontIdErrorMessage = editorWorkerHost.localize(
|
|
102832
|
+
const fontIdErrorMessage = editorWorkerHost.localize(2043, "The font ID must only contain letters, numbers, underscores and dashes.");
|
|
102726
102833
|
class IconRegistry extends editorWorkerHost.Disposable {
|
|
102727
102834
|
constructor() {
|
|
102728
102835
|
super();
|
|
@@ -102733,8 +102840,8 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102733
102840
|
icons: {
|
|
102734
102841
|
type: "object",
|
|
102735
102842
|
properties: {
|
|
102736
|
-
fontId: { type: "string", description: editorWorkerHost.localize(
|
|
102737
|
-
fontCharacter: { type: "string", description: editorWorkerHost.localize(
|
|
102843
|
+
fontId: { type: "string", description: editorWorkerHost.localize(2044, "The id of the font to use. If not set, the font that is defined first is used."), pattern: fontIdRegex.source, patternErrorMessage: fontIdErrorMessage },
|
|
102844
|
+
fontCharacter: { type: "string", description: editorWorkerHost.localize(2045, "The font character associated with the icon definition.") }
|
|
102738
102845
|
},
|
|
102739
102846
|
additionalProperties: false,
|
|
102740
102847
|
defaultSnippets: [{ body: { fontCharacter: "\\\\e030" } }]
|
|
@@ -102835,9 +102942,9 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102835
102942
|
delayer.schedule();
|
|
102836
102943
|
}
|
|
102837
102944
|
});
|
|
102838
|
-
const widgetClose = registerIcon("widget-close", editorWorkerHost.Codicon.close, editorWorkerHost.localize(
|
|
102839
|
-
registerIcon("goto-previous-location", editorWorkerHost.Codicon.arrowUp, editorWorkerHost.localize(
|
|
102840
|
-
registerIcon("goto-next-location", editorWorkerHost.Codicon.arrowDown, editorWorkerHost.localize(
|
|
102945
|
+
const widgetClose = registerIcon("widget-close", editorWorkerHost.Codicon.close, editorWorkerHost.localize(2046, "Icon for the close action in widgets."));
|
|
102946
|
+
registerIcon("goto-previous-location", editorWorkerHost.Codicon.arrowUp, editorWorkerHost.localize(2047, "Icon for goto previous editor location."));
|
|
102947
|
+
registerIcon("goto-next-location", editorWorkerHost.Codicon.arrowDown, editorWorkerHost.localize(2048, "Icon for goto next editor location."));
|
|
102841
102948
|
exports.ThemeIcon.modify(editorWorkerHost.Codicon.sync, "spin");
|
|
102842
102949
|
exports.ThemeIcon.modify(editorWorkerHost.Codicon.loading, "spin");
|
|
102843
102950
|
function getIconsStyleSheet(themeService) {
|
|
@@ -103695,7 +103802,7 @@ ${this._themeCSS}`;
|
|
|
103695
103802
|
const title = typeof command.title === "string" ? command.title : command.title.value;
|
|
103696
103803
|
const hide2 = toAction({
|
|
103697
103804
|
id: `hide/${menu.id}/${id}`,
|
|
103698
|
-
label: editorWorkerHost.localize(
|
|
103805
|
+
label: editorWorkerHost.localize(1666, "Hide '{0}'", title),
|
|
103699
103806
|
run() {
|
|
103700
103807
|
states.updateHidden(menu, id, true);
|
|
103701
103808
|
}
|
|
@@ -103721,7 +103828,7 @@ ${this._themeCSS}`;
|
|
|
103721
103828
|
function createConfigureKeybindingAction(commandService, keybindingService, commandId, when = void 0, enabled = true) {
|
|
103722
103829
|
return toAction({
|
|
103723
103830
|
id: `configureKeybinding/${commandId}`,
|
|
103724
|
-
label: editorWorkerHost.localize(
|
|
103831
|
+
label: editorWorkerHost.localize(1667, "Configure Keybinding"),
|
|
103725
103832
|
enabled,
|
|
103726
103833
|
run() {
|
|
103727
103834
|
const hasKeybinding = !!keybindingService.lookupKeybinding(commandId);
|
|
@@ -104301,7 +104408,7 @@ ${this._themeCSS}`;
|
|
|
104301
104408
|
return [...RawContextKey.all()].sort((a, b) => a.key.localeCompare(b.key));
|
|
104302
104409
|
},
|
|
104303
104410
|
metadata: {
|
|
104304
|
-
description: editorWorkerHost.localize(
|
|
104411
|
+
description: editorWorkerHost.localize(1689, "A command that returns information about context keys"),
|
|
104305
104412
|
args: []
|
|
104306
104413
|
}
|
|
104307
104414
|
});
|
|
@@ -104966,7 +105073,7 @@ ${graph.toString()}`;
|
|
|
104966
105073
|
* Creates an information marker for filtered resources
|
|
104967
105074
|
*/
|
|
104968
105075
|
_createFilteredMarker(resource, reasons) {
|
|
104969
|
-
const message = reasons.length === 1 ? editorWorkerHost.localize(
|
|
105076
|
+
const message = reasons.length === 1 ? editorWorkerHost.localize(1754, 'Problems are paused because: "{0}"', reasons[0]) : editorWorkerHost.localize(1755, 'Problems are paused because: "{0}" and {1} more', reasons[0], reasons.length - 1);
|
|
104970
105077
|
return {
|
|
104971
105078
|
owner: "markersFilter",
|
|
104972
105079
|
resource,
|
|
@@ -105146,176 +105253,176 @@ ${graph.toString()}`;
|
|
|
105146
105253
|
};
|
|
105147
105254
|
_AccessibilitySignal._signals = /* @__PURE__ */ new Set();
|
|
105148
105255
|
_AccessibilitySignal.errorAtPosition = _AccessibilitySignal.register({
|
|
105149
|
-
name: editorWorkerHost.localize(
|
|
105256
|
+
name: editorWorkerHost.localize(1593, "Error at Position"),
|
|
105150
105257
|
sound: Sound.error,
|
|
105151
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105258
|
+
announcementMessage: editorWorkerHost.localize(1594, "Error"),
|
|
105152
105259
|
settingsKey: "accessibility.signals.positionHasError",
|
|
105153
105260
|
delaySettingsKey: "accessibility.signalOptions.delays.errorAtPosition"
|
|
105154
105261
|
});
|
|
105155
105262
|
_AccessibilitySignal.warningAtPosition = _AccessibilitySignal.register({
|
|
105156
|
-
name: editorWorkerHost.localize(
|
|
105263
|
+
name: editorWorkerHost.localize(1595, "Warning at Position"),
|
|
105157
105264
|
sound: Sound.warning,
|
|
105158
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105265
|
+
announcementMessage: editorWorkerHost.localize(1596, "Warning"),
|
|
105159
105266
|
settingsKey: "accessibility.signals.positionHasWarning",
|
|
105160
105267
|
delaySettingsKey: "accessibility.signalOptions.delays.warningAtPosition"
|
|
105161
105268
|
});
|
|
105162
105269
|
_AccessibilitySignal.errorOnLine = _AccessibilitySignal.register({
|
|
105163
|
-
name: editorWorkerHost.localize(
|
|
105270
|
+
name: editorWorkerHost.localize(1597, "Error on Line"),
|
|
105164
105271
|
sound: Sound.error,
|
|
105165
105272
|
legacySoundSettingsKey: "audioCues.lineHasError",
|
|
105166
105273
|
legacyAnnouncementSettingsKey: "accessibility.alert.error",
|
|
105167
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105274
|
+
announcementMessage: editorWorkerHost.localize(1598, "Error on Line"),
|
|
105168
105275
|
settingsKey: "accessibility.signals.lineHasError"
|
|
105169
105276
|
});
|
|
105170
105277
|
_AccessibilitySignal.warningOnLine = _AccessibilitySignal.register({
|
|
105171
|
-
name: editorWorkerHost.localize(
|
|
105278
|
+
name: editorWorkerHost.localize(1599, "Warning on Line"),
|
|
105172
105279
|
sound: Sound.warning,
|
|
105173
105280
|
legacySoundSettingsKey: "audioCues.lineHasWarning",
|
|
105174
105281
|
legacyAnnouncementSettingsKey: "accessibility.alert.warning",
|
|
105175
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105282
|
+
announcementMessage: editorWorkerHost.localize(1600, "Warning on Line"),
|
|
105176
105283
|
settingsKey: "accessibility.signals.lineHasWarning"
|
|
105177
105284
|
});
|
|
105178
105285
|
_AccessibilitySignal.foldedArea = _AccessibilitySignal.register({
|
|
105179
|
-
name: editorWorkerHost.localize(
|
|
105286
|
+
name: editorWorkerHost.localize(1601, "Folded Area on Line"),
|
|
105180
105287
|
sound: Sound.foldedArea,
|
|
105181
105288
|
legacySoundSettingsKey: "audioCues.lineHasFoldedArea",
|
|
105182
105289
|
legacyAnnouncementSettingsKey: "accessibility.alert.foldedArea",
|
|
105183
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105290
|
+
announcementMessage: editorWorkerHost.localize(1602, "Folded"),
|
|
105184
105291
|
settingsKey: "accessibility.signals.lineHasFoldedArea"
|
|
105185
105292
|
});
|
|
105186
105293
|
_AccessibilitySignal.break = _AccessibilitySignal.register({
|
|
105187
|
-
name: editorWorkerHost.localize(
|
|
105294
|
+
name: editorWorkerHost.localize(1603, "Breakpoint on Line"),
|
|
105188
105295
|
sound: Sound.break,
|
|
105189
105296
|
legacySoundSettingsKey: "audioCues.lineHasBreakpoint",
|
|
105190
105297
|
legacyAnnouncementSettingsKey: "accessibility.alert.breakpoint",
|
|
105191
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105298
|
+
announcementMessage: editorWorkerHost.localize(1604, "Breakpoint"),
|
|
105192
105299
|
settingsKey: "accessibility.signals.lineHasBreakpoint"
|
|
105193
105300
|
});
|
|
105194
105301
|
_AccessibilitySignal.inlineSuggestion = _AccessibilitySignal.register({
|
|
105195
|
-
name: editorWorkerHost.localize(
|
|
105302
|
+
name: editorWorkerHost.localize(1605, "Inline Suggestion on Line"),
|
|
105196
105303
|
sound: Sound.quickFixes,
|
|
105197
105304
|
legacySoundSettingsKey: "audioCues.lineHasInlineSuggestion",
|
|
105198
105305
|
settingsKey: "accessibility.signals.lineHasInlineSuggestion"
|
|
105199
105306
|
});
|
|
105200
105307
|
_AccessibilitySignal.nextEditSuggestion = _AccessibilitySignal.register({
|
|
105201
|
-
name: editorWorkerHost.localize(
|
|
105308
|
+
name: editorWorkerHost.localize(1606, "Next Edit Suggestion on Line"),
|
|
105202
105309
|
sound: Sound.nextEditSuggestion,
|
|
105203
105310
|
legacySoundSettingsKey: "audioCues.nextEditSuggestion",
|
|
105204
105311
|
settingsKey: "accessibility.signals.nextEditSuggestion",
|
|
105205
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105312
|
+
announcementMessage: editorWorkerHost.localize(1607, "Next Edit Suggestion")
|
|
105206
105313
|
});
|
|
105207
105314
|
_AccessibilitySignal.terminalQuickFix = _AccessibilitySignal.register({
|
|
105208
|
-
name: editorWorkerHost.localize(
|
|
105315
|
+
name: editorWorkerHost.localize(1608, "Terminal Quick Fix"),
|
|
105209
105316
|
sound: Sound.quickFixes,
|
|
105210
105317
|
legacySoundSettingsKey: "audioCues.terminalQuickFix",
|
|
105211
105318
|
legacyAnnouncementSettingsKey: "accessibility.alert.terminalQuickFix",
|
|
105212
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105319
|
+
announcementMessage: editorWorkerHost.localize(1609, "Quick Fix"),
|
|
105213
105320
|
settingsKey: "accessibility.signals.terminalQuickFix"
|
|
105214
105321
|
});
|
|
105215
105322
|
_AccessibilitySignal.onDebugBreak = _AccessibilitySignal.register({
|
|
105216
|
-
name: editorWorkerHost.localize(
|
|
105323
|
+
name: editorWorkerHost.localize(1610, "Debugger Stopped on Breakpoint"),
|
|
105217
105324
|
sound: Sound.break,
|
|
105218
105325
|
legacySoundSettingsKey: "audioCues.onDebugBreak",
|
|
105219
105326
|
legacyAnnouncementSettingsKey: "accessibility.alert.onDebugBreak",
|
|
105220
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105327
|
+
announcementMessage: editorWorkerHost.localize(1611, "Breakpoint"),
|
|
105221
105328
|
settingsKey: "accessibility.signals.onDebugBreak"
|
|
105222
105329
|
});
|
|
105223
105330
|
_AccessibilitySignal.noInlayHints = _AccessibilitySignal.register({
|
|
105224
|
-
name: editorWorkerHost.localize(
|
|
105331
|
+
name: editorWorkerHost.localize(1612, "No Inlay Hints on Line"),
|
|
105225
105332
|
sound: Sound.error,
|
|
105226
105333
|
legacySoundSettingsKey: "audioCues.noInlayHints",
|
|
105227
105334
|
legacyAnnouncementSettingsKey: "accessibility.alert.noInlayHints",
|
|
105228
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105335
|
+
announcementMessage: editorWorkerHost.localize(1613, "No Inlay Hints"),
|
|
105229
105336
|
settingsKey: "accessibility.signals.noInlayHints"
|
|
105230
105337
|
});
|
|
105231
105338
|
_AccessibilitySignal.taskCompleted = _AccessibilitySignal.register({
|
|
105232
|
-
name: editorWorkerHost.localize(
|
|
105339
|
+
name: editorWorkerHost.localize(1614, "Task Completed"),
|
|
105233
105340
|
sound: Sound.taskCompleted,
|
|
105234
105341
|
legacySoundSettingsKey: "audioCues.taskCompleted",
|
|
105235
105342
|
legacyAnnouncementSettingsKey: "accessibility.alert.taskCompleted",
|
|
105236
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105343
|
+
announcementMessage: editorWorkerHost.localize(1615, "Task Completed"),
|
|
105237
105344
|
settingsKey: "accessibility.signals.taskCompleted"
|
|
105238
105345
|
});
|
|
105239
105346
|
_AccessibilitySignal.taskFailed = _AccessibilitySignal.register({
|
|
105240
|
-
name: editorWorkerHost.localize(
|
|
105347
|
+
name: editorWorkerHost.localize(1616, "Task Failed"),
|
|
105241
105348
|
sound: Sound.taskFailed,
|
|
105242
105349
|
legacySoundSettingsKey: "audioCues.taskFailed",
|
|
105243
105350
|
legacyAnnouncementSettingsKey: "accessibility.alert.taskFailed",
|
|
105244
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105351
|
+
announcementMessage: editorWorkerHost.localize(1617, "Task Failed"),
|
|
105245
105352
|
settingsKey: "accessibility.signals.taskFailed"
|
|
105246
105353
|
});
|
|
105247
105354
|
_AccessibilitySignal.terminalCommandFailed = _AccessibilitySignal.register({
|
|
105248
|
-
name: editorWorkerHost.localize(
|
|
105355
|
+
name: editorWorkerHost.localize(1618, "Terminal Command Failed"),
|
|
105249
105356
|
sound: Sound.error,
|
|
105250
105357
|
legacySoundSettingsKey: "audioCues.terminalCommandFailed",
|
|
105251
105358
|
legacyAnnouncementSettingsKey: "accessibility.alert.terminalCommandFailed",
|
|
105252
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105359
|
+
announcementMessage: editorWorkerHost.localize(1619, "Command Failed"),
|
|
105253
105360
|
settingsKey: "accessibility.signals.terminalCommandFailed"
|
|
105254
105361
|
});
|
|
105255
105362
|
_AccessibilitySignal.terminalCommandSucceeded = _AccessibilitySignal.register({
|
|
105256
|
-
name: editorWorkerHost.localize(
|
|
105363
|
+
name: editorWorkerHost.localize(1620, "Terminal Command Succeeded"),
|
|
105257
105364
|
sound: Sound.terminalCommandSucceeded,
|
|
105258
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105365
|
+
announcementMessage: editorWorkerHost.localize(1621, "Command Succeeded"),
|
|
105259
105366
|
settingsKey: "accessibility.signals.terminalCommandSucceeded"
|
|
105260
105367
|
});
|
|
105261
105368
|
_AccessibilitySignal.terminalBell = _AccessibilitySignal.register({
|
|
105262
|
-
name: editorWorkerHost.localize(
|
|
105369
|
+
name: editorWorkerHost.localize(1622, "Terminal Bell"),
|
|
105263
105370
|
sound: Sound.terminalBell,
|
|
105264
105371
|
legacySoundSettingsKey: "audioCues.terminalBell",
|
|
105265
105372
|
legacyAnnouncementSettingsKey: "accessibility.alert.terminalBell",
|
|
105266
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105373
|
+
announcementMessage: editorWorkerHost.localize(1623, "Terminal Bell"),
|
|
105267
105374
|
settingsKey: "accessibility.signals.terminalBell"
|
|
105268
105375
|
});
|
|
105269
105376
|
_AccessibilitySignal.notebookCellCompleted = _AccessibilitySignal.register({
|
|
105270
|
-
name: editorWorkerHost.localize(
|
|
105377
|
+
name: editorWorkerHost.localize(1624, "Notebook Cell Completed"),
|
|
105271
105378
|
sound: Sound.taskCompleted,
|
|
105272
105379
|
legacySoundSettingsKey: "audioCues.notebookCellCompleted",
|
|
105273
105380
|
legacyAnnouncementSettingsKey: "accessibility.alert.notebookCellCompleted",
|
|
105274
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105381
|
+
announcementMessage: editorWorkerHost.localize(1625, "Notebook Cell Completed"),
|
|
105275
105382
|
settingsKey: "accessibility.signals.notebookCellCompleted"
|
|
105276
105383
|
});
|
|
105277
105384
|
_AccessibilitySignal.notebookCellFailed = _AccessibilitySignal.register({
|
|
105278
|
-
name: editorWorkerHost.localize(
|
|
105385
|
+
name: editorWorkerHost.localize(1626, "Notebook Cell Failed"),
|
|
105279
105386
|
sound: Sound.taskFailed,
|
|
105280
105387
|
legacySoundSettingsKey: "audioCues.notebookCellFailed",
|
|
105281
105388
|
legacyAnnouncementSettingsKey: "accessibility.alert.notebookCellFailed",
|
|
105282
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105389
|
+
announcementMessage: editorWorkerHost.localize(1627, "Notebook Cell Failed"),
|
|
105283
105390
|
settingsKey: "accessibility.signals.notebookCellFailed"
|
|
105284
105391
|
});
|
|
105285
105392
|
_AccessibilitySignal.diffLineInserted = _AccessibilitySignal.register({
|
|
105286
|
-
name: editorWorkerHost.localize(
|
|
105393
|
+
name: editorWorkerHost.localize(1628, "Diff Line Inserted"),
|
|
105287
105394
|
sound: Sound.diffLineInserted,
|
|
105288
105395
|
legacySoundSettingsKey: "audioCues.diffLineInserted",
|
|
105289
105396
|
settingsKey: "accessibility.signals.diffLineInserted"
|
|
105290
105397
|
});
|
|
105291
105398
|
_AccessibilitySignal.diffLineDeleted = _AccessibilitySignal.register({
|
|
105292
|
-
name: editorWorkerHost.localize(
|
|
105399
|
+
name: editorWorkerHost.localize(1629, "Diff Line Deleted"),
|
|
105293
105400
|
sound: Sound.diffLineDeleted,
|
|
105294
105401
|
legacySoundSettingsKey: "audioCues.diffLineDeleted",
|
|
105295
105402
|
settingsKey: "accessibility.signals.diffLineDeleted"
|
|
105296
105403
|
});
|
|
105297
105404
|
_AccessibilitySignal.diffLineModified = _AccessibilitySignal.register({
|
|
105298
|
-
name: editorWorkerHost.localize(
|
|
105405
|
+
name: editorWorkerHost.localize(1630, "Diff Line Modified"),
|
|
105299
105406
|
sound: Sound.diffLineModified,
|
|
105300
105407
|
legacySoundSettingsKey: "audioCues.diffLineModified",
|
|
105301
105408
|
settingsKey: "accessibility.signals.diffLineModified"
|
|
105302
105409
|
});
|
|
105303
105410
|
_AccessibilitySignal.chatEditModifiedFile = _AccessibilitySignal.register({
|
|
105304
|
-
name: editorWorkerHost.localize(
|
|
105411
|
+
name: editorWorkerHost.localize(1631, "Chat Edit Modified File"),
|
|
105305
105412
|
sound: Sound.chatEditModifiedFile,
|
|
105306
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105413
|
+
announcementMessage: editorWorkerHost.localize(1632, "File Modified from Chat Edits"),
|
|
105307
105414
|
settingsKey: "accessibility.signals.chatEditModifiedFile"
|
|
105308
105415
|
});
|
|
105309
105416
|
_AccessibilitySignal.chatRequestSent = _AccessibilitySignal.register({
|
|
105310
|
-
name: editorWorkerHost.localize(
|
|
105417
|
+
name: editorWorkerHost.localize(1633, "Chat Request Sent"),
|
|
105311
105418
|
sound: Sound.requestSent,
|
|
105312
105419
|
legacySoundSettingsKey: "audioCues.chatRequestSent",
|
|
105313
105420
|
legacyAnnouncementSettingsKey: "accessibility.alert.chatRequestSent",
|
|
105314
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105421
|
+
announcementMessage: editorWorkerHost.localize(1634, "Chat Request Sent"),
|
|
105315
105422
|
settingsKey: "accessibility.signals.chatRequestSent"
|
|
105316
105423
|
});
|
|
105317
105424
|
_AccessibilitySignal.chatResponseReceived = _AccessibilitySignal.register({
|
|
105318
|
-
name: editorWorkerHost.localize(
|
|
105425
|
+
name: editorWorkerHost.localize(1635, "Chat Response Received"),
|
|
105319
105426
|
legacySoundSettingsKey: "audioCues.chatResponseReceived",
|
|
105320
105427
|
sound: {
|
|
105321
105428
|
randomOneOf: [
|
|
@@ -105328,79 +105435,79 @@ ${graph.toString()}`;
|
|
|
105328
105435
|
settingsKey: "accessibility.signals.chatResponseReceived"
|
|
105329
105436
|
});
|
|
105330
105437
|
_AccessibilitySignal.codeActionTriggered = _AccessibilitySignal.register({
|
|
105331
|
-
name: editorWorkerHost.localize(
|
|
105438
|
+
name: editorWorkerHost.localize(1636, "Code Action Request Triggered"),
|
|
105332
105439
|
sound: Sound.codeActionTriggered,
|
|
105333
105440
|
legacySoundSettingsKey: "audioCues.codeActionRequestTriggered",
|
|
105334
105441
|
legacyAnnouncementSettingsKey: "accessibility.alert.codeActionRequestTriggered",
|
|
105335
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105442
|
+
announcementMessage: editorWorkerHost.localize(1637, "Code Action Request Triggered"),
|
|
105336
105443
|
settingsKey: "accessibility.signals.codeActionTriggered"
|
|
105337
105444
|
});
|
|
105338
105445
|
_AccessibilitySignal.codeActionApplied = _AccessibilitySignal.register({
|
|
105339
|
-
name: editorWorkerHost.localize(
|
|
105446
|
+
name: editorWorkerHost.localize(1638, "Code Action Applied"),
|
|
105340
105447
|
legacySoundSettingsKey: "audioCues.codeActionApplied",
|
|
105341
105448
|
sound: Sound.codeActionApplied,
|
|
105342
105449
|
settingsKey: "accessibility.signals.codeActionApplied"
|
|
105343
105450
|
});
|
|
105344
105451
|
_AccessibilitySignal.progress = _AccessibilitySignal.register({
|
|
105345
|
-
name: editorWorkerHost.localize(
|
|
105452
|
+
name: editorWorkerHost.localize(1639, "Progress"),
|
|
105346
105453
|
sound: Sound.progress,
|
|
105347
105454
|
legacySoundSettingsKey: "audioCues.chatResponsePending",
|
|
105348
105455
|
legacyAnnouncementSettingsKey: "accessibility.alert.progress",
|
|
105349
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105456
|
+
announcementMessage: editorWorkerHost.localize(1640, "Progress"),
|
|
105350
105457
|
settingsKey: "accessibility.signals.progress"
|
|
105351
105458
|
});
|
|
105352
105459
|
_AccessibilitySignal.clear = _AccessibilitySignal.register({
|
|
105353
|
-
name: editorWorkerHost.localize(
|
|
105460
|
+
name: editorWorkerHost.localize(1641, "Clear"),
|
|
105354
105461
|
sound: Sound.clear,
|
|
105355
105462
|
legacySoundSettingsKey: "audioCues.clear",
|
|
105356
105463
|
legacyAnnouncementSettingsKey: "accessibility.alert.clear",
|
|
105357
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105464
|
+
announcementMessage: editorWorkerHost.localize(1642, "Clear"),
|
|
105358
105465
|
settingsKey: "accessibility.signals.clear"
|
|
105359
105466
|
});
|
|
105360
105467
|
_AccessibilitySignal.save = _AccessibilitySignal.register({
|
|
105361
|
-
name: editorWorkerHost.localize(
|
|
105468
|
+
name: editorWorkerHost.localize(1643, "Save"),
|
|
105362
105469
|
sound: Sound.save,
|
|
105363
105470
|
legacySoundSettingsKey: "audioCues.save",
|
|
105364
105471
|
legacyAnnouncementSettingsKey: "accessibility.alert.save",
|
|
105365
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105472
|
+
announcementMessage: editorWorkerHost.localize(1644, "Save"),
|
|
105366
105473
|
settingsKey: "accessibility.signals.save"
|
|
105367
105474
|
});
|
|
105368
105475
|
_AccessibilitySignal.format = _AccessibilitySignal.register({
|
|
105369
|
-
name: editorWorkerHost.localize(
|
|
105476
|
+
name: editorWorkerHost.localize(1645, "Format"),
|
|
105370
105477
|
sound: Sound.format,
|
|
105371
105478
|
legacySoundSettingsKey: "audioCues.format",
|
|
105372
105479
|
legacyAnnouncementSettingsKey: "accessibility.alert.format",
|
|
105373
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105480
|
+
announcementMessage: editorWorkerHost.localize(1646, "Format"),
|
|
105374
105481
|
settingsKey: "accessibility.signals.format"
|
|
105375
105482
|
});
|
|
105376
105483
|
_AccessibilitySignal.voiceRecordingStarted = _AccessibilitySignal.register({
|
|
105377
|
-
name: editorWorkerHost.localize(
|
|
105484
|
+
name: editorWorkerHost.localize(1647, "Voice Recording Started"),
|
|
105378
105485
|
sound: Sound.voiceRecordingStarted,
|
|
105379
105486
|
legacySoundSettingsKey: "audioCues.voiceRecordingStarted",
|
|
105380
105487
|
settingsKey: "accessibility.signals.voiceRecordingStarted"
|
|
105381
105488
|
});
|
|
105382
105489
|
_AccessibilitySignal.voiceRecordingStopped = _AccessibilitySignal.register({
|
|
105383
|
-
name: editorWorkerHost.localize(
|
|
105490
|
+
name: editorWorkerHost.localize(1648, "Voice Recording Stopped"),
|
|
105384
105491
|
sound: Sound.voiceRecordingStopped,
|
|
105385
105492
|
legacySoundSettingsKey: "audioCues.voiceRecordingStopped",
|
|
105386
105493
|
settingsKey: "accessibility.signals.voiceRecordingStopped"
|
|
105387
105494
|
});
|
|
105388
105495
|
_AccessibilitySignal.editsKept = _AccessibilitySignal.register({
|
|
105389
|
-
name: editorWorkerHost.localize(
|
|
105496
|
+
name: editorWorkerHost.localize(1649, "Edits Kept"),
|
|
105390
105497
|
sound: Sound.editsKept,
|
|
105391
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105498
|
+
announcementMessage: editorWorkerHost.localize(1650, "Edits Kept"),
|
|
105392
105499
|
settingsKey: "accessibility.signals.editsKept"
|
|
105393
105500
|
});
|
|
105394
105501
|
_AccessibilitySignal.editsUndone = _AccessibilitySignal.register({
|
|
105395
|
-
name: editorWorkerHost.localize(
|
|
105502
|
+
name: editorWorkerHost.localize(1651, "Undo Edits"),
|
|
105396
105503
|
sound: Sound.editsUndone,
|
|
105397
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105504
|
+
announcementMessage: editorWorkerHost.localize(1652, "Edits Undone"),
|
|
105398
105505
|
settingsKey: "accessibility.signals.editsUndone"
|
|
105399
105506
|
});
|
|
105400
105507
|
_AccessibilitySignal.chatUserActionRequired = _AccessibilitySignal.register({
|
|
105401
|
-
name: editorWorkerHost.localize(
|
|
105508
|
+
name: editorWorkerHost.localize(1653, "Chat User Action Required"),
|
|
105402
105509
|
sound: Sound.chatUserActionRequired,
|
|
105403
|
-
announcementMessage: editorWorkerHost.localize(
|
|
105510
|
+
announcementMessage: editorWorkerHost.localize(1654, "Chat User Action Required"),
|
|
105404
105511
|
settingsKey: "accessibility.signals.chatUserActionRequired"
|
|
105405
105512
|
});
|
|
105406
105513
|
let AccessibilitySignal = _AccessibilitySignal;
|
|
@@ -105481,10 +105588,13 @@ ${graph.toString()}`;
|
|
|
105481
105588
|
}
|
|
105482
105589
|
_createWorker(descriptor) {
|
|
105483
105590
|
const workerRunnerUrl = this.getWorkerUrl(descriptor);
|
|
105484
|
-
const workerUrlWithNls = getWorkerBootstrapUrl(descriptor.label, workerRunnerUrl);
|
|
105591
|
+
const workerUrlWithNls = getWorkerBootstrapUrl(descriptor.label, workerRunnerUrl, this._getWorkerLoadingFailedErrorMessage(descriptor));
|
|
105485
105592
|
const worker = new Worker(ttPolicy$1 ? ttPolicy$1.createScriptURL(workerUrlWithNls) : workerUrlWithNls, { name: descriptor.label, type: "module" });
|
|
105486
105593
|
return whenESMWorkerReady(worker);
|
|
105487
105594
|
}
|
|
105595
|
+
_getWorkerLoadingFailedErrorMessage(_descriptor) {
|
|
105596
|
+
return void 0;
|
|
105597
|
+
}
|
|
105488
105598
|
getWorkerUrl(descriptor) {
|
|
105489
105599
|
if (!descriptor.esmModuleLocation) {
|
|
105490
105600
|
throw new Error("Missing esmModuleLocation in WebWorkerDescriptor");
|
|
@@ -105504,7 +105614,7 @@ ${graph.toString()}`;
|
|
|
105504
105614
|
return createTrustedTypesPolicy("defaultWorkerFactory", { createScriptURL: (value) => value });
|
|
105505
105615
|
}
|
|
105506
105616
|
})();
|
|
105507
|
-
function getWorkerBootstrapUrl(label, workerScriptUrl) {
|
|
105617
|
+
function getWorkerBootstrapUrl(label, workerScriptUrl, workerLoadingFailedErrorMessage) {
|
|
105508
105618
|
if (/^((http:)|(https:)|(file:))/.test(workerScriptUrl) && workerScriptUrl.substring(0, globalThis.origin.length) !== globalThis.origin) ;
|
|
105509
105619
|
else {
|
|
105510
105620
|
const start = workerScriptUrl.lastIndexOf("?");
|
|
@@ -105525,7 +105635,9 @@ ${graph.toString()}`;
|
|
|
105525
105635
|
`globalThis._VSCODE_FILE_ROOT = ${JSON.stringify(globalThis._VSCODE_FILE_ROOT)};`,
|
|
105526
105636
|
`const ttPolicy = globalThis.trustedTypes?.createPolicy('defaultWorkerFactory', { createScriptURL: value => value });`,
|
|
105527
105637
|
`globalThis.workerttPolicy = ttPolicy;`,
|
|
105638
|
+
workerLoadingFailedErrorMessage ? "try {" : "",
|
|
105528
105639
|
`await import(ttPolicy?.createScriptURL(${JSON.stringify(workerScriptUrl)}) ?? ${JSON.stringify(workerScriptUrl)});`,
|
|
105640
|
+
workerLoadingFailedErrorMessage ? `} catch (err) { console.error(${JSON.stringify(workerLoadingFailedErrorMessage)}, err); throw err; }` : "",
|
|
105529
105641
|
`globalThis.postMessage({ type: 'vscode-worker-ready' });`,
|
|
105530
105642
|
`/*${label}*/`
|
|
105531
105643
|
]).join("")], { type: "application/javascript" });
|
|
@@ -105606,6 +105718,10 @@ ${graph.toString()}`;
|
|
|
105606
105718
|
}
|
|
105607
105719
|
return super._createWorker(descriptor);
|
|
105608
105720
|
}
|
|
105721
|
+
_getWorkerLoadingFailedErrorMessage(descriptor) {
|
|
105722
|
+
return `Failed to load worker script for label: ${descriptor.label}.
|
|
105723
|
+
Ensure your bundler properly bundles modules referenced by "new URL("...?esm", import.meta.url)".`;
|
|
105724
|
+
}
|
|
105609
105725
|
getWorkerUrl(descriptor) {
|
|
105610
105726
|
const monacoEnvironment2 = getMonacoEnvironment();
|
|
105611
105727
|
if (monacoEnvironment2) {
|
|
@@ -110626,7 +110742,7 @@ ${graph.toString()}`;
|
|
|
110626
110742
|
} else {
|
|
110627
110743
|
primaryActions.push(toAction({
|
|
110628
110744
|
id: "label",
|
|
110629
|
-
label: editorWorkerHost.localize(
|
|
110745
|
+
label: editorWorkerHost.localize(1664, "Hide"),
|
|
110630
110746
|
enabled: false,
|
|
110631
110747
|
run() {
|
|
110632
110748
|
}
|
|
@@ -110641,7 +110757,7 @@ ${graph.toString()}`;
|
|
|
110641
110757
|
actions.push(new Separator());
|
|
110642
110758
|
actions.push(toAction({
|
|
110643
110759
|
id: "resetThisMenu",
|
|
110644
|
-
label: editorWorkerHost.localize(
|
|
110760
|
+
label: editorWorkerHost.localize(1665, "Reset Menu"),
|
|
110645
110761
|
run: () => this._menuService.resetHiddenStates(menuIds)
|
|
110646
110762
|
}));
|
|
110647
110763
|
}
|
|
@@ -114465,7 +114581,7 @@ ${graph.toString()}`;
|
|
|
114465
114581
|
};
|
|
114466
114582
|
}
|
|
114467
114583
|
const IEditorCancellationTokens = createDecorator("IEditorCancelService");
|
|
114468
|
-
const ctxCancellableOperation = new RawContextKey("cancellableOperation", false, editorWorkerHost.localize(
|
|
114584
|
+
const ctxCancellableOperation = new RawContextKey("cancellableOperation", false, editorWorkerHost.localize(948, "Whether the editor runs a cancellable operation, e.g. like 'Peek References'"));
|
|
114469
114585
|
registerSingleton(
|
|
114470
114586
|
IEditorCancellationTokens,
|
|
114471
114587
|
class {
|
|
@@ -115365,6 +115481,7 @@ ${graph.toString()}`;
|
|
|
115365
115481
|
exports.editorActionListForeground = editorActionListForeground;
|
|
115366
115482
|
exports.editorActiveLinkForeground = editorActiveLinkForeground;
|
|
115367
115483
|
exports.editorBackground = editorBackground;
|
|
115484
|
+
exports.editorBracketMatchForeground = editorBracketMatchForeground;
|
|
115368
115485
|
exports.editorConfigurationBaseNode = editorConfigurationBaseNode;
|
|
115369
115486
|
exports.editorErrorBorder = editorErrorBorder;
|
|
115370
115487
|
exports.editorErrorForeground = editorErrorForeground;
|