monaco-editor 0.56.0-dev-20260205 → 0.56.0-dev-20260206
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/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{cssMode-DtLqRRg6.js → cssMode-DDSek8Dg.js} +1 -1
- package/dev/vs/editor/editor.main.js +1 -1
- package/dev/vs/{editor-BW_9N2G0.js → editor-BkeNjw2x.js} +617 -585
- package/dev/vs/editor.js +1 -1
- package/dev/vs/{freemarker2-CUZ6LtyA.js → freemarker2-D-4TJaUk.js} +1 -1
- package/dev/vs/{handlebars-CTodrOgU.js → handlebars-DfOIxi_9.js} +1 -1
- package/dev/vs/{html-DKbYuZQA.js → html-Cy0huX8Z.js} +1 -1
- package/dev/vs/{htmlMode-hKn3LTvV.js → htmlMode-DIjVhPH8.js} +1 -1
- package/dev/vs/{index-65LfYYqi.js → index-BhAN5HYF.js} +1 -1
- package/dev/vs/index.js +1 -1
- package/dev/vs/{javascript-BTT0DRv0.js → javascript-D4QazVvS.js} +1 -1
- package/dev/vs/{jsonMode-CcQubesg.js → jsonMode-AnvxTtAN.js} +1 -1
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/monaco.contribution.js +1 -1
- package/dev/vs/language/json/monaco.contribution.js +1 -1
- package/dev/vs/language/typescript/monaco.contribution.js +1 -1
- package/dev/vs/{liquid-DdtPdq4p.js → liquid-BIbXX2O4.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-CkPmLAJP.js → lspLanguageFeatures-DjPJXV-z.js} +1 -1
- package/dev/vs/{mdx-DHBNsqby.js → mdx-BJqhM3PD.js} +1 -1
- package/dev/vs/{monaco.contribution-DkDG79rC.js → monaco.contribution-BIPg8RB1.js} +2 -2
- package/dev/vs/{monaco.contribution-2D4VlYa-.js → monaco.contribution-Diam8SRy.js} +2 -2
- package/dev/vs/{monaco.contribution-CI9A4XKo.js → monaco.contribution-Dmf9c5aO.js} +2 -2
- package/dev/vs/{monaco.contribution-C3ONtuIW.js → monaco.contribution-jo4Dwi1Q.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-BwKqzj82.js → python-CiqaSL5P.js} +1 -1
- package/dev/vs/{razor-B8BddojH.js → razor-BhWAwCIQ.js} +1 -1
- package/dev/vs/{toggleHighContrast-DjeqsZaZ.js → toggleHighContrast-BaIaZJsC.js} +636 -583
- package/dev/vs/{tsMode-6f5MLOQx.js → tsMode-BIh3SF-H.js} +1 -1
- package/dev/vs/{typescript-UQYTTNpA.js → typescript-DzsbZl36.js} +1 -1
- package/dev/vs/{workers-BFTdBvv-.js → workers-DXsZHj4F.js} +1 -1
- package/dev/vs/{xml-bUEoR91T.js → xml-DucqUiIX.js} +1 -1
- package/dev/vs/{yaml-Dbc6XBLf.js → yaml-D6WvQ8dJ.js} +1 -1
- package/esm/vs/base/browser/ui/inputbox/inputBox.js +9 -0
- package/esm/vs/editor/common/model/textModel.js +34 -23
- package/esm/vs/editor/common/viewLayout/viewLayout.js +1 -1
- package/esm/vs/editor/common/viewModel/viewModelImpl.js +126 -117
- package/esm/vs/editor/contrib/find/browser/findController.js +9 -3
- package/esm/vs/editor/contrib/find/browser/findModel.js +6 -1
- package/esm/vs/editor/contrib/find/browser/findWidget.js +63 -9
- package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +7 -7
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +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/editorNavigationQuickAccess.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +12 -12
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +9 -9
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
- package/esm/vs/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 +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/actions.js +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/quickinput/browser/commandsQuickAccess.js +8 -8
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +18 -18
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +48 -48
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/{cssMode-DPmVCccH.js → cssMode-CPzO8zkF.js} +1 -1
- package/min/vs/editor/editor.main.js +1 -1
- package/min/vs/{editor-DDS5rjWz.js → editor-BydbxBCU.js} +58 -58
- package/min/vs/editor.js +1 -1
- package/min/vs/{freemarker2-C2j2xU-L.js → freemarker2-DoyxZqie.js} +1 -1
- package/min/vs/{handlebars-jQJ8Fkcq.js → handlebars-DTPP75TL.js} +1 -1
- package/min/vs/{html-Cfi8Nt8M.js → html-DPyXWM5J.js} +1 -1
- package/min/vs/{htmlMode-DiWCqKWZ.js → htmlMode-DC2pf2J_.js} +1 -1
- package/min/vs/{index-o7gx3_Zu.js → index-Il-GmO2X.js} +1 -1
- package/min/vs/index.js +1 -1
- package/min/vs/{javascript-v57OSt6_.js → javascript-DL2hpqqY.js} +1 -1
- package/min/vs/{jsonMode-C60fn5HR.js → jsonMode-Bz5OpZ7n.js} +1 -1
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/monaco.contribution.js +1 -1
- package/min/vs/language/typescript/monaco.contribution.js +1 -1
- package/min/vs/{liquid-BOANfFZ4.js → liquid-DUhaANg3.js} +1 -1
- package/min/vs/{lspLanguageFeatures-CluPdd1M.js → lspLanguageFeatures-B7-JlmnX.js} +1 -1
- package/min/vs/{mdx-CvivRN97.js → mdx-BZMbvN7b.js} +1 -1
- package/min/vs/{monaco.contribution-DbVNF4IT.js → monaco.contribution-1UmLnp9w.js} +1 -1
- package/min/vs/{monaco.contribution-BGMeQIlS.js → monaco.contribution-D9aiJhrc.js} +1 -1
- package/min/vs/{monaco.contribution-Bqav3taf.js → monaco.contribution-LpYJLh0L.js} +1 -1
- package/min/vs/{monaco.contribution-BYXaxW1C.js → monaco.contribution-lEwaOsMb.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-D_gKClQx.js → python-DPp3QvMD.js} +1 -1
- package/min/vs/{razor-B0N99sgs.js → razor-D80IkUBo.js} +1 -1
- package/min/vs/{toggleHighContrast-ynXCcyTC.js → toggleHighContrast-C4RRexMn.js} +30 -30
- package/min/vs/{tsMode-G-cd3uvR.js → tsMode-Csww5Qa9.js} +1 -1
- package/min/vs/{typescript-C5StrEkV.js → typescript-_NUtcQ0c.js} +1 -1
- package/min/vs/{workers-XTPV8kWM.js → workers-l9_xt0X-.js} +1 -1
- package/min/vs/{xml-BlEUhCKl.js → xml-djEIiM06.js} +1 -1
- package/min/vs/{yaml-tjlTKhWD.js → yaml-BR0HRoyU.js} +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/editor-
|
|
1
|
+
define("vs/editor-BkeNjw2x", ["require", "exports", "./editorWorkerHost-DEXzajWn"], (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, _u;
|
|
4
4
|
const EditorZoom = new class {
|
|
@@ -8855,17 +8855,17 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
8855
8855
|
function hintDidYouMean(...meant) {
|
|
8856
8856
|
switch (meant.length) {
|
|
8857
8857
|
case 1:
|
|
8858
|
-
return editorWorkerHost.localize(
|
|
8858
|
+
return editorWorkerHost.localize(1715, "Did you mean {0}?", meant[0]);
|
|
8859
8859
|
case 2:
|
|
8860
|
-
return editorWorkerHost.localize(
|
|
8860
|
+
return editorWorkerHost.localize(1716, "Did you mean {0} or {1}?", meant[0], meant[1]);
|
|
8861
8861
|
case 3:
|
|
8862
|
-
return editorWorkerHost.localize(
|
|
8862
|
+
return editorWorkerHost.localize(1717, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
|
|
8863
8863
|
default:
|
|
8864
8864
|
return void 0;
|
|
8865
8865
|
}
|
|
8866
8866
|
}
|
|
8867
|
-
const hintDidYouForgetToOpenOrCloseQuote = editorWorkerHost.localize(
|
|
8868
|
-
const hintDidYouForgetToEscapeSlash = editorWorkerHost.localize(
|
|
8867
|
+
const hintDidYouForgetToOpenOrCloseQuote = editorWorkerHost.localize(1718, "Did you forget to open or close the quote?");
|
|
8868
|
+
const hintDidYouForgetToEscapeSlash = editorWorkerHost.localize(1719, "Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/'.");
|
|
8869
8869
|
const _Scanner = class _Scanner {
|
|
8870
8870
|
constructor() {
|
|
8871
8871
|
this._input = "";
|
|
@@ -9189,14 +9189,14 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
9189
9189
|
const defaultConfig = {
|
|
9190
9190
|
regexParsingWithErrorRecovery: true
|
|
9191
9191
|
};
|
|
9192
|
-
const errorEmptyString = editorWorkerHost.localize(
|
|
9193
|
-
const hintEmptyString = editorWorkerHost.localize(
|
|
9194
|
-
const errorNoInAfterNot = editorWorkerHost.localize(
|
|
9195
|
-
const errorClosingParenthesis = editorWorkerHost.localize(
|
|
9196
|
-
const errorUnexpectedToken = editorWorkerHost.localize(
|
|
9197
|
-
const hintUnexpectedToken = editorWorkerHost.localize(
|
|
9198
|
-
const errorUnexpectedEOF = editorWorkerHost.localize(
|
|
9199
|
-
const hintUnexpectedEOF = editorWorkerHost.localize(
|
|
9192
|
+
const errorEmptyString = editorWorkerHost.localize(1697, "Empty context key expression");
|
|
9193
|
+
const hintEmptyString = editorWorkerHost.localize(1698, "Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively.");
|
|
9194
|
+
const errorNoInAfterNot = editorWorkerHost.localize(1699, "'in' after 'not'.");
|
|
9195
|
+
const errorClosingParenthesis = editorWorkerHost.localize(1700, "closing parenthesis ')'");
|
|
9196
|
+
const errorUnexpectedToken = editorWorkerHost.localize(1701, "Unexpected token");
|
|
9197
|
+
const hintUnexpectedToken = editorWorkerHost.localize(1702, "Did you forget to put && or || before the token?");
|
|
9198
|
+
const errorUnexpectedEOF = editorWorkerHost.localize(1703, "Unexpected end of expression");
|
|
9199
|
+
const hintUnexpectedEOF = editorWorkerHost.localize(1704, "Did you forget to put a context key?");
|
|
9200
9200
|
let Parser$1 = (_a2 = class {
|
|
9201
9201
|
constructor(_config = defaultConfig) {
|
|
9202
9202
|
this._config = _config;
|
|
@@ -9521,7 +9521,7 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
9521
9521
|
throw this._errExpectedButGot(message, this._peek());
|
|
9522
9522
|
}
|
|
9523
9523
|
_errExpectedButGot(expected, got, additionalInfo) {
|
|
9524
|
-
const message = editorWorkerHost.localize(
|
|
9524
|
+
const message = editorWorkerHost.localize(1705, "Expected: {0}\nReceived: '{1}'.", expected, Scanner.getLexeme(got));
|
|
9525
9525
|
const offset = got.offset;
|
|
9526
9526
|
const lexeme = Scanner.getLexeme(got);
|
|
9527
9527
|
this._parsingErrors.push({ message, offset, lexeme, additionalInfo });
|
|
@@ -10816,6 +10816,7 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
10816
10816
|
_MenuId.EditorContextPeek = new _MenuId("EditorContextPeek");
|
|
10817
10817
|
_MenuId.EditorContextShare = new _MenuId("EditorContextShare");
|
|
10818
10818
|
_MenuId.EditorTitle = new _MenuId("EditorTitle");
|
|
10819
|
+
_MenuId.ModalEditorTitle = new _MenuId("ModalEditorTitle");
|
|
10819
10820
|
_MenuId.CompactWindowEditorTitle = new _MenuId("CompactWindowEditorTitle");
|
|
10820
10821
|
_MenuId.EditorTitleRun = new _MenuId("EditorTitleRun");
|
|
10821
10822
|
_MenuId.EditorTitleContext = new _MenuId("EditorTitleContext");
|
|
@@ -13239,7 +13240,7 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
13239
13240
|
this.configurationDefaultsOverrides = /* @__PURE__ */ new Map();
|
|
13240
13241
|
this.defaultLanguageConfigurationOverridesNode = {
|
|
13241
13242
|
id: "defaultOverrides",
|
|
13242
|
-
title: editorWorkerHost.localize(
|
|
13243
|
+
title: editorWorkerHost.localize(1686, "Default Language Configuration Overrides"),
|
|
13243
13244
|
properties: {}
|
|
13244
13245
|
};
|
|
13245
13246
|
this.configurationContributors = [this.defaultLanguageConfigurationOverridesNode];
|
|
@@ -13316,7 +13317,7 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
13316
13317
|
},
|
|
13317
13318
|
type: "object",
|
|
13318
13319
|
default: newDefaultOverride.value,
|
|
13319
|
-
description: editorWorkerHost.localize(
|
|
13320
|
+
description: editorWorkerHost.localize(1687, "Configure settings to be overridden for {0}.", getLanguageTagSettingPlainKey(key)),
|
|
13320
13321
|
$ref: resourceLanguageSettingsSchemaId,
|
|
13321
13322
|
defaultDefaultValue: newDefaultOverride.value,
|
|
13322
13323
|
source,
|
|
@@ -13498,8 +13499,8 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
13498
13499
|
const overrideIdentifierProperty = `[${overrideIdentifier}]`;
|
|
13499
13500
|
const resourceLanguagePropertiesSchema = {
|
|
13500
13501
|
type: "object",
|
|
13501
|
-
description: editorWorkerHost.localize(
|
|
13502
|
-
errorMessage: editorWorkerHost.localize(
|
|
13502
|
+
description: editorWorkerHost.localize(1688, "Configure editor settings to be overridden for a language."),
|
|
13503
|
+
errorMessage: editorWorkerHost.localize(1689, "This setting does not support per-language configuration."),
|
|
13503
13504
|
$ref: resourceLanguageSettingsSchemaId
|
|
13504
13505
|
};
|
|
13505
13506
|
this.updatePropertyDefaultValue(overrideIdentifierProperty, resourceLanguagePropertiesSchema);
|
|
@@ -13507,8 +13508,8 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
13507
13508
|
}
|
|
13508
13509
|
registerOverridePropertyPatternKey() {
|
|
13509
13510
|
({
|
|
13510
|
-
description: editorWorkerHost.localize(
|
|
13511
|
-
errorMessage: editorWorkerHost.localize(
|
|
13511
|
+
description: editorWorkerHost.localize(1690, "Configure editor settings to be overridden for a language."),
|
|
13512
|
+
errorMessage: editorWorkerHost.localize(1691, "This setting does not support per-language configuration.")
|
|
13512
13513
|
});
|
|
13513
13514
|
this._onDidSchemaChange.fire();
|
|
13514
13515
|
}
|
|
@@ -13571,16 +13572,16 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
13571
13572
|
Registry.add(Extensions$6.Configuration, configurationRegistry$2);
|
|
13572
13573
|
function validateProperty(property, schema, extensionId) {
|
|
13573
13574
|
if (!property.trim()) {
|
|
13574
|
-
return editorWorkerHost.localize(
|
|
13575
|
+
return editorWorkerHost.localize(1692, "Cannot register an empty property");
|
|
13575
13576
|
}
|
|
13576
13577
|
if (OVERRIDE_PROPERTY_REGEX.test(property)) {
|
|
13577
|
-
return editorWorkerHost.localize(
|
|
13578
|
+
return editorWorkerHost.localize(1693, "Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.", property);
|
|
13578
13579
|
}
|
|
13579
13580
|
if (configurationRegistry$2.getConfigurationProperties()[property] !== void 0 && (!extensionId || !EXTENSION_UNIFICATION_EXTENSION_IDS.has(extensionId.toLowerCase()))) {
|
|
13580
|
-
return editorWorkerHost.localize(
|
|
13581
|
+
return editorWorkerHost.localize(1694, "Cannot register '{0}'. This property is already registered.", property);
|
|
13581
13582
|
}
|
|
13582
13583
|
if (schema.policy?.name && configurationRegistry$2.getPolicyConfigurations().get(schema.policy?.name) !== void 0) {
|
|
13583
|
-
return editorWorkerHost.localize(
|
|
13584
|
+
return editorWorkerHost.localize(1695, "Cannot register '{0}'. The associated policy {1} is already registered with {2}.", property, schema.policy?.name, configurationRegistry$2.getPolicyConfigurations().get(schema.policy?.name));
|
|
13584
13585
|
}
|
|
13585
13586
|
return null;
|
|
13586
13587
|
}
|
|
@@ -18049,13 +18050,13 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
18049
18050
|
}
|
|
18050
18051
|
if (needsTransparency) {
|
|
18051
18052
|
propertySchema.pattern = "^#(?:(?<rgba>[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$";
|
|
18052
|
-
propertySchema.patternErrorMessage = editorWorkerHost.localize(
|
|
18053
|
+
propertySchema.patternErrorMessage = editorWorkerHost.localize(2049, "This color must be transparent or it will obscure content");
|
|
18053
18054
|
}
|
|
18054
18055
|
this.colorSchema.properties[id] = {
|
|
18055
18056
|
description,
|
|
18056
18057
|
oneOf: [
|
|
18057
18058
|
propertySchema,
|
|
18058
|
-
{ type: "string", const: DEFAULT_COLOR_CONFIG_VALUE, description: editorWorkerHost.localize(
|
|
18059
|
+
{ type: "string", const: DEFAULT_COLOR_CONFIG_VALUE, description: editorWorkerHost.localize(2050, "Use the default color.") }
|
|
18059
18060
|
]
|
|
18060
18061
|
};
|
|
18061
18062
|
this.colorReferenceSchema.enum.push(id);
|
|
@@ -18181,265 +18182,265 @@ define("vs/editor-BW_9N2G0", ["require", "exports", "./editorWorkerHost-DEXzajWn
|
|
|
18181
18182
|
delayer$1.schedule();
|
|
18182
18183
|
}
|
|
18183
18184
|
});
|
|
18184
|
-
const foreground = registerColor("foreground", { dark: "#CCCCCC", light: "#616161", hcDark: "#FFFFFF", hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18185
|
-
registerColor("disabledForeground", { dark: "#CCCCCC80", light: "#61616180", hcDark: "#A5A5A5", hcLight: "#7F7F7F" }, editorWorkerHost.localize(
|
|
18186
|
-
registerColor("errorForeground", { dark: "#F48771", light: "#A1260D", hcDark: "#F48771", hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18187
|
-
const descriptionForeground = registerColor("descriptionForeground", { light: "#717171", dark: transparent(foreground, 0.7), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, editorWorkerHost.localize(
|
|
18188
|
-
const iconForeground = registerColor("icon.foreground", { dark: "#C5C5C5", light: "#424242", hcDark: "#FFFFFF", hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18189
|
-
const focusBorder = registerColor("focusBorder", { dark: "#007FD4", light: "#0090F1", hcDark: "#F38518", hcLight: "#006BBD" }, editorWorkerHost.localize(
|
|
18190
|
-
const contrastBorder = registerColor("contrastBorder", { light: null, dark: null, hcDark: "#6FC3DF", hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18191
|
-
const activeContrastBorder = registerColor("contrastActiveBorder", { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, editorWorkerHost.localize(
|
|
18192
|
-
registerColor("selection.background", null, editorWorkerHost.localize(
|
|
18193
|
-
const textLinkForeground = registerColor("textLink.foreground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18194
|
-
registerColor("textLink.activeForeground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18195
|
-
registerColor("textSeparator.foreground", { light: "#0000002e", dark: "#ffffff2e", hcDark: editorWorkerHost.Color.black, hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18196
|
-
registerColor("textPreformat.foreground", { light: "#A31515", dark: "#D7BA7D", hcDark: "#FFFFFF", hcLight: "#FFFFFF" }, editorWorkerHost.localize(
|
|
18197
|
-
registerColor("textPreformat.background", { light: "#0000001A", dark: "#FFFFFF1A", hcDark: null, hcLight: "#09345f" }, editorWorkerHost.localize(
|
|
18198
|
-
registerColor("textPreformat.border", { light: null, dark: null, hcDark: contrastBorder, hcLight: null }, editorWorkerHost.localize(
|
|
18199
|
-
registerColor("textBlockQuote.background", { light: "#f2f2f2", dark: "#222222", hcDark: null, hcLight: "#F2F2F2" }, editorWorkerHost.localize(
|
|
18200
|
-
registerColor("textBlockQuote.border", { light: "#007acc80", dark: "#007acc80", hcDark: editorWorkerHost.Color.white, hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18201
|
-
registerColor("textCodeBlock.background", { light: "#dcdcdc66", dark: "#0a0a0a66", hcDark: editorWorkerHost.Color.black, hcLight: "#F2F2F2" }, editorWorkerHost.localize(
|
|
18202
|
-
registerColor("sash.hoverBorder", focusBorder, editorWorkerHost.localize(
|
|
18203
|
-
const badgeBackground = registerColor("badge.background", { dark: "#4D4D4D", light: "#C4C4C4", hcDark: editorWorkerHost.Color.black, hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18204
|
-
const badgeForeground = registerColor("badge.foreground", { dark: editorWorkerHost.Color.white, light: "#333", hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18205
|
-
registerColor("activityWarningBadge.foreground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18206
|
-
registerColor("activityWarningBadge.background", { dark: "#B27C00", light: "#B27C00", hcDark: null, hcLight: "#B27C00" }, editorWorkerHost.localize(
|
|
18207
|
-
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(
|
|
18208
|
-
registerColor("activityErrorBadge.background", { dark: "#F14C4C", light: "#E51400", hcDark: null, hcLight: "#F14C4C" }, editorWorkerHost.localize(
|
|
18209
|
-
const scrollbarShadow = registerColor("scrollbar.shadow", { dark: "#000000", light: "#DDDDDD", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18210
|
-
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(
|
|
18211
|
-
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(
|
|
18212
|
-
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(
|
|
18213
|
-
registerColor("scrollbar.background", null, editorWorkerHost.localize(
|
|
18214
|
-
const progressBarBackground = registerColor("progressBar.background", { dark: editorWorkerHost.Color.fromHex("#0E70C0"), light: editorWorkerHost.Color.fromHex("#0E70C0"), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18215
|
-
registerColor("chart.line", { dark: "#236B8E", light: "#236B8E", hcDark: "#236B8E", hcLight: "#236B8E" }, editorWorkerHost.localize(
|
|
18216
|
-
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(
|
|
18217
|
-
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(
|
|
18218
|
-
const editorBackground = registerColor("editor.background", { light: "#ffffff", dark: "#1E1E1E", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18219
|
-
const editorForeground = registerColor("editor.foreground", { light: "#333333", dark: "#BBBBBB", hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(
|
|
18220
|
-
registerColor("editorStickyScroll.background", editorBackground, editorWorkerHost.localize(
|
|
18221
|
-
registerColor("editorStickyScrollGutter.background", editorBackground, editorWorkerHost.localize(
|
|
18222
|
-
registerColor("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(
|
|
18223
|
-
registerColor("editorStickyScroll.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18224
|
-
registerColor("editorStickyScroll.shadow", scrollbarShadow, editorWorkerHost.localize(
|
|
18225
|
-
const editorWidgetBackground = registerColor("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18226
|
-
const editorWidgetForeground = registerColor("editorWidget.foreground", foreground, editorWorkerHost.localize(
|
|
18227
|
-
const editorWidgetBorder = registerColor("editorWidget.border", { dark: "#454545", light: "#C8C8C8", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18228
|
-
registerColor("editorWidget.resizeBorder", null, editorWorkerHost.localize(
|
|
18229
|
-
registerColor("editorError.background", null, editorWorkerHost.localize(
|
|
18230
|
-
const editorErrorForeground = registerColor("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDark: "#F48771", hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18231
|
-
const editorErrorBorder = registerColor("editorError.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#E47777").transparent(0.8), hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18232
|
-
const editorWarningBackground = registerColor("editorWarning.background", null, editorWorkerHost.localize(
|
|
18233
|
-
const editorWarningForeground = registerColor("editorWarning.foreground", { dark: "#CCA700", light: "#BF8803", hcDark: "#FFD370", hcLight: "#895503" }, editorWorkerHost.localize(
|
|
18234
|
-
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(
|
|
18235
|
-
registerColor("editorInfo.background", null, editorWorkerHost.localize(
|
|
18236
|
-
const editorInfoForeground = registerColor("editorInfo.foreground", { dark: "#59a4f9", light: "#0063d3", hcDark: "#59a4f9", hcLight: "#0063d3" }, editorWorkerHost.localize(
|
|
18237
|
-
const editorInfoBorder = registerColor("editorInfo.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#59a4f9").transparent(0.8), hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18238
|
-
const editorHintForeground = registerColor("editorHint.foreground", { dark: editorWorkerHost.Color.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18239
|
-
registerColor("editorHint.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18240
|
-
const editorActiveLinkForeground = registerColor("editorLink.activeForeground", { dark: "#4E94CE", light: editorWorkerHost.Color.blue, hcDark: editorWorkerHost.Color.cyan, hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18241
|
-
const editorSelectionBackground = registerColor("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18242
|
-
const editorSelectionForeground = registerColor("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18243
|
-
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(
|
|
18244
|
-
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(
|
|
18245
|
-
registerColor("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18246
|
-
registerColor("editor.compositionBorder", { light: "#000000", dark: "#ffffff", hcLight: "#000000", hcDark: "#ffffff" }, editorWorkerHost.localize(
|
|
18247
|
-
registerColor("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18248
|
-
const editorFindMatchForeground = registerColor("editor.findMatchForeground", null, editorWorkerHost.localize(
|
|
18249
|
-
const editorFindMatchHighlight = registerColor("editor.findMatchHighlightBackground", { light: "#EA5C0055", dark: "#EA5C0055", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18250
|
-
const editorFindMatchHighlightForeground = registerColor("editor.findMatchHighlightForeground", null, editorWorkerHost.localize(
|
|
18251
|
-
registerColor("editor.findRangeHighlightBackground", { dark: "#3a3d4166", light: "#b4b4b44d", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18252
|
-
registerColor("editor.findMatchBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18253
|
-
const editorFindMatchHighlightBorder = registerColor("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18254
|
-
const editorFindRangeHighlightBorder = registerColor("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark: transparent(activeContrastBorder, 0.4), hcLight: transparent(activeContrastBorder, 0.4) }, editorWorkerHost.localize(
|
|
18255
|
-
registerColor("editor.hoverHighlightBackground", { light: "#ADD6FF26", dark: "#264f7840", hcDark: "#ADD6FF26", hcLight: null }, editorWorkerHost.localize(
|
|
18256
|
-
const editorHoverBackground = registerColor("editorHoverWidget.background", editorWidgetBackground, editorWorkerHost.localize(
|
|
18257
|
-
const editorHoverForeground = registerColor("editorHoverWidget.foreground", editorWidgetForeground, editorWorkerHost.localize(
|
|
18258
|
-
const editorHoverBorder = registerColor("editorHoverWidget.border", editorWidgetBorder, editorWorkerHost.localize(
|
|
18259
|
-
registerColor("editorHoverWidget.statusBarBackground", { dark: lighten(editorHoverBackground, 0.2), light: darken(editorHoverBackground, 0.05), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, editorWorkerHost.localize(
|
|
18260
|
-
const editorInlayHintForeground = registerColor("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.black }, editorWorkerHost.localize(
|
|
18261
|
-
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(
|
|
18262
|
-
const editorInlayHintTypeForeground = registerColor("editorInlayHint.typeForeground", editorInlayHintForeground, editorWorkerHost.localize(
|
|
18263
|
-
const editorInlayHintTypeBackground = registerColor("editorInlayHint.typeBackground", editorInlayHintBackground, editorWorkerHost.localize(
|
|
18264
|
-
const editorInlayHintParameterForeground = registerColor("editorInlayHint.parameterForeground", editorInlayHintForeground, editorWorkerHost.localize(
|
|
18265
|
-
const editorInlayHintParameterBackground = registerColor("editorInlayHint.parameterBackground", editorInlayHintBackground, editorWorkerHost.localize(
|
|
18266
|
-
const editorLightBulbForeground = registerColor("editorLightBulb.foreground", { dark: "#FFCC00", light: "#DDB100", hcDark: "#FFCC00", hcLight: "#007ACC" }, editorWorkerHost.localize(
|
|
18267
|
-
registerColor("editorLightBulbAutoFix.foreground", { dark: "#75BEFF", light: "#007ACC", hcDark: "#75BEFF", hcLight: "#007ACC" }, editorWorkerHost.localize(
|
|
18268
|
-
registerColor("editorLightBulbAi.foreground", editorLightBulbForeground, editorWorkerHost.localize(
|
|
18269
|
-
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(
|
|
18270
|
-
registerColor("editor.snippetTabstopHighlightBorder", null, editorWorkerHost.localize(
|
|
18271
|
-
registerColor("editor.snippetFinalTabstopHighlightBackground", null, editorWorkerHost.localize(
|
|
18272
|
-
registerColor("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, editorWorkerHost.localize(
|
|
18185
|
+
const foreground = registerColor("foreground", { dark: "#CCCCCC", light: "#616161", hcDark: "#FFFFFF", hcLight: "#292929" }, editorWorkerHost.localize(1798, "Overall foreground color. This color is only used if not overridden by a component."));
|
|
18186
|
+
registerColor("disabledForeground", { dark: "#CCCCCC80", light: "#61616180", hcDark: "#A5A5A5", hcLight: "#7F7F7F" }, editorWorkerHost.localize(1799, "Overall foreground for disabled elements. This color is only used if not overridden by a component."));
|
|
18187
|
+
registerColor("errorForeground", { dark: "#F48771", light: "#A1260D", hcDark: "#F48771", hcLight: "#B5200D" }, editorWorkerHost.localize(1800, "Overall foreground color for error messages. This color is only used if not overridden by a component."));
|
|
18188
|
+
const descriptionForeground = registerColor("descriptionForeground", { light: "#717171", dark: transparent(foreground, 0.7), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, editorWorkerHost.localize(1801, "Foreground color for description text providing additional information, for example for a label."));
|
|
18189
|
+
const iconForeground = registerColor("icon.foreground", { dark: "#C5C5C5", light: "#424242", hcDark: "#FFFFFF", hcLight: "#292929" }, editorWorkerHost.localize(1802, "The default color for icons in the workbench."));
|
|
18190
|
+
const focusBorder = registerColor("focusBorder", { dark: "#007FD4", light: "#0090F1", hcDark: "#F38518", hcLight: "#006BBD" }, editorWorkerHost.localize(1803, "Overall border color for focused elements. This color is only used if not overridden by a component."));
|
|
18191
|
+
const contrastBorder = registerColor("contrastBorder", { light: null, dark: null, hcDark: "#6FC3DF", hcLight: "#0F4A85" }, editorWorkerHost.localize(1804, "An extra border around elements to separate them from others for greater contrast."));
|
|
18192
|
+
const activeContrastBorder = registerColor("contrastActiveBorder", { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, editorWorkerHost.localize(1805, "An extra border around active elements to separate them from others for greater contrast."));
|
|
18193
|
+
registerColor("selection.background", null, editorWorkerHost.localize(1806, "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."));
|
|
18194
|
+
const textLinkForeground = registerColor("textLink.foreground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, editorWorkerHost.localize(1807, "Foreground color for links in text."));
|
|
18195
|
+
registerColor("textLink.activeForeground", { light: "#006AB1", dark: "#3794FF", hcDark: "#21A6FF", hcLight: "#0F4A85" }, editorWorkerHost.localize(1808, "Foreground color for links in text when clicked on and on mouse hover."));
|
|
18196
|
+
registerColor("textSeparator.foreground", { light: "#0000002e", dark: "#ffffff2e", hcDark: editorWorkerHost.Color.black, hcLight: "#292929" }, editorWorkerHost.localize(1809, "Color for text separators."));
|
|
18197
|
+
registerColor("textPreformat.foreground", { light: "#A31515", dark: "#D7BA7D", hcDark: "#FFFFFF", hcLight: "#FFFFFF" }, editorWorkerHost.localize(1810, "Foreground color for preformatted text segments."));
|
|
18198
|
+
registerColor("textPreformat.background", { light: "#0000001A", dark: "#FFFFFF1A", hcDark: null, hcLight: "#09345f" }, editorWorkerHost.localize(1811, "Background color for preformatted text segments."));
|
|
18199
|
+
registerColor("textPreformat.border", { light: null, dark: null, hcDark: contrastBorder, hcLight: null }, editorWorkerHost.localize(1812, "Border color for preformatted text segments."));
|
|
18200
|
+
registerColor("textBlockQuote.background", { light: "#f2f2f2", dark: "#222222", hcDark: null, hcLight: "#F2F2F2" }, editorWorkerHost.localize(1813, "Background color for block quotes in text."));
|
|
18201
|
+
registerColor("textBlockQuote.border", { light: "#007acc80", dark: "#007acc80", hcDark: editorWorkerHost.Color.white, hcLight: "#292929" }, editorWorkerHost.localize(1814, "Border color for block quotes in text."));
|
|
18202
|
+
registerColor("textCodeBlock.background", { light: "#dcdcdc66", dark: "#0a0a0a66", hcDark: editorWorkerHost.Color.black, hcLight: "#F2F2F2" }, editorWorkerHost.localize(1815, "Background color for code blocks in text."));
|
|
18203
|
+
registerColor("sash.hoverBorder", focusBorder, editorWorkerHost.localize(2021, "Border color of active sashes."));
|
|
18204
|
+
const badgeBackground = registerColor("badge.background", { dark: "#4D4D4D", light: "#C4C4C4", hcDark: editorWorkerHost.Color.black, hcLight: "#0F4A85" }, editorWorkerHost.localize(2022, "Badge background color. Badges are small information labels, e.g. for search results count."));
|
|
18205
|
+
const badgeForeground = registerColor("badge.foreground", { dark: editorWorkerHost.Color.white, light: "#333", hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(2023, "Badge foreground color. Badges are small information labels, e.g. for search results count."));
|
|
18206
|
+
registerColor("activityWarningBadge.foreground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(2024, "Foreground color of the warning activity badge"));
|
|
18207
|
+
registerColor("activityWarningBadge.background", { dark: "#B27C00", light: "#B27C00", hcDark: null, hcLight: "#B27C00" }, editorWorkerHost.localize(2025, "Background color of the warning activity badge"));
|
|
18208
|
+
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(2026, "Foreground color of the error activity badge"));
|
|
18209
|
+
registerColor("activityErrorBadge.background", { dark: "#F14C4C", light: "#E51400", hcDark: null, hcLight: "#F14C4C" }, editorWorkerHost.localize(2027, "Background color of the error activity badge"));
|
|
18210
|
+
const scrollbarShadow = registerColor("scrollbar.shadow", { dark: "#000000", light: "#DDDDDD", hcDark: null, hcLight: null }, editorWorkerHost.localize(2028, "Scrollbar shadow to indicate that the view is scrolled."));
|
|
18211
|
+
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(2029, "Scrollbar slider background color."));
|
|
18212
|
+
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(2030, "Scrollbar slider background color when hovering."));
|
|
18213
|
+
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(2031, "Scrollbar slider background color when clicked on."));
|
|
18214
|
+
registerColor("scrollbar.background", null, editorWorkerHost.localize(2032, "Scrollbar track background color."));
|
|
18215
|
+
const progressBarBackground = registerColor("progressBar.background", { dark: editorWorkerHost.Color.fromHex("#0E70C0"), light: editorWorkerHost.Color.fromHex("#0E70C0"), hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2033, "Background color of the progress bar that can show for long running operations."));
|
|
18216
|
+
registerColor("chart.line", { dark: "#236B8E", light: "#236B8E", hcDark: "#236B8E", hcLight: "#236B8E" }, editorWorkerHost.localize(2034, "Line color for the chart."));
|
|
18217
|
+
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(2035, "Axis color for the chart."));
|
|
18218
|
+
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(2036, "Guide line for the chart."));
|
|
18219
|
+
const editorBackground = registerColor("editor.background", { light: "#ffffff", dark: "#1E1E1E", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1824, "Editor background color."));
|
|
18220
|
+
const editorForeground = registerColor("editor.foreground", { light: "#333333", dark: "#BBBBBB", hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(1825, "Editor default foreground color."));
|
|
18221
|
+
registerColor("editorStickyScroll.background", editorBackground, editorWorkerHost.localize(1826, "Background color of sticky scroll in the editor"));
|
|
18222
|
+
registerColor("editorStickyScrollGutter.background", editorBackground, editorWorkerHost.localize(1827, "Background color of the gutter part of sticky scroll in the editor"));
|
|
18223
|
+
registerColor("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(1828, "Background color of sticky scroll on hover in the editor"));
|
|
18224
|
+
registerColor("editorStickyScroll.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1829, "Border color of sticky scroll in the editor"));
|
|
18225
|
+
registerColor("editorStickyScroll.shadow", scrollbarShadow, editorWorkerHost.localize(1830, " Shadow color of sticky scroll in the editor"));
|
|
18226
|
+
const editorWidgetBackground = registerColor("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1831, "Background color of editor widgets, such as find/replace."));
|
|
18227
|
+
const editorWidgetForeground = registerColor("editorWidget.foreground", foreground, editorWorkerHost.localize(1832, "Foreground color of editor widgets, such as find/replace."));
|
|
18228
|
+
const editorWidgetBorder = registerColor("editorWidget.border", { dark: "#454545", light: "#C8C8C8", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1833, "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."));
|
|
18229
|
+
registerColor("editorWidget.resizeBorder", null, editorWorkerHost.localize(1834, "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."));
|
|
18230
|
+
registerColor("editorError.background", null, editorWorkerHost.localize(1835, "Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18231
|
+
const editorErrorForeground = registerColor("editorError.foreground", { dark: "#F14C4C", light: "#E51400", hcDark: "#F48771", hcLight: "#B5200D" }, editorWorkerHost.localize(1836, "Foreground color of error squigglies in the editor."));
|
|
18232
|
+
const editorErrorBorder = registerColor("editorError.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#E47777").transparent(0.8), hcLight: "#B5200D" }, editorWorkerHost.localize(1837, "If set, color of double underlines for errors in the editor."));
|
|
18233
|
+
const editorWarningBackground = registerColor("editorWarning.background", null, editorWorkerHost.localize(1838, "Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18234
|
+
const editorWarningForeground = registerColor("editorWarning.foreground", { dark: "#CCA700", light: "#BF8803", hcDark: "#FFD370", hcLight: "#895503" }, editorWorkerHost.localize(1839, "Foreground color of warning squigglies in the editor."));
|
|
18235
|
+
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(1840, "If set, color of double underlines for warnings in the editor."));
|
|
18236
|
+
registerColor("editorInfo.background", null, editorWorkerHost.localize(1841, "Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18237
|
+
const editorInfoForeground = registerColor("editorInfo.foreground", { dark: "#59a4f9", light: "#0063d3", hcDark: "#59a4f9", hcLight: "#0063d3" }, editorWorkerHost.localize(1842, "Foreground color of info squigglies in the editor."));
|
|
18238
|
+
const editorInfoBorder = registerColor("editorInfo.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#59a4f9").transparent(0.8), hcLight: "#292929" }, editorWorkerHost.localize(1843, "If set, color of double underlines for infos in the editor."));
|
|
18239
|
+
const editorHintForeground = registerColor("editorHint.foreground", { dark: editorWorkerHost.Color.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, editorWorkerHost.localize(1844, "Foreground color of hint squigglies in the editor."));
|
|
18240
|
+
registerColor("editorHint.border", { dark: null, light: null, hcDark: editorWorkerHost.Color.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, editorWorkerHost.localize(1845, "If set, color of double underlines for hints in the editor."));
|
|
18241
|
+
const editorActiveLinkForeground = registerColor("editorLink.activeForeground", { dark: "#4E94CE", light: editorWorkerHost.Color.blue, hcDark: editorWorkerHost.Color.cyan, hcLight: "#292929" }, editorWorkerHost.localize(1846, "Color of active links."));
|
|
18242
|
+
const editorSelectionBackground = registerColor("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, editorWorkerHost.localize(1847, "Color of the editor selection."));
|
|
18243
|
+
const editorSelectionForeground = registerColor("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1848, "Color of the selected text for high contrast."));
|
|
18244
|
+
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(1849, "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18245
|
+
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(1850, "Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18246
|
+
registerColor("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1851, "Border color for regions with the same content as the selection."));
|
|
18247
|
+
registerColor("editor.compositionBorder", { light: "#000000", dark: "#ffffff", hcLight: "#000000", hcDark: "#ffffff" }, editorWorkerHost.localize(1852, "The border color for an IME composition."));
|
|
18248
|
+
registerColor("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, editorWorkerHost.localize(1853, "Color of the current search match."));
|
|
18249
|
+
const editorFindMatchForeground = registerColor("editor.findMatchForeground", null, editorWorkerHost.localize(1854, "Text color of the current search match."));
|
|
18250
|
+
const editorFindMatchHighlight = registerColor("editor.findMatchHighlightBackground", { light: "#EA5C0055", dark: "#EA5C0055", hcDark: null, hcLight: null }, editorWorkerHost.localize(1855, "Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18251
|
+
const editorFindMatchHighlightForeground = registerColor("editor.findMatchHighlightForeground", null, editorWorkerHost.localize(1856, "Foreground color of the other search matches."), true);
|
|
18252
|
+
registerColor("editor.findRangeHighlightBackground", { dark: "#3a3d4166", light: "#b4b4b44d", hcDark: null, hcLight: null }, editorWorkerHost.localize(1857, "Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18253
|
+
registerColor("editor.findMatchBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1858, "Border color of the current search match."));
|
|
18254
|
+
const editorFindMatchHighlightBorder = registerColor("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1859, "Border color of the other search matches."));
|
|
18255
|
+
const editorFindRangeHighlightBorder = registerColor("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark: transparent(activeContrastBorder, 0.4), hcLight: transparent(activeContrastBorder, 0.4) }, editorWorkerHost.localize(1860, "Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18256
|
+
registerColor("editor.hoverHighlightBackground", { light: "#ADD6FF26", dark: "#264f7840", hcDark: "#ADD6FF26", hcLight: null }, editorWorkerHost.localize(1861, "Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18257
|
+
const editorHoverBackground = registerColor("editorHoverWidget.background", editorWidgetBackground, editorWorkerHost.localize(1862, "Background color of the editor hover."));
|
|
18258
|
+
const editorHoverForeground = registerColor("editorHoverWidget.foreground", editorWidgetForeground, editorWorkerHost.localize(1863, "Foreground color of the editor hover."));
|
|
18259
|
+
const editorHoverBorder = registerColor("editorHoverWidget.border", editorWidgetBorder, editorWorkerHost.localize(1864, "Border color of the editor hover."));
|
|
18260
|
+
registerColor("editorHoverWidget.statusBarBackground", { dark: lighten(editorHoverBackground, 0.2), light: darken(editorHoverBackground, 0.05), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, editorWorkerHost.localize(1865, "Background color of the editor hover status bar."));
|
|
18261
|
+
const editorInlayHintForeground = registerColor("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark: editorWorkerHost.Color.white, hcLight: editorWorkerHost.Color.black }, editorWorkerHost.localize(1866, "Foreground color of inline hints"));
|
|
18262
|
+
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(1867, "Background color of inline hints"));
|
|
18263
|
+
const editorInlayHintTypeForeground = registerColor("editorInlayHint.typeForeground", editorInlayHintForeground, editorWorkerHost.localize(1868, "Foreground color of inline hints for types"));
|
|
18264
|
+
const editorInlayHintTypeBackground = registerColor("editorInlayHint.typeBackground", editorInlayHintBackground, editorWorkerHost.localize(1869, "Background color of inline hints for types"));
|
|
18265
|
+
const editorInlayHintParameterForeground = registerColor("editorInlayHint.parameterForeground", editorInlayHintForeground, editorWorkerHost.localize(1870, "Foreground color of inline hints for parameters"));
|
|
18266
|
+
const editorInlayHintParameterBackground = registerColor("editorInlayHint.parameterBackground", editorInlayHintBackground, editorWorkerHost.localize(1871, "Background color of inline hints for parameters"));
|
|
18267
|
+
const editorLightBulbForeground = registerColor("editorLightBulb.foreground", { dark: "#FFCC00", light: "#DDB100", hcDark: "#FFCC00", hcLight: "#007ACC" }, editorWorkerHost.localize(1872, "The color used for the lightbulb actions icon."));
|
|
18268
|
+
registerColor("editorLightBulbAutoFix.foreground", { dark: "#75BEFF", light: "#007ACC", hcDark: "#75BEFF", hcLight: "#007ACC" }, editorWorkerHost.localize(1873, "The color used for the lightbulb auto fix actions icon."));
|
|
18269
|
+
registerColor("editorLightBulbAi.foreground", editorLightBulbForeground, editorWorkerHost.localize(1874, "The color used for the lightbulb AI icon."));
|
|
18270
|
+
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(1875, "Highlight background color of a snippet tabstop."));
|
|
18271
|
+
registerColor("editor.snippetTabstopHighlightBorder", null, editorWorkerHost.localize(1876, "Highlight border color of a snippet tabstop."));
|
|
18272
|
+
registerColor("editor.snippetFinalTabstopHighlightBackground", null, editorWorkerHost.localize(1877, "Highlight background color of the final tabstop of a snippet."));
|
|
18273
|
+
registerColor("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new editorWorkerHost.Color(new editorWorkerHost.RGBA(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, editorWorkerHost.localize(1878, "Highlight border color of the final tabstop of a snippet."));
|
|
18273
18274
|
const defaultInsertColor = new editorWorkerHost.Color(new editorWorkerHost.RGBA(155, 185, 85, 0.2));
|
|
18274
18275
|
const defaultRemoveColor = new editorWorkerHost.Color(new editorWorkerHost.RGBA(255, 0, 0, 0.2));
|
|
18275
|
-
const diffInserted = registerColor("diffEditor.insertedTextBackground", { dark: "#9ccc2c33", light: "#9ccc2c40", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18276
|
-
const diffRemoved = registerColor("diffEditor.removedTextBackground", { dark: "#ff000033", light: "#ff000033", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18277
|
-
const diffInsertedLine = registerColor("diffEditor.insertedLineBackground", { dark: defaultInsertColor, light: defaultInsertColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18278
|
-
registerColor("diffEditor.removedLineBackground", { dark: defaultRemoveColor, light: defaultRemoveColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18279
|
-
registerColor("diffEditorGutter.insertedLineBackground", null, editorWorkerHost.localize(
|
|
18280
|
-
registerColor("diffEditorGutter.removedLineBackground", null, editorWorkerHost.localize(
|
|
18281
|
-
const diffOverviewRulerInserted = registerColor("diffEditorOverview.insertedForeground", null, editorWorkerHost.localize(
|
|
18282
|
-
const diffOverviewRulerRemoved = registerColor("diffEditorOverview.removedForeground", null, editorWorkerHost.localize(
|
|
18283
|
-
registerColor("diffEditor.insertedTextBorder", { dark: null, light: null, hcDark: "#33ff2eff", hcLight: "#374E06" }, editorWorkerHost.localize(
|
|
18284
|
-
registerColor("diffEditor.removedTextBorder", { dark: null, light: null, hcDark: "#FF008F", hcLight: "#AD0707" }, editorWorkerHost.localize(
|
|
18285
|
-
registerColor("diffEditor.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18286
|
-
registerColor("diffEditor.diagonalFill", { dark: "#cccccc33", light: "#22222233", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18287
|
-
registerColor("diffEditor.unchangedRegionBackground", "sideBar.background", editorWorkerHost.localize(
|
|
18288
|
-
registerColor("diffEditor.unchangedRegionForeground", "foreground", editorWorkerHost.localize(
|
|
18289
|
-
registerColor("diffEditor.unchangedCodeBackground", { dark: "#74747429", light: "#b8b8b829", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18290
|
-
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(
|
|
18291
|
-
const widgetBorder = registerColor("widget.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18292
|
-
const toolbarHoverBackground = registerColor("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18293
|
-
registerColor("toolbar.hoverOutline", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18294
|
-
registerColor("toolbar.activeBackground", { dark: lighten(toolbarHoverBackground, 0.1), light: darken(toolbarHoverBackground, 0.1), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18295
|
-
const breadcrumbsForeground = registerColor("breadcrumb.foreground", transparent(foreground, 0.8), editorWorkerHost.localize(
|
|
18296
|
-
const breadcrumbsBackground = registerColor("breadcrumb.background", editorBackground, editorWorkerHost.localize(
|
|
18297
|
-
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(
|
|
18298
|
-
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(
|
|
18299
|
-
registerColor("breadcrumbPicker.background", editorWidgetBackground, editorWorkerHost.localize(
|
|
18276
|
+
const diffInserted = registerColor("diffEditor.insertedTextBackground", { dark: "#9ccc2c33", light: "#9ccc2c40", hcDark: null, hcLight: null }, editorWorkerHost.localize(1879, "Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18277
|
+
const diffRemoved = registerColor("diffEditor.removedTextBackground", { dark: "#ff000033", light: "#ff000033", hcDark: null, hcLight: null }, editorWorkerHost.localize(1880, "Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18278
|
+
const diffInsertedLine = registerColor("diffEditor.insertedLineBackground", { dark: defaultInsertColor, light: defaultInsertColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1881, "Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18279
|
+
registerColor("diffEditor.removedLineBackground", { dark: defaultRemoveColor, light: defaultRemoveColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1882, "Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18280
|
+
registerColor("diffEditorGutter.insertedLineBackground", null, editorWorkerHost.localize(1883, "Background color for the margin where lines got inserted."));
|
|
18281
|
+
registerColor("diffEditorGutter.removedLineBackground", null, editorWorkerHost.localize(1884, "Background color for the margin where lines got removed."));
|
|
18282
|
+
const diffOverviewRulerInserted = registerColor("diffEditorOverview.insertedForeground", null, editorWorkerHost.localize(1885, "Diff overview ruler foreground for inserted content."));
|
|
18283
|
+
const diffOverviewRulerRemoved = registerColor("diffEditorOverview.removedForeground", null, editorWorkerHost.localize(1886, "Diff overview ruler foreground for removed content."));
|
|
18284
|
+
registerColor("diffEditor.insertedTextBorder", { dark: null, light: null, hcDark: "#33ff2eff", hcLight: "#374E06" }, editorWorkerHost.localize(1887, "Outline color for the text that got inserted."));
|
|
18285
|
+
registerColor("diffEditor.removedTextBorder", { dark: null, light: null, hcDark: "#FF008F", hcLight: "#AD0707" }, editorWorkerHost.localize(1888, "Outline color for text that got removed."));
|
|
18286
|
+
registerColor("diffEditor.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1889, "Border color between the two text editors."));
|
|
18287
|
+
registerColor("diffEditor.diagonalFill", { dark: "#cccccc33", light: "#22222233", hcDark: null, hcLight: null }, editorWorkerHost.localize(1890, "Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views."));
|
|
18288
|
+
registerColor("diffEditor.unchangedRegionBackground", "sideBar.background", editorWorkerHost.localize(1891, "The background color of unchanged blocks in the diff editor."));
|
|
18289
|
+
registerColor("diffEditor.unchangedRegionForeground", "foreground", editorWorkerHost.localize(1892, "The foreground color of unchanged blocks in the diff editor."));
|
|
18290
|
+
registerColor("diffEditor.unchangedCodeBackground", { dark: "#74747429", light: "#b8b8b829", hcDark: null, hcLight: null }, editorWorkerHost.localize(1893, "The background color of unchanged code in the diff editor."));
|
|
18291
|
+
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(1894, "Shadow color of widgets such as find/replace inside the editor."));
|
|
18292
|
+
const widgetBorder = registerColor("widget.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1895, "Border color of widgets such as find/replace inside the editor."));
|
|
18293
|
+
const toolbarHoverBackground = registerColor("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, editorWorkerHost.localize(1896, "Toolbar background when hovering over actions using the mouse"));
|
|
18294
|
+
registerColor("toolbar.hoverOutline", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1897, "Toolbar outline when hovering over actions using the mouse"));
|
|
18295
|
+
registerColor("toolbar.activeBackground", { dark: lighten(toolbarHoverBackground, 0.1), light: darken(toolbarHoverBackground, 0.1), hcDark: null, hcLight: null }, editorWorkerHost.localize(1898, "Toolbar background when holding the mouse over actions"));
|
|
18296
|
+
const breadcrumbsForeground = registerColor("breadcrumb.foreground", transparent(foreground, 0.8), editorWorkerHost.localize(1899, "Color of focused breadcrumb items."));
|
|
18297
|
+
const breadcrumbsBackground = registerColor("breadcrumb.background", editorBackground, editorWorkerHost.localize(1900, "Background color of breadcrumb items."));
|
|
18298
|
+
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(1901, "Color of focused breadcrumb items."));
|
|
18299
|
+
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(1902, "Color of selected breadcrumb items."));
|
|
18300
|
+
registerColor("breadcrumbPicker.background", editorWidgetBackground, editorWorkerHost.localize(1903, "Background color of breadcrumb item picker."));
|
|
18300
18301
|
const headerTransparency = 0.5;
|
|
18301
18302
|
const currentBaseColor = editorWorkerHost.Color.fromHex("#40C8AE").transparent(headerTransparency);
|
|
18302
18303
|
const incomingBaseColor = editorWorkerHost.Color.fromHex("#40A6FF").transparent(headerTransparency);
|
|
18303
18304
|
const commonBaseColor = editorWorkerHost.Color.fromHex("#606060").transparent(0.4);
|
|
18304
18305
|
const contentTransparency = 0.4;
|
|
18305
18306
|
const rulerTransparency = 1;
|
|
18306
|
-
const mergeCurrentHeaderBackground = registerColor("merge.currentHeaderBackground", { dark: currentBaseColor, light: currentBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18307
|
-
registerColor("merge.currentContentBackground", transparent(mergeCurrentHeaderBackground, contentTransparency), editorWorkerHost.localize(
|
|
18308
|
-
const mergeIncomingHeaderBackground = registerColor("merge.incomingHeaderBackground", { dark: incomingBaseColor, light: incomingBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18309
|
-
registerColor("merge.incomingContentBackground", transparent(mergeIncomingHeaderBackground, contentTransparency), editorWorkerHost.localize(
|
|
18310
|
-
const mergeCommonHeaderBackground = registerColor("merge.commonHeaderBackground", { dark: commonBaseColor, light: commonBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18311
|
-
registerColor("merge.commonContentBackground", transparent(mergeCommonHeaderBackground, contentTransparency), editorWorkerHost.localize(
|
|
18312
|
-
const mergeBorder = registerColor("merge.border", { dark: null, light: null, hcDark: "#C3DF6F", hcLight: "#007ACC" }, editorWorkerHost.localize(
|
|
18313
|
-
registerColor("editorOverviewRuler.currentContentForeground", { dark: transparent(mergeCurrentHeaderBackground, rulerTransparency), light: transparent(mergeCurrentHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(
|
|
18314
|
-
registerColor("editorOverviewRuler.incomingContentForeground", { dark: transparent(mergeIncomingHeaderBackground, rulerTransparency), light: transparent(mergeIncomingHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(
|
|
18315
|
-
registerColor("editorOverviewRuler.commonContentForeground", { dark: transparent(mergeCommonHeaderBackground, rulerTransparency), light: transparent(mergeCommonHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(
|
|
18316
|
-
const overviewRulerFindMatchForeground = registerColor("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186167e", hcDark: "#AB5A00", hcLight: "#AB5A00" }, editorWorkerHost.localize(
|
|
18317
|
-
const overviewRulerSelectionHighlightForeground = registerColor("editorOverviewRuler.selectionHighlightForeground", "#A0A0A0CC", editorWorkerHost.localize(
|
|
18318
|
-
const problemsErrorIconForeground = registerColor("problemsErrorIcon.foreground", editorErrorForeground, editorWorkerHost.localize(
|
|
18319
|
-
const problemsWarningIconForeground = registerColor("problemsWarningIcon.foreground", editorWarningForeground, editorWorkerHost.localize(
|
|
18320
|
-
const problemsInfoIconForeground = registerColor("problemsInfoIcon.foreground", editorInfoForeground, editorWorkerHost.localize(
|
|
18321
|
-
const minimapFindMatch = registerColor("minimap.findMatchHighlight", editorFindMatchHighlight, editorWorkerHost.localize(
|
|
18322
|
-
const minimapSelectionOccurrenceHighlight = registerColor("minimap.selectionOccurrenceHighlight", editorSelectionHighlight, editorWorkerHost.localize(
|
|
18323
|
-
const minimapSelection = registerColor("minimap.selectionHighlight", editorSelectionBackground, editorWorkerHost.localize(
|
|
18324
|
-
const minimapInfo = registerColor("minimap.infoHighlight", { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, editorWorkerHost.localize(
|
|
18325
|
-
const minimapWarning = registerColor("minimap.warningHighlight", { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, editorWorkerHost.localize(
|
|
18326
|
-
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(
|
|
18327
|
-
const minimapBackground = registerColor("minimap.background", null, editorWorkerHost.localize(
|
|
18328
|
-
const minimapForegroundOpacity = registerColor("minimap.foregroundOpacity", editorWorkerHost.Color.fromHex("#000f"), editorWorkerHost.localize(
|
|
18329
|
-
registerColor("minimapSlider.background", transparent(scrollbarSliderBackground, 0.5), editorWorkerHost.localize(
|
|
18330
|
-
registerColor("minimapSlider.hoverBackground", transparent(scrollbarSliderHoverBackground, 0.5), editorWorkerHost.localize(
|
|
18331
|
-
registerColor("minimapSlider.activeBackground", transparent(scrollbarSliderActiveBackground, 0.5), editorWorkerHost.localize(
|
|
18332
|
-
registerColor("charts.foreground", foreground, editorWorkerHost.localize(
|
|
18333
|
-
registerColor("charts.lines", transparent(foreground, 0.5), editorWorkerHost.localize(
|
|
18334
|
-
registerColor("charts.red", editorErrorForeground, editorWorkerHost.localize(
|
|
18335
|
-
registerColor("charts.blue", editorInfoForeground, editorWorkerHost.localize(
|
|
18336
|
-
registerColor("charts.yellow", editorWarningForeground, editorWorkerHost.localize(
|
|
18337
|
-
registerColor("charts.orange", minimapFindMatch, editorWorkerHost.localize(
|
|
18338
|
-
registerColor("charts.green", { dark: "#89D185", light: "#388A34", hcDark: "#89D185", hcLight: "#374e06" }, editorWorkerHost.localize(
|
|
18339
|
-
registerColor("charts.purple", { dark: "#B180D7", light: "#652D90", hcDark: "#B180D7", hcLight: "#652D90" }, editorWorkerHost.localize(
|
|
18340
|
-
const listFocusBackground = registerColor("list.focusBackground", null, editorWorkerHost.localize(
|
|
18341
|
-
const listFocusForeground = registerColor("list.focusForeground", null, editorWorkerHost.localize(
|
|
18342
|
-
const listFocusOutline = registerColor("list.focusOutline", { dark: focusBorder, light: focusBorder, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18343
|
-
const listFocusAndSelectionOutline = registerColor("list.focusAndSelectionOutline", null, editorWorkerHost.localize(
|
|
18344
|
-
const listActiveSelectionBackground = registerColor("list.activeSelectionBackground", { dark: "#04395E", light: "#0060C0", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(
|
|
18345
|
-
const listActiveSelectionForeground = registerColor("list.activeSelectionForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18346
|
-
const listActiveSelectionIconForeground = registerColor("list.activeSelectionIconForeground", null, editorWorkerHost.localize(
|
|
18347
|
-
const listInactiveSelectionBackground = registerColor("list.inactiveSelectionBackground", { dark: "#37373D", light: "#E4E6F1", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(
|
|
18348
|
-
const listInactiveSelectionForeground = registerColor("list.inactiveSelectionForeground", null, editorWorkerHost.localize(
|
|
18349
|
-
const listInactiveSelectionIconForeground = registerColor("list.inactiveSelectionIconForeground", null, editorWorkerHost.localize(
|
|
18350
|
-
const listInactiveFocusBackground = registerColor("list.inactiveFocusBackground", null, editorWorkerHost.localize(
|
|
18351
|
-
const listInactiveFocusOutline = registerColor("list.inactiveFocusOutline", null, editorWorkerHost.localize(
|
|
18352
|
-
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(
|
|
18353
|
-
const listHoverForeground = registerColor("list.hoverForeground", null, editorWorkerHost.localize(
|
|
18354
|
-
const listDropOverBackground = registerColor("list.dropBackground", { dark: "#062F4A", light: "#D6EBFF", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18355
|
-
const listDropBetweenBackground = registerColor("list.dropBetweenBackground", { dark: iconForeground, light: iconForeground, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18356
|
-
const listHighlightForeground = registerColor("list.highlightForeground", { dark: "#2AAAFF", light: "#0066BF", hcDark: focusBorder, hcLight: focusBorder }, editorWorkerHost.localize(
|
|
18357
|
-
const listFocusHighlightForeground = registerColor("list.focusHighlightForeground", { dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, "#BBE7FF"), hcDark: listHighlightForeground, hcLight: listHighlightForeground }, editorWorkerHost.localize(
|
|
18358
|
-
registerColor("list.invalidItemForeground", { dark: "#B89500", light: "#B89500", hcDark: "#B89500", hcLight: "#B5200D" }, editorWorkerHost.localize(
|
|
18359
|
-
registerColor("list.errorForeground", { dark: "#F88070", light: "#B01011", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18360
|
-
registerColor("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18361
|
-
const listFilterWidgetBackground = registerColor("listFilterWidget.background", { light: darken(editorWidgetBackground, 0), dark: lighten(editorWidgetBackground, 0), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, editorWorkerHost.localize(
|
|
18362
|
-
const listFilterWidgetOutline = registerColor("listFilterWidget.outline", { dark: editorWorkerHost.Color.transparent, light: editorWorkerHost.Color.transparent, hcDark: "#f38518", hcLight: "#007ACC" }, editorWorkerHost.localize(
|
|
18363
|
-
const listFilterWidgetNoMatchesOutline = registerColor("listFilterWidget.noMatchesOutline", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18364
|
-
const listFilterWidgetShadow = registerColor("listFilterWidget.shadow", widgetShadow, editorWorkerHost.localize(
|
|
18365
|
-
registerColor("list.filterMatchBackground", { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18366
|
-
registerColor("list.filterMatchBorder", { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18367
|
-
registerColor("list.deemphasizedForeground", { dark: "#8C8C8C", light: "#8E8E90", hcDark: "#A7A8A9", hcLight: "#666666" }, editorWorkerHost.localize(
|
|
18368
|
-
const treeIndentGuidesStroke = registerColor("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, editorWorkerHost.localize(
|
|
18369
|
-
const treeInactiveIndentGuidesStroke = registerColor("tree.inactiveIndentGuidesStroke", transparent(treeIndentGuidesStroke, 0.4), editorWorkerHost.localize(
|
|
18370
|
-
const tableColumnsBorder = registerColor("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18371
|
-
const tableOddRowsBackgroundColor = registerColor("tree.tableOddRowsBackground", { dark: transparent(foreground, 0.04), light: transparent(foreground, 0.04), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18372
|
-
registerColor("editorActionList.background", editorWidgetBackground, editorWorkerHost.localize(
|
|
18373
|
-
const editorActionListForeground = registerColor("editorActionList.foreground", editorWidgetForeground, editorWorkerHost.localize(
|
|
18374
|
-
registerColor("editorActionList.focusForeground", listActiveSelectionForeground, editorWorkerHost.localize(
|
|
18375
|
-
registerColor("editorActionList.focusBackground", listActiveSelectionBackground, editorWorkerHost.localize(
|
|
18376
|
-
const inputBackground = registerColor("input.background", { dark: "#3C3C3C", light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18377
|
-
const inputForeground = registerColor("input.foreground", foreground, editorWorkerHost.localize(
|
|
18378
|
-
const inputBorder = registerColor("input.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18379
|
-
const inputActiveOptionBorder = registerColor("inputOption.activeBorder", { dark: "#007ACC", light: "#007ACC", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18380
|
-
const inputActiveOptionHoverBackground = registerColor("inputOption.hoverBackground", { dark: "#5a5d5e80", light: "#b8b8b850", hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18381
|
-
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(
|
|
18382
|
-
const inputActiveOptionForeground = registerColor("inputOption.activeForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.black, hcDark: foreground, hcLight: foreground }, editorWorkerHost.localize(
|
|
18383
|
-
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(
|
|
18384
|
-
const inputValidationInfoBackground = registerColor("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18385
|
-
const inputValidationInfoForeground = registerColor("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(
|
|
18386
|
-
const inputValidationInfoBorder = registerColor("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18387
|
-
const inputValidationWarningBackground = registerColor("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18388
|
-
const inputValidationWarningForeground = registerColor("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(
|
|
18389
|
-
const inputValidationWarningBorder = registerColor("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18390
|
-
const inputValidationErrorBackground = registerColor("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18391
|
-
const inputValidationErrorForeground = registerColor("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(
|
|
18392
|
-
const inputValidationErrorBorder = registerColor("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18393
|
-
const selectBackground = registerColor("dropdown.background", { dark: "#3C3C3C", light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18394
|
-
const selectListBackground = registerColor("dropdown.listBackground", { dark: null, light: null, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18395
|
-
const selectForeground = registerColor("dropdown.foreground", { dark: "#F0F0F0", light: foreground, hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(
|
|
18396
|
-
const selectBorder = registerColor("dropdown.border", { dark: selectBackground, light: "#CECECE", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18397
|
-
const buttonForeground = registerColor("button.foreground", editorWorkerHost.Color.white, editorWorkerHost.localize(
|
|
18398
|
-
const buttonSeparator = registerColor("button.separator", transparent(buttonForeground, 0.4), editorWorkerHost.localize(
|
|
18399
|
-
const buttonBackground = registerColor("button.background", { dark: "#0E639C", light: "#007ACC", hcDark: editorWorkerHost.Color.black, hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18400
|
-
const buttonHoverBackground = registerColor("button.hoverBackground", { dark: lighten(buttonBackground, 0.2), light: darken(buttonBackground, 0.2), hcDark: buttonBackground, hcLight: buttonBackground }, editorWorkerHost.localize(
|
|
18401
|
-
const buttonBorder = registerColor("button.border", contrastBorder, editorWorkerHost.localize(
|
|
18402
|
-
const buttonSecondaryForeground = registerColor("button.secondaryForeground", { dark: foreground, light: foreground, hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(
|
|
18403
|
-
const buttonSecondaryBackground = registerColor("button.secondaryBackground", { dark: listHoverBackground, light: listHoverBackground, hcDark: null, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(
|
|
18404
|
-
registerColor("button.secondaryBorder", contrastBorder, editorWorkerHost.localize(
|
|
18405
|
-
const buttonSecondaryHoverBackground = registerColor("button.secondaryHoverBackground", { dark: lighten(listHoverBackground, 0.2), light: lighten(listHoverBackground, 0.2), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18406
|
-
const radioActiveForeground = registerColor("radio.activeForeground", inputActiveOptionForeground, editorWorkerHost.localize(
|
|
18407
|
-
const radioActiveBackground = registerColor("radio.activeBackground", inputActiveOptionBackground, editorWorkerHost.localize(
|
|
18408
|
-
const radioActiveBorder = registerColor("radio.activeBorder", inputActiveOptionBorder, editorWorkerHost.localize(
|
|
18409
|
-
const radioInactiveForeground = registerColor("radio.inactiveForeground", null, editorWorkerHost.localize(
|
|
18410
|
-
const radioInactiveBackground = registerColor("radio.inactiveBackground", null, editorWorkerHost.localize(
|
|
18411
|
-
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(
|
|
18412
|
-
const radioInactiveHoverBackground = registerColor("radio.inactiveHoverBackground", inputActiveOptionHoverBackground, editorWorkerHost.localize(
|
|
18413
|
-
const checkboxBackground = registerColor("checkbox.background", selectBackground, editorWorkerHost.localize(
|
|
18414
|
-
registerColor("checkbox.selectBackground", editorWidgetBackground, editorWorkerHost.localize(
|
|
18415
|
-
const checkboxForeground = registerColor("checkbox.foreground", selectForeground, editorWorkerHost.localize(
|
|
18416
|
-
const checkboxBorder = registerColor("checkbox.border", selectBorder, editorWorkerHost.localize(
|
|
18417
|
-
registerColor("checkbox.selectBorder", iconForeground, editorWorkerHost.localize(
|
|
18418
|
-
const checkboxDisabledBackground = registerColor("checkbox.disabled.background", { op: 7, color: checkboxBackground, with: checkboxForeground, ratio: 0.33 }, editorWorkerHost.localize(
|
|
18419
|
-
const checkboxDisabledForeground = registerColor("checkbox.disabled.foreground", { op: 7, color: checkboxForeground, with: checkboxBackground, ratio: 0.33 }, editorWorkerHost.localize(
|
|
18420
|
-
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(
|
|
18421
|
-
const keybindingLabelForeground = registerColor("keybindingLabel.foreground", { dark: editorWorkerHost.Color.fromHex("#CCCCCC"), light: editorWorkerHost.Color.fromHex("#555555"), hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(
|
|
18422
|
-
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(
|
|
18423
|
-
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(
|
|
18424
|
-
const menuBorder = registerColor("menu.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18425
|
-
const menuForeground = registerColor("menu.foreground", selectForeground, editorWorkerHost.localize(
|
|
18426
|
-
const menuBackground = registerColor("menu.background", selectBackground, editorWorkerHost.localize(
|
|
18427
|
-
const menuSelectionForeground = registerColor("menu.selectionForeground", listActiveSelectionForeground, editorWorkerHost.localize(
|
|
18428
|
-
const menuSelectionBackground = registerColor("menu.selectionBackground", listActiveSelectionBackground, editorWorkerHost.localize(
|
|
18429
|
-
const menuSelectionBorder = registerColor("menu.selectionBorder", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(
|
|
18430
|
-
const menuSeparatorBackground = registerColor("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(
|
|
18431
|
-
const quickInputBackground = registerColor("quickInput.background", editorWidgetBackground, editorWorkerHost.localize(
|
|
18432
|
-
const quickInputForeground = registerColor("quickInput.foreground", editorWidgetForeground, editorWorkerHost.localize(
|
|
18433
|
-
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(
|
|
18434
|
-
const pickerGroupForeground = registerColor("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: editorWorkerHost.Color.white, hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18435
|
-
const pickerGroupBorder = registerColor("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: editorWorkerHost.Color.white, hcLight: "#0F4A85" }, editorWorkerHost.localize(
|
|
18436
|
-
const _deprecatedQuickInputListFocusBackground = registerColor("quickInput.list.focusBackground", null, "", void 0, editorWorkerHost.localize(
|
|
18437
|
-
const quickInputListFocusForeground = registerColor("quickInputList.focusForeground", listActiveSelectionForeground, editorWorkerHost.localize(
|
|
18438
|
-
const quickInputListFocusIconForeground = registerColor("quickInputList.focusIconForeground", listActiveSelectionIconForeground, editorWorkerHost.localize(
|
|
18439
|
-
const quickInputListFocusBackground = registerColor("quickInputList.focusBackground", { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, editorWorkerHost.localize(
|
|
18440
|
-
registerColor("search.resultsInfoForeground", { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, editorWorkerHost.localize(
|
|
18441
|
-
registerColor("searchEditor.findMatchBackground", { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, editorWorkerHost.localize(
|
|
18442
|
-
registerColor("searchEditor.findMatchBorder", { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, editorWorkerHost.localize(
|
|
18307
|
+
const mergeCurrentHeaderBackground = registerColor("merge.currentHeaderBackground", { dark: currentBaseColor, light: currentBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1904, "Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18308
|
+
registerColor("merge.currentContentBackground", transparent(mergeCurrentHeaderBackground, contentTransparency), editorWorkerHost.localize(1905, "Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18309
|
+
const mergeIncomingHeaderBackground = registerColor("merge.incomingHeaderBackground", { dark: incomingBaseColor, light: incomingBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1906, "Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18310
|
+
registerColor("merge.incomingContentBackground", transparent(mergeIncomingHeaderBackground, contentTransparency), editorWorkerHost.localize(1907, "Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18311
|
+
const mergeCommonHeaderBackground = registerColor("merge.commonHeaderBackground", { dark: commonBaseColor, light: commonBaseColor, hcDark: null, hcLight: null }, editorWorkerHost.localize(1908, "Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18312
|
+
registerColor("merge.commonContentBackground", transparent(mergeCommonHeaderBackground, contentTransparency), editorWorkerHost.localize(1909, "Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18313
|
+
const mergeBorder = registerColor("merge.border", { dark: null, light: null, hcDark: "#C3DF6F", hcLight: "#007ACC" }, editorWorkerHost.localize(1910, "Border color on headers and the splitter in inline merge-conflicts."));
|
|
18314
|
+
registerColor("editorOverviewRuler.currentContentForeground", { dark: transparent(mergeCurrentHeaderBackground, rulerTransparency), light: transparent(mergeCurrentHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(1911, "Current overview ruler foreground for inline merge-conflicts."));
|
|
18315
|
+
registerColor("editorOverviewRuler.incomingContentForeground", { dark: transparent(mergeIncomingHeaderBackground, rulerTransparency), light: transparent(mergeIncomingHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(1912, "Incoming overview ruler foreground for inline merge-conflicts."));
|
|
18316
|
+
registerColor("editorOverviewRuler.commonContentForeground", { dark: transparent(mergeCommonHeaderBackground, rulerTransparency), light: transparent(mergeCommonHeaderBackground, rulerTransparency), hcDark: mergeBorder, hcLight: mergeBorder }, editorWorkerHost.localize(1913, "Common ancestor overview ruler foreground for inline merge-conflicts."));
|
|
18317
|
+
const overviewRulerFindMatchForeground = registerColor("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d186167e", hcDark: "#AB5A00", hcLight: "#AB5A00" }, editorWorkerHost.localize(1914, "Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18318
|
+
const overviewRulerSelectionHighlightForeground = registerColor("editorOverviewRuler.selectionHighlightForeground", "#A0A0A0CC", editorWorkerHost.localize(1915, "Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
18319
|
+
const problemsErrorIconForeground = registerColor("problemsErrorIcon.foreground", editorErrorForeground, editorWorkerHost.localize(1916, "The color used for the problems error icon."));
|
|
18320
|
+
const problemsWarningIconForeground = registerColor("problemsWarningIcon.foreground", editorWarningForeground, editorWorkerHost.localize(1917, "The color used for the problems warning icon."));
|
|
18321
|
+
const problemsInfoIconForeground = registerColor("problemsInfoIcon.foreground", editorInfoForeground, editorWorkerHost.localize(1918, "The color used for the problems info icon."));
|
|
18322
|
+
const minimapFindMatch = registerColor("minimap.findMatchHighlight", editorFindMatchHighlight, editorWorkerHost.localize(2010, "Minimap marker color for find matches."), true);
|
|
18323
|
+
const minimapSelectionOccurrenceHighlight = registerColor("minimap.selectionOccurrenceHighlight", editorSelectionHighlight, editorWorkerHost.localize(2011, "Minimap marker color for repeating editor selections."), true);
|
|
18324
|
+
const minimapSelection = registerColor("minimap.selectionHighlight", editorSelectionBackground, editorWorkerHost.localize(2012, "Minimap marker color for the editor selection."), true);
|
|
18325
|
+
const minimapInfo = registerColor("minimap.infoHighlight", { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, editorWorkerHost.localize(2013, "Minimap marker color for infos."));
|
|
18326
|
+
const minimapWarning = registerColor("minimap.warningHighlight", { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, editorWorkerHost.localize(2014, "Minimap marker color for warnings."));
|
|
18327
|
+
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(2015, "Minimap marker color for errors."));
|
|
18328
|
+
const minimapBackground = registerColor("minimap.background", null, editorWorkerHost.localize(2016, "Minimap background color."));
|
|
18329
|
+
const minimapForegroundOpacity = registerColor("minimap.foregroundOpacity", editorWorkerHost.Color.fromHex("#000f"), editorWorkerHost.localize(2017, 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
|
|
18330
|
+
registerColor("minimapSlider.background", transparent(scrollbarSliderBackground, 0.5), editorWorkerHost.localize(2018, "Minimap slider background color."));
|
|
18331
|
+
registerColor("minimapSlider.hoverBackground", transparent(scrollbarSliderHoverBackground, 0.5), editorWorkerHost.localize(2019, "Minimap slider background color when hovering."));
|
|
18332
|
+
registerColor("minimapSlider.activeBackground", transparent(scrollbarSliderActiveBackground, 0.5), editorWorkerHost.localize(2020, "Minimap slider background color when clicked on."));
|
|
18333
|
+
registerColor("charts.foreground", foreground, editorWorkerHost.localize(1816, "The foreground color used in charts."));
|
|
18334
|
+
registerColor("charts.lines", transparent(foreground, 0.5), editorWorkerHost.localize(1817, "The color used for horizontal lines in charts."));
|
|
18335
|
+
registerColor("charts.red", editorErrorForeground, editorWorkerHost.localize(1818, "The red color used in chart visualizations."));
|
|
18336
|
+
registerColor("charts.blue", editorInfoForeground, editorWorkerHost.localize(1819, "The blue color used in chart visualizations."));
|
|
18337
|
+
registerColor("charts.yellow", editorWarningForeground, editorWorkerHost.localize(1820, "The yellow color used in chart visualizations."));
|
|
18338
|
+
registerColor("charts.orange", minimapFindMatch, editorWorkerHost.localize(1821, "The orange color used in chart visualizations."));
|
|
18339
|
+
registerColor("charts.green", { dark: "#89D185", light: "#388A34", hcDark: "#89D185", hcLight: "#374e06" }, editorWorkerHost.localize(1822, "The green color used in chart visualizations."));
|
|
18340
|
+
registerColor("charts.purple", { dark: "#B180D7", light: "#652D90", hcDark: "#B180D7", hcLight: "#652D90" }, editorWorkerHost.localize(1823, "The purple color used in chart visualizations."));
|
|
18341
|
+
const listFocusBackground = registerColor("list.focusBackground", null, editorWorkerHost.localize(1967, "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."));
|
|
18342
|
+
const listFocusForeground = registerColor("list.focusForeground", null, editorWorkerHost.localize(1968, "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."));
|
|
18343
|
+
const listFocusOutline = registerColor("list.focusOutline", { dark: focusBorder, light: focusBorder, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1969, "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."));
|
|
18344
|
+
const listFocusAndSelectionOutline = registerColor("list.focusAndSelectionOutline", null, editorWorkerHost.localize(1970, "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."));
|
|
18345
|
+
const listActiveSelectionBackground = registerColor("list.activeSelectionBackground", { dark: "#04395E", light: "#0060C0", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(1971, "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."));
|
|
18346
|
+
const listActiveSelectionForeground = registerColor("list.activeSelectionForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.white, hcDark: null, hcLight: null }, editorWorkerHost.localize(1972, "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."));
|
|
18347
|
+
const listActiveSelectionIconForeground = registerColor("list.activeSelectionIconForeground", null, editorWorkerHost.localize(1973, "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."));
|
|
18348
|
+
const listInactiveSelectionBackground = registerColor("list.inactiveSelectionBackground", { dark: "#37373D", light: "#E4E6F1", hcDark: null, hcLight: editorWorkerHost.Color.fromHex("#0F4A85").transparent(0.1) }, editorWorkerHost.localize(1974, "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."));
|
|
18349
|
+
const listInactiveSelectionForeground = registerColor("list.inactiveSelectionForeground", null, editorWorkerHost.localize(1975, "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."));
|
|
18350
|
+
const listInactiveSelectionIconForeground = registerColor("list.inactiveSelectionIconForeground", null, editorWorkerHost.localize(1976, "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."));
|
|
18351
|
+
const listInactiveFocusBackground = registerColor("list.inactiveFocusBackground", null, editorWorkerHost.localize(1977, "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."));
|
|
18352
|
+
const listInactiveFocusOutline = registerColor("list.inactiveFocusOutline", null, editorWorkerHost.localize(1978, "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."));
|
|
18353
|
+
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(1979, "List/Tree background when hovering over items using the mouse."));
|
|
18354
|
+
const listHoverForeground = registerColor("list.hoverForeground", null, editorWorkerHost.localize(1980, "List/Tree foreground when hovering over items using the mouse."));
|
|
18355
|
+
const listDropOverBackground = registerColor("list.dropBackground", { dark: "#062F4A", light: "#D6EBFF", hcDark: null, hcLight: null }, editorWorkerHost.localize(1981, "List/Tree drag and drop background when moving items over other items when using the mouse."));
|
|
18356
|
+
const listDropBetweenBackground = registerColor("list.dropBetweenBackground", { dark: iconForeground, light: iconForeground, hcDark: null, hcLight: null }, editorWorkerHost.localize(1982, "List/Tree drag and drop border color when moving items between items when using the mouse."));
|
|
18357
|
+
const listHighlightForeground = registerColor("list.highlightForeground", { dark: "#2AAAFF", light: "#0066BF", hcDark: focusBorder, hcLight: focusBorder }, editorWorkerHost.localize(1983, "List/Tree foreground color of the match highlights when searching inside the list/tree."));
|
|
18358
|
+
const listFocusHighlightForeground = registerColor("list.focusHighlightForeground", { dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, "#BBE7FF"), hcDark: listHighlightForeground, hcLight: listHighlightForeground }, editorWorkerHost.localize(1984, "List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));
|
|
18359
|
+
registerColor("list.invalidItemForeground", { dark: "#B89500", light: "#B89500", hcDark: "#B89500", hcLight: "#B5200D" }, editorWorkerHost.localize(1985, "List/Tree foreground color for invalid items, for example an unresolved root in explorer."));
|
|
18360
|
+
registerColor("list.errorForeground", { dark: "#F88070", light: "#B01011", hcDark: null, hcLight: null }, editorWorkerHost.localize(1986, "Foreground color of list items containing errors."));
|
|
18361
|
+
registerColor("list.warningForeground", { dark: "#CCA700", light: "#855F00", hcDark: null, hcLight: null }, editorWorkerHost.localize(1987, "Foreground color of list items containing warnings."));
|
|
18362
|
+
const listFilterWidgetBackground = registerColor("listFilterWidget.background", { light: darken(editorWidgetBackground, 0), dark: lighten(editorWidgetBackground, 0), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, editorWorkerHost.localize(1988, "Background color of the type filter widget in lists and trees."));
|
|
18363
|
+
const listFilterWidgetOutline = registerColor("listFilterWidget.outline", { dark: editorWorkerHost.Color.transparent, light: editorWorkerHost.Color.transparent, hcDark: "#f38518", hcLight: "#007ACC" }, editorWorkerHost.localize(1989, "Outline color of the type filter widget in lists and trees."));
|
|
18364
|
+
const listFilterWidgetNoMatchesOutline = registerColor("listFilterWidget.noMatchesOutline", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1990, "Outline color of the type filter widget in lists and trees, when there are no matches."));
|
|
18365
|
+
const listFilterWidgetShadow = registerColor("listFilterWidget.shadow", widgetShadow, editorWorkerHost.localize(1991, "Shadow color of the type filter widget in lists and trees."));
|
|
18366
|
+
registerColor("list.filterMatchBackground", { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, editorWorkerHost.localize(1992, "Background color of the filtered match."));
|
|
18367
|
+
registerColor("list.filterMatchBorder", { dark: editorFindMatchHighlightBorder, light: editorFindMatchHighlightBorder, hcDark: contrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(1993, "Border color of the filtered match."));
|
|
18368
|
+
registerColor("list.deemphasizedForeground", { dark: "#8C8C8C", light: "#8E8E90", hcDark: "#A7A8A9", hcLight: "#666666" }, editorWorkerHost.localize(1994, "List/Tree foreground color for items that are deemphasized."));
|
|
18369
|
+
const treeIndentGuidesStroke = registerColor("tree.indentGuidesStroke", { dark: "#585858", light: "#a9a9a9", hcDark: "#a9a9a9", hcLight: "#a5a5a5" }, editorWorkerHost.localize(1995, "Tree stroke color for the indentation guides."));
|
|
18370
|
+
const treeInactiveIndentGuidesStroke = registerColor("tree.inactiveIndentGuidesStroke", transparent(treeIndentGuidesStroke, 0.4), editorWorkerHost.localize(1996, "Tree stroke color for the indentation guides that are not active."));
|
|
18371
|
+
const tableColumnsBorder = registerColor("tree.tableColumnsBorder", { dark: "#CCCCCC20", light: "#61616120", hcDark: null, hcLight: null }, editorWorkerHost.localize(1997, "Table border color between columns."));
|
|
18372
|
+
const tableOddRowsBackgroundColor = registerColor("tree.tableOddRowsBackground", { dark: transparent(foreground, 0.04), light: transparent(foreground, 0.04), hcDark: null, hcLight: null }, editorWorkerHost.localize(1998, "Background color for odd table rows."));
|
|
18373
|
+
registerColor("editorActionList.background", editorWidgetBackground, editorWorkerHost.localize(1999, "Action List background color."));
|
|
18374
|
+
const editorActionListForeground = registerColor("editorActionList.foreground", editorWidgetForeground, editorWorkerHost.localize(2e3, "Action List foreground color."));
|
|
18375
|
+
registerColor("editorActionList.focusForeground", listActiveSelectionForeground, editorWorkerHost.localize(2001, "Action List foreground color for the focused item."));
|
|
18376
|
+
registerColor("editorActionList.focusBackground", listActiveSelectionBackground, editorWorkerHost.localize(2002, "Action List background color for the focused item."));
|
|
18377
|
+
const inputBackground = registerColor("input.background", { dark: "#3C3C3C", light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1919, "Input box background."));
|
|
18378
|
+
const inputForeground = registerColor("input.foreground", foreground, editorWorkerHost.localize(1920, "Input box foreground."));
|
|
18379
|
+
const inputBorder = registerColor("input.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1921, "Input box border."));
|
|
18380
|
+
const inputActiveOptionBorder = registerColor("inputOption.activeBorder", { dark: "#007ACC", light: "#007ACC", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1922, "Border color of activated options in input fields."));
|
|
18381
|
+
const inputActiveOptionHoverBackground = registerColor("inputOption.hoverBackground", { dark: "#5a5d5e80", light: "#b8b8b850", hcDark: null, hcLight: null }, editorWorkerHost.localize(1923, "Background color of activated options in input fields."));
|
|
18382
|
+
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(1924, "Background hover color of options in input fields."));
|
|
18383
|
+
const inputActiveOptionForeground = registerColor("inputOption.activeForeground", { dark: editorWorkerHost.Color.white, light: editorWorkerHost.Color.black, hcDark: foreground, hcLight: foreground }, editorWorkerHost.localize(1925, "Foreground color of activated options in input fields."));
|
|
18384
|
+
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(1926, "Input box foreground color for placeholder text."));
|
|
18385
|
+
const inputValidationInfoBackground = registerColor("inputValidation.infoBackground", { dark: "#063B49", light: "#D6ECF2", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1927, "Input validation background color for information severity."));
|
|
18386
|
+
const inputValidationInfoForeground = registerColor("inputValidation.infoForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(1928, "Input validation foreground color for information severity."));
|
|
18387
|
+
const inputValidationInfoBorder = registerColor("inputValidation.infoBorder", { dark: "#007acc", light: "#007acc", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1929, "Input validation border color for information severity."));
|
|
18388
|
+
const inputValidationWarningBackground = registerColor("inputValidation.warningBackground", { dark: "#352A05", light: "#F6F5D2", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1930, "Input validation background color for warning severity."));
|
|
18389
|
+
const inputValidationWarningForeground = registerColor("inputValidation.warningForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(1931, "Input validation foreground color for warning severity."));
|
|
18390
|
+
const inputValidationWarningBorder = registerColor("inputValidation.warningBorder", { dark: "#B89500", light: "#B89500", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1932, "Input validation border color for warning severity."));
|
|
18391
|
+
const inputValidationErrorBackground = registerColor("inputValidation.errorBackground", { dark: "#5A1D1D", light: "#F2DEDE", hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1933, "Input validation background color for error severity."));
|
|
18392
|
+
const inputValidationErrorForeground = registerColor("inputValidation.errorForeground", { dark: null, light: null, hcDark: null, hcLight: foreground }, editorWorkerHost.localize(1934, "Input validation foreground color for error severity."));
|
|
18393
|
+
const inputValidationErrorBorder = registerColor("inputValidation.errorBorder", { dark: "#BE1100", light: "#BE1100", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1935, "Input validation border color for error severity."));
|
|
18394
|
+
const selectBackground = registerColor("dropdown.background", { dark: "#3C3C3C", light: editorWorkerHost.Color.white, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1936, "Dropdown background."));
|
|
18395
|
+
const selectListBackground = registerColor("dropdown.listBackground", { dark: null, light: null, hcDark: editorWorkerHost.Color.black, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1937, "Dropdown list background."));
|
|
18396
|
+
const selectForeground = registerColor("dropdown.foreground", { dark: "#F0F0F0", light: foreground, hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(1938, "Dropdown foreground."));
|
|
18397
|
+
const selectBorder = registerColor("dropdown.border", { dark: selectBackground, light: "#CECECE", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(1939, "Dropdown border."));
|
|
18398
|
+
const buttonForeground = registerColor("button.foreground", editorWorkerHost.Color.white, editorWorkerHost.localize(1940, "Button foreground color."));
|
|
18399
|
+
const buttonSeparator = registerColor("button.separator", transparent(buttonForeground, 0.4), editorWorkerHost.localize(1941, "Button separator color."));
|
|
18400
|
+
const buttonBackground = registerColor("button.background", { dark: "#0E639C", light: "#007ACC", hcDark: editorWorkerHost.Color.black, hcLight: "#0F4A85" }, editorWorkerHost.localize(1942, "Button background color."));
|
|
18401
|
+
const buttonHoverBackground = registerColor("button.hoverBackground", { dark: lighten(buttonBackground, 0.2), light: darken(buttonBackground, 0.2), hcDark: buttonBackground, hcLight: buttonBackground }, editorWorkerHost.localize(1943, "Button background color when hovering."));
|
|
18402
|
+
const buttonBorder = registerColor("button.border", contrastBorder, editorWorkerHost.localize(1944, "Button border color."));
|
|
18403
|
+
const buttonSecondaryForeground = registerColor("button.secondaryForeground", { dark: foreground, light: foreground, hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(1945, "Secondary button foreground color."));
|
|
18404
|
+
const buttonSecondaryBackground = registerColor("button.secondaryBackground", { dark: listHoverBackground, light: listHoverBackground, hcDark: null, hcLight: editorWorkerHost.Color.white }, editorWorkerHost.localize(1946, "Secondary button background color."));
|
|
18405
|
+
registerColor("button.secondaryBorder", contrastBorder, editorWorkerHost.localize(1947, "Secondary button border color."));
|
|
18406
|
+
const buttonSecondaryHoverBackground = registerColor("button.secondaryHoverBackground", { dark: lighten(listHoverBackground, 0.2), light: lighten(listHoverBackground, 0.2), hcDark: null, hcLight: null }, editorWorkerHost.localize(1948, "Secondary button background color when hovering."));
|
|
18407
|
+
const radioActiveForeground = registerColor("radio.activeForeground", inputActiveOptionForeground, editorWorkerHost.localize(1949, "Foreground color of active radio option."));
|
|
18408
|
+
const radioActiveBackground = registerColor("radio.activeBackground", inputActiveOptionBackground, editorWorkerHost.localize(1950, "Background color of active radio option."));
|
|
18409
|
+
const radioActiveBorder = registerColor("radio.activeBorder", inputActiveOptionBorder, editorWorkerHost.localize(1951, "Border color of the active radio option."));
|
|
18410
|
+
const radioInactiveForeground = registerColor("radio.inactiveForeground", null, editorWorkerHost.localize(1952, "Foreground color of inactive radio option."));
|
|
18411
|
+
const radioInactiveBackground = registerColor("radio.inactiveBackground", null, editorWorkerHost.localize(1953, "Background color of inactive radio option."));
|
|
18412
|
+
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(1954, "Border color of the inactive radio option."));
|
|
18413
|
+
const radioInactiveHoverBackground = registerColor("radio.inactiveHoverBackground", inputActiveOptionHoverBackground, editorWorkerHost.localize(1955, "Background color of inactive active radio option when hovering."));
|
|
18414
|
+
const checkboxBackground = registerColor("checkbox.background", selectBackground, editorWorkerHost.localize(1956, "Background color of checkbox widget."));
|
|
18415
|
+
registerColor("checkbox.selectBackground", editorWidgetBackground, editorWorkerHost.localize(1957, "Background color of checkbox widget when the element it's in is selected."));
|
|
18416
|
+
const checkboxForeground = registerColor("checkbox.foreground", selectForeground, editorWorkerHost.localize(1958, "Foreground color of checkbox widget."));
|
|
18417
|
+
const checkboxBorder = registerColor("checkbox.border", selectBorder, editorWorkerHost.localize(1959, "Border color of checkbox widget."));
|
|
18418
|
+
registerColor("checkbox.selectBorder", iconForeground, editorWorkerHost.localize(1960, "Border color of checkbox widget when the element it's in is selected."));
|
|
18419
|
+
const checkboxDisabledBackground = registerColor("checkbox.disabled.background", { op: 7, color: checkboxBackground, with: checkboxForeground, ratio: 0.33 }, editorWorkerHost.localize(1961, "Background of a disabled checkbox."));
|
|
18420
|
+
const checkboxDisabledForeground = registerColor("checkbox.disabled.foreground", { op: 7, color: checkboxForeground, with: checkboxBackground, ratio: 0.33 }, editorWorkerHost.localize(1962, "Foreground of a disabled checkbox."));
|
|
18421
|
+
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(1963, "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut."));
|
|
18422
|
+
const keybindingLabelForeground = registerColor("keybindingLabel.foreground", { dark: editorWorkerHost.Color.fromHex("#CCCCCC"), light: editorWorkerHost.Color.fromHex("#555555"), hcDark: editorWorkerHost.Color.white, hcLight: foreground }, editorWorkerHost.localize(1964, "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut."));
|
|
18423
|
+
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(1965, "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut."));
|
|
18424
|
+
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(1966, "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut."));
|
|
18425
|
+
const menuBorder = registerColor("menu.border", { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2003, "Border color of menus."));
|
|
18426
|
+
const menuForeground = registerColor("menu.foreground", selectForeground, editorWorkerHost.localize(2004, "Foreground color of menu items."));
|
|
18427
|
+
const menuBackground = registerColor("menu.background", selectBackground, editorWorkerHost.localize(2005, "Background color of menu items."));
|
|
18428
|
+
const menuSelectionForeground = registerColor("menu.selectionForeground", listActiveSelectionForeground, editorWorkerHost.localize(2006, "Foreground color of the selected menu item in menus."));
|
|
18429
|
+
const menuSelectionBackground = registerColor("menu.selectionBackground", listActiveSelectionBackground, editorWorkerHost.localize(2007, "Background color of the selected menu item in menus."));
|
|
18430
|
+
const menuSelectionBorder = registerColor("menu.selectionBorder", { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, editorWorkerHost.localize(2008, "Border color of the selected menu item in menus."));
|
|
18431
|
+
const menuSeparatorBackground = registerColor("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: contrastBorder, hcLight: contrastBorder }, editorWorkerHost.localize(2009, "Color of a separator menu item in menus."));
|
|
18432
|
+
const quickInputBackground = registerColor("quickInput.background", editorWidgetBackground, editorWorkerHost.localize(2037, "Quick picker background color. The quick picker widget is the container for pickers like the command palette."));
|
|
18433
|
+
const quickInputForeground = registerColor("quickInput.foreground", editorWidgetForeground, editorWorkerHost.localize(2038, "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette."));
|
|
18434
|
+
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(2039, "Quick picker title background color. The quick picker widget is the container for pickers like the command palette."));
|
|
18435
|
+
const pickerGroupForeground = registerColor("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: editorWorkerHost.Color.white, hcLight: "#0F4A85" }, editorWorkerHost.localize(2040, "Quick picker color for grouping labels."));
|
|
18436
|
+
const pickerGroupBorder = registerColor("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: editorWorkerHost.Color.white, hcLight: "#0F4A85" }, editorWorkerHost.localize(2041, "Quick picker color for grouping borders."));
|
|
18437
|
+
const _deprecatedQuickInputListFocusBackground = registerColor("quickInput.list.focusBackground", null, "", void 0, editorWorkerHost.localize(2042, "Please use quickInputList.focusBackground instead"));
|
|
18438
|
+
const quickInputListFocusForeground = registerColor("quickInputList.focusForeground", listActiveSelectionForeground, editorWorkerHost.localize(2043, "Quick picker foreground color for the focused item."));
|
|
18439
|
+
const quickInputListFocusIconForeground = registerColor("quickInputList.focusIconForeground", listActiveSelectionIconForeground, editorWorkerHost.localize(2044, "Quick picker icon foreground color for the focused item."));
|
|
18440
|
+
const quickInputListFocusBackground = registerColor("quickInputList.focusBackground", { dark: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), light: oneOf(_deprecatedQuickInputListFocusBackground, listActiveSelectionBackground), hcDark: null, hcLight: null }, editorWorkerHost.localize(2045, "Quick picker background color for the focused item."));
|
|
18441
|
+
registerColor("search.resultsInfoForeground", { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, editorWorkerHost.localize(2046, "Color of the text in the search viewlet's completion message."));
|
|
18442
|
+
registerColor("searchEditor.findMatchBackground", { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, editorWorkerHost.localize(2047, "Color of the Search Editor query matches."));
|
|
18443
|
+
registerColor("searchEditor.findMatchBorder", { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, editorWorkerHost.localize(2048, "Border color of the Search Editor query matches."));
|
|
18443
18444
|
class PageCoordinates {
|
|
18444
18445
|
constructor(x, y) {
|
|
18445
18446
|
this.x = x;
|
|
@@ -57402,10 +57403,7 @@ struct VSOutput {
|
|
|
57402
57403
|
return this._onDidChangeFont.event;
|
|
57403
57404
|
}
|
|
57404
57405
|
onDidChangeContent(listener) {
|
|
57405
|
-
return this._eventEmitter.
|
|
57406
|
-
}
|
|
57407
|
-
onDidChangeContentOrInjectedText(listener) {
|
|
57408
|
-
return editorWorkerHost.combinedDisposable(this._eventEmitter.fastEvent((e) => listener(e)), this._onDidChangeInjectedText.event((e) => listener(e)));
|
|
57406
|
+
return this._eventEmitter.event((e) => listener(e.contentChangedEvent));
|
|
57409
57407
|
}
|
|
57410
57408
|
_isDisposing() {
|
|
57411
57409
|
return this.__isDisposing;
|
|
@@ -57431,13 +57429,13 @@ struct VSOutput {
|
|
|
57431
57429
|
this.onDidChangeDecorations = this._onDidChangeDecorations.event;
|
|
57432
57430
|
this._onDidChangeOptions = this._register(new editorWorkerHost.Emitter());
|
|
57433
57431
|
this._onDidChangeAttached = this._register(new editorWorkerHost.Emitter());
|
|
57434
|
-
this._onDidChangeInjectedText = this._register(new editorWorkerHost.Emitter());
|
|
57435
57432
|
this._onDidChangeLineHeight = this._register(new editorWorkerHost.Emitter());
|
|
57436
57433
|
this._onDidChangeFont = this._register(new editorWorkerHost.Emitter());
|
|
57437
57434
|
this._eventEmitter = this._register(new DidChangeContentEmitter());
|
|
57438
57435
|
this._languageSelectionListener = this._register(new editorWorkerHost.MutableDisposable());
|
|
57439
57436
|
this._deltaDecorationCallCnt = 0;
|
|
57440
57437
|
this._attachedViews = new AttachedViews();
|
|
57438
|
+
this._viewModels = /* @__PURE__ */ new Set();
|
|
57441
57439
|
MODEL_ID$1++;
|
|
57442
57440
|
this.id = "$model" + MODEL_ID$1;
|
|
57443
57441
|
this.isForSimpleWidget = creationOptions.isForSimpleWidget;
|
|
@@ -57528,18 +57526,29 @@ struct VSOutput {
|
|
|
57528
57526
|
throw new editorWorkerHost.BugIndicatingError("Model is disposed!");
|
|
57529
57527
|
}
|
|
57530
57528
|
}
|
|
57529
|
+
registerViewModel(viewModel) {
|
|
57530
|
+
this._viewModels.add(viewModel);
|
|
57531
|
+
}
|
|
57532
|
+
unregisterViewModel(viewModel) {
|
|
57533
|
+
this._viewModels.delete(viewModel);
|
|
57534
|
+
}
|
|
57531
57535
|
getTextBuffer() {
|
|
57532
57536
|
this._assertNotDisposed();
|
|
57533
57537
|
return this._buffer;
|
|
57534
57538
|
}
|
|
57535
|
-
_emitContentChangedEvent(rawChange, change) {
|
|
57539
|
+
_emitContentChangedEvent(rawChange, change, resultingSelection = null) {
|
|
57536
57540
|
if (this.__isDisposing) {
|
|
57537
57541
|
return;
|
|
57538
57542
|
}
|
|
57539
57543
|
this._tokenizationTextModelPart.handleDidChangeContent(change);
|
|
57540
57544
|
this._bracketPairs.handleDidChangeContent(change);
|
|
57541
57545
|
this._fontTokenDecorationsProvider.handleDidChangeContent(change);
|
|
57542
|
-
|
|
57546
|
+
const contentChangeEvent = new InternalModelContentChangeEvent(rawChange, change);
|
|
57547
|
+
if (resultingSelection) {
|
|
57548
|
+
contentChangeEvent.rawContentChangedEvent.resultingSelection = resultingSelection;
|
|
57549
|
+
}
|
|
57550
|
+
this._onDidChangeContentOrInjectedText(contentChangeEvent);
|
|
57551
|
+
this._eventEmitter.fire(contentChangeEvent);
|
|
57543
57552
|
}
|
|
57544
57553
|
setValue(value, reason = EditSources.setValue()) {
|
|
57545
57554
|
this._assertNotDisposed();
|
|
@@ -58316,7 +58325,8 @@ struct VSOutput {
|
|
|
58316
58325
|
this._eventEmitter.beginDeferredEmit();
|
|
58317
58326
|
this._isUndoing = isUndoing;
|
|
58318
58327
|
this._isRedoing = isRedoing;
|
|
58319
|
-
this.
|
|
58328
|
+
const operations = this._validateEditOperations(edits);
|
|
58329
|
+
this._doApplyEdits(operations, false, EditSources.applyEdits(), resultingSelection);
|
|
58320
58330
|
this.setEOL(eol);
|
|
58321
58331
|
this._overwriteAlternativeVersionId(resultingAlternativeVersionId);
|
|
58322
58332
|
} finally {
|
|
@@ -58337,7 +58347,7 @@ struct VSOutput {
|
|
|
58337
58347
|
this._onDidChangeDecorations.endDeferredEmit();
|
|
58338
58348
|
}
|
|
58339
58349
|
}
|
|
58340
|
-
_doApplyEdits(rawOperations, computeUndoEdits, reason) {
|
|
58350
|
+
_doApplyEdits(rawOperations, computeUndoEdits, reason, resultingSelection = null) {
|
|
58341
58351
|
const oldLineCount = this._buffer.getLineCount();
|
|
58342
58352
|
const result = this._buffer.applyEdits(rawOperations, this._options.trimAutoWhitespace, computeUndoEdits);
|
|
58343
58353
|
const newLineCount = this._buffer.getLineCount();
|
|
@@ -58405,7 +58415,7 @@ struct VSOutput {
|
|
|
58405
58415
|
isFlush: false,
|
|
58406
58416
|
detailedReasons: [reason],
|
|
58407
58417
|
detailedReasonsChangeLengths: [contentChanges.length]
|
|
58408
|
-
});
|
|
58418
|
+
}, resultingSelection);
|
|
58409
58419
|
}
|
|
58410
58420
|
return result.reverseEdits === null ? void 0 : result.reverseEdits;
|
|
58411
58421
|
}
|
|
@@ -58427,7 +58437,7 @@ struct VSOutput {
|
|
|
58427
58437
|
if (affectedInjectedTextLines && affectedInjectedTextLines.size > 0) {
|
|
58428
58438
|
const affectedLines = Array.from(affectedInjectedTextLines);
|
|
58429
58439
|
const lineChangeEvents = affectedLines.map((lineNumber) => new ModelRawLineChanged(lineNumber, this.getLineContent(lineNumber), this._getInjectedTextInLine(lineNumber)));
|
|
58430
|
-
this.
|
|
58440
|
+
this._onDidChangeContentOrInjectedText(new ModelInjectedTextChangedEvent(lineChangeEvents));
|
|
58431
58441
|
}
|
|
58432
58442
|
this._fireOnDidChangeLineHeight(affectedLineHeights);
|
|
58433
58443
|
this._fireOnDidChangeFont(affectedFontLines);
|
|
@@ -58446,6 +58456,14 @@ struct VSOutput {
|
|
|
58446
58456
|
this._onDidChangeFont.fire(new ModelFontChangedEvent$1(fontChangeEvent));
|
|
58447
58457
|
}
|
|
58448
58458
|
}
|
|
58459
|
+
_onDidChangeContentOrInjectedText(e) {
|
|
58460
|
+
for (const viewModel of this._viewModels) {
|
|
58461
|
+
viewModel.onDidChangeContentOrInjectedText(e);
|
|
58462
|
+
}
|
|
58463
|
+
for (const viewModel of this._viewModels) {
|
|
58464
|
+
viewModel.emitContentChangeEvent(e);
|
|
58465
|
+
}
|
|
58466
|
+
}
|
|
58449
58467
|
changeDecorations(callback, ownerId2 = 0) {
|
|
58450
58468
|
this._assertNotDisposed();
|
|
58451
58469
|
try {
|
|
@@ -59232,10 +59250,8 @@ struct VSOutput {
|
|
|
59232
59250
|
class DidChangeContentEmitter extends editorWorkerHost.Disposable {
|
|
59233
59251
|
constructor() {
|
|
59234
59252
|
super();
|
|
59235
|
-
this.
|
|
59236
|
-
this.
|
|
59237
|
-
this._slowEmitter = this._register(new editorWorkerHost.Emitter());
|
|
59238
|
-
this.slowEvent = this._slowEmitter.event;
|
|
59253
|
+
this._emitter = this._register(new editorWorkerHost.Emitter());
|
|
59254
|
+
this.event = this._emitter.event;
|
|
59239
59255
|
this._deferredCnt = 0;
|
|
59240
59256
|
this._deferredEvent = null;
|
|
59241
59257
|
}
|
|
@@ -59249,8 +59265,7 @@ struct VSOutput {
|
|
|
59249
59265
|
this._deferredEvent.rawContentChangedEvent.resultingSelection = resultingSelection;
|
|
59250
59266
|
const e = this._deferredEvent;
|
|
59251
59267
|
this._deferredEvent = null;
|
|
59252
|
-
this.
|
|
59253
|
-
this._slowEmitter.fire(e);
|
|
59268
|
+
this._emitter.fire(e);
|
|
59254
59269
|
}
|
|
59255
59270
|
}
|
|
59256
59271
|
}
|
|
@@ -59263,8 +59278,7 @@ struct VSOutput {
|
|
|
59263
59278
|
}
|
|
59264
59279
|
return;
|
|
59265
59280
|
}
|
|
59266
|
-
this.
|
|
59267
|
-
this._slowEmitter.fire(e);
|
|
59281
|
+
this._emitter.fire(e);
|
|
59268
59282
|
}
|
|
59269
59283
|
}
|
|
59270
59284
|
class MonospaceLineBreaksComputerFactory {
|
|
@@ -64423,6 +64437,7 @@ struct VSOutput {
|
|
|
64423
64437
|
this._eventDispatcher.emitSingleViewEvent(new ViewThemeChangedEvent(theme));
|
|
64424
64438
|
}));
|
|
64425
64439
|
this._updateConfigurationViewLineCountNow();
|
|
64440
|
+
this.model.registerViewModel(this);
|
|
64426
64441
|
}
|
|
64427
64442
|
dispose() {
|
|
64428
64443
|
super.dispose();
|
|
@@ -64430,6 +64445,7 @@ struct VSOutput {
|
|
|
64430
64445
|
this._lines.dispose();
|
|
64431
64446
|
this._viewportStart.dispose();
|
|
64432
64447
|
this._eventDispatcher.dispose();
|
|
64448
|
+
this.model.unregisterViewModel(this);
|
|
64433
64449
|
}
|
|
64434
64450
|
getEditorOption(id) {
|
|
64435
64451
|
return this._configuration.options.get(id);
|
|
@@ -64561,131 +64577,136 @@ struct VSOutput {
|
|
|
64561
64577
|
this._cursor.updateConfiguration(this.cursorConfig);
|
|
64562
64578
|
}
|
|
64563
64579
|
}
|
|
64564
|
-
|
|
64565
|
-
|
|
64566
|
-
|
|
64567
|
-
|
|
64568
|
-
|
|
64569
|
-
|
|
64570
|
-
|
|
64571
|
-
|
|
64572
|
-
|
|
64573
|
-
|
|
64574
|
-
|
|
64575
|
-
|
|
64576
|
-
|
|
64577
|
-
|
|
64578
|
-
|
|
64579
|
-
|
|
64580
|
-
|
|
64581
|
-
|
|
64582
|
-
|
|
64580
|
+
/**
|
|
64581
|
+
* Gets called directly by the text model.
|
|
64582
|
+
*/
|
|
64583
|
+
onDidChangeContentOrInjectedText(e) {
|
|
64584
|
+
try {
|
|
64585
|
+
const eventsCollector = this._eventDispatcher.beginEmitViewEvents();
|
|
64586
|
+
let hadOtherModelChange = false;
|
|
64587
|
+
let hadModelLineChangeThatChangedLineMapping = false;
|
|
64588
|
+
const changes = e instanceof InternalModelContentChangeEvent ? e.rawContentChangedEvent.changes : e.changes;
|
|
64589
|
+
const versionId = e instanceof InternalModelContentChangeEvent ? e.rawContentChangedEvent.versionId : null;
|
|
64590
|
+
const lineBreaksComputer = this._lines.createLineBreaksComputer();
|
|
64591
|
+
for (const change of changes) {
|
|
64592
|
+
switch (change.changeType) {
|
|
64593
|
+
case 4: {
|
|
64594
|
+
for (let lineIdx = 0; lineIdx < change.detail.length; lineIdx++) {
|
|
64595
|
+
const line = change.detail[lineIdx];
|
|
64596
|
+
let injectedText = change.injectedTexts[lineIdx];
|
|
64597
|
+
if (injectedText) {
|
|
64598
|
+
injectedText = injectedText.filter((element) => !element.ownerId || element.ownerId === this._editorId);
|
|
64583
64599
|
}
|
|
64584
|
-
|
|
64600
|
+
lineBreaksComputer.addRequest(line, injectedText, null);
|
|
64585
64601
|
}
|
|
64586
|
-
|
|
64587
|
-
|
|
64588
|
-
|
|
64589
|
-
|
|
64590
|
-
|
|
64591
|
-
|
|
64592
|
-
break;
|
|
64602
|
+
break;
|
|
64603
|
+
}
|
|
64604
|
+
case 2: {
|
|
64605
|
+
let injectedText = null;
|
|
64606
|
+
if (change.injectedText) {
|
|
64607
|
+
injectedText = change.injectedText.filter((element) => !element.ownerId || element.ownerId === this._editorId);
|
|
64593
64608
|
}
|
|
64609
|
+
lineBreaksComputer.addRequest(change.detail, injectedText, null);
|
|
64610
|
+
break;
|
|
64594
64611
|
}
|
|
64595
64612
|
}
|
|
64596
|
-
|
|
64597
|
-
|
|
64598
|
-
|
|
64599
|
-
|
|
64600
|
-
|
|
64601
|
-
|
|
64602
|
-
|
|
64603
|
-
|
|
64604
|
-
|
|
64605
|
-
|
|
64606
|
-
|
|
64613
|
+
}
|
|
64614
|
+
const lineBreaks = lineBreaksComputer.finalize();
|
|
64615
|
+
const lineBreakQueue = new editorWorkerHost.ArrayQueue(lineBreaks);
|
|
64616
|
+
for (const change of changes) {
|
|
64617
|
+
switch (change.changeType) {
|
|
64618
|
+
case 1: {
|
|
64619
|
+
this._lines.onModelFlushed();
|
|
64620
|
+
eventsCollector.emitViewEvent(new ViewFlushedEvent());
|
|
64621
|
+
this._decorations.reset();
|
|
64622
|
+
this.viewLayout.onFlushed(this.getLineCount(), this._getCustomLineHeights());
|
|
64623
|
+
hadOtherModelChange = true;
|
|
64624
|
+
break;
|
|
64625
|
+
}
|
|
64626
|
+
case 3: {
|
|
64627
|
+
const linesDeletedEvent = this._lines.onModelLinesDeleted(versionId, change.fromLineNumber, change.toLineNumber);
|
|
64628
|
+
if (linesDeletedEvent !== null) {
|
|
64629
|
+
eventsCollector.emitViewEvent(linesDeletedEvent);
|
|
64630
|
+
this.viewLayout.onLinesDeleted(linesDeletedEvent.fromLineNumber, linesDeletedEvent.toLineNumber);
|
|
64607
64631
|
}
|
|
64608
|
-
|
|
64609
|
-
|
|
64610
|
-
|
|
64611
|
-
|
|
64612
|
-
|
|
64613
|
-
|
|
64614
|
-
|
|
64615
|
-
|
|
64632
|
+
hadOtherModelChange = true;
|
|
64633
|
+
break;
|
|
64634
|
+
}
|
|
64635
|
+
case 4: {
|
|
64636
|
+
const insertedLineBreaks = lineBreakQueue.takeCount(change.detail.length);
|
|
64637
|
+
const linesInsertedEvent = this._lines.onModelLinesInserted(versionId, change.fromLineNumber, change.toLineNumber, insertedLineBreaks);
|
|
64638
|
+
if (linesInsertedEvent !== null) {
|
|
64639
|
+
eventsCollector.emitViewEvent(linesInsertedEvent);
|
|
64640
|
+
this.viewLayout.onLinesInserted(linesInsertedEvent.fromLineNumber, linesInsertedEvent.toLineNumber);
|
|
64616
64641
|
}
|
|
64617
|
-
|
|
64618
|
-
|
|
64619
|
-
|
|
64620
|
-
|
|
64621
|
-
|
|
64622
|
-
|
|
64623
|
-
|
|
64624
|
-
|
|
64625
|
-
|
|
64642
|
+
hadOtherModelChange = true;
|
|
64643
|
+
break;
|
|
64644
|
+
}
|
|
64645
|
+
case 2: {
|
|
64646
|
+
const changedLineBreakData = lineBreakQueue.dequeue();
|
|
64647
|
+
const [lineMappingChanged, linesChangedEvent, linesInsertedEvent, linesDeletedEvent] = this._lines.onModelLineChanged(versionId, change.lineNumber, changedLineBreakData);
|
|
64648
|
+
hadModelLineChangeThatChangedLineMapping = lineMappingChanged;
|
|
64649
|
+
if (linesChangedEvent) {
|
|
64650
|
+
eventsCollector.emitViewEvent(linesChangedEvent);
|
|
64626
64651
|
}
|
|
64627
|
-
|
|
64628
|
-
|
|
64629
|
-
|
|
64630
|
-
hadModelLineChangeThatChangedLineMapping = lineMappingChanged;
|
|
64631
|
-
if (linesChangedEvent) {
|
|
64632
|
-
eventsCollector.emitViewEvent(linesChangedEvent);
|
|
64633
|
-
}
|
|
64634
|
-
if (linesInsertedEvent) {
|
|
64635
|
-
eventsCollector.emitViewEvent(linesInsertedEvent);
|
|
64636
|
-
this.viewLayout.onLinesInserted(linesInsertedEvent.fromLineNumber, linesInsertedEvent.toLineNumber);
|
|
64637
|
-
}
|
|
64638
|
-
if (linesDeletedEvent) {
|
|
64639
|
-
eventsCollector.emitViewEvent(linesDeletedEvent);
|
|
64640
|
-
this.viewLayout.onLinesDeleted(linesDeletedEvent.fromLineNumber, linesDeletedEvent.toLineNumber);
|
|
64641
|
-
}
|
|
64642
|
-
break;
|
|
64652
|
+
if (linesInsertedEvent) {
|
|
64653
|
+
eventsCollector.emitViewEvent(linesInsertedEvent);
|
|
64654
|
+
this.viewLayout.onLinesInserted(linesInsertedEvent.fromLineNumber, linesInsertedEvent.toLineNumber);
|
|
64643
64655
|
}
|
|
64644
|
-
|
|
64645
|
-
|
|
64656
|
+
if (linesDeletedEvent) {
|
|
64657
|
+
eventsCollector.emitViewEvent(linesDeletedEvent);
|
|
64658
|
+
this.viewLayout.onLinesDeleted(linesDeletedEvent.fromLineNumber, linesDeletedEvent.toLineNumber);
|
|
64646
64659
|
}
|
|
64660
|
+
break;
|
|
64661
|
+
}
|
|
64662
|
+
case 5: {
|
|
64663
|
+
break;
|
|
64647
64664
|
}
|
|
64648
64665
|
}
|
|
64649
|
-
if (versionId !== null) {
|
|
64650
|
-
this._lines.acceptVersionId(versionId);
|
|
64651
|
-
}
|
|
64652
|
-
this.viewLayout.onHeightMaybeChanged();
|
|
64653
|
-
if (!hadOtherModelChange && hadModelLineChangeThatChangedLineMapping) {
|
|
64654
|
-
eventsCollector.emitViewEvent(new ViewLineMappingChangedEvent());
|
|
64655
|
-
eventsCollector.emitViewEvent(new ViewDecorationsChangedEvent(null));
|
|
64656
|
-
this._cursor.onLineMappingChanged(eventsCollector);
|
|
64657
|
-
this._decorations.onLineMappingChanged();
|
|
64658
|
-
}
|
|
64659
|
-
} finally {
|
|
64660
|
-
this._eventDispatcher.endEmitViewEvents();
|
|
64661
64666
|
}
|
|
64662
|
-
|
|
64663
|
-
|
|
64664
|
-
this._configuration.setModelLineCount(this.model.getLineCount());
|
|
64665
|
-
this._updateConfigurationViewLineCountNow();
|
|
64666
|
-
if (!this._hasFocus && this.model.getAttachedEditorCount() >= 2 && viewportStartWasValid) {
|
|
64667
|
-
const modelRange = this.model._getTrackedRange(this._viewportStart.modelTrackedRange);
|
|
64668
|
-
if (modelRange) {
|
|
64669
|
-
const viewPosition = this.coordinatesConverter.convertModelPositionToViewPosition(modelRange.getStartPosition());
|
|
64670
|
-
const viewPositionTop = this.viewLayout.getVerticalOffsetForLineNumber(viewPosition.lineNumber);
|
|
64671
|
-
this.viewLayout.setScrollPosition(
|
|
64672
|
-
{ scrollTop: viewPositionTop + this._viewportStart.startLineDelta },
|
|
64673
|
-
1
|
|
64674
|
-
/* ScrollType.Immediate */
|
|
64675
|
-
);
|
|
64676
|
-
}
|
|
64667
|
+
if (versionId !== null) {
|
|
64668
|
+
this._lines.acceptVersionId(versionId);
|
|
64677
64669
|
}
|
|
64678
|
-
|
|
64679
|
-
|
|
64680
|
-
|
|
64681
|
-
|
|
64682
|
-
|
|
64683
|
-
this.
|
|
64684
|
-
} finally {
|
|
64685
|
-
this._eventDispatcher.endEmitViewEvents();
|
|
64670
|
+
this.viewLayout.onHeightMaybeChanged();
|
|
64671
|
+
if (!hadOtherModelChange && hadModelLineChangeThatChangedLineMapping) {
|
|
64672
|
+
eventsCollector.emitViewEvent(new ViewLineMappingChangedEvent());
|
|
64673
|
+
eventsCollector.emitViewEvent(new ViewDecorationsChangedEvent(null));
|
|
64674
|
+
this._cursor.onLineMappingChanged(eventsCollector);
|
|
64675
|
+
this._decorations.onLineMappingChanged();
|
|
64686
64676
|
}
|
|
64687
|
-
|
|
64688
|
-
|
|
64677
|
+
} finally {
|
|
64678
|
+
this._eventDispatcher.endEmitViewEvents();
|
|
64679
|
+
}
|
|
64680
|
+
const viewportStartWasValid = this._viewportStart.isValid;
|
|
64681
|
+
this._viewportStart.invalidate();
|
|
64682
|
+
this._configuration.setModelLineCount(this.model.getLineCount());
|
|
64683
|
+
this._updateConfigurationViewLineCountNow();
|
|
64684
|
+
if (!this._hasFocus && this.model.getAttachedEditorCount() >= 2 && viewportStartWasValid) {
|
|
64685
|
+
const modelRange = this.model._getTrackedRange(this._viewportStart.modelTrackedRange);
|
|
64686
|
+
if (modelRange) {
|
|
64687
|
+
const viewPosition = this.coordinatesConverter.convertModelPositionToViewPosition(modelRange.getStartPosition());
|
|
64688
|
+
const viewPositionTop = this.viewLayout.getVerticalOffsetForLineNumber(viewPosition.lineNumber);
|
|
64689
|
+
this.viewLayout.setScrollPosition(
|
|
64690
|
+
{ scrollTop: viewPositionTop + this._viewportStart.startLineDelta },
|
|
64691
|
+
1
|
|
64692
|
+
/* ScrollType.Immediate */
|
|
64693
|
+
);
|
|
64694
|
+
}
|
|
64695
|
+
}
|
|
64696
|
+
this._handleVisibleLinesChanged();
|
|
64697
|
+
}
|
|
64698
|
+
/**
|
|
64699
|
+
* Gets called directly by the text model.
|
|
64700
|
+
*/
|
|
64701
|
+
emitContentChangeEvent(e) {
|
|
64702
|
+
this._emitViewEvent((eventsCollector) => {
|
|
64703
|
+
if (e instanceof InternalModelContentChangeEvent) {
|
|
64704
|
+
eventsCollector.emitOutgoingEvent(new ModelContentChangedEvent(e.contentChangedEvent));
|
|
64705
|
+
}
|
|
64706
|
+
this._cursor.onModelContentChanged(eventsCollector, e);
|
|
64707
|
+
});
|
|
64708
|
+
}
|
|
64709
|
+
_registerModelEvents() {
|
|
64689
64710
|
const allowVariableLineHeights = this._configuration.options.get(
|
|
64690
64711
|
5
|
|
64691
64712
|
/* EditorOption.allowVariableLineHeights */
|
|
@@ -65391,14 +65412,17 @@ struct VSOutput {
|
|
|
65391
65412
|
//#endregion
|
|
65392
65413
|
_withViewEventsCollector(callback) {
|
|
65393
65414
|
return this._transactionalTarget.batchChanges(() => {
|
|
65394
|
-
|
|
65395
|
-
const eventsCollector = this._eventDispatcher.beginEmitViewEvents();
|
|
65396
|
-
return callback(eventsCollector);
|
|
65397
|
-
} finally {
|
|
65398
|
-
this._eventDispatcher.endEmitViewEvents();
|
|
65399
|
-
}
|
|
65415
|
+
return this._emitViewEvent(callback);
|
|
65400
65416
|
});
|
|
65401
65417
|
}
|
|
65418
|
+
_emitViewEvent(callback) {
|
|
65419
|
+
try {
|
|
65420
|
+
const eventsCollector = this._eventDispatcher.beginEmitViewEvents();
|
|
65421
|
+
return callback(eventsCollector);
|
|
65422
|
+
} finally {
|
|
65423
|
+
this._eventDispatcher.endEmitViewEvents();
|
|
65424
|
+
}
|
|
65425
|
+
}
|
|
65402
65426
|
batchEvents(callback) {
|
|
65403
65427
|
this._withViewEventsCollector(() => {
|
|
65404
65428
|
callback();
|
|
@@ -67807,10 +67831,10 @@ struct VSOutput {
|
|
|
67807
67831
|
}
|
|
67808
67832
|
const messages = [];
|
|
67809
67833
|
if (externalRemoval.length > 0) {
|
|
67810
|
-
messages.push(editorWorkerHost.localize(
|
|
67834
|
+
messages.push(editorWorkerHost.localize(2057, "The following files have been closed and modified on disk: {0}.", externalRemoval.join(", ")));
|
|
67811
67835
|
}
|
|
67812
67836
|
if (noParallelUniverses.length > 0) {
|
|
67813
|
-
messages.push(editorWorkerHost.localize(
|
|
67837
|
+
messages.push(editorWorkerHost.localize(2058, "The following files have been modified in an incompatible way: {0}.", noParallelUniverses.join(", ")));
|
|
67814
67838
|
}
|
|
67815
67839
|
return messages.join("\n");
|
|
67816
67840
|
}
|
|
@@ -68385,10 +68409,10 @@ struct VSOutput {
|
|
|
68385
68409
|
}
|
|
68386
68410
|
_checkWorkspaceUndo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
|
|
68387
68411
|
if (element.removedResources) {
|
|
68388
|
-
return this._tryToSplitAndUndo(strResource, element, element.removedResources, editorWorkerHost.localize(
|
|
68412
|
+
return this._tryToSplitAndUndo(strResource, element, element.removedResources, editorWorkerHost.localize(2059, "Could not undo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
|
|
68389
68413
|
}
|
|
68390
68414
|
if (checkInvalidatedResources && element.invalidatedResources) {
|
|
68391
|
-
return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, editorWorkerHost.localize(
|
|
68415
|
+
return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, editorWorkerHost.localize(2060, "Could not undo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
|
|
68392
68416
|
}
|
|
68393
68417
|
const cannotUndoDueToResources = [];
|
|
68394
68418
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -68397,7 +68421,7 @@ struct VSOutput {
|
|
|
68397
68421
|
}
|
|
68398
68422
|
}
|
|
68399
68423
|
if (cannotUndoDueToResources.length > 0) {
|
|
68400
|
-
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(
|
|
68424
|
+
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(2061, "Could not undo '{0}' across all files because changes were made to {1}", element.label, cannotUndoDueToResources.join(", ")));
|
|
68401
68425
|
}
|
|
68402
68426
|
const cannotLockDueToResources = [];
|
|
68403
68427
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -68406,10 +68430,10 @@ struct VSOutput {
|
|
|
68406
68430
|
}
|
|
68407
68431
|
}
|
|
68408
68432
|
if (cannotLockDueToResources.length > 0) {
|
|
68409
|
-
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(
|
|
68433
|
+
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(2062, "Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(", ")));
|
|
68410
68434
|
}
|
|
68411
68435
|
if (!editStackSnapshot.isValid()) {
|
|
68412
|
-
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(
|
|
68436
|
+
return this._tryToSplitAndUndo(strResource, element, null, editorWorkerHost.localize(2063, "Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
|
|
68413
68437
|
}
|
|
68414
68438
|
return null;
|
|
68415
68439
|
}
|
|
@@ -68458,14 +68482,14 @@ struct VSOutput {
|
|
|
68458
68482
|
})(UndoChoice || (UndoChoice = {}));
|
|
68459
68483
|
const { result } = await this._dialogService.prompt({
|
|
68460
68484
|
type: Severity$2.Info,
|
|
68461
|
-
message: editorWorkerHost.localize(
|
|
68485
|
+
message: editorWorkerHost.localize(2064, "Would you like to undo '{0}' across all files?", element.label),
|
|
68462
68486
|
buttons: [
|
|
68463
68487
|
{
|
|
68464
|
-
label: editorWorkerHost.localize(
|
|
68488
|
+
label: editorWorkerHost.localize(2065, "&&Undo in {0} Files", editStackSnapshot.editStacks.length),
|
|
68465
68489
|
run: () => UndoChoice.All
|
|
68466
68490
|
},
|
|
68467
68491
|
{
|
|
68468
|
-
label: editorWorkerHost.localize(
|
|
68492
|
+
label: editorWorkerHost.localize(2066, "Undo this &&File"),
|
|
68469
68493
|
run: () => UndoChoice.This
|
|
68470
68494
|
}
|
|
68471
68495
|
],
|
|
@@ -68520,7 +68544,7 @@ struct VSOutput {
|
|
|
68520
68544
|
return;
|
|
68521
68545
|
}
|
|
68522
68546
|
if (editStack.locked) {
|
|
68523
|
-
const message = editorWorkerHost.localize(
|
|
68547
|
+
const message = editorWorkerHost.localize(2067, "Could not undo '{0}' because there is already an undo or redo operation running.", element.label);
|
|
68524
68548
|
this._notificationService.warn(message);
|
|
68525
68549
|
return;
|
|
68526
68550
|
}
|
|
@@ -68598,9 +68622,9 @@ struct VSOutput {
|
|
|
68598
68622
|
}
|
|
68599
68623
|
async _confirmAndContinueUndo(strResource, sourceId, element) {
|
|
68600
68624
|
const result = await this._dialogService.confirm({
|
|
68601
|
-
message: editorWorkerHost.localize(
|
|
68602
|
-
primaryButton: editorWorkerHost.localize(
|
|
68603
|
-
cancelButton: editorWorkerHost.localize(
|
|
68625
|
+
message: editorWorkerHost.localize(2068, "Would you like to undo '{0}'?", element.label),
|
|
68626
|
+
primaryButton: editorWorkerHost.localize(2069, "&&Yes"),
|
|
68627
|
+
cancelButton: editorWorkerHost.localize(2070, "No")
|
|
68604
68628
|
});
|
|
68605
68629
|
if (!result.confirmed) {
|
|
68606
68630
|
return;
|
|
@@ -68654,10 +68678,10 @@ struct VSOutput {
|
|
|
68654
68678
|
}
|
|
68655
68679
|
_checkWorkspaceRedo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
|
|
68656
68680
|
if (element.removedResources) {
|
|
68657
|
-
return this._tryToSplitAndRedo(strResource, element, element.removedResources, editorWorkerHost.localize(
|
|
68681
|
+
return this._tryToSplitAndRedo(strResource, element, element.removedResources, editorWorkerHost.localize(2071, "Could not redo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
|
|
68658
68682
|
}
|
|
68659
68683
|
if (checkInvalidatedResources && element.invalidatedResources) {
|
|
68660
|
-
return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, editorWorkerHost.localize(
|
|
68684
|
+
return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, editorWorkerHost.localize(2072, "Could not redo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
|
|
68661
68685
|
}
|
|
68662
68686
|
const cannotRedoDueToResources = [];
|
|
68663
68687
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -68666,7 +68690,7 @@ struct VSOutput {
|
|
|
68666
68690
|
}
|
|
68667
68691
|
}
|
|
68668
68692
|
if (cannotRedoDueToResources.length > 0) {
|
|
68669
|
-
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(
|
|
68693
|
+
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(2073, "Could not redo '{0}' across all files because changes were made to {1}", element.label, cannotRedoDueToResources.join(", ")));
|
|
68670
68694
|
}
|
|
68671
68695
|
const cannotLockDueToResources = [];
|
|
68672
68696
|
for (const editStack of editStackSnapshot.editStacks) {
|
|
@@ -68675,10 +68699,10 @@ struct VSOutput {
|
|
|
68675
68699
|
}
|
|
68676
68700
|
}
|
|
68677
68701
|
if (cannotLockDueToResources.length > 0) {
|
|
68678
|
-
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(
|
|
68702
|
+
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(2074, "Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(", ")));
|
|
68679
68703
|
}
|
|
68680
68704
|
if (!editStackSnapshot.isValid()) {
|
|
68681
|
-
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(
|
|
68705
|
+
return this._tryToSplitAndRedo(strResource, element, null, editorWorkerHost.localize(2075, "Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
|
|
68682
68706
|
}
|
|
68683
68707
|
return null;
|
|
68684
68708
|
}
|
|
@@ -68725,7 +68749,7 @@ struct VSOutput {
|
|
|
68725
68749
|
return;
|
|
68726
68750
|
}
|
|
68727
68751
|
if (editStack.locked) {
|
|
68728
|
-
const message = editorWorkerHost.localize(
|
|
68752
|
+
const message = editorWorkerHost.localize(2076, "Could not redo '{0}' because there is already an undo or redo operation running.", element.label);
|
|
68729
68753
|
this._notificationService.warn(message);
|
|
68730
68754
|
return;
|
|
68731
68755
|
}
|
|
@@ -76277,7 +76301,7 @@ ${text2}</tr>
|
|
|
76277
76301
|
if (options.appearance?.showHoverHint) {
|
|
76278
76302
|
const statusBarElement = $$8("div.hover-row.status-bar");
|
|
76279
76303
|
const infoElement = $$8("div.info");
|
|
76280
|
-
infoElement.textContent = editorWorkerHost.localize(
|
|
76304
|
+
infoElement.textContent = editorWorkerHost.localize(1721, "Hold {0} key to mouse over", editorWorkerHost.isMacintosh ? "Option" : "Alt");
|
|
76281
76305
|
statusBarElement.appendChild(infoElement);
|
|
76282
76306
|
this._hover.containerDomNode.appendChild(statusBarElement);
|
|
76283
76307
|
}
|
|
@@ -77007,7 +77031,7 @@ ${text2}</tr>
|
|
|
77007
77031
|
}
|
|
77008
77032
|
if (managedContent instanceof Promise) {
|
|
77009
77033
|
if (!this._hoverWidget) {
|
|
77010
|
-
this.show(editorWorkerHost.localize(
|
|
77034
|
+
this.show(editorWorkerHost.localize(1722, "Loading..."), focus, options);
|
|
77011
77035
|
}
|
|
77012
77036
|
resolvedContent = await managedContent;
|
|
77013
77037
|
} else {
|
|
@@ -79648,11 +79672,11 @@ ${text2}</tr>
|
|
|
79648
79672
|
case 0:
|
|
79649
79673
|
throw editorWorkerHost.illegalState("impossible");
|
|
79650
79674
|
case 1:
|
|
79651
|
-
this._currentChordStatusMessage = this._notificationService.status(editorWorkerHost.localize(
|
|
79675
|
+
this._currentChordStatusMessage = this._notificationService.status(editorWorkerHost.localize(1723, "({0}) was pressed. Waiting for second key of chord...", keypressLabel));
|
|
79652
79676
|
break;
|
|
79653
79677
|
default: {
|
|
79654
79678
|
const fullKeypressLabel = this._currentChords.map(({ label }) => label).join(", ");
|
|
79655
|
-
this._currentChordStatusMessage = this._notificationService.status(editorWorkerHost.localize(
|
|
79679
|
+
this._currentChordStatusMessage = this._notificationService.status(editorWorkerHost.localize(1724, "({0}) was pressed. Waiting for next key of chord...", fullKeypressLabel));
|
|
79656
79680
|
}
|
|
79657
79681
|
}
|
|
79658
79682
|
this._scheduleLeaveChordMode();
|
|
@@ -79752,7 +79776,7 @@ ${text2}</tr>
|
|
|
79752
79776
|
if (this.inChordMode) {
|
|
79753
79777
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(", ");
|
|
79754
79778
|
this._log(`+ Leaving multi-chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
79755
|
-
this._notificationService.status(editorWorkerHost.localize(
|
|
79779
|
+
this._notificationService.status(editorWorkerHost.localize(1725, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), {
|
|
79756
79780
|
hideAfter: 10 * 1e3
|
|
79757
79781
|
/* 10s */
|
|
79758
79782
|
});
|
|
@@ -79774,7 +79798,7 @@ ${text2}</tr>
|
|
|
79774
79798
|
if (this.inChordMode) {
|
|
79775
79799
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(", ");
|
|
79776
79800
|
this._log(`+ Leaving chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
79777
|
-
this._notificationService.status(editorWorkerHost.localize(
|
|
79801
|
+
this._notificationService.status(editorWorkerHost.localize(1726, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), {
|
|
79778
79802
|
hideAfter: 10 * 1e3
|
|
79779
79803
|
/* 10s */
|
|
79780
79804
|
});
|
|
@@ -79820,7 +79844,7 @@ ${text2}</tr>
|
|
|
79820
79844
|
if (commandId) {
|
|
79821
79845
|
const keybindingLabel = this.lookupKeybinding(commandId, context, enforceContextCheck)?.getLabel();
|
|
79822
79846
|
if (keybindingLabel) {
|
|
79823
|
-
return editorWorkerHost.localize(
|
|
79847
|
+
return editorWorkerHost.localize(1727, "{0} ({1})", label, keybindingLabel);
|
|
79824
79848
|
}
|
|
79825
79849
|
}
|
|
79826
79850
|
return label;
|
|
@@ -80912,7 +80936,7 @@ ${text2}</tr>
|
|
|
80912
80936
|
}
|
|
80913
80937
|
}
|
|
80914
80938
|
const WORKSPACE_EXTENSION = "code-workspace";
|
|
80915
|
-
[{ name: editorWorkerHost.localize(
|
|
80939
|
+
[{ name: editorWorkerHost.localize(2077, "Code Workspace"), extensions: [WORKSPACE_EXTENSION] }];
|
|
80916
80940
|
const STANDALONE_EDITOR_WORKSPACE_ID = "4064f6ec-cb38-4ad0-af64-ee6467e63c82";
|
|
80917
80941
|
function isStandaloneEditorWorkspace(workspace) {
|
|
80918
80942
|
return workspace.id === STANDALONE_EDITOR_WORKSPACE_ID;
|
|
@@ -86347,7 +86371,7 @@ ${text2}</tr>
|
|
|
86347
86371
|
if (!this._wantsAltCommand && this._menuItemAction.alt?.enabled) {
|
|
86348
86372
|
const altTooltip = this._menuItemAction.alt.tooltip || this._menuItemAction.alt.label;
|
|
86349
86373
|
const altTitleSection = this._keybindingService.appendKeybinding(altTooltip, this._menuItemAction.alt.id, this._contextKeyService);
|
|
86350
|
-
title = editorWorkerHost.localize(
|
|
86374
|
+
title = editorWorkerHost.localize(1668, "{0}\n[{1}] {2}", title, UILabelProvider.modifierLabels[editorWorkerHost.OS].altKey, altTitleSection);
|
|
86351
86375
|
}
|
|
86352
86376
|
return title;
|
|
86353
86377
|
}
|
|
@@ -86414,9 +86438,9 @@ ${text2}</tr>
|
|
|
86414
86438
|
if (this.label) {
|
|
86415
86439
|
const kb2 = TextOnlyMenuEntryActionViewItem._symbolPrintEnter(kb);
|
|
86416
86440
|
if (this._options?.conversational) {
|
|
86417
|
-
this.label.textContent = editorWorkerHost.localize(
|
|
86441
|
+
this.label.textContent = editorWorkerHost.localize(1669, "{1} to {0}", this._action.label, kb2);
|
|
86418
86442
|
} else {
|
|
86419
|
-
this.label.textContent = editorWorkerHost.localize(
|
|
86443
|
+
this.label.textContent = editorWorkerHost.localize(1670, "{0} ({1})", this._action.label, kb2);
|
|
86420
86444
|
}
|
|
86421
86445
|
}
|
|
86422
86446
|
}
|
|
@@ -88614,17 +88638,17 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
88614
88638
|
}
|
|
88615
88639
|
MarkerSeverity2.compare = compare;
|
|
88616
88640
|
const _displayStrings = /* @__PURE__ */ Object.create(null);
|
|
88617
|
-
_displayStrings[MarkerSeverity2.Error] = editorWorkerHost.localize(
|
|
88618
|
-
_displayStrings[MarkerSeverity2.Warning] = editorWorkerHost.localize(
|
|
88619
|
-
_displayStrings[MarkerSeverity2.Info] = editorWorkerHost.localize(
|
|
88641
|
+
_displayStrings[MarkerSeverity2.Error] = editorWorkerHost.localize(1755, "Error");
|
|
88642
|
+
_displayStrings[MarkerSeverity2.Warning] = editorWorkerHost.localize(1756, "Warning");
|
|
88643
|
+
_displayStrings[MarkerSeverity2.Info] = editorWorkerHost.localize(1757, "Info");
|
|
88620
88644
|
function toString(a) {
|
|
88621
88645
|
return _displayStrings[a] || "";
|
|
88622
88646
|
}
|
|
88623
88647
|
MarkerSeverity2.toString = toString;
|
|
88624
88648
|
const _displayStringsPlural = /* @__PURE__ */ Object.create(null);
|
|
88625
|
-
_displayStringsPlural[MarkerSeverity2.Error] = editorWorkerHost.localize(
|
|
88626
|
-
_displayStringsPlural[MarkerSeverity2.Warning] = editorWorkerHost.localize(
|
|
88627
|
-
_displayStringsPlural[MarkerSeverity2.Info] = editorWorkerHost.localize(
|
|
88649
|
+
_displayStringsPlural[MarkerSeverity2.Error] = editorWorkerHost.localize(1758, "Errors");
|
|
88650
|
+
_displayStringsPlural[MarkerSeverity2.Warning] = editorWorkerHost.localize(1759, "Warnings");
|
|
88651
|
+
_displayStringsPlural[MarkerSeverity2.Info] = editorWorkerHost.localize(1760, "Infos");
|
|
88628
88652
|
function toStringPlural(a) {
|
|
88629
88653
|
return _displayStringsPlural[a] || "";
|
|
88630
88654
|
}
|
|
@@ -89637,7 +89661,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89637
89661
|
} else {
|
|
89638
89662
|
let title = node.title;
|
|
89639
89663
|
if (!title && node.href.startsWith("command:")) {
|
|
89640
|
-
title = editorWorkerHost.localize(
|
|
89664
|
+
title = editorWorkerHost.localize(1795, "Click to execute command '{0}'", node.href.substring("command:".length));
|
|
89641
89665
|
} else if (!title) {
|
|
89642
89666
|
title = node.href;
|
|
89643
89667
|
}
|
|
@@ -89680,18 +89704,18 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89680
89704
|
};
|
|
89681
89705
|
};
|
|
89682
89706
|
const inQuickInputContextKeyValue = "inQuickInput";
|
|
89683
|
-
const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, editorWorkerHost.localize(
|
|
89707
|
+
const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, editorWorkerHost.localize(1772, "Whether keyboard focus is inside the quick input control"));
|
|
89684
89708
|
const inQuickInputContext = ContextKeyExpr.has(inQuickInputContextKeyValue);
|
|
89685
89709
|
const quickInputAlignmentContextKeyValue = "quickInputAlignment";
|
|
89686
|
-
const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, "top", editorWorkerHost.localize(
|
|
89710
|
+
const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, "top", editorWorkerHost.localize(1773, "The alignment of the quick input"));
|
|
89687
89711
|
const quickInputTypeContextKeyValue = "quickInputType";
|
|
89688
|
-
const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, void 0, editorWorkerHost.localize(
|
|
89712
|
+
const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, void 0, editorWorkerHost.localize(1774, "The type of the currently visible quick input"));
|
|
89689
89713
|
const endOfQuickInputBoxContextKeyValue = "cursorAtEndOfQuickInputBox";
|
|
89690
|
-
const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, editorWorkerHost.localize(
|
|
89714
|
+
const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, editorWorkerHost.localize(1775, "Whether the cursor in the quick input is at the end of the input box"));
|
|
89691
89715
|
const endOfQuickInputBoxContext = ContextKeyExpr.has(endOfQuickInputBoxContextKeyValue);
|
|
89692
89716
|
const backButton = {
|
|
89693
89717
|
iconClass: exports.ThemeIcon.asClassName(editorWorkerHost.Codicon.quickInputBack),
|
|
89694
|
-
tooltip: editorWorkerHost.localize(
|
|
89718
|
+
tooltip: editorWorkerHost.localize(1776, "Back")
|
|
89695
89719
|
};
|
|
89696
89720
|
const _QuickInput = class _QuickInput extends editorWorkerHost.Disposable {
|
|
89697
89721
|
constructor(ui) {
|
|
@@ -89946,7 +89970,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89946
89970
|
}
|
|
89947
89971
|
getSteps() {
|
|
89948
89972
|
if (this.step && this.totalSteps) {
|
|
89949
|
-
return editorWorkerHost.localize(
|
|
89973
|
+
return editorWorkerHost.localize(1778, "{0}/{1}", this.step, this.totalSteps);
|
|
89950
89974
|
}
|
|
89951
89975
|
if (this.step) {
|
|
89952
89976
|
return String(this.step);
|
|
@@ -89974,7 +89998,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
89974
89998
|
super.dispose();
|
|
89975
89999
|
}
|
|
89976
90000
|
};
|
|
89977
|
-
_QuickInput.noPromptMessage = editorWorkerHost.localize(
|
|
90001
|
+
_QuickInput.noPromptMessage = editorWorkerHost.localize(1777, "Press 'Enter' to confirm your input or 'Escape' to cancel");
|
|
89978
90002
|
let QuickInput = _QuickInput;
|
|
89979
90003
|
const _QuickPick = class _QuickPick extends QuickInput {
|
|
89980
90004
|
constructor(ui) {
|
|
@@ -90214,7 +90238,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
90214
90238
|
this.update();
|
|
90215
90239
|
}
|
|
90216
90240
|
get okLabel() {
|
|
90217
|
-
return this._okLabel ?? editorWorkerHost.localize(
|
|
90241
|
+
return this._okLabel ?? editorWorkerHost.localize(1780, "OK");
|
|
90218
90242
|
}
|
|
90219
90243
|
set okLabel(okLabel) {
|
|
90220
90244
|
this._okLabel = okLabel;
|
|
@@ -90488,7 +90512,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
90488
90512
|
this.handleAccept(inBackground ?? false);
|
|
90489
90513
|
}
|
|
90490
90514
|
};
|
|
90491
|
-
_QuickPick.DEFAULT_ARIA_LABEL = editorWorkerHost.localize(
|
|
90515
|
+
_QuickPick.DEFAULT_ARIA_LABEL = editorWorkerHost.localize(1779, "Type to narrow down results.");
|
|
90492
90516
|
let QuickPick = _QuickPick;
|
|
90493
90517
|
let InputBox$1 = class InputBox extends QuickInput {
|
|
90494
90518
|
constructor() {
|
|
@@ -90547,7 +90571,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
90547
90571
|
}
|
|
90548
90572
|
set prompt(prompt) {
|
|
90549
90573
|
this._prompt = prompt;
|
|
90550
|
-
this.noValidationMessage = prompt ? editorWorkerHost.localize(
|
|
90574
|
+
this.noValidationMessage = prompt ? editorWorkerHost.localize(1781, "{0} (Press 'Enter' to confirm or 'Escape' to cancel)", prompt) : QuickInput.noPromptMessage;
|
|
90551
90575
|
this.update();
|
|
90552
90576
|
}
|
|
90553
90577
|
show() {
|
|
@@ -91930,6 +91954,14 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
91930
91954
|
})));
|
|
91931
91955
|
}
|
|
91932
91956
|
}
|
|
91957
|
+
setAriaLabel(label) {
|
|
91958
|
+
this.ariaLabel = label;
|
|
91959
|
+
if (label) {
|
|
91960
|
+
this.input.setAttribute("aria-label", this.ariaLabel);
|
|
91961
|
+
} else {
|
|
91962
|
+
this.input.removeAttribute("aria-label");
|
|
91963
|
+
}
|
|
91964
|
+
}
|
|
91933
91965
|
get inputElement() {
|
|
91934
91966
|
return this.input;
|
|
91935
91967
|
}
|
|
@@ -99037,17 +99069,17 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
99037
99069
|
return new ObjectTreeModel(user, options);
|
|
99038
99070
|
}
|
|
99039
99071
|
}
|
|
99040
|
-
new RawContextKey("isMac", editorWorkerHost.isMacintosh, editorWorkerHost.localize(
|
|
99041
|
-
new RawContextKey("isLinux", editorWorkerHost.isLinux, editorWorkerHost.localize(
|
|
99042
|
-
const IsWindowsContext = new RawContextKey("isWindows", editorWorkerHost.isWindows, editorWorkerHost.localize(
|
|
99043
|
-
const IsWebContext = new RawContextKey("isWeb", editorWorkerHost.isWeb, editorWorkerHost.localize(
|
|
99044
|
-
new RawContextKey("isMacNative", editorWorkerHost.isMacintosh && !editorWorkerHost.isWeb, editorWorkerHost.localize(
|
|
99045
|
-
new RawContextKey("isIOS", editorWorkerHost.isIOS, editorWorkerHost.localize(
|
|
99046
|
-
new RawContextKey("isMobile", editorWorkerHost.isMobile, editorWorkerHost.localize(
|
|
99072
|
+
new RawContextKey("isMac", editorWorkerHost.isMacintosh, editorWorkerHost.localize(1706, "Whether the operating system is macOS"));
|
|
99073
|
+
new RawContextKey("isLinux", editorWorkerHost.isLinux, editorWorkerHost.localize(1707, "Whether the operating system is Linux"));
|
|
99074
|
+
const IsWindowsContext = new RawContextKey("isWindows", editorWorkerHost.isWindows, editorWorkerHost.localize(1708, "Whether the operating system is Windows"));
|
|
99075
|
+
const IsWebContext = new RawContextKey("isWeb", editorWorkerHost.isWeb, editorWorkerHost.localize(1709, "Whether the platform is a web browser"));
|
|
99076
|
+
new RawContextKey("isMacNative", editorWorkerHost.isMacintosh && !editorWorkerHost.isWeb, editorWorkerHost.localize(1710, "Whether the operating system is macOS on a non-browser platform"));
|
|
99077
|
+
new RawContextKey("isIOS", editorWorkerHost.isIOS, editorWorkerHost.localize(1711, "Whether the operating system is iOS"));
|
|
99078
|
+
new RawContextKey("isMobile", editorWorkerHost.isMobile, editorWorkerHost.localize(1712, "Whether the platform is a mobile web browser"));
|
|
99047
99079
|
new RawContextKey("isDevelopment", false, true);
|
|
99048
|
-
new RawContextKey("productQualityType", "", editorWorkerHost.localize(
|
|
99080
|
+
new RawContextKey("productQualityType", "", editorWorkerHost.localize(1713, "Quality type of VS Code"));
|
|
99049
99081
|
const InputFocusedContextKey = "inputFocus";
|
|
99050
|
-
const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, editorWorkerHost.localize(
|
|
99082
|
+
const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, editorWorkerHost.localize(1714, "Whether keyboard focus is inside an input box"));
|
|
99051
99083
|
var __decorate$r = function(decorators, target, key, desc) {
|
|
99052
99084
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
99053
99085
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -99905,118 +99937,118 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
99905
99937
|
configurationRegistry.registerConfiguration({
|
|
99906
99938
|
id: "workbench",
|
|
99907
99939
|
order: 7,
|
|
99908
|
-
title: editorWorkerHost.localize(
|
|
99940
|
+
title: editorWorkerHost.localize(1728, "Workbench"),
|
|
99909
99941
|
type: "object",
|
|
99910
99942
|
properties: {
|
|
99911
99943
|
[multiSelectModifierSettingKey]: {
|
|
99912
99944
|
type: "string",
|
|
99913
99945
|
enum: ["ctrlCmd", "alt"],
|
|
99914
99946
|
markdownEnumDescriptions: [
|
|
99915
|
-
editorWorkerHost.localize(
|
|
99916
|
-
editorWorkerHost.localize(
|
|
99947
|
+
editorWorkerHost.localize(1729, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
99948
|
+
editorWorkerHost.localize(1730, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
|
|
99917
99949
|
],
|
|
99918
99950
|
default: "ctrlCmd",
|
|
99919
|
-
description: editorWorkerHost.localize(
|
|
99951
|
+
description: editorWorkerHost.localize(1731, "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.")
|
|
99920
99952
|
},
|
|
99921
99953
|
[openModeSettingKey]: {
|
|
99922
99954
|
type: "string",
|
|
99923
99955
|
enum: ["singleClick", "doubleClick"],
|
|
99924
99956
|
default: "singleClick",
|
|
99925
|
-
description: editorWorkerHost.localize(
|
|
99957
|
+
description: editorWorkerHost.localize(1732, "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.")
|
|
99926
99958
|
},
|
|
99927
99959
|
[horizontalScrollingKey]: {
|
|
99928
99960
|
type: "boolean",
|
|
99929
99961
|
default: false,
|
|
99930
|
-
description: editorWorkerHost.localize(
|
|
99962
|
+
description: editorWorkerHost.localize(1733, "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
|
|
99931
99963
|
},
|
|
99932
99964
|
[scrollByPageKey]: {
|
|
99933
99965
|
type: "boolean",
|
|
99934
99966
|
default: false,
|
|
99935
|
-
description: editorWorkerHost.localize(
|
|
99967
|
+
description: editorWorkerHost.localize(1734, "Controls whether clicks in the scrollbar scroll page by page.")
|
|
99936
99968
|
},
|
|
99937
99969
|
[treeIndentKey]: {
|
|
99938
99970
|
type: "number",
|
|
99939
99971
|
default: 8,
|
|
99940
99972
|
minimum: 4,
|
|
99941
99973
|
maximum: 40,
|
|
99942
|
-
description: editorWorkerHost.localize(
|
|
99974
|
+
description: editorWorkerHost.localize(1735, "Controls tree indentation in pixels.")
|
|
99943
99975
|
},
|
|
99944
99976
|
[treeRenderIndentGuidesKey]: {
|
|
99945
99977
|
type: "string",
|
|
99946
99978
|
enum: ["none", "onHover", "always"],
|
|
99947
99979
|
default: "onHover",
|
|
99948
|
-
description: editorWorkerHost.localize(
|
|
99980
|
+
description: editorWorkerHost.localize(1736, "Controls whether the tree should render indent guides.")
|
|
99949
99981
|
},
|
|
99950
99982
|
[listSmoothScrolling]: {
|
|
99951
99983
|
type: "boolean",
|
|
99952
99984
|
default: false,
|
|
99953
|
-
description: editorWorkerHost.localize(
|
|
99985
|
+
description: editorWorkerHost.localize(1737, "Controls whether lists and trees have smooth scrolling.")
|
|
99954
99986
|
},
|
|
99955
99987
|
[mouseWheelScrollSensitivityKey]: {
|
|
99956
99988
|
type: "number",
|
|
99957
99989
|
default: 1,
|
|
99958
|
-
markdownDescription: editorWorkerHost.localize(
|
|
99990
|
+
markdownDescription: editorWorkerHost.localize(1738, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")
|
|
99959
99991
|
},
|
|
99960
99992
|
[fastScrollSensitivityKey]: {
|
|
99961
99993
|
type: "number",
|
|
99962
99994
|
default: 5,
|
|
99963
|
-
markdownDescription: editorWorkerHost.localize(
|
|
99995
|
+
markdownDescription: editorWorkerHost.localize(1739, "Scrolling speed multiplier when pressing `Alt`.")
|
|
99964
99996
|
},
|
|
99965
99997
|
[defaultFindModeSettingKey]: {
|
|
99966
99998
|
type: "string",
|
|
99967
99999
|
enum: ["highlight", "filter"],
|
|
99968
100000
|
enumDescriptions: [
|
|
99969
|
-
editorWorkerHost.localize(
|
|
99970
|
-
editorWorkerHost.localize(
|
|
100001
|
+
editorWorkerHost.localize(1740, "Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),
|
|
100002
|
+
editorWorkerHost.localize(1741, "Filter elements when searching.")
|
|
99971
100003
|
],
|
|
99972
100004
|
default: "highlight",
|
|
99973
|
-
description: editorWorkerHost.localize(
|
|
100005
|
+
description: editorWorkerHost.localize(1742, "Controls the default find mode for lists and trees in the workbench.")
|
|
99974
100006
|
},
|
|
99975
100007
|
[keyboardNavigationSettingKey]: {
|
|
99976
100008
|
type: "string",
|
|
99977
100009
|
enum: ["simple", "highlight", "filter"],
|
|
99978
100010
|
enumDescriptions: [
|
|
99979
|
-
editorWorkerHost.localize(
|
|
99980
|
-
editorWorkerHost.localize(
|
|
99981
|
-
editorWorkerHost.localize(
|
|
100011
|
+
editorWorkerHost.localize(1743, "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
|
|
100012
|
+
editorWorkerHost.localize(1744, "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
|
|
100013
|
+
editorWorkerHost.localize(1745, "Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")
|
|
99982
100014
|
],
|
|
99983
100015
|
default: "highlight",
|
|
99984
|
-
description: editorWorkerHost.localize(
|
|
100016
|
+
description: editorWorkerHost.localize(1746, "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),
|
|
99985
100017
|
deprecated: true,
|
|
99986
|
-
deprecationMessage: editorWorkerHost.localize(
|
|
100018
|
+
deprecationMessage: editorWorkerHost.localize(1747, "Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")
|
|
99987
100019
|
},
|
|
99988
100020
|
[defaultFindMatchTypeSettingKey]: {
|
|
99989
100021
|
type: "string",
|
|
99990
100022
|
enum: ["fuzzy", "contiguous"],
|
|
99991
100023
|
enumDescriptions: [
|
|
99992
|
-
editorWorkerHost.localize(
|
|
99993
|
-
editorWorkerHost.localize(
|
|
100024
|
+
editorWorkerHost.localize(1748, "Use fuzzy matching when searching."),
|
|
100025
|
+
editorWorkerHost.localize(1749, "Use contiguous matching when searching.")
|
|
99994
100026
|
],
|
|
99995
100027
|
default: "fuzzy",
|
|
99996
|
-
description: editorWorkerHost.localize(
|
|
100028
|
+
description: editorWorkerHost.localize(1750, "Controls the type of matching used when searching lists and trees in the workbench.")
|
|
99997
100029
|
},
|
|
99998
100030
|
[treeExpandMode]: {
|
|
99999
100031
|
type: "string",
|
|
100000
100032
|
enum: ["singleClick", "doubleClick"],
|
|
100001
100033
|
default: "singleClick",
|
|
100002
|
-
description: editorWorkerHost.localize(
|
|
100034
|
+
description: editorWorkerHost.localize(1751, "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.")
|
|
100003
100035
|
},
|
|
100004
100036
|
[treeStickyScroll]: {
|
|
100005
100037
|
type: "boolean",
|
|
100006
100038
|
default: true,
|
|
100007
|
-
description: editorWorkerHost.localize(
|
|
100039
|
+
description: editorWorkerHost.localize(1752, "Controls whether sticky scrolling is enabled in trees.")
|
|
100008
100040
|
},
|
|
100009
100041
|
[treeStickyScrollMaxElements]: {
|
|
100010
100042
|
type: "number",
|
|
100011
100043
|
minimum: 1,
|
|
100012
100044
|
default: 7,
|
|
100013
|
-
markdownDescription: editorWorkerHost.localize(
|
|
100045
|
+
markdownDescription: editorWorkerHost.localize(1753, "Controls the number of sticky elements displayed in the tree when {0} is enabled.", "`#workbench.tree.enableStickyScroll#`")
|
|
100014
100046
|
},
|
|
100015
100047
|
[typeNavigationModeSettingKey]: {
|
|
100016
100048
|
type: "string",
|
|
100017
100049
|
enum: ["automatic", "trigger"],
|
|
100018
100050
|
default: "automatic",
|
|
100019
|
-
markdownDescription: editorWorkerHost.localize(
|
|
100051
|
+
markdownDescription: editorWorkerHost.localize(1754, "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.")
|
|
100020
100052
|
}
|
|
100021
100053
|
}
|
|
100022
100054
|
});
|
|
@@ -100176,7 +100208,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
100176
100208
|
}
|
|
100177
100209
|
class QuickInputAccessibilityProvider {
|
|
100178
100210
|
getWidgetAriaLabel() {
|
|
100179
|
-
return editorWorkerHost.localize(
|
|
100211
|
+
return editorWorkerHost.localize(1794, "Quick Input");
|
|
100180
100212
|
}
|
|
100181
100213
|
getAriaLabel(element) {
|
|
100182
100214
|
return element.separator?.label ? `${element.saneAriaLabel}, ${element.separator.label}` : element.saneAriaLabel;
|
|
@@ -101225,7 +101257,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101225
101257
|
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
101226
101258
|
weight: 200,
|
|
101227
101259
|
when: inQuickInputContext,
|
|
101228
|
-
metadata: { description: editorWorkerHost.localize(
|
|
101260
|
+
metadata: { description: editorWorkerHost.localize(1782, "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.") },
|
|
101229
101261
|
...rule,
|
|
101230
101262
|
secondary: getSecondary(rule.primary, rule.secondary ?? [], options)
|
|
101231
101263
|
});
|
|
@@ -101246,7 +101278,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101246
101278
|
/* QuickInputType.QuickTree */
|
|
101247
101279
|
)
|
|
101248
101280
|
), inQuickInputContext),
|
|
101249
|
-
metadata: { description: editorWorkerHost.localize(
|
|
101281
|
+
metadata: { description: editorWorkerHost.localize(1783, "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.") },
|
|
101250
101282
|
...rule,
|
|
101251
101283
|
secondary: getSecondary(rule.primary, rule.secondary ?? [], options)
|
|
101252
101284
|
});
|
|
@@ -101294,8 +101326,8 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101294
101326
|
registerQuickPickCommandAndKeybindingRule({ id: "quickInput.last", primary: ctrlKeyMod + 13, handler: focusHandler(QuickPickFocus.Last) }, { withAltMod: true, withCmdMod: true });
|
|
101295
101327
|
registerQuickPickCommandAndKeybindingRule({ id: "quickInput.next", primary: 18, handler: focusHandler(QuickPickFocus.Next) }, { withCtrlMod: true });
|
|
101296
101328
|
registerQuickPickCommandAndKeybindingRule({ id: "quickInput.previous", primary: 16, handler: focusHandler(QuickPickFocus.Previous) }, { withCtrlMod: true });
|
|
101297
|
-
const nextSeparatorFallbackDesc = editorWorkerHost.localize(
|
|
101298
|
-
const prevSeparatorFallbackDesc = editorWorkerHost.localize(
|
|
101329
|
+
const nextSeparatorFallbackDesc = editorWorkerHost.localize(1784, "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.");
|
|
101330
|
+
const prevSeparatorFallbackDesc = editorWorkerHost.localize(1785, "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.");
|
|
101299
101331
|
if (editorWorkerHost.isMacintosh) {
|
|
101300
101332
|
registerQuickPickCommandAndKeybindingRule({
|
|
101301
101333
|
id: "quickInput.nextSeparatorWithQuickAccessFallback",
|
|
@@ -101370,7 +101402,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101370
101402
|
inQuickInputContext,
|
|
101371
101403
|
ContextKeyExpr.not("isComposing")
|
|
101372
101404
|
),
|
|
101373
|
-
metadata: { description: editorWorkerHost.localize(
|
|
101405
|
+
metadata: { description: editorWorkerHost.localize(1786, "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.") },
|
|
101374
101406
|
handler: (accessor) => {
|
|
101375
101407
|
const currentQuickPick = accessor.get(IQuickInputService).currentQuickInput;
|
|
101376
101408
|
currentQuickPick?.accept();
|
|
@@ -101597,7 +101629,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
101597
101629
|
this.onCheckedEvent = onCheckedEvent;
|
|
101598
101630
|
}
|
|
101599
101631
|
getWidgetAriaLabel() {
|
|
101600
|
-
return editorWorkerHost.localize(
|
|
101632
|
+
return editorWorkerHost.localize(1796, "Quick Tree");
|
|
101601
101633
|
}
|
|
101602
101634
|
getAriaLabel(element) {
|
|
101603
101635
|
return element.ariaLabel || [element.label, element.description].map((s) => getCodiconAriaLabel(s)).filter((s) => !!s).join(", ");
|
|
@@ -102136,7 +102168,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102136
102168
|
this._onDidAcceptEmitter.fire();
|
|
102137
102169
|
}
|
|
102138
102170
|
};
|
|
102139
|
-
_QuickTree.DEFAULT_ARIA_LABEL = editorWorkerHost.localize(
|
|
102171
|
+
_QuickTree.DEFAULT_ARIA_LABEL = editorWorkerHost.localize(1797, "Type to narrow down results.");
|
|
102140
102172
|
let QuickTree = _QuickTree;
|
|
102141
102173
|
var __decorate$n = function(decorators, target, key, desc) {
|
|
102142
102174
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -102232,7 +102264,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102232
102264
|
}));
|
|
102233
102265
|
rightActionBar.getElement().classList.add("quick-input-right-action-bar");
|
|
102234
102266
|
const headerContainer = append$2(container, $(".quick-input-header"));
|
|
102235
|
-
const checkAll = this._register(new TriStateCheckbox(editorWorkerHost.localize(
|
|
102267
|
+
const checkAll = this._register(new TriStateCheckbox(editorWorkerHost.localize(1787, "Toggle all checkboxes"), false, { ...defaultCheckboxStyles, size: 15 }));
|
|
102236
102268
|
append$2(headerContainer, checkAll.domNode);
|
|
102237
102269
|
this._register(checkAll.onChange(() => {
|
|
102238
102270
|
const checked = checkAll.checked;
|
|
@@ -102251,10 +102283,10 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102251
102283
|
const visibleCountContainer = append$2(filterContainer, $(".quick-input-visible-count"));
|
|
102252
102284
|
visibleCountContainer.setAttribute("aria-live", "polite");
|
|
102253
102285
|
visibleCountContainer.setAttribute("aria-atomic", "true");
|
|
102254
|
-
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: editorWorkerHost.localize(
|
|
102286
|
+
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: editorWorkerHost.localize(1788, "{0} Results") }, this.styles.countBadge));
|
|
102255
102287
|
const countContainer = append$2(filterContainer, $(".quick-input-count"));
|
|
102256
102288
|
countContainer.setAttribute("aria-live", "polite");
|
|
102257
|
-
const count = this._register(new CountBadge(countContainer, { countFormat: editorWorkerHost.localize(
|
|
102289
|
+
const count = this._register(new CountBadge(countContainer, { countFormat: editorWorkerHost.localize(1789, "{0} Selected") }, this.styles.countBadge));
|
|
102258
102290
|
const inlineActionBar = this._register(new ToolBar(headerContainer, this.contextMenuService, {
|
|
102259
102291
|
hoverDelegate: this.options.hoverDelegate,
|
|
102260
102292
|
actionViewItemProvider: createToggleActionViewItemProvider(this.styles.toggle),
|
|
@@ -102264,13 +102296,13 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102264
102296
|
inlineActionBar.getElement().classList.add("quick-input-inline-action-bar");
|
|
102265
102297
|
const okContainer = append$2(headerContainer, $(".quick-input-action"));
|
|
102266
102298
|
const ok = this._register(new Button(okContainer, this.styles.button));
|
|
102267
|
-
ok.label = editorWorkerHost.localize(
|
|
102299
|
+
ok.label = editorWorkerHost.localize(1790, "OK");
|
|
102268
102300
|
this._register(ok.onDidClick((e) => {
|
|
102269
102301
|
this.onDidAcceptEmitter.fire();
|
|
102270
102302
|
}));
|
|
102271
102303
|
const customButtonContainer = append$2(headerContainer, $(".quick-input-action"));
|
|
102272
102304
|
const customButton = this._register(new Button(customButtonContainer, { ...this.styles.button, supportIcons: true }));
|
|
102273
|
-
customButton.label = editorWorkerHost.localize(
|
|
102305
|
+
customButton.label = editorWorkerHost.localize(1791, "Custom");
|
|
102274
102306
|
this._register(customButton.onDidClick((e) => {
|
|
102275
102307
|
this.onDidCustomEmitter.fire();
|
|
102276
102308
|
}));
|
|
@@ -102682,7 +102714,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
102682
102714
|
ui.inputBox.toggles = void 0;
|
|
102683
102715
|
ui.inputBox.actions = void 0;
|
|
102684
102716
|
const backKeybindingLabel = this.options.backKeybindingLabel();
|
|
102685
|
-
backButton.tooltip = backKeybindingLabel ? editorWorkerHost.localize(
|
|
102717
|
+
backButton.tooltip = backKeybindingLabel ? editorWorkerHost.localize(1792, "Back ({0})", backKeybindingLabel) : editorWorkerHost.localize(1793, "Back");
|
|
102686
102718
|
ui.container.style.display = "";
|
|
102687
102719
|
this.updateLayout();
|
|
102688
102720
|
this.dndController?.layoutContainer();
|
|
@@ -103615,7 +103647,7 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
103615
103647
|
IconFontDefinition2.fromJSONObject = fromJSONObject;
|
|
103616
103648
|
})(IconFontDefinition || (IconFontDefinition = {}));
|
|
103617
103649
|
const fontIdRegex = /^([\w_-]+)$/;
|
|
103618
|
-
const fontIdErrorMessage = editorWorkerHost.localize(
|
|
103650
|
+
const fontIdErrorMessage = editorWorkerHost.localize(2051, "The font ID must only contain letters, numbers, underscores and dashes.");
|
|
103619
103651
|
class IconRegistry extends editorWorkerHost.Disposable {
|
|
103620
103652
|
constructor() {
|
|
103621
103653
|
super();
|
|
@@ -103626,8 +103658,8 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
103626
103658
|
icons: {
|
|
103627
103659
|
type: "object",
|
|
103628
103660
|
properties: {
|
|
103629
|
-
fontId: { type: "string", description: editorWorkerHost.localize(
|
|
103630
|
-
fontCharacter: { type: "string", description: editorWorkerHost.localize(
|
|
103661
|
+
fontId: { type: "string", description: editorWorkerHost.localize(2052, "The id of the font to use. If not set, the font that is defined first is used."), pattern: fontIdRegex.source, patternErrorMessage: fontIdErrorMessage },
|
|
103662
|
+
fontCharacter: { type: "string", description: editorWorkerHost.localize(2053, "The font character associated with the icon definition.") }
|
|
103631
103663
|
},
|
|
103632
103664
|
additionalProperties: false,
|
|
103633
103665
|
defaultSnippets: [{ body: { fontCharacter: "\\\\e030" } }]
|
|
@@ -103728,9 +103760,9 @@ ${formatRule(editorWorkerHost.Codicon.menuSubmenu)}
|
|
|
103728
103760
|
delayer.schedule();
|
|
103729
103761
|
}
|
|
103730
103762
|
});
|
|
103731
|
-
const widgetClose = registerIcon("widget-close", editorWorkerHost.Codicon.close, editorWorkerHost.localize(
|
|
103732
|
-
registerIcon("goto-previous-location", editorWorkerHost.Codicon.arrowUp, editorWorkerHost.localize(
|
|
103733
|
-
registerIcon("goto-next-location", editorWorkerHost.Codicon.arrowDown, editorWorkerHost.localize(
|
|
103763
|
+
const widgetClose = registerIcon("widget-close", editorWorkerHost.Codicon.close, editorWorkerHost.localize(2054, "Icon for the close action in widgets."));
|
|
103764
|
+
registerIcon("goto-previous-location", editorWorkerHost.Codicon.arrowUp, editorWorkerHost.localize(2055, "Icon for goto previous editor location."));
|
|
103765
|
+
registerIcon("goto-next-location", editorWorkerHost.Codicon.arrowDown, editorWorkerHost.localize(2056, "Icon for goto next editor location."));
|
|
103734
103766
|
exports.ThemeIcon.modify(editorWorkerHost.Codicon.sync, "spin");
|
|
103735
103767
|
exports.ThemeIcon.modify(editorWorkerHost.Codicon.loading, "spin");
|
|
103736
103768
|
function getIconsStyleSheet(themeService) {
|
|
@@ -104588,7 +104620,7 @@ ${this._themeCSS}`;
|
|
|
104588
104620
|
const title = typeof command.title === "string" ? command.title : command.title.value;
|
|
104589
104621
|
const hide2 = toAction({
|
|
104590
104622
|
id: `hide/${menu.id}/${id}`,
|
|
104591
|
-
label: editorWorkerHost.localize(
|
|
104623
|
+
label: editorWorkerHost.localize(1673, "Hide '{0}'", title),
|
|
104592
104624
|
run() {
|
|
104593
104625
|
states.updateHidden(menu, id, true);
|
|
104594
104626
|
}
|
|
@@ -104614,7 +104646,7 @@ ${this._themeCSS}`;
|
|
|
104614
104646
|
function createConfigureKeybindingAction(commandService, keybindingService, commandId, when = void 0, enabled = true) {
|
|
104615
104647
|
return toAction({
|
|
104616
104648
|
id: `configureKeybinding/${commandId}`,
|
|
104617
|
-
label: editorWorkerHost.localize(
|
|
104649
|
+
label: editorWorkerHost.localize(1674, "Configure Keybinding"),
|
|
104618
104650
|
enabled,
|
|
104619
104651
|
run() {
|
|
104620
104652
|
const hasKeybinding = !!keybindingService.lookupKeybinding(commandId);
|
|
@@ -105194,7 +105226,7 @@ ${this._themeCSS}`;
|
|
|
105194
105226
|
return [...RawContextKey.all()].sort((a, b) => a.key.localeCompare(b.key));
|
|
105195
105227
|
},
|
|
105196
105228
|
metadata: {
|
|
105197
|
-
description: editorWorkerHost.localize(
|
|
105229
|
+
description: editorWorkerHost.localize(1696, "A command that returns information about context keys"),
|
|
105198
105230
|
args: []
|
|
105199
105231
|
}
|
|
105200
105232
|
});
|
|
@@ -105859,7 +105891,7 @@ ${graph.toString()}`;
|
|
|
105859
105891
|
* Creates an information marker for filtered resources
|
|
105860
105892
|
*/
|
|
105861
105893
|
_createFilteredMarker(resource, reasons) {
|
|
105862
|
-
const message = reasons.length === 1 ? editorWorkerHost.localize(
|
|
105894
|
+
const message = reasons.length === 1 ? editorWorkerHost.localize(1761, 'Problems are paused because: "{0}"', reasons[0]) : editorWorkerHost.localize(1762, 'Problems are paused because: "{0}" and {1} more', reasons[0], reasons.length - 1);
|
|
105863
105895
|
return {
|
|
105864
105896
|
owner: "markersFilter",
|
|
105865
105897
|
resource,
|
|
@@ -106039,176 +106071,176 @@ ${graph.toString()}`;
|
|
|
106039
106071
|
};
|
|
106040
106072
|
_AccessibilitySignal._signals = /* @__PURE__ */ new Set();
|
|
106041
106073
|
_AccessibilitySignal.errorAtPosition = _AccessibilitySignal.register({
|
|
106042
|
-
name: editorWorkerHost.localize(
|
|
106074
|
+
name: editorWorkerHost.localize(1600, "Error at Position"),
|
|
106043
106075
|
sound: Sound.error,
|
|
106044
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106076
|
+
announcementMessage: editorWorkerHost.localize(1601, "Error"),
|
|
106045
106077
|
settingsKey: "accessibility.signals.positionHasError",
|
|
106046
106078
|
delaySettingsKey: "accessibility.signalOptions.delays.errorAtPosition"
|
|
106047
106079
|
});
|
|
106048
106080
|
_AccessibilitySignal.warningAtPosition = _AccessibilitySignal.register({
|
|
106049
|
-
name: editorWorkerHost.localize(
|
|
106081
|
+
name: editorWorkerHost.localize(1602, "Warning at Position"),
|
|
106050
106082
|
sound: Sound.warning,
|
|
106051
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106083
|
+
announcementMessage: editorWorkerHost.localize(1603, "Warning"),
|
|
106052
106084
|
settingsKey: "accessibility.signals.positionHasWarning",
|
|
106053
106085
|
delaySettingsKey: "accessibility.signalOptions.delays.warningAtPosition"
|
|
106054
106086
|
});
|
|
106055
106087
|
_AccessibilitySignal.errorOnLine = _AccessibilitySignal.register({
|
|
106056
|
-
name: editorWorkerHost.localize(
|
|
106088
|
+
name: editorWorkerHost.localize(1604, "Error on Line"),
|
|
106057
106089
|
sound: Sound.error,
|
|
106058
106090
|
legacySoundSettingsKey: "audioCues.lineHasError",
|
|
106059
106091
|
legacyAnnouncementSettingsKey: "accessibility.alert.error",
|
|
106060
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106092
|
+
announcementMessage: editorWorkerHost.localize(1605, "Error on Line"),
|
|
106061
106093
|
settingsKey: "accessibility.signals.lineHasError"
|
|
106062
106094
|
});
|
|
106063
106095
|
_AccessibilitySignal.warningOnLine = _AccessibilitySignal.register({
|
|
106064
|
-
name: editorWorkerHost.localize(
|
|
106096
|
+
name: editorWorkerHost.localize(1606, "Warning on Line"),
|
|
106065
106097
|
sound: Sound.warning,
|
|
106066
106098
|
legacySoundSettingsKey: "audioCues.lineHasWarning",
|
|
106067
106099
|
legacyAnnouncementSettingsKey: "accessibility.alert.warning",
|
|
106068
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106100
|
+
announcementMessage: editorWorkerHost.localize(1607, "Warning on Line"),
|
|
106069
106101
|
settingsKey: "accessibility.signals.lineHasWarning"
|
|
106070
106102
|
});
|
|
106071
106103
|
_AccessibilitySignal.foldedArea = _AccessibilitySignal.register({
|
|
106072
|
-
name: editorWorkerHost.localize(
|
|
106104
|
+
name: editorWorkerHost.localize(1608, "Folded Area on Line"),
|
|
106073
106105
|
sound: Sound.foldedArea,
|
|
106074
106106
|
legacySoundSettingsKey: "audioCues.lineHasFoldedArea",
|
|
106075
106107
|
legacyAnnouncementSettingsKey: "accessibility.alert.foldedArea",
|
|
106076
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106108
|
+
announcementMessage: editorWorkerHost.localize(1609, "Folded"),
|
|
106077
106109
|
settingsKey: "accessibility.signals.lineHasFoldedArea"
|
|
106078
106110
|
});
|
|
106079
106111
|
_AccessibilitySignal.break = _AccessibilitySignal.register({
|
|
106080
|
-
name: editorWorkerHost.localize(
|
|
106112
|
+
name: editorWorkerHost.localize(1610, "Breakpoint on Line"),
|
|
106081
106113
|
sound: Sound.break,
|
|
106082
106114
|
legacySoundSettingsKey: "audioCues.lineHasBreakpoint",
|
|
106083
106115
|
legacyAnnouncementSettingsKey: "accessibility.alert.breakpoint",
|
|
106084
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106116
|
+
announcementMessage: editorWorkerHost.localize(1611, "Breakpoint"),
|
|
106085
106117
|
settingsKey: "accessibility.signals.lineHasBreakpoint"
|
|
106086
106118
|
});
|
|
106087
106119
|
_AccessibilitySignal.inlineSuggestion = _AccessibilitySignal.register({
|
|
106088
|
-
name: editorWorkerHost.localize(
|
|
106120
|
+
name: editorWorkerHost.localize(1612, "Inline Suggestion on Line"),
|
|
106089
106121
|
sound: Sound.quickFixes,
|
|
106090
106122
|
legacySoundSettingsKey: "audioCues.lineHasInlineSuggestion",
|
|
106091
106123
|
settingsKey: "accessibility.signals.lineHasInlineSuggestion"
|
|
106092
106124
|
});
|
|
106093
106125
|
_AccessibilitySignal.nextEditSuggestion = _AccessibilitySignal.register({
|
|
106094
|
-
name: editorWorkerHost.localize(
|
|
106126
|
+
name: editorWorkerHost.localize(1613, "Next Edit Suggestion on Line"),
|
|
106095
106127
|
sound: Sound.nextEditSuggestion,
|
|
106096
106128
|
legacySoundSettingsKey: "audioCues.nextEditSuggestion",
|
|
106097
106129
|
settingsKey: "accessibility.signals.nextEditSuggestion",
|
|
106098
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106130
|
+
announcementMessage: editorWorkerHost.localize(1614, "Next Edit Suggestion")
|
|
106099
106131
|
});
|
|
106100
106132
|
_AccessibilitySignal.terminalQuickFix = _AccessibilitySignal.register({
|
|
106101
|
-
name: editorWorkerHost.localize(
|
|
106133
|
+
name: editorWorkerHost.localize(1615, "Terminal Quick Fix"),
|
|
106102
106134
|
sound: Sound.quickFixes,
|
|
106103
106135
|
legacySoundSettingsKey: "audioCues.terminalQuickFix",
|
|
106104
106136
|
legacyAnnouncementSettingsKey: "accessibility.alert.terminalQuickFix",
|
|
106105
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106137
|
+
announcementMessage: editorWorkerHost.localize(1616, "Quick Fix"),
|
|
106106
106138
|
settingsKey: "accessibility.signals.terminalQuickFix"
|
|
106107
106139
|
});
|
|
106108
106140
|
_AccessibilitySignal.onDebugBreak = _AccessibilitySignal.register({
|
|
106109
|
-
name: editorWorkerHost.localize(
|
|
106141
|
+
name: editorWorkerHost.localize(1617, "Debugger Stopped on Breakpoint"),
|
|
106110
106142
|
sound: Sound.break,
|
|
106111
106143
|
legacySoundSettingsKey: "audioCues.onDebugBreak",
|
|
106112
106144
|
legacyAnnouncementSettingsKey: "accessibility.alert.onDebugBreak",
|
|
106113
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106145
|
+
announcementMessage: editorWorkerHost.localize(1618, "Breakpoint"),
|
|
106114
106146
|
settingsKey: "accessibility.signals.onDebugBreak"
|
|
106115
106147
|
});
|
|
106116
106148
|
_AccessibilitySignal.noInlayHints = _AccessibilitySignal.register({
|
|
106117
|
-
name: editorWorkerHost.localize(
|
|
106149
|
+
name: editorWorkerHost.localize(1619, "No Inlay Hints on Line"),
|
|
106118
106150
|
sound: Sound.error,
|
|
106119
106151
|
legacySoundSettingsKey: "audioCues.noInlayHints",
|
|
106120
106152
|
legacyAnnouncementSettingsKey: "accessibility.alert.noInlayHints",
|
|
106121
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106153
|
+
announcementMessage: editorWorkerHost.localize(1620, "No Inlay Hints"),
|
|
106122
106154
|
settingsKey: "accessibility.signals.noInlayHints"
|
|
106123
106155
|
});
|
|
106124
106156
|
_AccessibilitySignal.taskCompleted = _AccessibilitySignal.register({
|
|
106125
|
-
name: editorWorkerHost.localize(
|
|
106157
|
+
name: editorWorkerHost.localize(1621, "Task Completed"),
|
|
106126
106158
|
sound: Sound.taskCompleted,
|
|
106127
106159
|
legacySoundSettingsKey: "audioCues.taskCompleted",
|
|
106128
106160
|
legacyAnnouncementSettingsKey: "accessibility.alert.taskCompleted",
|
|
106129
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106161
|
+
announcementMessage: editorWorkerHost.localize(1622, "Task Completed"),
|
|
106130
106162
|
settingsKey: "accessibility.signals.taskCompleted"
|
|
106131
106163
|
});
|
|
106132
106164
|
_AccessibilitySignal.taskFailed = _AccessibilitySignal.register({
|
|
106133
|
-
name: editorWorkerHost.localize(
|
|
106165
|
+
name: editorWorkerHost.localize(1623, "Task Failed"),
|
|
106134
106166
|
sound: Sound.taskFailed,
|
|
106135
106167
|
legacySoundSettingsKey: "audioCues.taskFailed",
|
|
106136
106168
|
legacyAnnouncementSettingsKey: "accessibility.alert.taskFailed",
|
|
106137
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106169
|
+
announcementMessage: editorWorkerHost.localize(1624, "Task Failed"),
|
|
106138
106170
|
settingsKey: "accessibility.signals.taskFailed"
|
|
106139
106171
|
});
|
|
106140
106172
|
_AccessibilitySignal.terminalCommandFailed = _AccessibilitySignal.register({
|
|
106141
|
-
name: editorWorkerHost.localize(
|
|
106173
|
+
name: editorWorkerHost.localize(1625, "Terminal Command Failed"),
|
|
106142
106174
|
sound: Sound.error,
|
|
106143
106175
|
legacySoundSettingsKey: "audioCues.terminalCommandFailed",
|
|
106144
106176
|
legacyAnnouncementSettingsKey: "accessibility.alert.terminalCommandFailed",
|
|
106145
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106177
|
+
announcementMessage: editorWorkerHost.localize(1626, "Command Failed"),
|
|
106146
106178
|
settingsKey: "accessibility.signals.terminalCommandFailed"
|
|
106147
106179
|
});
|
|
106148
106180
|
_AccessibilitySignal.terminalCommandSucceeded = _AccessibilitySignal.register({
|
|
106149
|
-
name: editorWorkerHost.localize(
|
|
106181
|
+
name: editorWorkerHost.localize(1627, "Terminal Command Succeeded"),
|
|
106150
106182
|
sound: Sound.terminalCommandSucceeded,
|
|
106151
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106183
|
+
announcementMessage: editorWorkerHost.localize(1628, "Command Succeeded"),
|
|
106152
106184
|
settingsKey: "accessibility.signals.terminalCommandSucceeded"
|
|
106153
106185
|
});
|
|
106154
106186
|
_AccessibilitySignal.terminalBell = _AccessibilitySignal.register({
|
|
106155
|
-
name: editorWorkerHost.localize(
|
|
106187
|
+
name: editorWorkerHost.localize(1629, "Terminal Bell"),
|
|
106156
106188
|
sound: Sound.terminalBell,
|
|
106157
106189
|
legacySoundSettingsKey: "audioCues.terminalBell",
|
|
106158
106190
|
legacyAnnouncementSettingsKey: "accessibility.alert.terminalBell",
|
|
106159
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106191
|
+
announcementMessage: editorWorkerHost.localize(1630, "Terminal Bell"),
|
|
106160
106192
|
settingsKey: "accessibility.signals.terminalBell"
|
|
106161
106193
|
});
|
|
106162
106194
|
_AccessibilitySignal.notebookCellCompleted = _AccessibilitySignal.register({
|
|
106163
|
-
name: editorWorkerHost.localize(
|
|
106195
|
+
name: editorWorkerHost.localize(1631, "Notebook Cell Completed"),
|
|
106164
106196
|
sound: Sound.taskCompleted,
|
|
106165
106197
|
legacySoundSettingsKey: "audioCues.notebookCellCompleted",
|
|
106166
106198
|
legacyAnnouncementSettingsKey: "accessibility.alert.notebookCellCompleted",
|
|
106167
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106199
|
+
announcementMessage: editorWorkerHost.localize(1632, "Notebook Cell Completed"),
|
|
106168
106200
|
settingsKey: "accessibility.signals.notebookCellCompleted"
|
|
106169
106201
|
});
|
|
106170
106202
|
_AccessibilitySignal.notebookCellFailed = _AccessibilitySignal.register({
|
|
106171
|
-
name: editorWorkerHost.localize(
|
|
106203
|
+
name: editorWorkerHost.localize(1633, "Notebook Cell Failed"),
|
|
106172
106204
|
sound: Sound.taskFailed,
|
|
106173
106205
|
legacySoundSettingsKey: "audioCues.notebookCellFailed",
|
|
106174
106206
|
legacyAnnouncementSettingsKey: "accessibility.alert.notebookCellFailed",
|
|
106175
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106207
|
+
announcementMessage: editorWorkerHost.localize(1634, "Notebook Cell Failed"),
|
|
106176
106208
|
settingsKey: "accessibility.signals.notebookCellFailed"
|
|
106177
106209
|
});
|
|
106178
106210
|
_AccessibilitySignal.diffLineInserted = _AccessibilitySignal.register({
|
|
106179
|
-
name: editorWorkerHost.localize(
|
|
106211
|
+
name: editorWorkerHost.localize(1635, "Diff Line Inserted"),
|
|
106180
106212
|
sound: Sound.diffLineInserted,
|
|
106181
106213
|
legacySoundSettingsKey: "audioCues.diffLineInserted",
|
|
106182
106214
|
settingsKey: "accessibility.signals.diffLineInserted"
|
|
106183
106215
|
});
|
|
106184
106216
|
_AccessibilitySignal.diffLineDeleted = _AccessibilitySignal.register({
|
|
106185
|
-
name: editorWorkerHost.localize(
|
|
106217
|
+
name: editorWorkerHost.localize(1636, "Diff Line Deleted"),
|
|
106186
106218
|
sound: Sound.diffLineDeleted,
|
|
106187
106219
|
legacySoundSettingsKey: "audioCues.diffLineDeleted",
|
|
106188
106220
|
settingsKey: "accessibility.signals.diffLineDeleted"
|
|
106189
106221
|
});
|
|
106190
106222
|
_AccessibilitySignal.diffLineModified = _AccessibilitySignal.register({
|
|
106191
|
-
name: editorWorkerHost.localize(
|
|
106223
|
+
name: editorWorkerHost.localize(1637, "Diff Line Modified"),
|
|
106192
106224
|
sound: Sound.diffLineModified,
|
|
106193
106225
|
legacySoundSettingsKey: "audioCues.diffLineModified",
|
|
106194
106226
|
settingsKey: "accessibility.signals.diffLineModified"
|
|
106195
106227
|
});
|
|
106196
106228
|
_AccessibilitySignal.chatEditModifiedFile = _AccessibilitySignal.register({
|
|
106197
|
-
name: editorWorkerHost.localize(
|
|
106229
|
+
name: editorWorkerHost.localize(1638, "Chat Edit Modified File"),
|
|
106198
106230
|
sound: Sound.chatEditModifiedFile,
|
|
106199
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106231
|
+
announcementMessage: editorWorkerHost.localize(1639, "File Modified from Chat Edits"),
|
|
106200
106232
|
settingsKey: "accessibility.signals.chatEditModifiedFile"
|
|
106201
106233
|
});
|
|
106202
106234
|
_AccessibilitySignal.chatRequestSent = _AccessibilitySignal.register({
|
|
106203
|
-
name: editorWorkerHost.localize(
|
|
106235
|
+
name: editorWorkerHost.localize(1640, "Chat Request Sent"),
|
|
106204
106236
|
sound: Sound.requestSent,
|
|
106205
106237
|
legacySoundSettingsKey: "audioCues.chatRequestSent",
|
|
106206
106238
|
legacyAnnouncementSettingsKey: "accessibility.alert.chatRequestSent",
|
|
106207
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106239
|
+
announcementMessage: editorWorkerHost.localize(1641, "Chat Request Sent"),
|
|
106208
106240
|
settingsKey: "accessibility.signals.chatRequestSent"
|
|
106209
106241
|
});
|
|
106210
106242
|
_AccessibilitySignal.chatResponseReceived = _AccessibilitySignal.register({
|
|
106211
|
-
name: editorWorkerHost.localize(
|
|
106243
|
+
name: editorWorkerHost.localize(1642, "Chat Response Received"),
|
|
106212
106244
|
legacySoundSettingsKey: "audioCues.chatResponseReceived",
|
|
106213
106245
|
sound: {
|
|
106214
106246
|
randomOneOf: [
|
|
@@ -106221,79 +106253,79 @@ ${graph.toString()}`;
|
|
|
106221
106253
|
settingsKey: "accessibility.signals.chatResponseReceived"
|
|
106222
106254
|
});
|
|
106223
106255
|
_AccessibilitySignal.codeActionTriggered = _AccessibilitySignal.register({
|
|
106224
|
-
name: editorWorkerHost.localize(
|
|
106256
|
+
name: editorWorkerHost.localize(1643, "Code Action Request Triggered"),
|
|
106225
106257
|
sound: Sound.codeActionTriggered,
|
|
106226
106258
|
legacySoundSettingsKey: "audioCues.codeActionRequestTriggered",
|
|
106227
106259
|
legacyAnnouncementSettingsKey: "accessibility.alert.codeActionRequestTriggered",
|
|
106228
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106260
|
+
announcementMessage: editorWorkerHost.localize(1644, "Code Action Request Triggered"),
|
|
106229
106261
|
settingsKey: "accessibility.signals.codeActionTriggered"
|
|
106230
106262
|
});
|
|
106231
106263
|
_AccessibilitySignal.codeActionApplied = _AccessibilitySignal.register({
|
|
106232
|
-
name: editorWorkerHost.localize(
|
|
106264
|
+
name: editorWorkerHost.localize(1645, "Code Action Applied"),
|
|
106233
106265
|
legacySoundSettingsKey: "audioCues.codeActionApplied",
|
|
106234
106266
|
sound: Sound.codeActionApplied,
|
|
106235
106267
|
settingsKey: "accessibility.signals.codeActionApplied"
|
|
106236
106268
|
});
|
|
106237
106269
|
_AccessibilitySignal.progress = _AccessibilitySignal.register({
|
|
106238
|
-
name: editorWorkerHost.localize(
|
|
106270
|
+
name: editorWorkerHost.localize(1646, "Progress"),
|
|
106239
106271
|
sound: Sound.progress,
|
|
106240
106272
|
legacySoundSettingsKey: "audioCues.chatResponsePending",
|
|
106241
106273
|
legacyAnnouncementSettingsKey: "accessibility.alert.progress",
|
|
106242
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106274
|
+
announcementMessage: editorWorkerHost.localize(1647, "Progress"),
|
|
106243
106275
|
settingsKey: "accessibility.signals.progress"
|
|
106244
106276
|
});
|
|
106245
106277
|
_AccessibilitySignal.clear = _AccessibilitySignal.register({
|
|
106246
|
-
name: editorWorkerHost.localize(
|
|
106278
|
+
name: editorWorkerHost.localize(1648, "Clear"),
|
|
106247
106279
|
sound: Sound.clear,
|
|
106248
106280
|
legacySoundSettingsKey: "audioCues.clear",
|
|
106249
106281
|
legacyAnnouncementSettingsKey: "accessibility.alert.clear",
|
|
106250
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106282
|
+
announcementMessage: editorWorkerHost.localize(1649, "Clear"),
|
|
106251
106283
|
settingsKey: "accessibility.signals.clear"
|
|
106252
106284
|
});
|
|
106253
106285
|
_AccessibilitySignal.save = _AccessibilitySignal.register({
|
|
106254
|
-
name: editorWorkerHost.localize(
|
|
106286
|
+
name: editorWorkerHost.localize(1650, "Save"),
|
|
106255
106287
|
sound: Sound.save,
|
|
106256
106288
|
legacySoundSettingsKey: "audioCues.save",
|
|
106257
106289
|
legacyAnnouncementSettingsKey: "accessibility.alert.save",
|
|
106258
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106290
|
+
announcementMessage: editorWorkerHost.localize(1651, "Save"),
|
|
106259
106291
|
settingsKey: "accessibility.signals.save"
|
|
106260
106292
|
});
|
|
106261
106293
|
_AccessibilitySignal.format = _AccessibilitySignal.register({
|
|
106262
|
-
name: editorWorkerHost.localize(
|
|
106294
|
+
name: editorWorkerHost.localize(1652, "Format"),
|
|
106263
106295
|
sound: Sound.format,
|
|
106264
106296
|
legacySoundSettingsKey: "audioCues.format",
|
|
106265
106297
|
legacyAnnouncementSettingsKey: "accessibility.alert.format",
|
|
106266
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106298
|
+
announcementMessage: editorWorkerHost.localize(1653, "Format"),
|
|
106267
106299
|
settingsKey: "accessibility.signals.format"
|
|
106268
106300
|
});
|
|
106269
106301
|
_AccessibilitySignal.voiceRecordingStarted = _AccessibilitySignal.register({
|
|
106270
|
-
name: editorWorkerHost.localize(
|
|
106302
|
+
name: editorWorkerHost.localize(1654, "Voice Recording Started"),
|
|
106271
106303
|
sound: Sound.voiceRecordingStarted,
|
|
106272
106304
|
legacySoundSettingsKey: "audioCues.voiceRecordingStarted",
|
|
106273
106305
|
settingsKey: "accessibility.signals.voiceRecordingStarted"
|
|
106274
106306
|
});
|
|
106275
106307
|
_AccessibilitySignal.voiceRecordingStopped = _AccessibilitySignal.register({
|
|
106276
|
-
name: editorWorkerHost.localize(
|
|
106308
|
+
name: editorWorkerHost.localize(1655, "Voice Recording Stopped"),
|
|
106277
106309
|
sound: Sound.voiceRecordingStopped,
|
|
106278
106310
|
legacySoundSettingsKey: "audioCues.voiceRecordingStopped",
|
|
106279
106311
|
settingsKey: "accessibility.signals.voiceRecordingStopped"
|
|
106280
106312
|
});
|
|
106281
106313
|
_AccessibilitySignal.editsKept = _AccessibilitySignal.register({
|
|
106282
|
-
name: editorWorkerHost.localize(
|
|
106314
|
+
name: editorWorkerHost.localize(1656, "Edits Kept"),
|
|
106283
106315
|
sound: Sound.editsKept,
|
|
106284
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106316
|
+
announcementMessage: editorWorkerHost.localize(1657, "Edits Kept"),
|
|
106285
106317
|
settingsKey: "accessibility.signals.editsKept"
|
|
106286
106318
|
});
|
|
106287
106319
|
_AccessibilitySignal.editsUndone = _AccessibilitySignal.register({
|
|
106288
|
-
name: editorWorkerHost.localize(
|
|
106320
|
+
name: editorWorkerHost.localize(1658, "Undo Edits"),
|
|
106289
106321
|
sound: Sound.editsUndone,
|
|
106290
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106322
|
+
announcementMessage: editorWorkerHost.localize(1659, "Edits Undone"),
|
|
106291
106323
|
settingsKey: "accessibility.signals.editsUndone"
|
|
106292
106324
|
});
|
|
106293
106325
|
_AccessibilitySignal.chatUserActionRequired = _AccessibilitySignal.register({
|
|
106294
|
-
name: editorWorkerHost.localize(
|
|
106326
|
+
name: editorWorkerHost.localize(1660, "Chat User Action Required"),
|
|
106295
106327
|
sound: Sound.chatUserActionRequired,
|
|
106296
|
-
announcementMessage: editorWorkerHost.localize(
|
|
106328
|
+
announcementMessage: editorWorkerHost.localize(1661, "Chat User Action Required"),
|
|
106297
106329
|
settingsKey: "accessibility.signals.chatUserActionRequired"
|
|
106298
106330
|
});
|
|
106299
106331
|
let AccessibilitySignal = _AccessibilitySignal;
|
|
@@ -111569,7 +111601,7 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
111569
111601
|
} else {
|
|
111570
111602
|
primaryActions.push(toAction({
|
|
111571
111603
|
id: "label",
|
|
111572
|
-
label: editorWorkerHost.localize(
|
|
111604
|
+
label: editorWorkerHost.localize(1671, "Hide"),
|
|
111573
111605
|
enabled: false,
|
|
111574
111606
|
run() {
|
|
111575
111607
|
}
|
|
@@ -111584,7 +111616,7 @@ Ensure your bundler properly bundles modules referenced by "new URL(${examplePat
|
|
|
111584
111616
|
actions.push(new Separator());
|
|
111585
111617
|
actions.push(toAction({
|
|
111586
111618
|
id: "resetThisMenu",
|
|
111587
|
-
label: editorWorkerHost.localize(
|
|
111619
|
+
label: editorWorkerHost.localize(1672, "Reset Menu"),
|
|
111588
111620
|
run: () => this._menuService.resetHiddenStates(menuIds)
|
|
111589
111621
|
}));
|
|
111590
111622
|
}
|