monaco-editor 0.55.0-dev-20251021 → 0.55.0-dev-20251023
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-NMIwoVcI.js} +58 -56
- package/dev/vs/assets/{editor.worker-Ci2aWZp5.js → editor.worker-CpHPGSaC.js} +58 -56
- package/dev/vs/assets/{html.worker-PHv_zBMJ.js → html.worker-CJwOblVk.js} +58 -56
- package/dev/vs/assets/{json.worker-Bu5ZSywK.js → json.worker---YES6JU.js} +58 -56
- package/dev/vs/assets/{ts.worker-DvEf1R_D.js → ts.worker-BxhKXBro.js} +58 -56
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{cssMode-Bwd5iTwO.js → cssMode-cXJ8gyKe.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-CdoClrvx.js} +2168 -1980
- package/dev/vs/{freemarker2-vzq7IT1V.js → freemarker2-D1BvxmSs.js} +1 -1
- package/dev/vs/{handlebars-voSBoDYq.js → handlebars-CHKYctoc.js} +1 -1
- package/dev/vs/{html-DgBvMxaw.js → html-DgZcKUc-.js} +1 -1
- package/dev/vs/{htmlMode-B73e0LQu.js → htmlMode-Ch7L6u-y.js} +2 -2
- package/dev/vs/{javascript-B456O1TJ.js → javascript-CWLsKmY1.js} +1 -1
- package/dev/vs/{jsonMode-0j9Sufcy.js → jsonMode-CApM0krZ.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-B6QJ6irB.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-BOGx43ac.js → lspLanguageFeatures-DfUc0Lrg.js} +1 -1
- package/dev/vs/{mdx-CpdAOlbp.js → mdx-Ds_zUDEw.js} +1 -1
- package/dev/vs/{monaco.contribution-CLECD6oi.js → monaco.contribution-DESEZj1f.js} +2 -2
- package/dev/vs/{monaco.contribution-DgD6w475.js → monaco.contribution-Dc0lLkZu.js} +2 -2
- package/dev/vs/{monaco.contribution-96LxvCLa.js → monaco.contribution-umnmzgnj.js} +2 -2
- package/dev/vs/{monaco.contribution-BNV_Bhhz.js → monaco.contribution-vu4wFS0D.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-Nrpn6A1J.js} +1 -1
- package/dev/vs/{razor-C2m7Vs0-.js → razor-B2ImJE6F.js} +1 -1
- package/dev/vs/{tsMode-qQDYDzQT.js → tsMode-BhTm4uDt.js} +2 -2
- package/dev/vs/{typescript-BoBnM-0b.js → typescript-B9ux4RRE.js} +1 -1
- package/dev/vs/{workers-B1DA8fIt.js → workers-BfrkJl-T.js} +1 -1
- package/dev/vs/{xml-DmpITxBR.js → xml-C1mbK085.js} +1 -1
- package/dev/vs/{yaml-Pd4qqIOC.js → yaml-CZjv-4l5.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/browser/ui/list/listPaging.js +5 -1
- package/esm/vs/base/browser/ui/list/listView.js +4 -3
- package/esm/vs/base/common/arrays.js +11 -1
- package/esm/vs/base/common/codiconsLibrary.js +1 -0
- package/esm/vs/base/common/platform.js +1 -0
- package/esm/vs/base/common/validation.js +159 -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 +66 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.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 +64 -53
- 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/model/inlineCompletionsModel.js +11 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +4 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +3 -0
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +5 -5
- 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/editor/standalone/browser/standaloneTreeSitterLibraryService.js +2 -12
- 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/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/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 +19 -9
- 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 +2 -2
- 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-pjKnE9PO.js} +11 -11
- package/min/vs/assets/editor.worker-Lsh72huT.js +26 -0
- package/min/vs/assets/{html.worker-zYFVFHK_.js → html.worker-Hd4kOUqi.js} +13 -13
- package/min/vs/assets/{json.worker-BCgqF_m2.js → json.worker-DwDECz88.js} +16 -16
- package/min/vs/assets/{ts.worker-CQxe4KB6.js → ts.worker-CC3N4GQG.js} +45 -45
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/{cssMode-CvaUVk1W.js → cssMode-CKacjhtz.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-tSFS3aVw.js} +163 -163
- package/min/vs/{freemarker2-B_vQOikd.js → freemarker2-C8BJNTRl.js} +1 -1
- package/min/vs/{handlebars-DqjIuZnJ.js → handlebars-BNJWbdv5.js} +1 -1
- package/min/vs/{html-DAxAlcjQ.js → html-B1iAfOh7.js} +1 -1
- package/min/vs/{htmlMode-C37mDTXf.js → htmlMode-Q5EfD3Ez.js} +1 -1
- package/min/vs/{javascript-CmHtjIt-.js → javascript-jZ-GdPfQ.js} +1 -1
- package/min/vs/{jsonMode-D1uvcOsy.js → jsonMode-B9MdKN8a.js} +2 -2
- 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-BISP2XeK.js} +1 -1
- package/min/vs/{lspLanguageFeatures-DTAub2tJ.js → lspLanguageFeatures-B2J91l4Y.js} +1 -1
- package/min/vs/{mdx-BFnE9qyd.js → mdx-D2jzxCCc.js} +1 -1
- package/min/vs/{monaco.contribution-DBV8hY3j.js → monaco.contribution-CGr0R2fk.js} +1 -1
- package/min/vs/{monaco.contribution-D4gtmCUd.js → monaco.contribution-CYn58r8E.js} +1 -1
- package/min/vs/{monaco.contribution-bCyc25XC.js → monaco.contribution-D63-Ljq8.js} +1 -1
- package/min/vs/{monaco.contribution-Ba-90VRW.js → monaco.contribution-DaT2Ac52.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-Dour27GQ.js} +1 -1
- package/min/vs/{razor-BBB6Wn5s.js → razor-DDTVtkIA.js} +1 -1
- package/min/vs/{tsMode-DYyNPclY.js → tsMode-mWcy0zc7.js} +5 -5
- package/min/vs/{typescript-AvfgkAyn.js → typescript-Cdajv1FR.js} +1 -1
- package/min/vs/{workers-DnTKLxL6.js → workers-D8PfwPU9.js} +1 -1
- package/min/vs/{xml-BVhc_vbm.js → xml-DY6dmZcI.js} +1 -1
- package/min/vs/{yaml-a9dM1cQx.js → yaml-vDETgr7p.js} +1 -1
- package/package.json +5 -5
- package/min/vs/assets/editor.worker-BvjSTWxN.js +0 -26
|
@@ -26,7 +26,7 @@ class ConfigurationRegistry extends Disposable {
|
|
|
26
26
|
this.configurationDefaultsOverrides = new Map();
|
|
27
27
|
this.defaultLanguageConfigurationOverridesNode = {
|
|
28
28
|
id: 'defaultOverrides',
|
|
29
|
-
title: localize(
|
|
29
|
+
title: localize(1660, "Default Language Configuration Overrides"),
|
|
30
30
|
properties: {}
|
|
31
31
|
};
|
|
32
32
|
this.configurationContributors = [this.defaultLanguageConfigurationOverridesNode];
|
|
@@ -101,7 +101,7 @@ class ConfigurationRegistry extends Disposable {
|
|
|
101
101
|
const property = {
|
|
102
102
|
type: 'object',
|
|
103
103
|
default: newDefaultOverride.value,
|
|
104
|
-
description: localize(
|
|
104
|
+
description: localize(1661, "Configure settings to be overridden for {0}.", getLanguageTagSettingPlainKey(key)),
|
|
105
105
|
$ref: resourceLanguageSettingsSchemaId,
|
|
106
106
|
defaultDefaultValue: newDefaultOverride.value,
|
|
107
107
|
source,
|
|
@@ -294,8 +294,8 @@ class ConfigurationRegistry extends Disposable {
|
|
|
294
294
|
const overrideIdentifierProperty = `[${overrideIdentifier}]`;
|
|
295
295
|
const resourceLanguagePropertiesSchema = {
|
|
296
296
|
type: 'object',
|
|
297
|
-
description: localize(
|
|
298
|
-
errorMessage: localize(
|
|
297
|
+
description: localize(1662, "Configure editor settings to be overridden for a language."),
|
|
298
|
+
errorMessage: localize(1663, "This setting does not support per-language configuration."),
|
|
299
299
|
$ref: resourceLanguageSettingsSchemaId,
|
|
300
300
|
};
|
|
301
301
|
this.updatePropertyDefaultValue(overrideIdentifierProperty, resourceLanguagePropertiesSchema);
|
|
@@ -303,8 +303,8 @@ class ConfigurationRegistry extends Disposable {
|
|
|
303
303
|
}
|
|
304
304
|
registerOverridePropertyPatternKey() {
|
|
305
305
|
({
|
|
306
|
-
description: localize(
|
|
307
|
-
errorMessage: localize(
|
|
306
|
+
description: localize(1664, "Configure editor settings to be overridden for a language."),
|
|
307
|
+
errorMessage: localize(1665, "This setting does not support per-language configuration.")});
|
|
308
308
|
this._onDidSchemaChange.fire();
|
|
309
309
|
}
|
|
310
310
|
updatePropertyDefaultValue(key, property) {
|
|
@@ -368,16 +368,16 @@ const configurationRegistry = new ConfigurationRegistry();
|
|
|
368
368
|
Registry.add(Extensions.Configuration, configurationRegistry);
|
|
369
369
|
function validateProperty(property, schema) {
|
|
370
370
|
if (!property.trim()) {
|
|
371
|
-
return localize(
|
|
371
|
+
return localize(1666, "Cannot register an empty property");
|
|
372
372
|
}
|
|
373
373
|
if (OVERRIDE_PROPERTY_REGEX.test(property)) {
|
|
374
|
-
return localize(
|
|
374
|
+
return localize(1667, "Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.", property);
|
|
375
375
|
}
|
|
376
376
|
if (configurationRegistry.getConfigurationProperties()[property] !== undefined) {
|
|
377
|
-
return localize(
|
|
377
|
+
return localize(1668, "Cannot register '{0}'. This property is already registered.", property);
|
|
378
378
|
}
|
|
379
379
|
if (schema.policy?.name && configurationRegistry.getPolicyConfigurations().get(schema.policy?.name) !== undefined) {
|
|
380
|
-
return localize(
|
|
380
|
+
return localize(1669, "Cannot register '{0}'. The associated policy {1} is already registered with {2}.", property, schema.policy?.name, configurationRegistry.getPolicyConfigurations().get(schema.policy?.name));
|
|
381
381
|
}
|
|
382
382
|
return null;
|
|
383
383
|
}
|
|
@@ -448,7 +448,7 @@ CommandsRegistry.registerCommand({
|
|
|
448
448
|
return [...RawContextKey.all()].sort((a, b) => a.key.localeCompare(b.key));
|
|
449
449
|
},
|
|
450
450
|
metadata: {
|
|
451
|
-
description: localize(
|
|
451
|
+
description: localize(1670, "A command that returns information about context keys"),
|
|
452
452
|
args: []
|
|
453
453
|
}
|
|
454
454
|
});
|
|
@@ -24,14 +24,14 @@ const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
|
24
24
|
const defaultConfig = {
|
|
25
25
|
regexParsingWithErrorRecovery: true
|
|
26
26
|
};
|
|
27
|
-
const errorEmptyString = localize(
|
|
28
|
-
const hintEmptyString = localize(
|
|
29
|
-
const errorNoInAfterNot = localize(
|
|
30
|
-
const errorClosingParenthesis = localize(
|
|
31
|
-
const errorUnexpectedToken = localize(
|
|
32
|
-
const hintUnexpectedToken = localize(
|
|
33
|
-
const errorUnexpectedEOF = localize(
|
|
34
|
-
const hintUnexpectedEOF = localize(
|
|
27
|
+
const errorEmptyString = localize(1671, "Empty context key expression");
|
|
28
|
+
const hintEmptyString = localize(1672, "Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively.");
|
|
29
|
+
const errorNoInAfterNot = localize(1673, "'in' after 'not'.");
|
|
30
|
+
const errorClosingParenthesis = localize(1674, "closing parenthesis ')'");
|
|
31
|
+
const errorUnexpectedToken = localize(1675, "Unexpected token");
|
|
32
|
+
const hintUnexpectedToken = localize(1676, "Did you forget to put && or || before the token?");
|
|
33
|
+
const errorUnexpectedEOF = localize(1677, "Unexpected end of expression");
|
|
34
|
+
const hintUnexpectedEOF = localize(1678, "Did you forget to put a context key?");
|
|
35
35
|
/**
|
|
36
36
|
* A parser for context key expressions.
|
|
37
37
|
*
|
|
@@ -376,7 +376,7 @@ class Parser {
|
|
|
376
376
|
throw this._errExpectedButGot(message, this._peek());
|
|
377
377
|
}
|
|
378
378
|
_errExpectedButGot(expected, got, additionalInfo) {
|
|
379
|
-
const message = localize(
|
|
379
|
+
const message = localize(1679, "Expected: {0}\nReceived: '{1}'.", expected, Scanner.getLexeme(got));
|
|
380
380
|
const offset = got.offset;
|
|
381
381
|
const lexeme = Scanner.getLexeme(got);
|
|
382
382
|
this._parsingErrors.push({ message, offset, lexeme, additionalInfo });
|
|
@@ -6,16 +6,16 @@ import { RawContextKey } from './contextkey.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
|
-
new RawContextKey('isMac', isMacintosh, localize(
|
|
10
|
-
new RawContextKey('isLinux', isLinux, localize(
|
|
11
|
-
const IsWindowsContext = new RawContextKey('isWindows', isWindows, localize(
|
|
12
|
-
const IsWebContext = new RawContextKey('isWeb', isWeb, localize(
|
|
13
|
-
new RawContextKey('isMacNative', isMacintosh && !isWeb, localize(
|
|
14
|
-
new RawContextKey('isIOS', isIOS, localize(
|
|
15
|
-
new RawContextKey('isMobile', isMobile, localize(
|
|
9
|
+
new RawContextKey('isMac', isMacintosh, localize(1680, "Whether the operating system is macOS"));
|
|
10
|
+
new RawContextKey('isLinux', isLinux, localize(1681, "Whether the operating system is Linux"));
|
|
11
|
+
const IsWindowsContext = new RawContextKey('isWindows', isWindows, localize(1682, "Whether the operating system is Windows"));
|
|
12
|
+
const IsWebContext = new RawContextKey('isWeb', isWeb, localize(1683, "Whether the platform is a web browser"));
|
|
13
|
+
new RawContextKey('isMacNative', isMacintosh && !isWeb, localize(1684, "Whether the operating system is macOS on a non-browser platform"));
|
|
14
|
+
new RawContextKey('isIOS', isIOS, localize(1685, "Whether the operating system is iOS"));
|
|
15
|
+
new RawContextKey('isMobile', isMobile, localize(1686, "Whether the platform is a mobile web browser"));
|
|
16
16
|
new RawContextKey('isDevelopment', false, true);
|
|
17
|
-
new RawContextKey('productQualityType', '', localize(
|
|
17
|
+
new RawContextKey('productQualityType', '', localize(1687, "Quality type of VS Code"));
|
|
18
18
|
const InputFocusedContextKey = 'inputFocus';
|
|
19
|
-
const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, localize(
|
|
19
|
+
const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, localize(1688, "Whether keyboard focus is inside an input box"));
|
|
20
20
|
|
|
21
21
|
export { InputFocusedContext, InputFocusedContextKey, IsWebContext, IsWindowsContext };
|
|
@@ -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(1689, "Did you mean {0}?", meant[0]);
|
|
12
12
|
case 2:
|
|
13
|
-
return localize(
|
|
13
|
+
return localize(1690, "Did you mean {0} or {1}?", meant[0], meant[1]);
|
|
14
14
|
case 3:
|
|
15
|
-
return localize(
|
|
15
|
+
return localize(1691, "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(1692, "Did you forget to open or close the quote?");
|
|
21
|
+
const hintDidYouForgetToEscapeSlash = localize(1693, "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(1694, "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(1695, "({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(1696, "({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(1697, "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(1698, "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(1699, "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(1700, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
908
|
+
localize(1701, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
|
|
909
909
|
],
|
|
910
910
|
default: 'ctrlCmd',
|
|
911
|
-
description: localize(
|
|
911
|
+
description: localize(1702, "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(1703, "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(1704, "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(1705, "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(1706, "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(1707, "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(1708, "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(1709, "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(1710, "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(1711, "Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),
|
|
971
|
+
localize(1712, "Filter elements when searching.")
|
|
972
972
|
],
|
|
973
973
|
default: 'highlight',
|
|
974
|
-
description: localize(
|
|
974
|
+
description: localize(1713, "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(1714, "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
|
|
981
|
+
localize(1715, "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
|
|
982
|
+
localize(1716, "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(1717, "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(1718, "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(1719, "Use fuzzy matching when searching."),
|
|
994
|
+
localize(1720, "Use contiguous matching when searching.")
|
|
995
995
|
],
|
|
996
996
|
default: 'fuzzy',
|
|
997
|
-
description: localize(
|
|
997
|
+
description: localize(1721, "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(1722, "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(1723, "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(1724, "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(1725, "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(1732, "Problems are paused because: \"{0}\"", reasons[0])
|
|
244
|
+
: localize(1733, "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(1726, "Error");
|
|
23
|
+
_displayStrings[MarkerSeverity.Warning] = localize(1727, "Warning");
|
|
24
|
+
_displayStrings[MarkerSeverity.Info] = localize(1728, "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(1729, "Errors");
|
|
31
|
+
_displayStringsPlural[MarkerSeverity.Warning] = localize(1730, "Warnings");
|
|
32
|
+
_displayStringsPlural[MarkerSeverity.Info] = localize(1731, "Infos");
|
|
33
33
|
function toStringPlural(a) {
|
|
34
34
|
return _displayStringsPlural[a] || '';
|
|
35
35
|
}
|
|
@@ -16,6 +16,7 @@ import { PickerQuickAccessProvider } from './pickerQuickAccess.js';
|
|
|
16
16
|
import { WillSaveStateReason, IStorageService } from '../../storage/common/storage.js';
|
|
17
17
|
import { ITelemetryService } from '../../telemetry/common/telemetry.js';
|
|
18
18
|
import { removeAccents } from '../../../base/common/normalization.js';
|
|
19
|
+
import { Categories } from '../../action/common/actionCommonCategories.js';
|
|
19
20
|
|
|
20
21
|
/*---------------------------------------------------------------------------------------------
|
|
21
22
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -151,6 +152,15 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
151
152
|
return 1; // other command was suggested so it wins over the command
|
|
152
153
|
}
|
|
153
154
|
}
|
|
155
|
+
// if one is Developer and the other isn't, put non-Developer first
|
|
156
|
+
const isDeveloperA = commandPickA.commandCategory === Categories.Developer.value;
|
|
157
|
+
const isDeveloperB = commandPickB.commandCategory === Categories.Developer.value;
|
|
158
|
+
if (isDeveloperA && !isDeveloperB) {
|
|
159
|
+
return 1;
|
|
160
|
+
}
|
|
161
|
+
if (!isDeveloperA && isDeveloperB) {
|
|
162
|
+
return -1;
|
|
163
|
+
}
|
|
154
164
|
// both commands were never used, so we sort by name
|
|
155
165
|
return commandPickA.label.localeCompare(commandPickB.label);
|
|
156
166
|
});
|
|
@@ -162,22 +172,22 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
162
172
|
const commandPick = filteredCommandPicks[i];
|
|
163
173
|
// Separator: recently used
|
|
164
174
|
if (i === 0 && this.commandsHistory.peek(commandPick.commandId)) {
|
|
165
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
175
|
+
commandPicks.push({ type: 'separator', label: localize(1734, "recently used") });
|
|
166
176
|
addOtherSeparator = true;
|
|
167
177
|
}
|
|
168
178
|
if (addSuggestedSeparator && commandPick.tfIdfScore !== undefined) {
|
|
169
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
179
|
+
commandPicks.push({ type: 'separator', label: localize(1735, "similar commands") });
|
|
170
180
|
addSuggestedSeparator = false;
|
|
171
181
|
}
|
|
172
182
|
// Separator: commonly used
|
|
173
183
|
if (addCommonlyUsedSeparator && commandPick.tfIdfScore === undefined && !this.commandsHistory.peek(commandPick.commandId) && this.options.suggestedCommandIds?.has(commandPick.commandId)) {
|
|
174
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
184
|
+
commandPicks.push({ type: 'separator', label: localize(1736, "commonly used") });
|
|
175
185
|
addOtherSeparator = true;
|
|
176
186
|
addCommonlyUsedSeparator = false;
|
|
177
187
|
}
|
|
178
188
|
// Separator: other commands
|
|
179
189
|
if (addOtherSeparator && commandPick.tfIdfScore === undefined && !this.commandsHistory.peek(commandPick.commandId) && !this.options.suggestedCommandIds?.has(commandPick.commandId)) {
|
|
180
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
190
|
+
commandPicks.push({ type: 'separator', label: localize(1737, "other commands") });
|
|
181
191
|
addOtherSeparator = false;
|
|
182
192
|
}
|
|
183
193
|
// Command
|
|
@@ -197,7 +207,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
197
207
|
// Basically, if we haven't already added a separator, we add one before the additional picks so long
|
|
198
208
|
// as one hasn't been added to the start of the array.
|
|
199
209
|
if (addSuggestedSeparator && commandPicks[0]?.type !== 'separator') {
|
|
200
|
-
commandPicks.unshift({ type: 'separator', label: localize(
|
|
210
|
+
commandPicks.unshift({ type: 'separator', label: localize(1738, "similar commands") });
|
|
201
211
|
}
|
|
202
212
|
return commandPicks;
|
|
203
213
|
})()
|
|
@@ -209,7 +219,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
209
219
|
}
|
|
210
220
|
const keybinding = this.keybindingService.lookupKeybinding(commandPick.commandId);
|
|
211
221
|
const ariaLabel = keybinding ?
|
|
212
|
-
localize(
|
|
222
|
+
localize(1739, "{0}, {1}", commandPick.label, keybinding.getAriaLabel()) :
|
|
213
223
|
commandPick.label;
|
|
214
224
|
return {
|
|
215
225
|
...commandPick,
|
|
@@ -232,7 +242,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
232
242
|
}
|
|
233
243
|
catch (error) {
|
|
234
244
|
if (!isCancellationError(error)) {
|
|
235
|
-
this.dialogService.error(localize(
|
|
245
|
+
this.dialogService.error(localize(1740, "Command '{0}' resulted in an error", commandPick.label), toErrorMessage(error));
|
|
236
246
|
}
|
|
237
247
|
}
|
|
238
248
|
}
|
|
@@ -251,8 +261,8 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
251
261
|
return chunk;
|
|
252
262
|
}
|
|
253
263
|
/**
|
|
254
|
-
* Normalizes a string for filtering by removing accents, but only if
|
|
255
|
-
* returns the original string.
|
|
264
|
+
* Normalizes a string for filtering by removing accents, but only if
|
|
265
|
+
* the result has the same length, otherwise returns the original string.
|
|
256
266
|
*/
|
|
257
267
|
normalizeForFiltering(value) {
|
|
258
268
|
const withoutAccents = removeAccents(value);
|
|
@@ -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(1741, "{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(1742, "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(1743, "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(1744, "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(1745, "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(1746, "Back")};
|
|
48
48
|
class QuickInput extends Disposable {
|
|
49
|
-
static { this.noPromptMessage = localize(
|
|
49
|
+
static { this.noPromptMessage = localize(1747, "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(1748, "{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(1749, "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(1750, "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(1751, "{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(1752, "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(1753, "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(1754, "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(1755, "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(1756, "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();
|