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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/typescript-
|
|
1
|
+
define("vs/typescript-B9ux4RRE", ["exports", "./editor.api-CdoClrvx"], (function(exports, editor_api) {
|
|
2
2
|
"use strict";
|
|
3
3
|
const conf = {
|
|
4
4
|
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define("vs/workers-
|
|
1
|
+
define("vs/workers-BfrkJl-T", ["exports", "./editor.api-CdoClrvx"], (function(exports, editor_api) {
|
|
2
2
|
"use strict";
|
|
3
3
|
function createTrustedTypesPolicy(policyName, policyOptions) {
|
|
4
4
|
const monacoEnvironment = globalThis.MonacoEnvironment;
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { range } from '../../../common/arrays.js';
|
|
2
2
|
import { CancellationTokenSource } from '../../../common/cancellation.js';
|
|
3
3
|
import { Event } from '../../../common/event.js';
|
|
4
|
-
import { Disposable } from '../../../common/lifecycle.js';
|
|
4
|
+
import { DisposableStore, Disposable } from '../../../common/lifecycle.js';
|
|
5
5
|
import './list.css';
|
|
6
6
|
import { List } from './listWidget.js';
|
|
7
7
|
|
|
@@ -69,6 +69,7 @@ function fromPagedListOptions(modelProvider, options) {
|
|
|
69
69
|
}
|
|
70
70
|
class PagedList {
|
|
71
71
|
constructor(user, container, virtualDelegate, renderers, options = {}) {
|
|
72
|
+
this.modelDisposables = new DisposableStore();
|
|
72
73
|
const modelProvider = () => this.model;
|
|
73
74
|
const pagedRenderers = renderers.map(r => new PagedRenderer(r, modelProvider));
|
|
74
75
|
this.list = new List(user, container, virtualDelegate, pagedRenderers, fromPagedListOptions(modelProvider, options));
|
|
@@ -101,8 +102,10 @@ class PagedList {
|
|
|
101
102
|
return this._model;
|
|
102
103
|
}
|
|
103
104
|
set model(model) {
|
|
105
|
+
this.modelDisposables.clear();
|
|
104
106
|
this._model = model;
|
|
105
107
|
this.list.splice(0, this.list.length, range(model.length));
|
|
108
|
+
this.modelDisposables.add(model.onDidIncrementLength(newLength => this.list.splice(this.list.length, 0, range(this.list.length, newLength))));
|
|
106
109
|
}
|
|
107
110
|
getFocus() {
|
|
108
111
|
return this.list.getFocus();
|
|
@@ -118,6 +121,7 @@ class PagedList {
|
|
|
118
121
|
}
|
|
119
122
|
dispose() {
|
|
120
123
|
this.list.dispose();
|
|
124
|
+
this.modelDisposables.dispose();
|
|
121
125
|
}
|
|
122
126
|
}
|
|
123
127
|
|
|
@@ -569,11 +569,12 @@ class ListView {
|
|
|
569
569
|
const role = this.accessibilityProvider.getRole(item.element) || 'listitem';
|
|
570
570
|
item.row.domNode.setAttribute('role', role);
|
|
571
571
|
const checked = this.accessibilityProvider.isChecked(item.element);
|
|
572
|
-
|
|
573
|
-
|
|
572
|
+
const toAriaState = (value) => value === 'mixed' ? 'mixed' : String(!!value);
|
|
573
|
+
if (typeof checked === 'boolean' || checked === 'mixed') {
|
|
574
|
+
item.row.domNode.setAttribute('aria-checked', toAriaState(checked));
|
|
574
575
|
}
|
|
575
576
|
else if (checked) {
|
|
576
|
-
const update = (
|
|
577
|
+
const update = (value) => item.row.domNode.setAttribute('aria-checked', toAriaState(value));
|
|
577
578
|
update(checked.value);
|
|
578
579
|
item.checkedDisposable = checked.onDidChange(() => update(checked.value));
|
|
579
580
|
}
|
|
@@ -265,6 +265,16 @@ function pushMany(arr, items) {
|
|
|
265
265
|
arr.push(item);
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
+
function mapFilter(array, fn) {
|
|
269
|
+
const result = [];
|
|
270
|
+
for (const item of array) {
|
|
271
|
+
const mapped = fn(item);
|
|
272
|
+
if (mapped !== undefined) {
|
|
273
|
+
result.push(mapped);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
return result;
|
|
277
|
+
}
|
|
268
278
|
function asArray(x) {
|
|
269
279
|
return Array.isArray(x) ? x : [x];
|
|
270
280
|
}
|
|
@@ -516,4 +526,4 @@ function sum(array) {
|
|
|
516
526
|
return array.reduce((acc, value) => acc + value, 0);
|
|
517
527
|
}
|
|
518
528
|
|
|
519
|
-
export { ArrayQueue, CallbackIterable, CompareResult, Permutation, arrayInsert, asArray, binarySearch, binarySearch2, booleanComparator, coalesce, coalesceInPlace, compareBy, compareUndefinedSmallest, distinct, equals, forEachAdjacent, forEachWithNeighbors, groupAdjacentBy, groupBy, insertInto, isFalsyOrEmpty, isNonEmptyArray, numberComparator, pushMany, pushToEnd, pushToStart, quickSelect, range, removeFastWithoutKeepingOrder, reverseOrder, splice, sum, tail, tieBreakComparators };
|
|
529
|
+
export { ArrayQueue, CallbackIterable, CompareResult, Permutation, arrayInsert, asArray, binarySearch, binarySearch2, booleanComparator, coalesce, coalesceInPlace, compareBy, compareUndefinedSmallest, distinct, equals, forEachAdjacent, forEachWithNeighbors, groupAdjacentBy, groupBy, insertInto, isFalsyOrEmpty, isNonEmptyArray, mapFilter, numberComparator, pushMany, pushToEnd, pushToStart, quickSelect, range, removeFastWithoutKeepingOrder, reverseOrder, splice, sum, tail, tieBreakComparators };
|
|
@@ -626,6 +626,7 @@ const codiconsLibrary = {
|
|
|
626
626
|
debugConnected: register('debug-connected', 0xec63),
|
|
627
627
|
strikethrough: register('strikethrough', 0xec64),
|
|
628
628
|
openInProduct: register('open-in-product', 0xec65),
|
|
629
|
+
indexZero: register('index-zero', 0xec66),
|
|
629
630
|
};
|
|
630
631
|
|
|
631
632
|
export { codiconsLibrary };
|
|
@@ -150,5 +150,6 @@ const isFirefox = !!(userAgent && userAgent.indexOf('Firefox') >= 0);
|
|
|
150
150
|
const isSafari = !!(!isChrome && (userAgent && userAgent.indexOf('Safari') >= 0));
|
|
151
151
|
const isEdge = !!(userAgent && userAgent.indexOf('Edg/') >= 0);
|
|
152
152
|
const isAndroid = !!(userAgent && userAgent.indexOf('Android') >= 0);
|
|
153
|
+
!!(userAgent && userAgent.indexOf('Electron') >= 0);
|
|
153
154
|
|
|
154
155
|
export { LANGUAGE_DEFAULT, OS, isAndroid, isChrome, isEdge, isFirefox, isIOS, isLinux, isLittleEndian, isMacintosh, isMobile, isNative, isSafari, isWeb, isWebWorker, isWindows, language, platform, setTimeout0, setTimeout0IsFaster, userAgent, webWorkerOrigin };
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { mapFilter } from './arrays.js';
|
|
2
|
+
|
|
3
|
+
/*---------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
6
|
+
*--------------------------------------------------------------------------------------------*/
|
|
7
|
+
class ValidatorBase {
|
|
8
|
+
validateOrThrow(content) {
|
|
9
|
+
const result = this.validate(content);
|
|
10
|
+
if (result.error) {
|
|
11
|
+
throw new Error(result.error.message);
|
|
12
|
+
}
|
|
13
|
+
return result.content;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
class TypeofValidator extends ValidatorBase {
|
|
17
|
+
constructor(type) {
|
|
18
|
+
super();
|
|
19
|
+
this.type = type;
|
|
20
|
+
}
|
|
21
|
+
validate(content) {
|
|
22
|
+
if (typeof content !== this.type) {
|
|
23
|
+
return { content: undefined, error: { message: `Expected ${this.type}, but got ${typeof content}` } };
|
|
24
|
+
}
|
|
25
|
+
return { content: content, error: undefined };
|
|
26
|
+
}
|
|
27
|
+
getJSONSchema() {
|
|
28
|
+
return { type: this.type };
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
const vStringValidator = new TypeofValidator('string');
|
|
32
|
+
function vString() { return vStringValidator; }
|
|
33
|
+
new TypeofValidator('number');
|
|
34
|
+
const vBooleanValidator = new TypeofValidator('boolean');
|
|
35
|
+
function vBoolean() { return vBooleanValidator; }
|
|
36
|
+
new TypeofValidator('object');
|
|
37
|
+
class UndefinedValidator extends ValidatorBase {
|
|
38
|
+
validate(content) {
|
|
39
|
+
if (content !== undefined) {
|
|
40
|
+
return { content: undefined, error: { message: `Expected undefined, but got ${typeof content}` } };
|
|
41
|
+
}
|
|
42
|
+
return { content: undefined, error: undefined };
|
|
43
|
+
}
|
|
44
|
+
getJSONSchema() {
|
|
45
|
+
return {};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function vUndefined() {
|
|
49
|
+
return new UndefinedValidator();
|
|
50
|
+
}
|
|
51
|
+
class Optional {
|
|
52
|
+
constructor(validator) {
|
|
53
|
+
this.validator = validator;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function vOptionalProp(validator) {
|
|
57
|
+
return new Optional(validator);
|
|
58
|
+
}
|
|
59
|
+
class ObjValidator extends ValidatorBase {
|
|
60
|
+
constructor(properties) {
|
|
61
|
+
super();
|
|
62
|
+
this.properties = properties;
|
|
63
|
+
}
|
|
64
|
+
validate(content) {
|
|
65
|
+
if (typeof content !== 'object' || content === null) {
|
|
66
|
+
return { content: undefined, error: { message: 'Expected object' } };
|
|
67
|
+
}
|
|
68
|
+
// eslint-disable-next-line local/code-no-dangerous-type-assertions
|
|
69
|
+
const result = {};
|
|
70
|
+
for (const key in this.properties) {
|
|
71
|
+
const prop = this.properties[key];
|
|
72
|
+
// eslint-disable-next-line local/code-no-any-casts, @typescript-eslint/no-explicit-any
|
|
73
|
+
const fieldValue = content[key];
|
|
74
|
+
const isOptional = prop instanceof Optional;
|
|
75
|
+
const validator = isOptional ? prop.validator : prop;
|
|
76
|
+
if (isOptional && fieldValue === undefined) {
|
|
77
|
+
// Optional field not provided, skip validation
|
|
78
|
+
continue;
|
|
79
|
+
}
|
|
80
|
+
const { content: value, error } = validator.validate(fieldValue);
|
|
81
|
+
if (error) {
|
|
82
|
+
return { content: undefined, error: { message: `Error in property '${key}': ${error.message}` } };
|
|
83
|
+
}
|
|
84
|
+
// eslint-disable-next-line local/code-no-any-casts, @typescript-eslint/no-explicit-any
|
|
85
|
+
result[key] = value;
|
|
86
|
+
}
|
|
87
|
+
return { content: result, error: undefined };
|
|
88
|
+
}
|
|
89
|
+
getJSONSchema() {
|
|
90
|
+
const requiredFields = [];
|
|
91
|
+
const schemaProperties = {};
|
|
92
|
+
for (const [key, prop] of Object.entries(this.properties)) {
|
|
93
|
+
const isOptional = prop instanceof Optional;
|
|
94
|
+
const validator = isOptional ? prop.validator : prop;
|
|
95
|
+
schemaProperties[key] = validator.getJSONSchema();
|
|
96
|
+
if (!isOptional) {
|
|
97
|
+
requiredFields.push(key);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
const schema = {
|
|
101
|
+
type: 'object',
|
|
102
|
+
properties: schemaProperties,
|
|
103
|
+
...(requiredFields.length > 0 ? { required: requiredFields } : {})
|
|
104
|
+
};
|
|
105
|
+
return schema;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
function vObj(properties) {
|
|
109
|
+
return new ObjValidator(properties);
|
|
110
|
+
}
|
|
111
|
+
class UnionValidator extends ValidatorBase {
|
|
112
|
+
constructor(validators) {
|
|
113
|
+
super();
|
|
114
|
+
this.validators = validators;
|
|
115
|
+
}
|
|
116
|
+
validate(content) {
|
|
117
|
+
let lastError;
|
|
118
|
+
for (const validator of this.validators) {
|
|
119
|
+
const { content: value, error } = validator.validate(content);
|
|
120
|
+
if (!error) {
|
|
121
|
+
// eslint-disable-next-line local/code-no-any-casts, @typescript-eslint/no-explicit-any
|
|
122
|
+
return { content: value, error: undefined };
|
|
123
|
+
}
|
|
124
|
+
lastError = error;
|
|
125
|
+
}
|
|
126
|
+
return { content: undefined, error: lastError };
|
|
127
|
+
}
|
|
128
|
+
getJSONSchema() {
|
|
129
|
+
return {
|
|
130
|
+
oneOf: mapFilter(this.validators, validator => {
|
|
131
|
+
if (validator instanceof UndefinedValidator) {
|
|
132
|
+
return undefined;
|
|
133
|
+
}
|
|
134
|
+
return validator.getJSONSchema();
|
|
135
|
+
}),
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
function vUnion(...validators) {
|
|
140
|
+
return new UnionValidator(validators);
|
|
141
|
+
}
|
|
142
|
+
class UseRefSchemaValidator extends ValidatorBase {
|
|
143
|
+
constructor(_ref, _validator) {
|
|
144
|
+
super();
|
|
145
|
+
this._ref = _ref;
|
|
146
|
+
this._validator = _validator;
|
|
147
|
+
}
|
|
148
|
+
validate(content) {
|
|
149
|
+
return this._validator.validate(content);
|
|
150
|
+
}
|
|
151
|
+
getJSONSchema() {
|
|
152
|
+
return { $ref: this._ref };
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
function vWithJsonSchemaRef(ref, validator) {
|
|
156
|
+
return new UseRefSchemaValidator(ref, validator);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export { Optional, ValidatorBase, vBoolean, vObj, vOptionalProp, vString, vUndefined, vUnion, vWithJsonSchemaRef };
|
|
@@ -91,7 +91,7 @@ let ScreenReaderSupport = class ScreenReaderSupport extends Disposable {
|
|
|
91
91
|
this._domNode.domNode.setAttribute('aria-required', options.get(9 /* EditorOption.ariaRequired */) ? 'true' : 'false');
|
|
92
92
|
this._domNode.domNode.setAttribute('aria-multiline', 'true');
|
|
93
93
|
this._domNode.domNode.setAttribute('aria-autocomplete', options.get(104 /* EditorOption.readOnly */) ? 'none' : 'both');
|
|
94
|
-
this._domNode.domNode.setAttribute('aria-roledescription', localize(
|
|
94
|
+
this._domNode.domNode.setAttribute('aria-roledescription', localize(60, "editor"));
|
|
95
95
|
this._domNode.domNode.setAttribute('aria-label', ariaLabelForScreenReaderContent(options, this._keybindingService));
|
|
96
96
|
const tabSize = this._context.viewModel.model.getOptions().tabSize;
|
|
97
97
|
const spaceWidth = options.get(59 /* EditorOption.fontInfo */).spaceWidth;
|
|
@@ -78,15 +78,15 @@ function ariaLabelForScreenReaderContent(options, keybindingService) {
|
|
|
78
78
|
const toggleKeybindingLabel = keybindingService.lookupKeybinding('editor.action.toggleScreenReaderAccessibilityMode')?.getAriaLabel();
|
|
79
79
|
const runCommandKeybindingLabel = keybindingService.lookupKeybinding('workbench.action.showCommands')?.getAriaLabel();
|
|
80
80
|
const keybindingEditorKeybindingLabel = keybindingService.lookupKeybinding('workbench.action.openGlobalKeybindings')?.getAriaLabel();
|
|
81
|
-
const editorNotAccessibleMessage = localize(
|
|
81
|
+
const editorNotAccessibleMessage = localize(61, "The editor is not accessible at this time.");
|
|
82
82
|
if (toggleKeybindingLabel) {
|
|
83
|
-
return localize(
|
|
83
|
+
return localize(62, "{0} To enable screen reader optimized mode, use {1}", editorNotAccessibleMessage, toggleKeybindingLabel);
|
|
84
84
|
}
|
|
85
85
|
else if (runCommandKeybindingLabel) {
|
|
86
|
-
return localize(
|
|
86
|
+
return localize(63, "{0} To enable screen reader optimized mode, open the quick pick with {1} and run the command Toggle Screen Reader Accessibility Mode, which is currently not triggerable via keyboard.", editorNotAccessibleMessage, runCommandKeybindingLabel);
|
|
87
87
|
}
|
|
88
88
|
else if (keybindingEditorKeybindingLabel) {
|
|
89
|
-
return localize(
|
|
89
|
+
return localize(64, "{0} Please assign a keybinding for the command Toggle Screen Reader Accessibility Mode by accessing the keybindings editor with {1} and run it.", editorNotAccessibleMessage, keybindingEditorKeybindingLabel);
|
|
90
90
|
}
|
|
91
91
|
else {
|
|
92
92
|
// SOS
|
|
@@ -132,7 +132,7 @@ let TextAreaEditContext = class TextAreaEditContext extends AbstractEditContext
|
|
|
132
132
|
this.textArea.setAttribute('aria-required', options.get(9 /* EditorOption.ariaRequired */) ? 'true' : 'false');
|
|
133
133
|
this.textArea.setAttribute('tabindex', String(options.get(140 /* EditorOption.tabIndex */)));
|
|
134
134
|
this.textArea.setAttribute('role', 'textbox');
|
|
135
|
-
this.textArea.setAttribute('aria-roledescription', localize(
|
|
135
|
+
this.textArea.setAttribute('aria-roledescription', localize(65, "editor"));
|
|
136
136
|
this.textArea.setAttribute('aria-multiline', 'true');
|
|
137
137
|
this.textArea.setAttribute('aria-autocomplete', options.get(104 /* EditorOption.readOnly */) ? 'none' : 'both');
|
|
138
138
|
this._ensureReadOnlyAttribute();
|
|
@@ -861,7 +861,7 @@ var CoreNavigationCommands;
|
|
|
861
861
|
type: 'object',
|
|
862
862
|
properties: {
|
|
863
863
|
'sticky': {
|
|
864
|
-
description: localize(
|
|
864
|
+
description: localize(66, "Stick to the end even when going to longer lines"),
|
|
865
865
|
type: 'boolean',
|
|
866
866
|
default: false
|
|
867
867
|
}
|
|
@@ -889,7 +889,7 @@ var CoreNavigationCommands;
|
|
|
889
889
|
type: 'object',
|
|
890
890
|
properties: {
|
|
891
891
|
'sticky': {
|
|
892
|
-
description: localize(
|
|
892
|
+
description: localize(67, "Stick to the end even when going to longer lines"),
|
|
893
893
|
type: 'boolean',
|
|
894
894
|
default: false
|
|
895
895
|
}
|
|
@@ -1437,7 +1437,7 @@ var CoreNavigationCommands;
|
|
|
1437
1437
|
viewModel.getPrimaryCursorState()
|
|
1438
1438
|
]);
|
|
1439
1439
|
viewModel.revealAllCursors(args.source, true);
|
|
1440
|
-
status(localize(
|
|
1440
|
+
status(localize(68, "Removed secondary cursors"));
|
|
1441
1441
|
}
|
|
1442
1442
|
});
|
|
1443
1443
|
CoreNavigationCommands.RevealLine = registerEditorCommand(new class extends CoreEditorCommand {
|
|
@@ -413,17 +413,17 @@ const UndoCommand = registerCommand(new MultiCommand({
|
|
|
413
413
|
menuOpts: [{
|
|
414
414
|
menuId: MenuId.MenubarEditMenu,
|
|
415
415
|
group: '1_do',
|
|
416
|
-
title: localize(
|
|
416
|
+
title: localize(69, "&&Undo"),
|
|
417
417
|
order: 1
|
|
418
418
|
}, {
|
|
419
419
|
menuId: MenuId.CommandPalette,
|
|
420
420
|
group: '',
|
|
421
|
-
title: localize(
|
|
421
|
+
title: localize(70, "Undo"),
|
|
422
422
|
order: 1
|
|
423
423
|
}, {
|
|
424
424
|
menuId: MenuId.SimpleEditorContext,
|
|
425
425
|
group: '1_do',
|
|
426
|
-
title: localize(
|
|
426
|
+
title: localize(71, "Undo"),
|
|
427
427
|
order: 1
|
|
428
428
|
}]
|
|
429
429
|
}));
|
|
@@ -440,17 +440,17 @@ const RedoCommand = registerCommand(new MultiCommand({
|
|
|
440
440
|
menuOpts: [{
|
|
441
441
|
menuId: MenuId.MenubarEditMenu,
|
|
442
442
|
group: '1_do',
|
|
443
|
-
title: localize(
|
|
443
|
+
title: localize(72, "&&Redo"),
|
|
444
444
|
order: 2
|
|
445
445
|
}, {
|
|
446
446
|
menuId: MenuId.CommandPalette,
|
|
447
447
|
group: '',
|
|
448
|
-
title: localize(
|
|
448
|
+
title: localize(73, "Redo"),
|
|
449
449
|
order: 1
|
|
450
450
|
}, {
|
|
451
451
|
menuId: MenuId.SimpleEditorContext,
|
|
452
452
|
group: '1_do',
|
|
453
|
-
title: localize(
|
|
453
|
+
title: localize(74, "Redo"),
|
|
454
454
|
order: 2
|
|
455
455
|
}]
|
|
456
456
|
}));
|
|
@@ -466,17 +466,17 @@ const SelectAllCommand = registerCommand(new MultiCommand({
|
|
|
466
466
|
menuOpts: [{
|
|
467
467
|
menuId: MenuId.MenubarSelectionMenu,
|
|
468
468
|
group: '1_basic',
|
|
469
|
-
title: localize(
|
|
469
|
+
title: localize(75, "&&Select All"),
|
|
470
470
|
order: 1
|
|
471
471
|
}, {
|
|
472
472
|
menuId: MenuId.CommandPalette,
|
|
473
473
|
group: '',
|
|
474
|
-
title: localize(
|
|
474
|
+
title: localize(76, "Select All"),
|
|
475
475
|
order: 1
|
|
476
476
|
}, {
|
|
477
477
|
menuId: MenuId.SimpleEditorContext,
|
|
478
478
|
group: '9_select',
|
|
479
|
-
title: localize(
|
|
479
|
+
title: localize(77, "Select All"),
|
|
480
480
|
order: 1
|
|
481
481
|
}]
|
|
482
482
|
}));
|
|
@@ -86,7 +86,7 @@ let ViewGpuContext = class ViewGpuContext extends Disposable {
|
|
|
86
86
|
if (!ViewGpuContext_1.device) {
|
|
87
87
|
ViewGpuContext_1.device = GPULifecycle.requestDevice((message) => {
|
|
88
88
|
const choices = [{
|
|
89
|
-
label: localize(
|
|
89
|
+
label: localize(78, "Use DOM-based rendering"),
|
|
90
90
|
run: () => this.configurationService.updateValue('editor.experimentalGpuAcceleration', 'off'),
|
|
91
91
|
}];
|
|
92
92
|
this._notificationService.prompt(Severity.Warning, message, choices);
|
|
@@ -198,7 +198,7 @@ let HoverWidget = class HoverWidget extends Widget {
|
|
|
198
198
|
if (options.appearance?.showHoverHint) {
|
|
199
199
|
const statusBarElement = $('div.hover-row.status-bar');
|
|
200
200
|
const infoElement = $('div.info');
|
|
201
|
-
infoElement.textContent = localize(
|
|
201
|
+
infoElement.textContent = localize(79, 'Hold {0} key to mouse over', isMacintosh ? 'Option' : 'Alt');
|
|
202
202
|
statusBarElement.appendChild(infoElement);
|
|
203
203
|
this._hover.containerDomNode.appendChild(statusBarElement);
|
|
204
204
|
}
|
|
@@ -48,7 +48,7 @@ class ManagedHoverWidget {
|
|
|
48
48
|
if (managedContent instanceof Promise) {
|
|
49
49
|
// show 'Loading' if no hover is up yet
|
|
50
50
|
if (!this._hoverWidget) {
|
|
51
|
-
this.show(localize(
|
|
51
|
+
this.show(localize(80, "Loading..."), focus, options);
|
|
52
52
|
}
|
|
53
53
|
resolvedContent = await managedContent;
|
|
54
54
|
}
|
|
@@ -25,7 +25,7 @@ var __param = (undefined && undefined.__param) || function (paramIndex, decorato
|
|
|
25
25
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
26
26
|
};
|
|
27
27
|
const IInlineCompletionsService = createDecorator('IInlineCompletionsService');
|
|
28
|
-
const InlineCompletionsSnoozing = new RawContextKey('inlineCompletions.snoozed', false, localize(
|
|
28
|
+
const InlineCompletionsSnoozing = new RawContextKey('inlineCompletions.snoozed', false, localize(81, "Whether inline completions are currently snoozed"));
|
|
29
29
|
let InlineCompletionsService = class InlineCompletionsService extends Disposable {
|
|
30
30
|
get snoozeTimeLeft() {
|
|
31
31
|
if (this._snoozeTimeEnd === undefined) {
|
|
@@ -111,7 +111,7 @@ class SnoozeInlineCompletion extends Action2 {
|
|
|
111
111
|
constructor() {
|
|
112
112
|
super({
|
|
113
113
|
id: SnoozeInlineCompletion.ID,
|
|
114
|
-
title: localize2(
|
|
114
|
+
title: localize2(83, "Snooze Inline Suggestions"),
|
|
115
115
|
precondition: ContextKeyExpr.true(),
|
|
116
116
|
f1: true,
|
|
117
117
|
});
|
|
@@ -142,7 +142,7 @@ class SnoozeInlineCompletion extends Action2 {
|
|
|
142
142
|
{ label: '60 minutes', id: '60', value: 3_600_000 }
|
|
143
143
|
];
|
|
144
144
|
const picked = await quickInputService.pick(items, {
|
|
145
|
-
placeHolder: localize(
|
|
145
|
+
placeHolder: localize(82, "Select snooze duration for Inline Suggestions"),
|
|
146
146
|
activeItem: items.find(item => item.value === lastSelectedDuration),
|
|
147
147
|
});
|
|
148
148
|
if (picked) {
|
|
@@ -157,7 +157,7 @@ class CancelSnoozeInlineCompletion extends Action2 {
|
|
|
157
157
|
constructor() {
|
|
158
158
|
super({
|
|
159
159
|
id: CancelSnoozeInlineCompletion.ID,
|
|
160
|
-
title: localize2(
|
|
160
|
+
title: localize2(84, "Cancel Snooze Inline Suggestions"),
|
|
161
161
|
precondition: InlineCompletionsSnoozing,
|
|
162
162
|
f1: true,
|
|
163
163
|
});
|
|
@@ -1289,7 +1289,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1289
1289
|
case 7 /* OutgoingViewModelEventKind.CursorStateChanged */: {
|
|
1290
1290
|
if (e.reachedMaxCursorCount) {
|
|
1291
1291
|
const multiCursorLimit = this.getOption(89 /* EditorOption.multiCursorLimit */);
|
|
1292
|
-
const message = localize(
|
|
1292
|
+
const message = localize(85, "The number of cursors has been limited to {0}. Consider using [find and replace](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) for larger changes or increase the editor multi cursor limit setting.", multiCursorLimit);
|
|
1293
1293
|
this._notificationService.prompt(Severity.Warning, message, [
|
|
1294
1294
|
{
|
|
1295
1295
|
label: 'Find and Replace',
|
|
@@ -1298,7 +1298,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
},
|
|
1300
1300
|
{
|
|
1301
|
-
label: localize(
|
|
1301
|
+
label: localize(86, 'Increase Multi Cursor Limit'),
|
|
1302
1302
|
run: () => {
|
|
1303
1303
|
this._commandService.executeCommand('workbench.action.openSettings2', {
|
|
1304
1304
|
query: 'editor.multiCursorLimit'
|
|
@@ -18,7 +18,7 @@ class ToggleCollapseUnchangedRegions extends Action2 {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super({
|
|
20
20
|
id: 'diffEditor.toggleCollapseUnchangedRegions',
|
|
21
|
-
title: localize2(
|
|
21
|
+
title: localize2(87, 'Toggle Collapse Unchanged Regions'),
|
|
22
22
|
icon: Codicon.map,
|
|
23
23
|
toggled: ContextKeyExpr.has('config.diffEditor.hideUnchangedRegions.enabled'),
|
|
24
24
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
@@ -40,7 +40,7 @@ class ToggleShowMovedCodeBlocks extends Action2 {
|
|
|
40
40
|
constructor() {
|
|
41
41
|
super({
|
|
42
42
|
id: 'diffEditor.toggleShowMovedCodeBlocks',
|
|
43
|
-
title: localize2(
|
|
43
|
+
title: localize2(88, 'Toggle Show Moved Code Blocks'),
|
|
44
44
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
45
45
|
});
|
|
46
46
|
}
|
|
@@ -54,7 +54,7 @@ class ToggleUseInlineViewWhenSpaceIsLimited extends Action2 {
|
|
|
54
54
|
constructor() {
|
|
55
55
|
super({
|
|
56
56
|
id: 'diffEditor.toggleUseInlineViewWhenSpaceIsLimited',
|
|
57
|
-
title: localize2(
|
|
57
|
+
title: localize2(89, 'Toggle Use Inline View When Space Is Limited'),
|
|
58
58
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
59
59
|
});
|
|
60
60
|
}
|
|
@@ -64,12 +64,12 @@ class ToggleUseInlineViewWhenSpaceIsLimited extends Action2 {
|
|
|
64
64
|
configurationService.updateValue('diffEditor.useInlineViewWhenSpaceIsLimited', newValue);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
const diffEditorCategory = localize2(
|
|
67
|
+
const diffEditorCategory = localize2(90, "Diff Editor");
|
|
68
68
|
class SwitchSide extends EditorAction2 {
|
|
69
69
|
constructor() {
|
|
70
70
|
super({
|
|
71
71
|
id: 'diffEditor.switchSide',
|
|
72
|
-
title: localize2(
|
|
72
|
+
title: localize2(91, 'Switch Side'),
|
|
73
73
|
icon: Codicon.arrowSwap,
|
|
74
74
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
75
75
|
f1: true,
|
|
@@ -93,7 +93,7 @@ class ExitCompareMove extends EditorAction2 {
|
|
|
93
93
|
constructor() {
|
|
94
94
|
super({
|
|
95
95
|
id: 'diffEditor.exitCompareMove',
|
|
96
|
-
title: localize2(
|
|
96
|
+
title: localize2(92, 'Exit Compare Move'),
|
|
97
97
|
icon: Codicon.close,
|
|
98
98
|
precondition: EditorContextKeys.comparingMovedCode,
|
|
99
99
|
f1: false,
|
|
@@ -115,7 +115,7 @@ class CollapseAllUnchangedRegions extends EditorAction2 {
|
|
|
115
115
|
constructor() {
|
|
116
116
|
super({
|
|
117
117
|
id: 'diffEditor.collapseAllUnchangedRegions',
|
|
118
|
-
title: localize2(
|
|
118
|
+
title: localize2(93, 'Collapse All Unchanged Regions'),
|
|
119
119
|
icon: Codicon.fold,
|
|
120
120
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
121
121
|
f1: true,
|
|
@@ -133,7 +133,7 @@ class ShowAllUnchangedRegions extends EditorAction2 {
|
|
|
133
133
|
constructor() {
|
|
134
134
|
super({
|
|
135
135
|
id: 'diffEditor.showAllUnchangedRegions',
|
|
136
|
-
title: localize2(
|
|
136
|
+
title: localize2(94, 'Show All Unchanged Regions'),
|
|
137
137
|
icon: Codicon.unfold,
|
|
138
138
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
139
139
|
f1: true,
|
|
@@ -151,7 +151,7 @@ class RevertHunkOrSelection extends Action2 {
|
|
|
151
151
|
constructor() {
|
|
152
152
|
super({
|
|
153
153
|
id: 'diffEditor.revert',
|
|
154
|
-
title: localize2(
|
|
154
|
+
title: localize2(95, 'Revert'),
|
|
155
155
|
f1: true,
|
|
156
156
|
category: diffEditorCategory,
|
|
157
157
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
@@ -175,13 +175,13 @@ class RevertHunkOrSelection extends Action2 {
|
|
|
175
175
|
return undefined;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
const accessibleDiffViewerCategory = localize2(
|
|
178
|
+
const accessibleDiffViewerCategory = localize2(96, "Accessible Diff Viewer");
|
|
179
179
|
class AccessibleDiffViewerNext extends Action2 {
|
|
180
180
|
static { this.id = 'editor.action.accessibleDiffViewer.next'; }
|
|
181
181
|
constructor() {
|
|
182
182
|
super({
|
|
183
183
|
id: AccessibleDiffViewerNext.id,
|
|
184
|
-
title: localize2(
|
|
184
|
+
title: localize2(97, 'Go to Next Difference'),
|
|
185
185
|
category: accessibleDiffViewerCategory,
|
|
186
186
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
187
187
|
keybinding: {
|
|
@@ -201,7 +201,7 @@ class AccessibleDiffViewerPrev extends Action2 {
|
|
|
201
201
|
constructor() {
|
|
202
202
|
super({
|
|
203
203
|
id: AccessibleDiffViewerPrev.id,
|
|
204
|
-
title: localize2(
|
|
204
|
+
title: localize2(98, 'Go to Previous Difference'),
|
|
205
205
|
category: accessibleDiffViewerCategory,
|
|
206
206
|
precondition: ContextKeyExpr.has('isInDiffEditor'),
|
|
207
207
|
keybinding: {
|