monaco-editor 0.55.0-dev-20251021 → 0.55.0-dev-20251022
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dev/vs/assets/{css.worker-BdF74HVr.js → css.worker-CNVxDEHL.js} +57 -56
- package/dev/vs/assets/{editor.worker-Ci2aWZp5.js → editor.worker-CxT_Qhsk.js} +57 -56
- package/dev/vs/assets/{html.worker-PHv_zBMJ.js → html.worker-BkUmTRjE.js} +57 -56
- package/dev/vs/assets/{json.worker-Bu5ZSywK.js → json.worker-DK-97m-d.js} +57 -56
- package/dev/vs/assets/{ts.worker-DvEf1R_D.js → ts.worker-cHRPyRgi.js} +57 -56
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{cssMode-Bwd5iTwO.js → cssMode-D2ACZpcd.js} +2 -2
- package/dev/vs/editor/editor.main.css +3 -4
- package/dev/vs/editor/editor.main.js +6 -6
- package/dev/vs/{editor.api-DtdJriTE.js → editor.api-CMtrd0pO.js} +1917 -1944
- package/dev/vs/{freemarker2-vzq7IT1V.js → freemarker2-CnYj74J4.js} +1 -1
- package/dev/vs/{handlebars-voSBoDYq.js → handlebars-DExk9yf4.js} +1 -1
- package/dev/vs/{html-DgBvMxaw.js → html-Dql17k62.js} +1 -1
- package/dev/vs/{htmlMode-B73e0LQu.js → htmlMode-CCEnhGm2.js} +2 -2
- package/dev/vs/{javascript-B456O1TJ.js → javascript-CqoKoqPi.js} +1 -1
- package/dev/vs/{jsonMode-0j9Sufcy.js → jsonMode-Cz5IbqId.js} +2 -2
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/monaco.contribution.js +1 -1
- package/dev/vs/language/json/monaco.contribution.js +1 -1
- package/dev/vs/language/typescript/monaco.contribution.js +1 -1
- package/dev/vs/{liquid-DtsObjyU.js → liquid-DxCkw3Wy.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-BOGx43ac.js → lspLanguageFeatures-BQO5gQ_I.js} +1 -1
- package/dev/vs/{mdx-CpdAOlbp.js → mdx-DZF1Tct2.js} +1 -1
- package/dev/vs/{monaco.contribution-DgD6w475.js → monaco.contribution-BIhJP-zM.js} +2 -2
- package/dev/vs/{monaco.contribution-96LxvCLa.js → monaco.contribution-BLcNO6tV.js} +2 -2
- package/dev/vs/{monaco.contribution-BNV_Bhhz.js → monaco.contribution-Bpf9llGo.js} +2 -2
- package/dev/vs/{monaco.contribution-CLECD6oi.js → monaco.contribution-D1GYx7Ac.js} +2 -2
- package/dev/vs/nls.messages.cs.js +2 -2
- package/dev/vs/nls.messages.de.js +2 -2
- package/dev/vs/nls.messages.es.js +2 -2
- package/dev/vs/nls.messages.fr.js +2 -2
- package/dev/vs/nls.messages.it.js +2 -2
- package/dev/vs/nls.messages.ja.js +2 -2
- package/dev/vs/nls.messages.ko.js +2 -2
- package/dev/vs/nls.messages.pl.js +2 -2
- package/dev/vs/nls.messages.pt-br.js +2 -2
- package/dev/vs/nls.messages.ru.js +2 -2
- package/dev/vs/nls.messages.tr.js +2 -2
- package/dev/vs/nls.messages.zh-cn.js +2 -2
- package/dev/vs/nls.messages.zh-tw.js +2 -2
- package/dev/vs/{python-Bdcmm8So.js → python-DtVp4js9.js} +1 -1
- package/dev/vs/{razor-C2m7Vs0-.js → razor-C3g5CXT6.js} +1 -1
- package/dev/vs/{tsMode-qQDYDzQT.js → tsMode-B63tFZWa.js} +2 -2
- package/dev/vs/{typescript-BoBnM-0b.js → typescript-YutvBaV7.js} +1 -1
- package/dev/vs/{workers-B1DA8fIt.js → workers-D12Uf0L2.js} +1 -1
- package/dev/vs/{xml-DmpITxBR.js → xml-D1v3XWzg.js} +1 -1
- package/dev/vs/{yaml-Pd4qqIOC.js → yaml-D29Ou18G.js} +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/iconLabel/iconlabel.css +2 -3
- package/esm/vs/base/common/codiconsLibrary.js +1 -0
- package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
- package/esm/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
- package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/esm/vs/editor/browser/coreCommands.js +3 -3
- package/esm/vs/editor/browser/editorExtensions.js +9 -9
- package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/esm/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/esm/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +54 -54
- package/esm/vs/editor/common/config/editorOptions.js +406 -406
- package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
- package/esm/vs/editor/common/editorContextKeys.js +46 -46
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +56 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +10 -10
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -52
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +2 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/esm/vs/editor/contrib/links/browser/links.js +10 -10
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +35 -28
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/min/vs/assets/{css.worker-DpW7RrDt.js → css.worker-BHMeXSeR.js} +1 -1
- package/min/vs/assets/{editor.worker-BvjSTWxN.js → editor.worker-DTWRgIAS.js} +1 -1
- package/min/vs/assets/{html.worker-zYFVFHK_.js → html.worker-CXhlyGiJ.js} +1 -1
- package/min/vs/assets/{json.worker-BCgqF_m2.js → json.worker-DzYjDoHF.js} +1 -1
- package/min/vs/assets/{ts.worker-CQxe4KB6.js → ts.worker-CW5rcuCX.js} +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/{cssMode-CvaUVk1W.js → cssMode-1TDQPhHq.js} +1 -1
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +3 -3
- package/min/vs/{editor.api-DGkWFOQA.js → editor.api-wrjhPWGt.js} +123 -123
- package/min/vs/{freemarker2-B_vQOikd.js → freemarker2-B8YhwE9w.js} +1 -1
- package/min/vs/{handlebars-DqjIuZnJ.js → handlebars-DxIz966T.js} +1 -1
- package/min/vs/{html-DAxAlcjQ.js → html-TUDpfuzj.js} +1 -1
- package/min/vs/{htmlMode-C37mDTXf.js → htmlMode-BTG6W7ly.js} +1 -1
- package/min/vs/{javascript-CmHtjIt-.js → javascript-DjDRFeo7.js} +1 -1
- package/min/vs/{jsonMode-D1uvcOsy.js → jsonMode-cxGzlpDo.js} +4 -4
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/monaco.contribution.js +1 -1
- package/min/vs/language/typescript/monaco.contribution.js +1 -1
- package/min/vs/{liquid-CQBeFlV7.js → liquid-Bsimqao4.js} +1 -1
- package/min/vs/{lspLanguageFeatures-DTAub2tJ.js → lspLanguageFeatures-B9vCOFZO.js} +1 -1
- package/min/vs/{mdx-BFnE9qyd.js → mdx-DAXjads7.js} +1 -1
- package/min/vs/{monaco.contribution-Ba-90VRW.js → monaco.contribution-B40WJdZo.js} +1 -1
- package/min/vs/{monaco.contribution-bCyc25XC.js → monaco.contribution-Bck58VVU.js} +1 -1
- package/min/vs/{monaco.contribution-D4gtmCUd.js → monaco.contribution-CTUxDbdl.js} +1 -1
- package/min/vs/{monaco.contribution-DBV8hY3j.js → monaco.contribution-Dng4cbIh.js} +1 -1
- package/min/vs/nls.messages.cs.js +3 -3
- package/min/vs/nls.messages.de.js +3 -3
- package/min/vs/nls.messages.es.js +3 -3
- package/min/vs/nls.messages.fr.js +3 -3
- package/min/vs/nls.messages.it.js +3 -3
- package/min/vs/nls.messages.ja.js +3 -3
- package/min/vs/nls.messages.ko.js +3 -3
- package/min/vs/nls.messages.pl.js +3 -3
- package/min/vs/nls.messages.pt-br.js +2 -2
- package/min/vs/nls.messages.ru.js +3 -3
- package/min/vs/nls.messages.tr.js +3 -3
- package/min/vs/nls.messages.zh-cn.js +3 -3
- package/min/vs/nls.messages.zh-tw.js +3 -3
- package/min/vs/{python-BX875IYK.js → python-k7tPtlws.js} +1 -1
- package/min/vs/{razor-BBB6Wn5s.js → razor-9j5Idzae.js} +1 -1
- package/min/vs/{tsMode-DYyNPclY.js → tsMode-BDVJ4HNT.js} +5 -5
- package/min/vs/{typescript-AvfgkAyn.js → typescript-1Ue-gdOx.js} +1 -1
- package/min/vs/{workers-DnTKLxL6.js → workers-jkActJYc.js} +1 -1
- package/min/vs/{xml-BVhc_vbm.js → xml-BsAArBP5.js} +1 -1
- package/min/vs/{yaml-a9dM1cQx.js → yaml-2dSzUkHA.js} +1 -1
- package/package.json +5 -5
|
@@ -8,17 +8,17 @@ import { localize } from '../../../nls.js';
|
|
|
8
8
|
function hintDidYouMean(...meant) {
|
|
9
9
|
switch (meant.length) {
|
|
10
10
|
case 1:
|
|
11
|
-
return localize(
|
|
11
|
+
return localize(1686, "Did you mean {0}?", meant[0]);
|
|
12
12
|
case 2:
|
|
13
|
-
return localize(
|
|
13
|
+
return localize(1687, "Did you mean {0} or {1}?", meant[0], meant[1]);
|
|
14
14
|
case 3:
|
|
15
|
-
return localize(
|
|
15
|
+
return localize(1688, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
|
|
16
16
|
default: // we just don't expect that many
|
|
17
17
|
return undefined;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
const hintDidYouForgetToOpenOrCloseQuote = localize(
|
|
21
|
-
const hintDidYouForgetToEscapeSlash = localize(
|
|
20
|
+
const hintDidYouForgetToOpenOrCloseQuote = localize(1689, "Did you forget to open or close the quote?");
|
|
21
|
+
const hintDidYouForgetToEscapeSlash = localize(1690, "Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/\'.");
|
|
22
22
|
/**
|
|
23
23
|
* A simple scanner for context keys.
|
|
24
24
|
*
|
|
@@ -19,7 +19,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
19
19
|
var __param = (undefined && undefined.__param) || function (paramIndex, decorator) {
|
|
20
20
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
21
21
|
};
|
|
22
|
-
const historyNavigationVisible = new RawContextKey('suggestWidgetVisible', false, localize(
|
|
22
|
+
const historyNavigationVisible = new RawContextKey('suggestWidgetVisible', false, localize(1691, "Whether suggestion are visible"));
|
|
23
23
|
const HistoryNavigationWidgetFocusContext = 'historyNavigationWidgetFocus';
|
|
24
24
|
const HistoryNavigationForwardsEnablementContext = 'historyNavigationForwardsEnabled';
|
|
25
25
|
const HistoryNavigationBackwardsEnablementContext = 'historyNavigationBackwardsEnabled';
|
|
@@ -96,11 +96,11 @@ class AbstractKeybindingService extends Disposable {
|
|
|
96
96
|
throw illegalState('impossible');
|
|
97
97
|
case 1:
|
|
98
98
|
// TODO@ulugbekna: revise this message and the one below (at least, fix terminology)
|
|
99
|
-
this._currentChordStatusMessage = this._notificationService.status(localize(
|
|
99
|
+
this._currentChordStatusMessage = this._notificationService.status(localize(1692, "({0}) was pressed. Waiting for second key of chord...", keypressLabel));
|
|
100
100
|
break;
|
|
101
101
|
default: {
|
|
102
102
|
const fullKeypressLabel = this._currentChords.map(({ label }) => label).join(', ');
|
|
103
|
-
this._currentChordStatusMessage = this._notificationService.status(localize(
|
|
103
|
+
this._currentChordStatusMessage = this._notificationService.status(localize(1693, "({0}) was pressed. Waiting for next key of chord...", fullKeypressLabel));
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
this._scheduleLeaveChordMode();
|
|
@@ -199,7 +199,7 @@ class AbstractKeybindingService extends Disposable {
|
|
|
199
199
|
if (this.inChordMode) {
|
|
200
200
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(', ');
|
|
201
201
|
this._log(`+ Leaving multi-chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
202
|
-
this._notificationService.status(localize(
|
|
202
|
+
this._notificationService.status(localize(1694, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
|
|
203
203
|
this._leaveChordMode();
|
|
204
204
|
shouldPreventDefault = true;
|
|
205
205
|
}
|
|
@@ -218,7 +218,7 @@ class AbstractKeybindingService extends Disposable {
|
|
|
218
218
|
if (this.inChordMode) {
|
|
219
219
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(', ');
|
|
220
220
|
this._log(`+ Leaving chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
221
|
-
this._notificationService.status(localize(
|
|
221
|
+
this._notificationService.status(localize(1695, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
|
|
222
222
|
this._leaveChordMode();
|
|
223
223
|
shouldPreventDefault = true;
|
|
224
224
|
}
|
|
@@ -897,18 +897,18 @@ const configurationRegistry = Registry.as(Extensions.Configuration);
|
|
|
897
897
|
configurationRegistry.registerConfiguration({
|
|
898
898
|
id: 'workbench',
|
|
899
899
|
order: 7,
|
|
900
|
-
title: localize(
|
|
900
|
+
title: localize(1696, "Workbench"),
|
|
901
901
|
type: 'object',
|
|
902
902
|
properties: {
|
|
903
903
|
[multiSelectModifierSettingKey]: {
|
|
904
904
|
type: 'string',
|
|
905
905
|
enum: ['ctrlCmd', 'alt'],
|
|
906
906
|
markdownEnumDescriptions: [
|
|
907
|
-
localize(
|
|
908
|
-
localize(
|
|
907
|
+
localize(1697, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
908
|
+
localize(1698, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
|
|
909
909
|
],
|
|
910
910
|
default: 'ctrlCmd',
|
|
911
|
-
description: localize(
|
|
911
|
+
description: localize(1699, "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.")
|
|
912
912
|
|
|
913
913
|
|
|
914
914
|
|
|
@@ -920,7 +920,7 @@ configurationRegistry.registerConfiguration({
|
|
|
920
920
|
type: 'string',
|
|
921
921
|
enum: ['singleClick', 'doubleClick'],
|
|
922
922
|
default: 'singleClick',
|
|
923
|
-
description: localize(
|
|
923
|
+
description: localize(1700, "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.")
|
|
924
924
|
|
|
925
925
|
|
|
926
926
|
|
|
@@ -928,96 +928,96 @@ configurationRegistry.registerConfiguration({
|
|
|
928
928
|
[horizontalScrollingKey]: {
|
|
929
929
|
type: 'boolean',
|
|
930
930
|
default: false,
|
|
931
|
-
description: localize(
|
|
931
|
+
description: localize(1701, "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
|
|
932
932
|
},
|
|
933
933
|
[scrollByPageKey]: {
|
|
934
934
|
type: 'boolean',
|
|
935
935
|
default: false,
|
|
936
|
-
description: localize(
|
|
936
|
+
description: localize(1702, "Controls whether clicks in the scrollbar scroll page by page.")
|
|
937
937
|
},
|
|
938
938
|
[treeIndentKey]: {
|
|
939
939
|
type: 'number',
|
|
940
940
|
default: 8,
|
|
941
941
|
minimum: 4,
|
|
942
942
|
maximum: 40,
|
|
943
|
-
description: localize(
|
|
943
|
+
description: localize(1703, "Controls tree indentation in pixels.")
|
|
944
944
|
},
|
|
945
945
|
[treeRenderIndentGuidesKey]: {
|
|
946
946
|
type: 'string',
|
|
947
947
|
enum: ['none', 'onHover', 'always'],
|
|
948
948
|
default: 'onHover',
|
|
949
|
-
description: localize(
|
|
949
|
+
description: localize(1704, "Controls whether the tree should render indent guides.")
|
|
950
950
|
},
|
|
951
951
|
[listSmoothScrolling]: {
|
|
952
952
|
type: 'boolean',
|
|
953
953
|
default: false,
|
|
954
|
-
description: localize(
|
|
954
|
+
description: localize(1705, "Controls whether lists and trees have smooth scrolling."),
|
|
955
955
|
},
|
|
956
956
|
[mouseWheelScrollSensitivityKey]: {
|
|
957
957
|
type: 'number',
|
|
958
958
|
default: 1,
|
|
959
|
-
markdownDescription: localize(
|
|
959
|
+
markdownDescription: localize(1706, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")
|
|
960
960
|
},
|
|
961
961
|
[fastScrollSensitivityKey]: {
|
|
962
962
|
type: 'number',
|
|
963
963
|
default: 5,
|
|
964
|
-
markdownDescription: localize(
|
|
964
|
+
markdownDescription: localize(1707, "Scrolling speed multiplier when pressing `Alt`.")
|
|
965
965
|
},
|
|
966
966
|
[defaultFindModeSettingKey]: {
|
|
967
967
|
type: 'string',
|
|
968
968
|
enum: ['highlight', 'filter'],
|
|
969
969
|
enumDescriptions: [
|
|
970
|
-
localize(
|
|
971
|
-
localize(
|
|
970
|
+
localize(1708, "Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),
|
|
971
|
+
localize(1709, "Filter elements when searching.")
|
|
972
972
|
],
|
|
973
973
|
default: 'highlight',
|
|
974
|
-
description: localize(
|
|
974
|
+
description: localize(1710, "Controls the default find mode for lists and trees in the workbench.")
|
|
975
975
|
},
|
|
976
976
|
[keyboardNavigationSettingKey]: {
|
|
977
977
|
type: 'string',
|
|
978
978
|
enum: ['simple', 'highlight', 'filter'],
|
|
979
979
|
enumDescriptions: [
|
|
980
|
-
localize(
|
|
981
|
-
localize(
|
|
982
|
-
localize(
|
|
980
|
+
localize(1711, "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
|
|
981
|
+
localize(1712, "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
|
|
982
|
+
localize(1713, "Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")
|
|
983
983
|
],
|
|
984
984
|
default: 'highlight',
|
|
985
|
-
description: localize(
|
|
985
|
+
description: localize(1714, "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),
|
|
986
986
|
deprecated: true,
|
|
987
|
-
deprecationMessage: localize(
|
|
987
|
+
deprecationMessage: localize(1715, "Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")
|
|
988
988
|
},
|
|
989
989
|
[defaultFindMatchTypeSettingKey]: {
|
|
990
990
|
type: 'string',
|
|
991
991
|
enum: ['fuzzy', 'contiguous'],
|
|
992
992
|
enumDescriptions: [
|
|
993
|
-
localize(
|
|
994
|
-
localize(
|
|
993
|
+
localize(1716, "Use fuzzy matching when searching."),
|
|
994
|
+
localize(1717, "Use contiguous matching when searching.")
|
|
995
995
|
],
|
|
996
996
|
default: 'fuzzy',
|
|
997
|
-
description: localize(
|
|
997
|
+
description: localize(1718, "Controls the type of matching used when searching lists and trees in the workbench.")
|
|
998
998
|
},
|
|
999
999
|
[treeExpandMode]: {
|
|
1000
1000
|
type: 'string',
|
|
1001
1001
|
enum: ['singleClick', 'doubleClick'],
|
|
1002
1002
|
default: 'singleClick',
|
|
1003
|
-
description: localize(
|
|
1003
|
+
description: localize(1719, "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."),
|
|
1004
1004
|
},
|
|
1005
1005
|
[treeStickyScroll]: {
|
|
1006
1006
|
type: 'boolean',
|
|
1007
1007
|
default: true,
|
|
1008
|
-
description: localize(
|
|
1008
|
+
description: localize(1720, "Controls whether sticky scrolling is enabled in trees."),
|
|
1009
1009
|
},
|
|
1010
1010
|
[treeStickyScrollMaxElements]: {
|
|
1011
1011
|
type: 'number',
|
|
1012
1012
|
minimum: 1,
|
|
1013
1013
|
default: 7,
|
|
1014
|
-
markdownDescription: localize(
|
|
1014
|
+
markdownDescription: localize(1721, "Controls the number of sticky elements displayed in the tree when {0} is enabled.", '`#workbench.tree.enableStickyScroll#`'),
|
|
1015
1015
|
},
|
|
1016
1016
|
[typeNavigationModeSettingKey]: {
|
|
1017
1017
|
type: 'string',
|
|
1018
1018
|
enum: ['automatic', 'trigger'],
|
|
1019
1019
|
default: 'automatic',
|
|
1020
|
-
markdownDescription: localize(
|
|
1020
|
+
markdownDescription: localize(1722, "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."),
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
1023
|
});
|
|
@@ -240,8 +240,8 @@ class MarkerService {
|
|
|
240
240
|
*/
|
|
241
241
|
_createFilteredMarker(resource, reasons) {
|
|
242
242
|
const message = reasons.length === 1
|
|
243
|
-
? localize(
|
|
244
|
-
: localize(
|
|
243
|
+
? localize(1729, "Problems are paused because: \"{0}\"", reasons[0])
|
|
244
|
+
: localize(1730, "Problems are paused because: \"{0}\" and {1} more", reasons[0], reasons.length - 1);
|
|
245
245
|
return {
|
|
246
246
|
owner: 'markersFilter',
|
|
247
247
|
resource,
|
|
@@ -19,17 +19,17 @@ var MarkerSeverity;
|
|
|
19
19
|
}
|
|
20
20
|
MarkerSeverity.compare = compare;
|
|
21
21
|
const _displayStrings = Object.create(null);
|
|
22
|
-
_displayStrings[MarkerSeverity.Error] = localize(
|
|
23
|
-
_displayStrings[MarkerSeverity.Warning] = localize(
|
|
24
|
-
_displayStrings[MarkerSeverity.Info] = localize(
|
|
22
|
+
_displayStrings[MarkerSeverity.Error] = localize(1723, "Error");
|
|
23
|
+
_displayStrings[MarkerSeverity.Warning] = localize(1724, "Warning");
|
|
24
|
+
_displayStrings[MarkerSeverity.Info] = localize(1725, "Info");
|
|
25
25
|
function toString(a) {
|
|
26
26
|
return _displayStrings[a] || '';
|
|
27
27
|
}
|
|
28
28
|
MarkerSeverity.toString = toString;
|
|
29
29
|
const _displayStringsPlural = Object.create(null);
|
|
30
|
-
_displayStringsPlural[MarkerSeverity.Error] = localize(
|
|
31
|
-
_displayStringsPlural[MarkerSeverity.Warning] = localize(
|
|
32
|
-
_displayStringsPlural[MarkerSeverity.Info] = localize(
|
|
30
|
+
_displayStringsPlural[MarkerSeverity.Error] = localize(1726, "Errors");
|
|
31
|
+
_displayStringsPlural[MarkerSeverity.Warning] = localize(1727, "Warnings");
|
|
32
|
+
_displayStringsPlural[MarkerSeverity.Info] = localize(1728, "Infos");
|
|
33
33
|
function toStringPlural(a) {
|
|
34
34
|
return _displayStringsPlural[a] || '';
|
|
35
35
|
}
|
|
@@ -162,22 +162,22 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
162
162
|
const commandPick = filteredCommandPicks[i];
|
|
163
163
|
// Separator: recently used
|
|
164
164
|
if (i === 0 && this.commandsHistory.peek(commandPick.commandId)) {
|
|
165
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
165
|
+
commandPicks.push({ type: 'separator', label: localize(1731, "recently used") });
|
|
166
166
|
addOtherSeparator = true;
|
|
167
167
|
}
|
|
168
168
|
if (addSuggestedSeparator && commandPick.tfIdfScore !== undefined) {
|
|
169
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
169
|
+
commandPicks.push({ type: 'separator', label: localize(1732, "similar commands") });
|
|
170
170
|
addSuggestedSeparator = false;
|
|
171
171
|
}
|
|
172
172
|
// Separator: commonly used
|
|
173
173
|
if (addCommonlyUsedSeparator && commandPick.tfIdfScore === undefined && !this.commandsHistory.peek(commandPick.commandId) && this.options.suggestedCommandIds?.has(commandPick.commandId)) {
|
|
174
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
174
|
+
commandPicks.push({ type: 'separator', label: localize(1733, "commonly used") });
|
|
175
175
|
addOtherSeparator = true;
|
|
176
176
|
addCommonlyUsedSeparator = false;
|
|
177
177
|
}
|
|
178
178
|
// Separator: other commands
|
|
179
179
|
if (addOtherSeparator && commandPick.tfIdfScore === undefined && !this.commandsHistory.peek(commandPick.commandId) && !this.options.suggestedCommandIds?.has(commandPick.commandId)) {
|
|
180
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
180
|
+
commandPicks.push({ type: 'separator', label: localize(1734, "other commands") });
|
|
181
181
|
addOtherSeparator = false;
|
|
182
182
|
}
|
|
183
183
|
// Command
|
|
@@ -197,7 +197,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
197
197
|
// Basically, if we haven't already added a separator, we add one before the additional picks so long
|
|
198
198
|
// as one hasn't been added to the start of the array.
|
|
199
199
|
if (addSuggestedSeparator && commandPicks[0]?.type !== 'separator') {
|
|
200
|
-
commandPicks.unshift({ type: 'separator', label: localize(
|
|
200
|
+
commandPicks.unshift({ type: 'separator', label: localize(1735, "similar commands") });
|
|
201
201
|
}
|
|
202
202
|
return commandPicks;
|
|
203
203
|
})()
|
|
@@ -209,7 +209,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
209
209
|
}
|
|
210
210
|
const keybinding = this.keybindingService.lookupKeybinding(commandPick.commandId);
|
|
211
211
|
const ariaLabel = keybinding ?
|
|
212
|
-
localize(
|
|
212
|
+
localize(1736, "{0}, {1}", commandPick.label, keybinding.getAriaLabel()) :
|
|
213
213
|
commandPick.label;
|
|
214
214
|
return {
|
|
215
215
|
...commandPick,
|
|
@@ -232,7 +232,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
232
232
|
}
|
|
233
233
|
catch (error) {
|
|
234
234
|
if (!isCancellationError(error)) {
|
|
235
|
-
this.dialogService.error(localize(
|
|
235
|
+
this.dialogService.error(localize(1737, "Command '{0}' resulted in an error", commandPick.label), toErrorMessage(error));
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
}
|
|
@@ -63,7 +63,7 @@ let HelpQuickAccessProvider = class HelpQuickAccessProvider {
|
|
|
63
63
|
prefix,
|
|
64
64
|
label,
|
|
65
65
|
keybinding: helpEntry.commandId ? this.keybindingService.lookupKeybinding(helpEntry.commandId) : undefined,
|
|
66
|
-
ariaLabel: localize(
|
|
66
|
+
ariaLabel: localize(1738, "{0}, {1}", label, helpEntry.description),
|
|
67
67
|
description: helpEntry.description
|
|
68
68
|
};
|
|
69
69
|
});
|
|
@@ -33,20 +33,20 @@ var __param = (undefined && undefined.__param) || function (paramIndex, decorato
|
|
|
33
33
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
34
34
|
};
|
|
35
35
|
const inQuickInputContextKeyValue = 'inQuickInput';
|
|
36
|
-
const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, localize(
|
|
36
|
+
const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, localize(1739, "Whether keyboard focus is inside the quick input control"));
|
|
37
37
|
const inQuickInputContext = ContextKeyExpr.has(inQuickInputContextKeyValue);
|
|
38
38
|
const quickInputAlignmentContextKeyValue = 'quickInputAlignment';
|
|
39
|
-
const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, 'top', localize(
|
|
39
|
+
const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, 'top', localize(1740, "The alignment of the quick input"));
|
|
40
40
|
const quickInputTypeContextKeyValue = 'quickInputType';
|
|
41
|
-
const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, undefined, localize(
|
|
41
|
+
const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, undefined, localize(1741, "The type of the currently visible quick input"));
|
|
42
42
|
const endOfQuickInputBoxContextKeyValue = 'cursorAtEndOfQuickInputBox';
|
|
43
|
-
const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, localize(
|
|
43
|
+
const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, localize(1742, "Whether the cursor in the quick input is at the end of the input box"));
|
|
44
44
|
const endOfQuickInputBoxContext = ContextKeyExpr.has(endOfQuickInputBoxContextKeyValue);
|
|
45
45
|
const backButton = {
|
|
46
46
|
iconClass: ThemeIcon.asClassName(Codicon.quickInputBack),
|
|
47
|
-
tooltip: localize(
|
|
47
|
+
tooltip: localize(1743, "Back")};
|
|
48
48
|
class QuickInput extends Disposable {
|
|
49
|
-
static { this.noPromptMessage = localize(
|
|
49
|
+
static { this.noPromptMessage = localize(1744, "Press 'Enter' to confirm your input or 'Escape' to cancel"); }
|
|
50
50
|
constructor(ui) {
|
|
51
51
|
super();
|
|
52
52
|
this.ui = ui;
|
|
@@ -316,7 +316,7 @@ class QuickInput extends Disposable {
|
|
|
316
316
|
}
|
|
317
317
|
getSteps() {
|
|
318
318
|
if (this.step && this.totalSteps) {
|
|
319
|
-
return localize(
|
|
319
|
+
return localize(1745, "{0}/{1}", this.step, this.totalSteps);
|
|
320
320
|
}
|
|
321
321
|
if (this.step) {
|
|
322
322
|
return String(this.step);
|
|
@@ -346,7 +346,7 @@ class QuickInput extends Disposable {
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
class QuickPick extends QuickInput {
|
|
349
|
-
static { this.DEFAULT_ARIA_LABEL = localize(
|
|
349
|
+
static { this.DEFAULT_ARIA_LABEL = localize(1746, "Type to narrow down results."); }
|
|
350
350
|
constructor(ui) {
|
|
351
351
|
super(ui);
|
|
352
352
|
this._value = '';
|
|
@@ -580,7 +580,7 @@ class QuickPick extends QuickInput {
|
|
|
580
580
|
this.update();
|
|
581
581
|
}
|
|
582
582
|
get okLabel() {
|
|
583
|
-
return this._okLabel ?? localize(
|
|
583
|
+
return this._okLabel ?? localize(1747, "OK");
|
|
584
584
|
}
|
|
585
585
|
set okLabel(okLabel) {
|
|
586
586
|
this._okLabel = okLabel;
|
|
@@ -926,7 +926,7 @@ class InputBox extends QuickInput {
|
|
|
926
926
|
set prompt(prompt) {
|
|
927
927
|
this._prompt = prompt;
|
|
928
928
|
this.noValidationMessage = prompt
|
|
929
|
-
? localize(
|
|
929
|
+
? localize(1748, "{0} (Press 'Enter' to confirm or 'Escape' to cancel)", prompt)
|
|
930
930
|
: QuickInput.noPromptMessage;
|
|
931
931
|
this.update();
|
|
932
932
|
}
|
|
@@ -14,7 +14,7 @@ function registerQuickInputCommandAndKeybindingRule(rule, options = {}) {
|
|
|
14
14
|
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
15
15
|
weight: 200 /* KeybindingWeight.WorkbenchContrib */,
|
|
16
16
|
when: inQuickInputContext,
|
|
17
|
-
metadata: { description: localize(
|
|
17
|
+
metadata: { description: localize(1749, "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.") },
|
|
18
18
|
...rule,
|
|
19
19
|
secondary: getSecondary(rule.primary, rule.secondary ?? [], options)
|
|
20
20
|
});
|
|
@@ -25,7 +25,7 @@ function registerQuickPickCommandAndKeybindingRule(rule, options = {}) {
|
|
|
25
25
|
when: ContextKeyExpr.and(ContextKeyExpr.or(
|
|
26
26
|
// Only things that use Tree widgets
|
|
27
27
|
ContextKeyExpr.equals(quickInputTypeContextKeyValue, "quickPick" /* QuickInputType.QuickPick */), ContextKeyExpr.equals(quickInputTypeContextKeyValue, "quickTree" /* QuickInputType.QuickTree */)), inQuickInputContext),
|
|
28
|
-
metadata: { description: localize(
|
|
28
|
+
metadata: { description: localize(1750, "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.") },
|
|
29
29
|
...rule,
|
|
30
30
|
secondary: getSecondary(rule.primary, rule.secondary ?? [], options)
|
|
31
31
|
});
|
|
@@ -80,8 +80,8 @@ registerQuickPickCommandAndKeybindingRule({ id: 'quickInput.previous', primary:
|
|
|
80
80
|
// In this case, we want that modifier key+up/down to navigate to the next/previous item, not the next/previous separator.
|
|
81
81
|
// To handle this, we have a separate command for navigating to the next/previous separator when we are not in quick access mode.
|
|
82
82
|
// If, however, we are in quick access mode, and you hold down an additional modifier key, we will navigate to the next/previous separator.
|
|
83
|
-
const nextSeparatorFallbackDesc = localize(
|
|
84
|
-
const prevSeparatorFallbackDesc = localize(
|
|
83
|
+
const nextSeparatorFallbackDesc = localize(1751, "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.");
|
|
84
|
+
const prevSeparatorFallbackDesc = localize(1752, "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.");
|
|
85
85
|
if (isMacintosh) {
|
|
86
86
|
registerQuickPickCommandAndKeybindingRule({
|
|
87
87
|
id: 'quickInput.nextSeparatorWithQuickAccessFallback',
|
|
@@ -146,7 +146,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
|
146
146
|
// All other kinds of Quick things handle Accept, except Widget. In other words, Accepting is a detail on the things
|
|
147
147
|
// that extend IQuickInput
|
|
148
148
|
ContextKeyExpr.notEquals(quickInputTypeContextKeyValue, "quickWidget" /* QuickInputType.QuickWidget */), inQuickInputContext),
|
|
149
|
-
metadata: { description: localize(
|
|
149
|
+
metadata: { description: localize(1753, "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.") },
|
|
150
150
|
handler: (accessor) => {
|
|
151
151
|
const currentQuickPick = accessor.get(IQuickInputService).currentQuickInput;
|
|
152
152
|
currentQuickPick?.accept();
|
|
@@ -120,7 +120,7 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
120
120
|
const rightActionBar = this._register(new ActionBar(titleBar, { hoverDelegate: this.options.hoverDelegate }));
|
|
121
121
|
rightActionBar.domNode.classList.add('quick-input-right-action-bar');
|
|
122
122
|
const headerContainer = append(container, $('.quick-input-header'));
|
|
123
|
-
const checkAll = this._register(new TriStateCheckbox(localize(
|
|
123
|
+
const checkAll = this._register(new TriStateCheckbox(localize(1754, "Toggle all checkboxes"), false, { ...defaultCheckboxStyles, size: 15 }));
|
|
124
124
|
append(headerContainer, checkAll.domNode);
|
|
125
125
|
this._register(checkAll.onChange(() => {
|
|
126
126
|
const checked = checkAll.checked;
|
|
@@ -139,21 +139,21 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
139
139
|
const visibleCountContainer = append(filterContainer, $('.quick-input-visible-count'));
|
|
140
140
|
visibleCountContainer.setAttribute('aria-live', 'polite');
|
|
141
141
|
visibleCountContainer.setAttribute('aria-atomic', 'true');
|
|
142
|
-
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: localize(
|
|
142
|
+
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: localize(1755, "{0} Results") }, this.styles.countBadge));
|
|
143
143
|
const countContainer = append(filterContainer, $('.quick-input-count'));
|
|
144
144
|
countContainer.setAttribute('aria-live', 'polite');
|
|
145
|
-
const count = this._register(new CountBadge(countContainer, { countFormat: localize(
|
|
145
|
+
const count = this._register(new CountBadge(countContainer, { countFormat: localize(1756, "{0} Selected") }, this.styles.countBadge));
|
|
146
146
|
const inlineActionBar = this._register(new ActionBar(headerContainer, { hoverDelegate: this.options.hoverDelegate }));
|
|
147
147
|
inlineActionBar.domNode.classList.add('quick-input-inline-action-bar');
|
|
148
148
|
const okContainer = append(headerContainer, $('.quick-input-action'));
|
|
149
149
|
const ok = this._register(new Button(okContainer, this.styles.button));
|
|
150
|
-
ok.label = localize(
|
|
150
|
+
ok.label = localize(1757, "OK");
|
|
151
151
|
this._register(ok.onDidClick(e => {
|
|
152
152
|
this.onDidAcceptEmitter.fire();
|
|
153
153
|
}));
|
|
154
154
|
const customButtonContainer = append(headerContainer, $('.quick-input-action'));
|
|
155
155
|
const customButton = this._register(new Button(customButtonContainer, { ...this.styles.button, supportIcons: true }));
|
|
156
|
-
customButton.label = localize(
|
|
156
|
+
customButton.label = localize(1758, "Custom");
|
|
157
157
|
this._register(customButton.onDidClick(e => {
|
|
158
158
|
this.onDidCustomEmitter.fire();
|
|
159
159
|
}));
|
|
@@ -566,7 +566,7 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
566
566
|
ui.ignoreFocusOut = false;
|
|
567
567
|
ui.inputBox.toggles = undefined;
|
|
568
568
|
const backKeybindingLabel = this.options.backKeybindingLabel();
|
|
569
|
-
backButton.tooltip = backKeybindingLabel ? localize(
|
|
569
|
+
backButton.tooltip = backKeybindingLabel ? localize(1759, "Back ({0})", backKeybindingLabel) : localize(1760, "Back");
|
|
570
570
|
ui.container.style.display = '';
|
|
571
571
|
this.updateLayout();
|
|
572
572
|
this.dndController?.layoutContainer();
|
|
@@ -210,7 +210,7 @@ class QuickInputItemDelegate {
|
|
|
210
210
|
}
|
|
211
211
|
class QuickInputAccessibilityProvider {
|
|
212
212
|
getWidgetAriaLabel() {
|
|
213
|
-
return localize(
|
|
213
|
+
return localize(1761, "Quick Input");
|
|
214
214
|
}
|
|
215
215
|
getAriaLabel(element) {
|
|
216
216
|
return element.separator?.label
|
|
@@ -59,7 +59,7 @@ function renderQuickInputDescription(description, container, actionHandler) {
|
|
|
59
59
|
else {
|
|
60
60
|
let title = node.title;
|
|
61
61
|
if (!title && node.href.startsWith('command:')) {
|
|
62
|
-
title = localize(
|
|
62
|
+
title = localize(1762, "Click to execute command '{0}'", node.href.substring('command:'.length));
|
|
63
63
|
}
|
|
64
64
|
else if (!title) {
|
|
65
65
|
title = node.href;
|
|
@@ -14,7 +14,7 @@ class QuickTreeAccessibilityProvider {
|
|
|
14
14
|
this.onCheckedEvent = onCheckedEvent;
|
|
15
15
|
}
|
|
16
16
|
getWidgetAriaLabel() {
|
|
17
|
-
return localize(
|
|
17
|
+
return localize(1763, "Quick Tree");
|
|
18
18
|
}
|
|
19
19
|
getAriaLabel(element) {
|
|
20
20
|
return element.ariaLabel || [element.label, element.description]
|
|
@@ -52,13 +52,13 @@ class ColorRegistry extends Disposable {
|
|
|
52
52
|
}
|
|
53
53
|
if (needsTransparency) {
|
|
54
54
|
propertySchema.pattern = '^#(?:(?<rgba>[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$';
|
|
55
|
-
propertySchema.patternErrorMessage = localize(
|
|
55
|
+
propertySchema.patternErrorMessage = localize(2012, 'This color must be transparent or it will obscure content');
|
|
56
56
|
}
|
|
57
57
|
this.colorSchema.properties[id] = {
|
|
58
58
|
description,
|
|
59
59
|
oneOf: [
|
|
60
60
|
propertySchema,
|
|
61
|
-
{ type: 'string', const: DEFAULT_COLOR_CONFIG_VALUE, description: localize(
|
|
61
|
+
{ type: 'string', const: DEFAULT_COLOR_CONFIG_VALUE, description: localize(2013, 'Use the default color.') }
|
|
62
62
|
]
|
|
63
63
|
};
|
|
64
64
|
this.colorReferenceSchema.enum.push(id);
|
|
@@ -6,26 +6,26 @@ import { registerColor, transparent } from '../colorUtils.js';
|
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
8
8
|
*--------------------------------------------------------------------------------------------*/
|
|
9
|
-
const foreground = registerColor('foreground', { dark: '#CCCCCC', light: '#616161', hcDark: '#FFFFFF', hcLight: '#292929' }, localize(
|
|
10
|
-
registerColor('disabledForeground', { dark: '#CCCCCC80', light: '#61616180', hcDark: '#A5A5A5', hcLight: '#7F7F7F' }, localize(
|
|
11
|
-
registerColor('errorForeground', { dark: '#F48771', light: '#A1260D', hcDark: '#F48771', hcLight: '#B5200D' }, localize(
|
|
12
|
-
const descriptionForeground = registerColor('descriptionForeground', { light: '#717171', dark: transparent(foreground, 0.7), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, localize(
|
|
13
|
-
const iconForeground = registerColor('icon.foreground', { dark: '#C5C5C5', light: '#424242', hcDark: '#FFFFFF', hcLight: '#292929' }, localize(
|
|
14
|
-
const focusBorder = registerColor('focusBorder', { dark: '#007FD4', light: '#0090F1', hcDark: '#F38518', hcLight: '#006BBD' }, localize(
|
|
15
|
-
const contrastBorder = registerColor('contrastBorder', { light: null, dark: null, hcDark: '#6FC3DF', hcLight: '#0F4A85' }, localize(
|
|
16
|
-
const activeContrastBorder = registerColor('contrastActiveBorder', { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, localize(
|
|
17
|
-
registerColor('selection.background', null, localize(
|
|
9
|
+
const foreground = registerColor('foreground', { dark: '#CCCCCC', light: '#616161', hcDark: '#FFFFFF', hcLight: '#292929' }, localize(1764, "Overall foreground color. This color is only used if not overridden by a component."));
|
|
10
|
+
registerColor('disabledForeground', { dark: '#CCCCCC80', light: '#61616180', hcDark: '#A5A5A5', hcLight: '#7F7F7F' }, localize(1765, "Overall foreground for disabled elements. This color is only used if not overridden by a component."));
|
|
11
|
+
registerColor('errorForeground', { dark: '#F48771', light: '#A1260D', hcDark: '#F48771', hcLight: '#B5200D' }, localize(1766, "Overall foreground color for error messages. This color is only used if not overridden by a component."));
|
|
12
|
+
const descriptionForeground = registerColor('descriptionForeground', { light: '#717171', dark: transparent(foreground, 0.7), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, localize(1767, "Foreground color for description text providing additional information, for example for a label."));
|
|
13
|
+
const iconForeground = registerColor('icon.foreground', { dark: '#C5C5C5', light: '#424242', hcDark: '#FFFFFF', hcLight: '#292929' }, localize(1768, "The default color for icons in the workbench."));
|
|
14
|
+
const focusBorder = registerColor('focusBorder', { dark: '#007FD4', light: '#0090F1', hcDark: '#F38518', hcLight: '#006BBD' }, localize(1769, "Overall border color for focused elements. This color is only used if not overridden by a component."));
|
|
15
|
+
const contrastBorder = registerColor('contrastBorder', { light: null, dark: null, hcDark: '#6FC3DF', hcLight: '#0F4A85' }, localize(1770, "An extra border around elements to separate them from others for greater contrast."));
|
|
16
|
+
const activeContrastBorder = registerColor('contrastActiveBorder', { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, localize(1771, "An extra border around active elements to separate them from others for greater contrast."));
|
|
17
|
+
registerColor('selection.background', null, localize(1772, "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."));
|
|
18
18
|
// ------ text link
|
|
19
|
-
const textLinkForeground = registerColor('textLink.foreground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, localize(
|
|
20
|
-
registerColor('textLink.activeForeground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, localize(
|
|
21
|
-
registerColor('textSeparator.foreground', { light: '#0000002e', dark: '#ffffff2e', hcDark: Color.black, hcLight: '#292929' }, localize(
|
|
19
|
+
const textLinkForeground = registerColor('textLink.foreground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, localize(1773, "Foreground color for links in text."));
|
|
20
|
+
registerColor('textLink.activeForeground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, localize(1774, "Foreground color for links in text when clicked on and on mouse hover."));
|
|
21
|
+
registerColor('textSeparator.foreground', { light: '#0000002e', dark: '#ffffff2e', hcDark: Color.black, hcLight: '#292929' }, localize(1775, "Color for text separators."));
|
|
22
22
|
// ------ text preformat
|
|
23
|
-
registerColor('textPreformat.foreground', { light: '#A31515', dark: '#D7BA7D', hcDark: '#000000', hcLight: '#FFFFFF' }, localize(
|
|
24
|
-
registerColor('textPreformat.background', { light: '#0000001A', dark: '#FFFFFF1A', hcDark: '#FFFFFF', hcLight: '#09345f' }, localize(
|
|
23
|
+
registerColor('textPreformat.foreground', { light: '#A31515', dark: '#D7BA7D', hcDark: '#000000', hcLight: '#FFFFFF' }, localize(1776, "Foreground color for preformatted text segments."));
|
|
24
|
+
registerColor('textPreformat.background', { light: '#0000001A', dark: '#FFFFFF1A', hcDark: '#FFFFFF', hcLight: '#09345f' }, localize(1777, "Background color for preformatted text segments."));
|
|
25
25
|
// ------ text block quote
|
|
26
|
-
registerColor('textBlockQuote.background', { light: '#f2f2f2', dark: '#222222', hcDark: null, hcLight: '#F2F2F2' }, localize(
|
|
27
|
-
registerColor('textBlockQuote.border', { light: '#007acc80', dark: '#007acc80', hcDark: Color.white, hcLight: '#292929' }, localize(
|
|
26
|
+
registerColor('textBlockQuote.background', { light: '#f2f2f2', dark: '#222222', hcDark: null, hcLight: '#F2F2F2' }, localize(1778, "Background color for block quotes in text."));
|
|
27
|
+
registerColor('textBlockQuote.border', { light: '#007acc80', dark: '#007acc80', hcDark: Color.white, hcLight: '#292929' }, localize(1779, "Border color for block quotes in text."));
|
|
28
28
|
// ------ text code block
|
|
29
|
-
registerColor('textCodeBlock.background', { light: '#dcdcdc66', dark: '#0a0a0a66', hcDark: Color.black, hcLight: '#F2F2F2' }, localize(
|
|
29
|
+
registerColor('textCodeBlock.background', { light: '#dcdcdc66', dark: '#0a0a0a66', hcDark: Color.black, hcLight: '#F2F2F2' }, localize(1780, "Background color for code blocks in text."));
|
|
30
30
|
|
|
31
31
|
export { activeContrastBorder, contrastBorder, descriptionForeground, focusBorder, foreground, iconForeground, textLinkForeground };
|
|
@@ -8,11 +8,11 @@ import { minimapFindMatch } from './minimapColors.js';
|
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
9
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
10
10
|
*--------------------------------------------------------------------------------------------*/
|
|
11
|
-
registerColor('charts.foreground', foreground, localize(
|
|
12
|
-
registerColor('charts.lines', transparent(foreground, .5), localize(
|
|
13
|
-
registerColor('charts.red', editorErrorForeground, localize(
|
|
14
|
-
registerColor('charts.blue', editorInfoForeground, localize(
|
|
15
|
-
registerColor('charts.yellow', editorWarningForeground, localize(
|
|
16
|
-
registerColor('charts.orange', minimapFindMatch, localize(
|
|
17
|
-
registerColor('charts.green', { dark: '#89D185', light: '#388A34', hcDark: '#89D185', hcLight: '#374e06' }, localize(
|
|
18
|
-
registerColor('charts.purple', { dark: '#B180D7', light: '#652D90', hcDark: '#B180D7', hcLight: '#652D90' }, localize(
|
|
11
|
+
registerColor('charts.foreground', foreground, localize(1781, "The foreground color used in charts."));
|
|
12
|
+
registerColor('charts.lines', transparent(foreground, .5), localize(1782, "The color used for horizontal lines in charts."));
|
|
13
|
+
registerColor('charts.red', editorErrorForeground, localize(1783, "The red color used in chart visualizations."));
|
|
14
|
+
registerColor('charts.blue', editorInfoForeground, localize(1784, "The blue color used in chart visualizations."));
|
|
15
|
+
registerColor('charts.yellow', editorWarningForeground, localize(1785, "The yellow color used in chart visualizations."));
|
|
16
|
+
registerColor('charts.orange', minimapFindMatch, localize(1786, "The orange color used in chart visualizations."));
|
|
17
|
+
registerColor('charts.green', { dark: '#89D185', light: '#388A34', hcDark: '#89D185', hcLight: '#374e06' }, localize(1787, "The green color used in chart visualizations."));
|
|
18
|
+
registerColor('charts.purple', { dark: '#B180D7', light: '#652D90', hcDark: '#B180D7', hcLight: '#652D90' }, localize(1788, "The purple color used in chart visualizations."));
|