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
|
@@ -508,7 +508,7 @@ class UnfoldAction extends FoldingAction {
|
|
|
508
508
|
constructor() {
|
|
509
509
|
super({
|
|
510
510
|
id: 'editor.unfold',
|
|
511
|
-
label: localize2(
|
|
511
|
+
label: localize2(983, "Unfold"),
|
|
512
512
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
513
513
|
kbOpts: {
|
|
514
514
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -569,7 +569,7 @@ class UnFoldRecursivelyAction extends FoldingAction {
|
|
|
569
569
|
constructor() {
|
|
570
570
|
super({
|
|
571
571
|
id: 'editor.unfoldRecursively',
|
|
572
|
-
label: localize2(
|
|
572
|
+
label: localize2(984, "Unfold Recursively"),
|
|
573
573
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
574
574
|
kbOpts: {
|
|
575
575
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -586,7 +586,7 @@ class FoldAction extends FoldingAction {
|
|
|
586
586
|
constructor() {
|
|
587
587
|
super({
|
|
588
588
|
id: 'editor.fold',
|
|
589
|
-
label: localize2(
|
|
589
|
+
label: localize2(985, "Fold"),
|
|
590
590
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
591
591
|
kbOpts: {
|
|
592
592
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -653,7 +653,7 @@ class ToggleFoldAction extends FoldingAction {
|
|
|
653
653
|
constructor() {
|
|
654
654
|
super({
|
|
655
655
|
id: 'editor.toggleFold',
|
|
656
|
-
label: localize2(
|
|
656
|
+
label: localize2(986, "Toggle Fold"),
|
|
657
657
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
658
658
|
kbOpts: {
|
|
659
659
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -671,7 +671,7 @@ class FoldRecursivelyAction extends FoldingAction {
|
|
|
671
671
|
constructor() {
|
|
672
672
|
super({
|
|
673
673
|
id: 'editor.foldRecursively',
|
|
674
|
-
label: localize2(
|
|
674
|
+
label: localize2(987, "Fold Recursively"),
|
|
675
675
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
676
676
|
kbOpts: {
|
|
677
677
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -689,7 +689,7 @@ class ToggleFoldRecursivelyAction extends FoldingAction {
|
|
|
689
689
|
constructor() {
|
|
690
690
|
super({
|
|
691
691
|
id: 'editor.toggleFoldRecursively',
|
|
692
|
-
label: localize2(
|
|
692
|
+
label: localize2(988, "Toggle Fold Recursively"),
|
|
693
693
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
694
694
|
kbOpts: {
|
|
695
695
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -707,7 +707,7 @@ class FoldAllBlockCommentsAction extends FoldingAction {
|
|
|
707
707
|
constructor() {
|
|
708
708
|
super({
|
|
709
709
|
id: 'editor.foldAllBlockComments',
|
|
710
|
-
label: localize2(
|
|
710
|
+
label: localize2(989, "Fold All Block Comments"),
|
|
711
711
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
712
712
|
kbOpts: {
|
|
713
713
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -737,7 +737,7 @@ class FoldAllRegionsAction extends FoldingAction {
|
|
|
737
737
|
constructor() {
|
|
738
738
|
super({
|
|
739
739
|
id: 'editor.foldAllMarkerRegions',
|
|
740
|
-
label: localize2(
|
|
740
|
+
label: localize2(990, "Fold All Regions"),
|
|
741
741
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
742
742
|
kbOpts: {
|
|
743
743
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -767,7 +767,7 @@ class UnfoldAllRegionsAction extends FoldingAction {
|
|
|
767
767
|
constructor() {
|
|
768
768
|
super({
|
|
769
769
|
id: 'editor.unfoldAllMarkerRegions',
|
|
770
|
-
label: localize2(
|
|
770
|
+
label: localize2(991, "Unfold All Regions"),
|
|
771
771
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
772
772
|
kbOpts: {
|
|
773
773
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -797,7 +797,7 @@ class FoldAllExceptAction extends FoldingAction {
|
|
|
797
797
|
constructor() {
|
|
798
798
|
super({
|
|
799
799
|
id: 'editor.foldAllExcept',
|
|
800
|
-
label: localize2(
|
|
800
|
+
label: localize2(992, "Fold All Except Selected"),
|
|
801
801
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
802
802
|
kbOpts: {
|
|
803
803
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -815,7 +815,7 @@ class UnfoldAllExceptAction extends FoldingAction {
|
|
|
815
815
|
constructor() {
|
|
816
816
|
super({
|
|
817
817
|
id: 'editor.unfoldAllExcept',
|
|
818
|
-
label: localize2(
|
|
818
|
+
label: localize2(993, "Unfold All Except Selected"),
|
|
819
819
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
820
820
|
kbOpts: {
|
|
821
821
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -833,7 +833,7 @@ class FoldAllAction extends FoldingAction {
|
|
|
833
833
|
constructor() {
|
|
834
834
|
super({
|
|
835
835
|
id: 'editor.foldAll',
|
|
836
|
-
label: localize2(
|
|
836
|
+
label: localize2(994, "Fold All"),
|
|
837
837
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
838
838
|
kbOpts: {
|
|
839
839
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -850,7 +850,7 @@ class UnfoldAllAction extends FoldingAction {
|
|
|
850
850
|
constructor() {
|
|
851
851
|
super({
|
|
852
852
|
id: 'editor.unfoldAll',
|
|
853
|
-
label: localize2(
|
|
853
|
+
label: localize2(995, "Unfold All"),
|
|
854
854
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
855
855
|
kbOpts: {
|
|
856
856
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -878,7 +878,7 @@ class GotoParentFoldAction extends FoldingAction {
|
|
|
878
878
|
constructor() {
|
|
879
879
|
super({
|
|
880
880
|
id: 'editor.gotoParentFold',
|
|
881
|
-
label: localize2(
|
|
881
|
+
label: localize2(996, "Go to Parent Fold"),
|
|
882
882
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
883
883
|
kbOpts: {
|
|
884
884
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -906,7 +906,7 @@ class GotoPreviousFoldAction extends FoldingAction {
|
|
|
906
906
|
constructor() {
|
|
907
907
|
super({
|
|
908
908
|
id: 'editor.gotoPreviousFold',
|
|
909
|
-
label: localize2(
|
|
909
|
+
label: localize2(997, "Go to Previous Folding Range"),
|
|
910
910
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
911
911
|
kbOpts: {
|
|
912
912
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -934,7 +934,7 @@ class GotoNextFoldAction extends FoldingAction {
|
|
|
934
934
|
constructor() {
|
|
935
935
|
super({
|
|
936
936
|
id: 'editor.gotoNextFold',
|
|
937
|
-
label: localize2(
|
|
937
|
+
label: localize2(998, "Go to Next Folding Range"),
|
|
938
938
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
939
939
|
kbOpts: {
|
|
940
940
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -961,7 +961,7 @@ class FoldRangeFromSelectionAction extends FoldingAction {
|
|
|
961
961
|
constructor() {
|
|
962
962
|
super({
|
|
963
963
|
id: 'editor.createFoldingRangeFromSelection',
|
|
964
|
-
label: localize2(
|
|
964
|
+
label: localize2(999, "Create Folding Range from Selection"),
|
|
965
965
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
966
966
|
kbOpts: {
|
|
967
967
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -1009,7 +1009,7 @@ class RemoveFoldRangeFromSelectionAction extends FoldingAction {
|
|
|
1009
1009
|
constructor() {
|
|
1010
1010
|
super({
|
|
1011
1011
|
id: 'editor.removeManualFoldingRanges',
|
|
1012
|
-
label: localize2(
|
|
1012
|
+
label: localize2(1000, "Remove Manual Folding Ranges"),
|
|
1013
1013
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
1014
1014
|
kbOpts: {
|
|
1015
1015
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -1035,7 +1035,7 @@ class ToggleImportFoldAction extends FoldingAction {
|
|
|
1035
1035
|
constructor() {
|
|
1036
1036
|
super({
|
|
1037
1037
|
id: 'editor.toggleImportFold',
|
|
1038
|
-
label: localize2(
|
|
1038
|
+
label: localize2(1001, "Toggle Import Fold"),
|
|
1039
1039
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
1040
1040
|
kbOpts: {
|
|
1041
1041
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -1078,7 +1078,7 @@ registerEditorAction(ToggleImportFoldAction);
|
|
|
1078
1078
|
for (let i = 1; i <= 7; i++) {
|
|
1079
1079
|
registerInstantiatedEditorAction(new FoldLevelAction({
|
|
1080
1080
|
id: FoldLevelAction.ID(i),
|
|
1081
|
-
label: localize2(
|
|
1081
|
+
label: localize2(1002, "Fold Level {0}", i),
|
|
1082
1082
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
1083
1083
|
kbOpts: {
|
|
1084
1084
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -20,16 +20,16 @@ import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
|
20
20
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
21
21
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
22
22
|
*--------------------------------------------------------------------------------------------*/
|
|
23
|
-
const foldBackground = registerColor('editor.foldBackground', { light: transparent(editorSelectionBackground, 0.3), dark: transparent(editorSelectionBackground, 0.3), hcDark: null, hcLight: null }, localize(
|
|
24
|
-
registerColor('editor.foldPlaceholderForeground', { light: '#808080', dark: '#808080', hcDark: null, hcLight: null }, localize(
|
|
25
|
-
registerColor('editorGutter.foldingControlForeground', iconForeground, localize(
|
|
26
|
-
const foldingExpandedIcon = registerIcon('folding-expanded', Codicon.chevronDown, localize(
|
|
27
|
-
const foldingCollapsedIcon = registerIcon('folding-collapsed', Codicon.chevronRight, localize(
|
|
28
|
-
const foldingManualCollapsedIcon = registerIcon('folding-manual-collapsed', foldingCollapsedIcon, localize(
|
|
29
|
-
const foldingManualExpandedIcon = registerIcon('folding-manual-expanded', foldingExpandedIcon, localize(
|
|
23
|
+
const foldBackground = registerColor('editor.foldBackground', { light: transparent(editorSelectionBackground, 0.3), dark: transparent(editorSelectionBackground, 0.3), hcDark: null, hcLight: null }, localize(1003, "Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations."), true);
|
|
24
|
+
registerColor('editor.foldPlaceholderForeground', { light: '#808080', dark: '#808080', hcDark: null, hcLight: null }, localize(1004, "Color of the collapsed text after the first line of a folded range."));
|
|
25
|
+
registerColor('editorGutter.foldingControlForeground', iconForeground, localize(1005, 'Color of the folding control in the editor gutter.'));
|
|
26
|
+
const foldingExpandedIcon = registerIcon('folding-expanded', Codicon.chevronDown, localize(1006, 'Icon for expanded ranges in the editor glyph margin.'));
|
|
27
|
+
const foldingCollapsedIcon = registerIcon('folding-collapsed', Codicon.chevronRight, localize(1007, 'Icon for collapsed ranges in the editor glyph margin.'));
|
|
28
|
+
const foldingManualCollapsedIcon = registerIcon('folding-manual-collapsed', foldingCollapsedIcon, localize(1008, 'Icon for manually collapsed ranges in the editor glyph margin.'));
|
|
29
|
+
const foldingManualExpandedIcon = registerIcon('folding-manual-expanded', foldingExpandedIcon, localize(1009, 'Icon for manually expanded ranges in the editor glyph margin.'));
|
|
30
30
|
const foldedBackgroundMinimap = { color: themeColorFromId(foldBackground), position: 1 /* MinimapPosition.Inline */ };
|
|
31
|
-
const collapsed = localize(
|
|
32
|
-
const expanded = localize(
|
|
31
|
+
const collapsed = localize(1010, "Click to expand the range.");
|
|
32
|
+
const expanded = localize(1011, "Click to collapse the range.");
|
|
33
33
|
class FoldingDecorationProvider {
|
|
34
34
|
static { this.COLLAPSED_VISUAL_DECORATION = ModelDecorationOptions.register({
|
|
35
35
|
description: 'folding-collapsed-visual-decoration',
|
|
@@ -10,7 +10,7 @@ class EditorFontZoomIn extends EditorAction {
|
|
|
10
10
|
constructor() {
|
|
11
11
|
super({
|
|
12
12
|
id: 'editor.action.fontZoomIn',
|
|
13
|
-
label: localize2(
|
|
13
|
+
label: localize2(1012, "Increase Editor Font Size"),
|
|
14
14
|
precondition: undefined
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -22,7 +22,7 @@ class EditorFontZoomOut extends EditorAction {
|
|
|
22
22
|
constructor() {
|
|
23
23
|
super({
|
|
24
24
|
id: 'editor.action.fontZoomOut',
|
|
25
|
-
label: localize2(
|
|
25
|
+
label: localize2(1013, "Decrease Editor Font Size"),
|
|
26
26
|
precondition: undefined
|
|
27
27
|
});
|
|
28
28
|
}
|
|
@@ -34,7 +34,7 @@ class EditorFontZoomReset extends EditorAction {
|
|
|
34
34
|
constructor() {
|
|
35
35
|
super({
|
|
36
36
|
id: 'editor.action.fontZoomReset',
|
|
37
|
-
label: localize2(
|
|
37
|
+
label: localize2(1014, "Reset Editor Font Size"),
|
|
38
38
|
precondition: undefined
|
|
39
39
|
});
|
|
40
40
|
}
|
|
@@ -185,7 +185,7 @@ class FormatDocumentAction extends EditorAction {
|
|
|
185
185
|
constructor() {
|
|
186
186
|
super({
|
|
187
187
|
id: 'editor.action.formatDocument',
|
|
188
|
-
label: localize2(
|
|
188
|
+
label: localize2(1015, "Format Document"),
|
|
189
189
|
precondition: ContextKeyExpr.and(EditorContextKeys.notInCompositeEditor, EditorContextKeys.writable, EditorContextKeys.hasDocumentFormattingProvider),
|
|
190
190
|
kbOpts: {
|
|
191
191
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -211,7 +211,7 @@ class FormatSelectionAction extends EditorAction {
|
|
|
211
211
|
constructor() {
|
|
212
212
|
super({
|
|
213
213
|
id: 'editor.action.formatSelection',
|
|
214
|
-
label: localize2(
|
|
214
|
+
label: localize2(1016, "Format Selection"),
|
|
215
215
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasDocumentSelectionFormattingProvider),
|
|
216
216
|
kbOpts: {
|
|
217
217
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -166,7 +166,7 @@ class MarkerNavigationAction extends EditorAction {
|
|
|
166
166
|
}
|
|
167
167
|
class NextMarkerAction extends MarkerNavigationAction {
|
|
168
168
|
static { this.ID = 'editor.action.marker.next'; }
|
|
169
|
-
static { this.LABEL = localize2(
|
|
169
|
+
static { this.LABEL = localize2(1021, "Go to Next Problem (Error, Warning, Info)"); }
|
|
170
170
|
constructor() {
|
|
171
171
|
super(true, false, {
|
|
172
172
|
id: NextMarkerAction.ID,
|
|
@@ -180,7 +180,7 @@ class NextMarkerAction extends MarkerNavigationAction {
|
|
|
180
180
|
menuOpts: {
|
|
181
181
|
menuId: MarkerNavigationWidget.TitleMenu,
|
|
182
182
|
title: NextMarkerAction.LABEL.value,
|
|
183
|
-
icon: registerIcon('marker-navigation-next', Codicon.arrowDown, localize(
|
|
183
|
+
icon: registerIcon('marker-navigation-next', Codicon.arrowDown, localize(1017, 'Icon for goto next marker.')),
|
|
184
184
|
group: 'navigation',
|
|
185
185
|
order: 1
|
|
186
186
|
}
|
|
@@ -189,7 +189,7 @@ class NextMarkerAction extends MarkerNavigationAction {
|
|
|
189
189
|
}
|
|
190
190
|
class PrevMarkerAction extends MarkerNavigationAction {
|
|
191
191
|
static { this.ID = 'editor.action.marker.prev'; }
|
|
192
|
-
static { this.LABEL = localize2(
|
|
192
|
+
static { this.LABEL = localize2(1022, "Go to Previous Problem (Error, Warning, Info)"); }
|
|
193
193
|
constructor() {
|
|
194
194
|
super(false, false, {
|
|
195
195
|
id: PrevMarkerAction.ID,
|
|
@@ -203,7 +203,7 @@ class PrevMarkerAction extends MarkerNavigationAction {
|
|
|
203
203
|
menuOpts: {
|
|
204
204
|
menuId: MarkerNavigationWidget.TitleMenu,
|
|
205
205
|
title: PrevMarkerAction.LABEL.value,
|
|
206
|
-
icon: registerIcon('marker-navigation-previous', Codicon.arrowUp, localize(
|
|
206
|
+
icon: registerIcon('marker-navigation-previous', Codicon.arrowUp, localize(1018, 'Icon for goto previous marker.')),
|
|
207
207
|
group: 'navigation',
|
|
208
208
|
order: 2
|
|
209
209
|
}
|
|
@@ -214,7 +214,7 @@ class NextMarkerInFilesAction extends MarkerNavigationAction {
|
|
|
214
214
|
constructor() {
|
|
215
215
|
super(true, true, {
|
|
216
216
|
id: 'editor.action.marker.nextInFiles',
|
|
217
|
-
label: localize2(
|
|
217
|
+
label: localize2(1023, "Go to Next Problem in Files (Error, Warning, Info)"),
|
|
218
218
|
precondition: undefined,
|
|
219
219
|
kbOpts: {
|
|
220
220
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -223,7 +223,7 @@ class NextMarkerInFilesAction extends MarkerNavigationAction {
|
|
|
223
223
|
},
|
|
224
224
|
menuOpts: {
|
|
225
225
|
menuId: MenuId.MenubarGoMenu,
|
|
226
|
-
title: localize(
|
|
226
|
+
title: localize(1019, "Next &&Problem"),
|
|
227
227
|
group: '6_problem_nav',
|
|
228
228
|
order: 1
|
|
229
229
|
}
|
|
@@ -234,7 +234,7 @@ class PrevMarkerInFilesAction extends MarkerNavigationAction {
|
|
|
234
234
|
constructor() {
|
|
235
235
|
super(false, true, {
|
|
236
236
|
id: 'editor.action.marker.prevInFiles',
|
|
237
|
-
label: localize2(
|
|
237
|
+
label: localize2(1024, "Go to Previous Problem in Files (Error, Warning, Info)"),
|
|
238
238
|
precondition: undefined,
|
|
239
239
|
kbOpts: {
|
|
240
240
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -243,7 +243,7 @@ class PrevMarkerInFilesAction extends MarkerNavigationAction {
|
|
|
243
243
|
},
|
|
244
244
|
menuOpts: {
|
|
245
245
|
menuId: MenuId.MenubarGoMenu,
|
|
246
|
-
title: localize(
|
|
246
|
+
title: localize(1020, "Previous &&Problem"),
|
|
247
247
|
group: '6_problem_nav',
|
|
248
248
|
order: 2
|
|
249
249
|
}
|
|
@@ -185,19 +185,19 @@ class MessageWidget {
|
|
|
185
185
|
let severityLabel = '';
|
|
186
186
|
switch (marker.severity) {
|
|
187
187
|
case MarkerSeverity.Error:
|
|
188
|
-
severityLabel = localize(
|
|
188
|
+
severityLabel = localize(1025, "Error");
|
|
189
189
|
break;
|
|
190
190
|
case MarkerSeverity.Warning:
|
|
191
|
-
severityLabel = localize(
|
|
191
|
+
severityLabel = localize(1026, "Warning");
|
|
192
192
|
break;
|
|
193
193
|
case MarkerSeverity.Info:
|
|
194
|
-
severityLabel = localize(
|
|
194
|
+
severityLabel = localize(1027, "Info");
|
|
195
195
|
break;
|
|
196
196
|
case MarkerSeverity.Hint:
|
|
197
|
-
severityLabel = localize(
|
|
197
|
+
severityLabel = localize(1028, "Hint");
|
|
198
198
|
break;
|
|
199
199
|
}
|
|
200
|
-
let ariaLabel = localize(
|
|
200
|
+
let ariaLabel = localize(1029, "{0} at {1}. ", severityLabel, marker.startLineNumber + ':' + marker.startColumn);
|
|
201
201
|
const model = this._editor.getModel();
|
|
202
202
|
if (model && (marker.startLineNumber <= model.getLineCount()) && (marker.startLineNumber >= 1)) {
|
|
203
203
|
const lineContent = model.getLineContent(marker.startLineNumber);
|
|
@@ -297,8 +297,8 @@ let MarkerNavigationWidget = class MarkerNavigationWidget extends PeekViewWidget
|
|
|
297
297
|
const model = this.editor.getModel();
|
|
298
298
|
if (model) {
|
|
299
299
|
const detail = markerCount > 1
|
|
300
|
-
? localize(
|
|
301
|
-
: localize(
|
|
300
|
+
? localize(1030, "{0} of {1} problems", markerIdx, markerCount)
|
|
301
|
+
: localize(1031, "{0} of {1} problem", markerIdx, markerCount);
|
|
302
302
|
this.setTitle(basename(model.uri), detail);
|
|
303
303
|
}
|
|
304
304
|
this._icon.className = `codicon ${SeverityIcon.className(MarkerSeverity.toSeverity(this._severity))}`;
|
|
@@ -341,12 +341,12 @@ MarkerNavigationWidget = MarkerNavigationWidget_1 = __decorate([
|
|
|
341
341
|
const errorDefault = oneOf(editorErrorForeground, editorErrorBorder);
|
|
342
342
|
const warningDefault = oneOf(editorWarningForeground, editorWarningBorder);
|
|
343
343
|
const infoDefault = oneOf(editorInfoForeground, editorInfoBorder);
|
|
344
|
-
const editorMarkerNavigationError = registerColor('editorMarkerNavigationError.background', { dark: errorDefault, light: errorDefault, hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
345
|
-
const editorMarkerNavigationErrorHeader = registerColor('editorMarkerNavigationError.headerBackground', { dark: transparent(editorMarkerNavigationError, .1), light: transparent(editorMarkerNavigationError, .1), hcDark: null, hcLight: null }, localize(
|
|
346
|
-
const editorMarkerNavigationWarning = registerColor('editorMarkerNavigationWarning.background', { dark: warningDefault, light: warningDefault, hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
347
|
-
const editorMarkerNavigationWarningHeader = registerColor('editorMarkerNavigationWarning.headerBackground', { dark: transparent(editorMarkerNavigationWarning, .1), light: transparent(editorMarkerNavigationWarning, .1), hcDark: '#0C141F', hcLight: transparent(editorMarkerNavigationWarning, .2) }, localize(
|
|
348
|
-
const editorMarkerNavigationInfo = registerColor('editorMarkerNavigationInfo.background', { dark: infoDefault, light: infoDefault, hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
349
|
-
const editorMarkerNavigationInfoHeader = registerColor('editorMarkerNavigationInfo.headerBackground', { dark: transparent(editorMarkerNavigationInfo, .1), light: transparent(editorMarkerNavigationInfo, .1), hcDark: null, hcLight: null }, localize(
|
|
350
|
-
const editorMarkerNavigationBackground = registerColor('editorMarkerNavigation.background', editorBackground, localize(
|
|
344
|
+
const editorMarkerNavigationError = registerColor('editorMarkerNavigationError.background', { dark: errorDefault, light: errorDefault, hcDark: contrastBorder, hcLight: contrastBorder }, localize(1032, 'Editor marker navigation widget error color.'));
|
|
345
|
+
const editorMarkerNavigationErrorHeader = registerColor('editorMarkerNavigationError.headerBackground', { dark: transparent(editorMarkerNavigationError, .1), light: transparent(editorMarkerNavigationError, .1), hcDark: null, hcLight: null }, localize(1033, 'Editor marker navigation widget error heading background.'));
|
|
346
|
+
const editorMarkerNavigationWarning = registerColor('editorMarkerNavigationWarning.background', { dark: warningDefault, light: warningDefault, hcDark: contrastBorder, hcLight: contrastBorder }, localize(1034, 'Editor marker navigation widget warning color.'));
|
|
347
|
+
const editorMarkerNavigationWarningHeader = registerColor('editorMarkerNavigationWarning.headerBackground', { dark: transparent(editorMarkerNavigationWarning, .1), light: transparent(editorMarkerNavigationWarning, .1), hcDark: '#0C141F', hcLight: transparent(editorMarkerNavigationWarning, .2) }, localize(1035, 'Editor marker navigation widget warning heading background.'));
|
|
348
|
+
const editorMarkerNavigationInfo = registerColor('editorMarkerNavigationInfo.background', { dark: infoDefault, light: infoDefault, hcDark: contrastBorder, hcLight: contrastBorder }, localize(1036, 'Editor marker navigation widget info color.'));
|
|
349
|
+
const editorMarkerNavigationInfoHeader = registerColor('editorMarkerNavigationInfo.headerBackground', { dark: transparent(editorMarkerNavigationInfo, .1), light: transparent(editorMarkerNavigationInfo, .1), hcDark: null, hcLight: null }, localize(1037, 'Editor marker navigation widget info heading background.'));
|
|
350
|
+
const editorMarkerNavigationBackground = registerColor('editorMarkerNavigation.background', editorBackground, localize(1038, 'Editor marker navigation widget background.'));
|
|
351
351
|
|
|
352
352
|
export { MarkerNavigationWidget };
|
|
@@ -35,7 +35,7 @@ import { IsWebContext } from '../../../../platform/contextkey/common/contextkeys
|
|
|
35
35
|
*--------------------------------------------------------------------------------------------*/
|
|
36
36
|
MenuRegistry.appendMenuItem(MenuId.EditorContext, {
|
|
37
37
|
submenu: MenuId.EditorContextPeek,
|
|
38
|
-
title: localize(
|
|
38
|
+
title: localize(1039, "Peek"),
|
|
39
39
|
group: 'navigation',
|
|
40
40
|
order: 100
|
|
41
41
|
});
|
|
@@ -204,12 +204,12 @@ class SymbolNavigationAction extends EditorAction2 {
|
|
|
204
204
|
//#region --- DEFINITION
|
|
205
205
|
class DefinitionAction extends SymbolNavigationAction {
|
|
206
206
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
207
|
-
return new ReferencesModel(await getDefinitionsAtPosition(languageFeaturesService.definitionProvider, model, position, false, token), localize(
|
|
207
|
+
return new ReferencesModel(await getDefinitionsAtPosition(languageFeaturesService.definitionProvider, model, position, false, token), localize(1040, 'Definitions'));
|
|
208
208
|
}
|
|
209
209
|
_getNoResultFoundMessage(info) {
|
|
210
210
|
return info && info.word
|
|
211
|
-
? localize(
|
|
212
|
-
: localize(
|
|
211
|
+
? localize(1041, "No definition found for '{0}'", info.word)
|
|
212
|
+
: localize(1042, "No definition found");
|
|
213
213
|
}
|
|
214
214
|
_getAlternativeCommand(editor) {
|
|
215
215
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeDefinitionCommand;
|
|
@@ -228,8 +228,8 @@ registerAction2(class GoToDefinitionAction extends DefinitionAction {
|
|
|
228
228
|
}, {
|
|
229
229
|
id: GoToDefinitionAction.id,
|
|
230
230
|
title: {
|
|
231
|
-
...localize2(
|
|
232
|
-
mnemonicTitle: localize(
|
|
231
|
+
...localize2(1066, "Go to Definition"),
|
|
232
|
+
mnemonicTitle: localize(1043, "Go to &&Definition"),
|
|
233
233
|
},
|
|
234
234
|
precondition: EditorContextKeys.hasDefinitionProvider,
|
|
235
235
|
keybinding: [{
|
|
@@ -264,7 +264,7 @@ registerAction2(class OpenDefinitionToSideAction extends DefinitionAction {
|
|
|
264
264
|
muteMessage: false
|
|
265
265
|
}, {
|
|
266
266
|
id: OpenDefinitionToSideAction.id,
|
|
267
|
-
title: localize2(
|
|
267
|
+
title: localize2(1067, "Open Definition to the Side"),
|
|
268
268
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasDefinitionProvider, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
269
269
|
keybinding: [{
|
|
270
270
|
when: EditorContextKeys.editorTextFocus,
|
|
@@ -288,7 +288,7 @@ registerAction2(class PeekDefinitionAction extends DefinitionAction {
|
|
|
288
288
|
muteMessage: false
|
|
289
289
|
}, {
|
|
290
290
|
id: PeekDefinitionAction.id,
|
|
291
|
-
title: localize2(
|
|
291
|
+
title: localize2(1068, "Peek Definition"),
|
|
292
292
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasDefinitionProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
293
293
|
keybinding: {
|
|
294
294
|
when: EditorContextKeys.editorTextFocus,
|
|
@@ -309,12 +309,12 @@ registerAction2(class PeekDefinitionAction extends DefinitionAction {
|
|
|
309
309
|
//#region --- DECLARATION
|
|
310
310
|
class DeclarationAction extends SymbolNavigationAction {
|
|
311
311
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
312
|
-
return new ReferencesModel(await getDeclarationsAtPosition(languageFeaturesService.declarationProvider, model, position, false, token), localize(
|
|
312
|
+
return new ReferencesModel(await getDeclarationsAtPosition(languageFeaturesService.declarationProvider, model, position, false, token), localize(1044, 'Declarations'));
|
|
313
313
|
}
|
|
314
314
|
_getNoResultFoundMessage(info) {
|
|
315
315
|
return info && info.word
|
|
316
|
-
? localize(
|
|
317
|
-
: localize(
|
|
316
|
+
? localize(1045, "No declaration found for '{0}'", info.word)
|
|
317
|
+
: localize(1046, "No declaration found");
|
|
318
318
|
}
|
|
319
319
|
_getAlternativeCommand(editor) {
|
|
320
320
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeDeclarationCommand;
|
|
@@ -333,8 +333,8 @@ registerAction2(class GoToDeclarationAction extends DeclarationAction {
|
|
|
333
333
|
}, {
|
|
334
334
|
id: GoToDeclarationAction.id,
|
|
335
335
|
title: {
|
|
336
|
-
...localize2(
|
|
337
|
-
mnemonicTitle: localize(
|
|
336
|
+
...localize2(1069, "Go to Declaration"),
|
|
337
|
+
mnemonicTitle: localize(1047, "Go to &&Declaration"),
|
|
338
338
|
},
|
|
339
339
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasDeclarationProvider, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
340
340
|
menu: [{
|
|
@@ -351,8 +351,8 @@ registerAction2(class GoToDeclarationAction extends DeclarationAction {
|
|
|
351
351
|
}
|
|
352
352
|
_getNoResultFoundMessage(info) {
|
|
353
353
|
return info && info.word
|
|
354
|
-
? localize(
|
|
355
|
-
: localize(
|
|
354
|
+
? localize(1048, "No declaration found for '{0}'", info.word)
|
|
355
|
+
: localize(1049, "No declaration found");
|
|
356
356
|
}
|
|
357
357
|
});
|
|
358
358
|
registerAction2(class PeekDeclarationAction extends DeclarationAction {
|
|
@@ -363,7 +363,7 @@ registerAction2(class PeekDeclarationAction extends DeclarationAction {
|
|
|
363
363
|
muteMessage: false
|
|
364
364
|
}, {
|
|
365
365
|
id: 'editor.action.peekDeclaration',
|
|
366
|
-
title: localize2(
|
|
366
|
+
title: localize2(1070, "Peek Declaration"),
|
|
367
367
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasDeclarationProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
368
368
|
menu: {
|
|
369
369
|
id: MenuId.EditorContextPeek,
|
|
@@ -377,12 +377,12 @@ registerAction2(class PeekDeclarationAction extends DeclarationAction {
|
|
|
377
377
|
//#region --- TYPE DEFINITION
|
|
378
378
|
class TypeDefinitionAction extends SymbolNavigationAction {
|
|
379
379
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
380
|
-
return new ReferencesModel(await getTypeDefinitionsAtPosition(languageFeaturesService.typeDefinitionProvider, model, position, false, token), localize(
|
|
380
|
+
return new ReferencesModel(await getTypeDefinitionsAtPosition(languageFeaturesService.typeDefinitionProvider, model, position, false, token), localize(1050, 'Type Definitions'));
|
|
381
381
|
}
|
|
382
382
|
_getNoResultFoundMessage(info) {
|
|
383
383
|
return info && info.word
|
|
384
|
-
? localize(
|
|
385
|
-
: localize(
|
|
384
|
+
? localize(1051, "No type definition found for '{0}'", info.word)
|
|
385
|
+
: localize(1052, "No type definition found");
|
|
386
386
|
}
|
|
387
387
|
_getAlternativeCommand(editor) {
|
|
388
388
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeTypeDefinitionCommand;
|
|
@@ -401,8 +401,8 @@ registerAction2(class GoToTypeDefinitionAction extends TypeDefinitionAction {
|
|
|
401
401
|
}, {
|
|
402
402
|
id: GoToTypeDefinitionAction.ID,
|
|
403
403
|
title: {
|
|
404
|
-
...localize2(
|
|
405
|
-
mnemonicTitle: localize(
|
|
404
|
+
...localize2(1071, "Go to Type Definition"),
|
|
405
|
+
mnemonicTitle: localize(1053, "Go to &&Type Definition"),
|
|
406
406
|
},
|
|
407
407
|
precondition: EditorContextKeys.hasTypeDefinitionProvider,
|
|
408
408
|
keybinding: {
|
|
@@ -432,7 +432,7 @@ registerAction2(class PeekTypeDefinitionAction extends TypeDefinitionAction {
|
|
|
432
432
|
muteMessage: false
|
|
433
433
|
}, {
|
|
434
434
|
id: PeekTypeDefinitionAction.ID,
|
|
435
|
-
title: localize2(
|
|
435
|
+
title: localize2(1072, "Peek Type Definition"),
|
|
436
436
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasTypeDefinitionProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
437
437
|
menu: {
|
|
438
438
|
id: MenuId.EditorContextPeek,
|
|
@@ -446,12 +446,12 @@ registerAction2(class PeekTypeDefinitionAction extends TypeDefinitionAction {
|
|
|
446
446
|
//#region --- IMPLEMENTATION
|
|
447
447
|
class ImplementationAction extends SymbolNavigationAction {
|
|
448
448
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
449
|
-
return new ReferencesModel(await getImplementationsAtPosition(languageFeaturesService.implementationProvider, model, position, false, token), localize(
|
|
449
|
+
return new ReferencesModel(await getImplementationsAtPosition(languageFeaturesService.implementationProvider, model, position, false, token), localize(1054, 'Implementations'));
|
|
450
450
|
}
|
|
451
451
|
_getNoResultFoundMessage(info) {
|
|
452
452
|
return info && info.word
|
|
453
|
-
? localize(
|
|
454
|
-
: localize(
|
|
453
|
+
? localize(1055, "No implementation found for '{0}'", info.word)
|
|
454
|
+
: localize(1056, "No implementation found");
|
|
455
455
|
}
|
|
456
456
|
_getAlternativeCommand(editor) {
|
|
457
457
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeImplementationCommand;
|
|
@@ -470,8 +470,8 @@ registerAction2(class GoToImplementationAction extends ImplementationAction {
|
|
|
470
470
|
}, {
|
|
471
471
|
id: GoToImplementationAction.ID,
|
|
472
472
|
title: {
|
|
473
|
-
...localize2(
|
|
474
|
-
mnemonicTitle: localize(
|
|
473
|
+
...localize2(1073, "Go to Implementations"),
|
|
474
|
+
mnemonicTitle: localize(1057, "Go to &&Implementations"),
|
|
475
475
|
},
|
|
476
476
|
precondition: EditorContextKeys.hasImplementationProvider,
|
|
477
477
|
keybinding: {
|
|
@@ -501,7 +501,7 @@ registerAction2(class PeekImplementationAction extends ImplementationAction {
|
|
|
501
501
|
muteMessage: false
|
|
502
502
|
}, {
|
|
503
503
|
id: PeekImplementationAction.ID,
|
|
504
|
-
title: localize2(
|
|
504
|
+
title: localize2(1074, "Peek Implementations"),
|
|
505
505
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasImplementationProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
506
506
|
keybinding: {
|
|
507
507
|
when: EditorContextKeys.editorTextFocus,
|
|
@@ -521,8 +521,8 @@ registerAction2(class PeekImplementationAction extends ImplementationAction {
|
|
|
521
521
|
class ReferencesAction extends SymbolNavigationAction {
|
|
522
522
|
_getNoResultFoundMessage(info) {
|
|
523
523
|
return info
|
|
524
|
-
? localize(
|
|
525
|
-
: localize(
|
|
524
|
+
? localize(1058, "No references found for '{0}'", info.word)
|
|
525
|
+
: localize(1059, "No references found");
|
|
526
526
|
}
|
|
527
527
|
_getAlternativeCommand(editor) {
|
|
528
528
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeReferenceCommand;
|
|
@@ -540,8 +540,8 @@ registerAction2(class GoToReferencesAction extends ReferencesAction {
|
|
|
540
540
|
}, {
|
|
541
541
|
id: 'editor.action.goToReferences',
|
|
542
542
|
title: {
|
|
543
|
-
...localize2(
|
|
544
|
-
mnemonicTitle: localize(
|
|
543
|
+
...localize2(1075, "Go to References"),
|
|
544
|
+
mnemonicTitle: localize(1060, "Go to &&References"),
|
|
545
545
|
},
|
|
546
546
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasReferenceProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
547
547
|
keybinding: {
|
|
@@ -562,7 +562,7 @@ registerAction2(class GoToReferencesAction extends ReferencesAction {
|
|
|
562
562
|
});
|
|
563
563
|
}
|
|
564
564
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
565
|
-
return new ReferencesModel(await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, true, false, token), localize(
|
|
565
|
+
return new ReferencesModel(await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, true, false, token), localize(1061, 'References'));
|
|
566
566
|
}
|
|
567
567
|
});
|
|
568
568
|
registerAction2(class PeekReferencesAction extends ReferencesAction {
|
|
@@ -573,7 +573,7 @@ registerAction2(class PeekReferencesAction extends ReferencesAction {
|
|
|
573
573
|
muteMessage: false
|
|
574
574
|
}, {
|
|
575
575
|
id: 'editor.action.referenceSearch.trigger',
|
|
576
|
-
title: localize2(
|
|
576
|
+
title: localize2(1076, "Peek References"),
|
|
577
577
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasReferenceProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
578
578
|
menu: {
|
|
579
579
|
id: MenuId.EditorContextPeek,
|
|
@@ -583,7 +583,7 @@ registerAction2(class PeekReferencesAction extends ReferencesAction {
|
|
|
583
583
|
});
|
|
584
584
|
}
|
|
585
585
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
586
|
-
return new ReferencesModel(await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, false, false, token), localize(
|
|
586
|
+
return new ReferencesModel(await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, false, false, token), localize(1062, 'References'));
|
|
587
587
|
}
|
|
588
588
|
});
|
|
589
589
|
//#endregion
|
|
@@ -592,17 +592,17 @@ class GenericGoToLocationAction extends SymbolNavigationAction {
|
|
|
592
592
|
constructor(config, _references, _gotoMultipleBehaviour) {
|
|
593
593
|
super(config, {
|
|
594
594
|
id: 'editor.action.goToLocation',
|
|
595
|
-
title: localize2(
|
|
595
|
+
title: localize2(1077, "Go to Any Symbol"),
|
|
596
596
|
precondition: ContextKeyExpr.and(PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
597
597
|
});
|
|
598
598
|
this._references = _references;
|
|
599
599
|
this._gotoMultipleBehaviour = _gotoMultipleBehaviour;
|
|
600
600
|
}
|
|
601
601
|
async _getLocationModel(languageFeaturesService, _model, _position, _token) {
|
|
602
|
-
return new ReferencesModel(this._references, localize(
|
|
602
|
+
return new ReferencesModel(this._references, localize(1063, 'Locations'));
|
|
603
603
|
}
|
|
604
604
|
_getNoResultFoundMessage(info) {
|
|
605
|
-
return info && localize(
|
|
605
|
+
return info && localize(1064, "No results for '{0}'", info.word) || '';
|
|
606
606
|
}
|
|
607
607
|
_getGoToPreference(editor) {
|
|
608
608
|
return this._gotoMultipleBehaviour ?? editor.getOption(67 /* EditorOption.gotoLocation */).multipleReferences;
|
|
@@ -681,7 +681,7 @@ CommandsRegistry.registerCommand({
|
|
|
681
681
|
if (!controller) {
|
|
682
682
|
return undefined;
|
|
683
683
|
}
|
|
684
|
-
const references = createCancelablePromise(token => getReferencesAtPosition(languageFeaturesService.referenceProvider, control.getModel(), Position.lift(position), false, false, token).then(references => new ReferencesModel(references, localize(
|
|
684
|
+
const references = createCancelablePromise(token => getReferencesAtPosition(languageFeaturesService.referenceProvider, control.getModel(), Position.lift(position), false, false, token).then(references => new ReferencesModel(references, localize(1065, 'References'))));
|
|
685
685
|
const range = new Range(position.lineNumber, position.column, position.lineNumber, position.column);
|
|
686
686
|
return Promise.resolve(controller.toggleWidget(range, references, false));
|
|
687
687
|
});
|
|
@@ -151,7 +151,7 @@ let GotoDefinitionAtPositionEditorContribution = class GotoDefinitionAtPositionE
|
|
|
151
151
|
combinedRange = Range.plusRange(combinedRange, originSelectionRange);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
this.addDecoration(combinedRange, new MarkdownString().appendText(localize(
|
|
154
|
+
this.addDecoration(combinedRange, new MarkdownString().appendText(localize(1078, "Click to show {0} definitions.", results.length)));
|
|
155
155
|
}
|
|
156
156
|
else {
|
|
157
157
|
// Single result
|