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
|
@@ -35,7 +35,7 @@ var __param = (undefined && undefined.__param) || function (paramIndex, decorato
|
|
|
35
35
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
36
36
|
};
|
|
37
37
|
var ReferencesController_1;
|
|
38
|
-
const ctxReferenceSearchVisible = new RawContextKey('referenceSearchVisible', false, localize(
|
|
38
|
+
const ctxReferenceSearchVisible = new RawContextKey('referenceSearchVisible', false, localize(1079, "Whether reference peek is visible, like 'Peek References' or 'Peek Definition'"));
|
|
39
39
|
let ReferencesController = class ReferencesController {
|
|
40
40
|
static { ReferencesController_1 = this; }
|
|
41
41
|
static { this.ID = 'editor.contrib.referencesController'; }
|
|
@@ -85,7 +85,7 @@ let ReferencesController = class ReferencesController {
|
|
|
85
85
|
const storageKey = 'peekViewLayout';
|
|
86
86
|
const data = LayoutData.fromJSON(this._storageService.get(storageKey, 0 /* StorageScope.PROFILE */, '{}'));
|
|
87
87
|
this._widget = this._instantiationService.createInstance(ReferenceWidget, this._editor, this._defaultTreeKeyboardSupport, data);
|
|
88
|
-
this._widget.setTitle(localize(
|
|
88
|
+
this._widget.setTitle(localize(1080, "Loading..."));
|
|
89
89
|
this._widget.show(range);
|
|
90
90
|
this._disposables.add(this._widget.onDidClose(() => {
|
|
91
91
|
modelPromise.cancel();
|
|
@@ -141,7 +141,7 @@ let ReferencesController = class ReferencesController {
|
|
|
141
141
|
if (this._widget && this._model && this._editor.hasModel()) { // might have been closed
|
|
142
142
|
// set title
|
|
143
143
|
if (!this._model.isEmpty) {
|
|
144
|
-
this._widget.setMetaTitle(localize(
|
|
144
|
+
this._widget.setMetaTitle(localize(1081, "{0} ({1})", this._model.title, this._model.references.length));
|
|
145
145
|
}
|
|
146
146
|
else {
|
|
147
147
|
this._widget.setMetaTitle('');
|
|
@@ -114,10 +114,10 @@ let FileReferencesTemplate = class FileReferencesTemplate extends Disposable {
|
|
|
114
114
|
const len = element.children.length;
|
|
115
115
|
this.badge.setCount(len);
|
|
116
116
|
if (len > 1) {
|
|
117
|
-
this.badge.setTitleFormat(localize(
|
|
117
|
+
this.badge.setTitleFormat(localize(1082, "{0} references", len));
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
120
|
-
this.badge.setTitleFormat(localize(
|
|
120
|
+
this.badge.setTitleFormat(localize(1083, "{0} reference", len));
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
};
|
|
@@ -190,7 +190,7 @@ class OneReferenceRenderer {
|
|
|
190
190
|
//#endregion
|
|
191
191
|
class AccessibilityProvider {
|
|
192
192
|
getWidgetAriaLabel() {
|
|
193
|
-
return localize(
|
|
193
|
+
return localize(1084, "References");
|
|
194
194
|
}
|
|
195
195
|
getAriaLabel(element) {
|
|
196
196
|
return element.ariaMessage;
|
|
@@ -302,7 +302,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
302
302
|
};
|
|
303
303
|
this._preview = this._instantiationService.createInstance(EmbeddedCodeEditorWidget, this._previewContainer, options, {}, this.editor);
|
|
304
304
|
hide(this._previewContainer);
|
|
305
|
-
this._previewNotAvailableMessage = this._instantiationService.createInstance(TextModel, localize(
|
|
305
|
+
this._previewNotAvailableMessage = this._instantiationService.createInstance(TextModel, localize(1085, "no preview available"), PLAINTEXT_LANGUAGE_ID, TextModel.DEFAULT_CREATION_OPTIONS, null);
|
|
306
306
|
// tree
|
|
307
307
|
this._treeContainer = append(containerElement, $('div.ref-tree.inline'));
|
|
308
308
|
const treeOptions = {
|
|
@@ -416,7 +416,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
416
416
|
}
|
|
417
417
|
if (this._model.isEmpty) {
|
|
418
418
|
this.setTitle('');
|
|
419
|
-
this._messageContainer.innerText = localize(
|
|
419
|
+
this._messageContainer.innerText = localize(1086, "No results");
|
|
420
420
|
show(this._messageContainer);
|
|
421
421
|
return Promise.resolve(undefined);
|
|
422
422
|
}
|
|
@@ -477,7 +477,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
477
477
|
this.setTitle(basenameOrAuthority(reference.uri), this._uriLabel.getUriLabel(dirname(reference.uri)));
|
|
478
478
|
}
|
|
479
479
|
else {
|
|
480
|
-
this.setTitle(localize(
|
|
480
|
+
this.setTitle(localize(1087, "References"));
|
|
481
481
|
}
|
|
482
482
|
const promise = this._textModelResolverService.createModelReference(reference.uri);
|
|
483
483
|
if (this._tree.getInput() === reference.parent) {
|
|
@@ -33,10 +33,10 @@ class OneReference {
|
|
|
33
33
|
get ariaMessage() {
|
|
34
34
|
const preview = this.parent.getPreview(this)?.preview(this.range);
|
|
35
35
|
if (!preview) {
|
|
36
|
-
return localize(
|
|
36
|
+
return localize(1088, "in {0} on line {1} at column {2}", basename(this.uri), this.range.startLineNumber, this.range.startColumn);
|
|
37
37
|
}
|
|
38
38
|
else {
|
|
39
|
-
return localize(
|
|
39
|
+
return localize(1089, "{0} in {1} on line {2} at column {3}", preview.value, basename(this.uri), this.range.startLineNumber, this.range.startColumn);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -82,10 +82,10 @@ class FileReferences {
|
|
|
82
82
|
get ariaMessage() {
|
|
83
83
|
const len = this.children.length;
|
|
84
84
|
if (len === 1) {
|
|
85
|
-
return localize(
|
|
85
|
+
return localize(1090, "1 symbol in {0}, full path {1}", basename(this.uri), this.uri.fsPath);
|
|
86
86
|
}
|
|
87
87
|
else {
|
|
88
|
-
return localize(
|
|
88
|
+
return localize(1091, "{0} symbols in {1}, full path {2}", len, basename(this.uri), this.uri.fsPath);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
async resolve(textModelResolverService) {
|
|
@@ -149,16 +149,16 @@ class ReferencesModel {
|
|
|
149
149
|
}
|
|
150
150
|
get ariaMessage() {
|
|
151
151
|
if (this.isEmpty) {
|
|
152
|
-
return localize(
|
|
152
|
+
return localize(1092, "No results found");
|
|
153
153
|
}
|
|
154
154
|
else if (this.references.length === 1) {
|
|
155
|
-
return localize(
|
|
155
|
+
return localize(1093, "Found 1 symbol in {0}", this.references[0].uri.fsPath);
|
|
156
156
|
}
|
|
157
157
|
else if (this.groups.length === 1) {
|
|
158
|
-
return localize(
|
|
158
|
+
return localize(1094, "Found {0} symbols in {1}", this.references.length, this.groups[0].uri.fsPath);
|
|
159
159
|
}
|
|
160
160
|
else {
|
|
161
|
-
return localize(
|
|
161
|
+
return localize(1095, "Found {0} symbols in {1} files", this.references.length, this.groups.length);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
nextOrPreviousReference(reference, next) {
|
|
@@ -25,7 +25,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
25
25
|
var __param = (undefined && undefined.__param) || function (paramIndex, decorator) {
|
|
26
26
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
27
27
|
};
|
|
28
|
-
const ctxHasSymbols = new RawContextKey('hasSymbols', false, localize(
|
|
28
|
+
const ctxHasSymbols = new RawContextKey('hasSymbols', false, localize(1096, "Whether there are symbol locations that can be navigated via keyboard-only."));
|
|
29
29
|
const ISymbolNavigationService = createDecorator('ISymbolNavigationService');
|
|
30
30
|
let SymbolNavigationService = class SymbolNavigationService {
|
|
31
31
|
constructor(contextKeyService, _editorService, _notificationService, _keybindingService) {
|
|
@@ -111,8 +111,8 @@ let SymbolNavigationService = class SymbolNavigationService {
|
|
|
111
111
|
this._currentMessage?.close();
|
|
112
112
|
const kb = this._keybindingService.lookupKeybinding('editor.gotoNextSymbolFromResult');
|
|
113
113
|
const message = kb
|
|
114
|
-
? localize(
|
|
115
|
-
: localize(
|
|
114
|
+
? localize(1097, "Symbol {0} of {1}, {2} for next", this._currentIdx + 1, this._currentModel.references.length, kb.getLabel())
|
|
115
|
+
: localize(1098, "Symbol {0} of {1}", this._currentIdx + 1, this._currentModel.references.length);
|
|
116
116
|
this._currentMessage = this._notificationService.status(message);
|
|
117
117
|
}
|
|
118
118
|
};
|
|
@@ -22,7 +22,7 @@ class DebugEditorGpuRendererAction extends EditorAction {
|
|
|
22
22
|
constructor() {
|
|
23
23
|
super({
|
|
24
24
|
id: 'editor.action.debugEditorGpuRenderer',
|
|
25
|
-
label: localize2(
|
|
25
|
+
label: localize2(1102, "Developer: Debug Editor GPU Renderer"),
|
|
26
26
|
// TODO: Why doesn't `ContextKeyExpr.equals('config:editor.experimentalGpuAcceleration', 'on')` work?
|
|
27
27
|
precondition: ContextKeyExpr.true(),
|
|
28
28
|
});
|
|
@@ -32,15 +32,15 @@ class DebugEditorGpuRendererAction extends EditorAction {
|
|
|
32
32
|
const quickInputService = accessor.get(IQuickInputService);
|
|
33
33
|
const choice = await quickInputService.pick([
|
|
34
34
|
{
|
|
35
|
-
label: localize(
|
|
35
|
+
label: localize(1099, "Log Texture Atlas Stats"),
|
|
36
36
|
id: 'logTextureAtlasStats',
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
label: localize(
|
|
39
|
+
label: localize(1100, "Save Texture Atlas"),
|
|
40
40
|
id: 'saveTextureAtlas',
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
label: localize(
|
|
43
|
+
label: localize(1101, "Draw Glyph"),
|
|
44
44
|
id: 'drawGlyph',
|
|
45
45
|
},
|
|
46
46
|
], { canPickMany: false });
|
|
@@ -16,8 +16,8 @@ const PAGE_DOWN_HOVER_ACTION_ID = 'editor.action.pageDownHover';
|
|
|
16
16
|
const GO_TO_TOP_HOVER_ACTION_ID = 'editor.action.goToTopHover';
|
|
17
17
|
const GO_TO_BOTTOM_HOVER_ACTION_ID = 'editor.action.goToBottomHover';
|
|
18
18
|
const INCREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.increaseHoverVerbosityLevel';
|
|
19
|
-
const INCREASE_HOVER_VERBOSITY_ACTION_LABEL = localize(
|
|
19
|
+
const INCREASE_HOVER_VERBOSITY_ACTION_LABEL = localize(1103, "Increase Hover Verbosity Level");
|
|
20
20
|
const DECREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.decreaseHoverVerbosityLevel';
|
|
21
|
-
const DECREASE_HOVER_VERBOSITY_ACTION_LABEL = localize(
|
|
21
|
+
const DECREASE_HOVER_VERBOSITY_ACTION_LABEL = localize(1104, "Decrease Hover Verbosity Level");
|
|
22
22
|
|
|
23
23
|
export { DECREASE_HOVER_VERBOSITY_ACTION_ID, DECREASE_HOVER_VERBOSITY_ACTION_LABEL, GO_TO_BOTTOM_HOVER_ACTION_ID, GO_TO_TOP_HOVER_ACTION_ID, HIDE_HOVER_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_LABEL, PAGE_DOWN_HOVER_ACTION_ID, PAGE_UP_HOVER_ACTION_ID, SCROLL_DOWN_HOVER_ACTION_ID, SCROLL_LEFT_HOVER_ACTION_ID, SCROLL_RIGHT_HOVER_ACTION_ID, SCROLL_UP_HOVER_ACTION_ID, SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID, SHOW_OR_FOCUS_HOVER_ACTION_ID };
|
|
@@ -23,7 +23,7 @@ class ShowOrFocusHoverAction extends EditorAction {
|
|
|
23
23
|
constructor() {
|
|
24
24
|
super({
|
|
25
25
|
id: SHOW_OR_FOCUS_HOVER_ACTION_ID,
|
|
26
|
-
label: localize2(
|
|
26
|
+
label: localize2(1108, "Show or Focus Hover"),
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
@@ -32,7 +32,7 @@ class ShowOrFocusHoverAction extends EditorAction {
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
metadata: {
|
|
35
|
-
description: localize2(
|
|
35
|
+
description: localize2(1109, 'Show or focus the editor hover which shows documentation, references, and other content for a symbol at the current cursor position.'),
|
|
36
36
|
args: [{
|
|
37
37
|
name: 'args',
|
|
38
38
|
schema: {
|
|
@@ -42,9 +42,9 @@ class ShowOrFocusHoverAction extends EditorAction {
|
|
|
42
42
|
description: 'Controls if and when the hover should take focus upon being triggered by this action.',
|
|
43
43
|
enum: [HoverFocusBehavior.NoAutoFocus, HoverFocusBehavior.FocusIfVisible, HoverFocusBehavior.AutoFocusImmediately],
|
|
44
44
|
enumDescriptions: [
|
|
45
|
-
localize(
|
|
46
|
-
localize(
|
|
47
|
-
localize(
|
|
45
|
+
localize(1105, 'The hover will not automatically take focus.'),
|
|
46
|
+
localize(1106, 'The hover will take focus only if it is already visible.'),
|
|
47
|
+
localize(1107, 'The hover will automatically take focus when it appears.'),
|
|
48
48
|
],
|
|
49
49
|
default: HoverFocusBehavior.FocusIfVisible,
|
|
50
50
|
}
|
|
@@ -99,7 +99,7 @@ class ShowDefinitionPreviewHoverAction extends EditorAction {
|
|
|
99
99
|
constructor() {
|
|
100
100
|
super({
|
|
101
101
|
id: SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID,
|
|
102
|
-
label: localize2(
|
|
102
|
+
label: localize2(1110, "Show Definition Preview Hover"),
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
|
|
@@ -108,7 +108,7 @@ class ShowDefinitionPreviewHoverAction extends EditorAction {
|
|
|
108
108
|
|
|
109
109
|
precondition: undefined,
|
|
110
110
|
metadata: {
|
|
111
|
-
description: localize2(
|
|
111
|
+
description: localize2(1111, 'Show the definition preview hover in the editor.'),
|
|
112
112
|
},
|
|
113
113
|
});
|
|
114
114
|
}
|
|
@@ -136,7 +136,7 @@ class HideContentHoverAction extends EditorAction {
|
|
|
136
136
|
constructor() {
|
|
137
137
|
super({
|
|
138
138
|
id: HIDE_HOVER_ACTION_ID,
|
|
139
|
-
label: localize2(
|
|
139
|
+
label: localize2(1112, "Hide Hover"),
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
|
|
@@ -152,7 +152,7 @@ class ScrollUpHoverAction extends EditorAction {
|
|
|
152
152
|
constructor() {
|
|
153
153
|
super({
|
|
154
154
|
id: SCROLL_UP_HOVER_ACTION_ID,
|
|
155
|
-
label: localize2(
|
|
155
|
+
label: localize2(1113, "Scroll Up Hover"),
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
|
|
@@ -165,7 +165,7 @@ class ScrollUpHoverAction extends EditorAction {
|
|
|
165
165
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
166
166
|
},
|
|
167
167
|
metadata: {
|
|
168
|
-
description: localize2(
|
|
168
|
+
description: localize2(1114, 'Scroll up the editor hover.')
|
|
169
169
|
},
|
|
170
170
|
});
|
|
171
171
|
}
|
|
@@ -181,7 +181,7 @@ class ScrollDownHoverAction extends EditorAction {
|
|
|
181
181
|
constructor() {
|
|
182
182
|
super({
|
|
183
183
|
id: SCROLL_DOWN_HOVER_ACTION_ID,
|
|
184
|
-
label: localize2(
|
|
184
|
+
label: localize2(1115, "Scroll Down Hover"),
|
|
185
185
|
|
|
186
186
|
|
|
187
187
|
|
|
@@ -194,7 +194,7 @@ class ScrollDownHoverAction extends EditorAction {
|
|
|
194
194
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
195
195
|
},
|
|
196
196
|
metadata: {
|
|
197
|
-
description: localize2(
|
|
197
|
+
description: localize2(1116, 'Scroll down the editor hover.'),
|
|
198
198
|
},
|
|
199
199
|
});
|
|
200
200
|
}
|
|
@@ -210,7 +210,7 @@ class ScrollLeftHoverAction extends EditorAction {
|
|
|
210
210
|
constructor() {
|
|
211
211
|
super({
|
|
212
212
|
id: SCROLL_LEFT_HOVER_ACTION_ID,
|
|
213
|
-
label: localize2(
|
|
213
|
+
label: localize2(1117, "Scroll Left Hover"),
|
|
214
214
|
|
|
215
215
|
|
|
216
216
|
|
|
@@ -223,7 +223,7 @@ class ScrollLeftHoverAction extends EditorAction {
|
|
|
223
223
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
224
224
|
},
|
|
225
225
|
metadata: {
|
|
226
|
-
description: localize2(
|
|
226
|
+
description: localize2(1118, 'Scroll left the editor hover.'),
|
|
227
227
|
},
|
|
228
228
|
});
|
|
229
229
|
}
|
|
@@ -239,7 +239,7 @@ class ScrollRightHoverAction extends EditorAction {
|
|
|
239
239
|
constructor() {
|
|
240
240
|
super({
|
|
241
241
|
id: SCROLL_RIGHT_HOVER_ACTION_ID,
|
|
242
|
-
label: localize2(
|
|
242
|
+
label: localize2(1119, "Scroll Right Hover"),
|
|
243
243
|
|
|
244
244
|
|
|
245
245
|
|
|
@@ -252,7 +252,7 @@ class ScrollRightHoverAction extends EditorAction {
|
|
|
252
252
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
253
253
|
},
|
|
254
254
|
metadata: {
|
|
255
|
-
description: localize2(
|
|
255
|
+
description: localize2(1120, 'Scroll right the editor hover.')
|
|
256
256
|
},
|
|
257
257
|
});
|
|
258
258
|
}
|
|
@@ -268,7 +268,7 @@ class PageUpHoverAction extends EditorAction {
|
|
|
268
268
|
constructor() {
|
|
269
269
|
super({
|
|
270
270
|
id: PAGE_UP_HOVER_ACTION_ID,
|
|
271
|
-
label: localize2(
|
|
271
|
+
label: localize2(1121, "Page Up Hover"),
|
|
272
272
|
|
|
273
273
|
|
|
274
274
|
|
|
@@ -282,7 +282,7 @@ class PageUpHoverAction extends EditorAction {
|
|
|
282
282
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
283
283
|
},
|
|
284
284
|
metadata: {
|
|
285
|
-
description: localize2(
|
|
285
|
+
description: localize2(1122, 'Page up the editor hover.'),
|
|
286
286
|
},
|
|
287
287
|
});
|
|
288
288
|
}
|
|
@@ -298,7 +298,7 @@ class PageDownHoverAction extends EditorAction {
|
|
|
298
298
|
constructor() {
|
|
299
299
|
super({
|
|
300
300
|
id: PAGE_DOWN_HOVER_ACTION_ID,
|
|
301
|
-
label: localize2(
|
|
301
|
+
label: localize2(1123, "Page Down Hover"),
|
|
302
302
|
|
|
303
303
|
|
|
304
304
|
|
|
@@ -312,7 +312,7 @@ class PageDownHoverAction extends EditorAction {
|
|
|
312
312
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
313
313
|
},
|
|
314
314
|
metadata: {
|
|
315
|
-
description: localize2(
|
|
315
|
+
description: localize2(1124, 'Page down the editor hover.'),
|
|
316
316
|
},
|
|
317
317
|
});
|
|
318
318
|
}
|
|
@@ -328,7 +328,7 @@ class GoToTopHoverAction extends EditorAction {
|
|
|
328
328
|
constructor() {
|
|
329
329
|
super({
|
|
330
330
|
id: GO_TO_TOP_HOVER_ACTION_ID,
|
|
331
|
-
label: localize2(
|
|
331
|
+
label: localize2(1125, "Go To Top Hover"),
|
|
332
332
|
|
|
333
333
|
|
|
334
334
|
|
|
@@ -342,7 +342,7 @@ class GoToTopHoverAction extends EditorAction {
|
|
|
342
342
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
343
343
|
},
|
|
344
344
|
metadata: {
|
|
345
|
-
description: localize2(
|
|
345
|
+
description: localize2(1126, 'Go to the top of the editor hover.'),
|
|
346
346
|
},
|
|
347
347
|
});
|
|
348
348
|
}
|
|
@@ -358,7 +358,7 @@ class GoToBottomHoverAction extends EditorAction {
|
|
|
358
358
|
constructor() {
|
|
359
359
|
super({
|
|
360
360
|
id: GO_TO_BOTTOM_HOVER_ACTION_ID,
|
|
361
|
-
label: localize2(
|
|
361
|
+
label: localize2(1127, "Go To Bottom Hover"),
|
|
362
362
|
|
|
363
363
|
|
|
364
364
|
|
|
@@ -372,7 +372,7 @@ class GoToBottomHoverAction extends EditorAction {
|
|
|
372
372
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
373
373
|
},
|
|
374
374
|
metadata: {
|
|
375
|
-
description: localize2(
|
|
375
|
+
description: localize2(1128, 'Go to the bottom of the editor hover.')
|
|
376
376
|
},
|
|
377
377
|
});
|
|
378
378
|
}
|
|
@@ -36,8 +36,8 @@ var __param = (undefined && undefined.__param) || function (paramIndex, decorato
|
|
|
36
36
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
37
37
|
};
|
|
38
38
|
const $ = $$1;
|
|
39
|
-
const increaseHoverVerbosityIcon = registerIcon('hover-increase-verbosity', Codicon.add, localize(
|
|
40
|
-
const decreaseHoverVerbosityIcon = registerIcon('hover-decrease-verbosity', Codicon.remove, localize(
|
|
39
|
+
const increaseHoverVerbosityIcon = registerIcon('hover-increase-verbosity', Codicon.add, localize(1129, 'Icon for increaseing hover verbosity.'));
|
|
40
|
+
const decreaseHoverVerbosityIcon = registerIcon('hover-decrease-verbosity', Codicon.remove, localize(1130, 'Icon for decreasing hover verbosity.'));
|
|
41
41
|
class MarkdownHover {
|
|
42
42
|
constructor(owner, range, contents, isBeforeContent, ordinal, source = undefined) {
|
|
43
43
|
this.owner = owner;
|
|
@@ -80,7 +80,7 @@ let MarkdownHoverParticipant = class MarkdownHoverParticipant {
|
|
|
80
80
|
this.hoverOrdinal = 3;
|
|
81
81
|
}
|
|
82
82
|
createLoadingMessage(anchor) {
|
|
83
|
-
return new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(localize(
|
|
83
|
+
return new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(localize(1131, "Loading..."))], false, 2000);
|
|
84
84
|
}
|
|
85
85
|
computeSync(anchor, lineDecorations) {
|
|
86
86
|
if (!this._editor.hasModel() || anchor.type !== 1 /* HoverAnchorType.Range */) {
|
|
@@ -101,12 +101,12 @@ let MarkdownHoverParticipant = class MarkdownHoverParticipant {
|
|
|
101
101
|
if (stopRenderingLineAfter >= 0 && lineLength > stopRenderingLineAfter && anchor.range.startColumn >= stopRenderingLineAfter) {
|
|
102
102
|
stopRenderingMessage = true;
|
|
103
103
|
result.push(new MarkdownHover(this, anchor.range, [{
|
|
104
|
-
value: localize(
|
|
104
|
+
value: localize(1132, "Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.")
|
|
105
105
|
}], false, index++));
|
|
106
106
|
}
|
|
107
107
|
if (!stopRenderingMessage && typeof maxTokenizationLineLength === 'number' && lineLength >= maxTokenizationLineLength) {
|
|
108
108
|
result.push(new MarkdownHover(this, anchor.range, [{
|
|
109
|
-
value: localize(
|
|
109
|
+
value: localize(1133, "Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")
|
|
110
110
|
}], false, index++));
|
|
111
111
|
}
|
|
112
112
|
let isBeforeContent = false;
|
|
@@ -388,14 +388,14 @@ function labelForHoverVerbosityAction(keybindingService, action) {
|
|
|
388
388
|
case HoverVerbosityAction.Increase: {
|
|
389
389
|
const kb = keybindingService.lookupKeybinding(INCREASE_HOVER_VERBOSITY_ACTION_ID);
|
|
390
390
|
return kb ?
|
|
391
|
-
localize(
|
|
392
|
-
localize(
|
|
391
|
+
localize(1134, "Increase Hover Verbosity ({0})", kb.getLabel()) :
|
|
392
|
+
localize(1135, "Increase Hover Verbosity");
|
|
393
393
|
}
|
|
394
394
|
case HoverVerbosityAction.Decrease: {
|
|
395
395
|
const kb = keybindingService.lookupKeybinding(DECREASE_HOVER_VERBOSITY_ACTION_ID);
|
|
396
396
|
return kb ?
|
|
397
|
-
localize(
|
|
398
|
-
localize(
|
|
397
|
+
localize(1136, "Decrease Hover Verbosity ({0})", kb.getLabel()) :
|
|
398
|
+
localize(1137, "Decrease Hover Verbosity");
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
}
|
|
@@ -170,7 +170,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
170
170
|
const markerController = MarkerController.get(this._editor);
|
|
171
171
|
if (markerController) {
|
|
172
172
|
context.statusBar.addAction({
|
|
173
|
-
label: localize(
|
|
173
|
+
label: localize(1138, "View Problem"),
|
|
174
174
|
commandId: NextMarkerAction.ID,
|
|
175
175
|
run: () => {
|
|
176
176
|
context.hide();
|
|
@@ -185,14 +185,14 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
185
185
|
if (this.recentMarkerCodeActionsInfo) {
|
|
186
186
|
if (IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker) === IMarkerData.makeKey(markerHover.marker)) {
|
|
187
187
|
if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
|
|
188
|
-
quickfixPlaceholderElement.textContent = localize(
|
|
188
|
+
quickfixPlaceholderElement.textContent = localize(1139, "No quick fixes available");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
else {
|
|
192
192
|
this.recentMarkerCodeActionsInfo = undefined;
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? Disposable.None : disposableTimeout(() => quickfixPlaceholderElement.textContent = localize(
|
|
195
|
+
const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? Disposable.None : disposableTimeout(() => quickfixPlaceholderElement.textContent = localize(1140, "Checking for quick fixes..."), 200, disposables);
|
|
196
196
|
if (!quickfixPlaceholderElement.textContent) {
|
|
197
197
|
// Have some content in here to avoid flickering
|
|
198
198
|
quickfixPlaceholderElement.textContent = String.fromCharCode(0xA0); //
|
|
@@ -204,7 +204,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
204
204
|
this.recentMarkerCodeActionsInfo = { marker: markerHover.marker, hasCodeActions: actions.validActions.length > 0 };
|
|
205
205
|
if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
|
|
206
206
|
actions.dispose();
|
|
207
|
-
quickfixPlaceholderElement.textContent = localize(
|
|
207
|
+
quickfixPlaceholderElement.textContent = localize(1141, "No quick fixes available");
|
|
208
208
|
return;
|
|
209
209
|
}
|
|
210
210
|
quickfixPlaceholderElement.style.display = 'none';
|
|
@@ -215,7 +215,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
215
215
|
}
|
|
216
216
|
}));
|
|
217
217
|
context.statusBar.addAction({
|
|
218
|
-
label: localize(
|
|
218
|
+
label: localize(1142, "Quick Fix..."),
|
|
219
219
|
commandId: quickFixCommandId,
|
|
220
220
|
run: (target) => {
|
|
221
221
|
showing = true;
|
|
@@ -108,7 +108,7 @@ class InPlaceReplaceUp extends EditorAction {
|
|
|
108
108
|
constructor() {
|
|
109
109
|
super({
|
|
110
110
|
id: 'editor.action.inPlaceReplace.up',
|
|
111
|
-
label: localize2(
|
|
111
|
+
label: localize2(1238, "Replace with Previous Value"),
|
|
112
112
|
precondition: EditorContextKeys.writable,
|
|
113
113
|
kbOpts: {
|
|
114
114
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -129,7 +129,7 @@ class InPlaceReplaceDown extends EditorAction {
|
|
|
129
129
|
constructor() {
|
|
130
130
|
super({
|
|
131
131
|
id: 'editor.action.inPlaceReplace.down',
|
|
132
|
-
label: localize2(
|
|
132
|
+
label: localize2(1239, "Replace with Next Value"),
|
|
133
133
|
precondition: EditorContextKeys.writable,
|
|
134
134
|
kbOpts: {
|
|
135
135
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -31,10 +31,10 @@ class IndentationToSpacesAction extends EditorAction {
|
|
|
31
31
|
constructor() {
|
|
32
32
|
super({
|
|
33
33
|
id: IndentationToSpacesAction.ID,
|
|
34
|
-
label: localize2(
|
|
34
|
+
label: localize2(1147, "Convert Indentation to Spaces"),
|
|
35
35
|
precondition: EditorContextKeys.writable,
|
|
36
36
|
metadata: {
|
|
37
|
-
description: localize2(
|
|
37
|
+
description: localize2(1148, "Convert the tab indentation to spaces."),
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
}
|
|
@@ -62,10 +62,10 @@ class IndentationToTabsAction extends EditorAction {
|
|
|
62
62
|
constructor() {
|
|
63
63
|
super({
|
|
64
64
|
id: IndentationToTabsAction.ID,
|
|
65
|
-
label: localize2(
|
|
65
|
+
label: localize2(1149, "Convert Indentation to Tabs"),
|
|
66
66
|
precondition: EditorContextKeys.writable,
|
|
67
67
|
metadata: {
|
|
68
|
-
description: localize2(
|
|
68
|
+
description: localize2(1150, "Convert the spaces indentation to tabs."),
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
}
|
|
@@ -108,17 +108,17 @@ class ChangeIndentationSizeAction extends EditorAction {
|
|
|
108
108
|
label: n.toString(),
|
|
109
109
|
// add description for tabSize value set in the configuration
|
|
110
110
|
description: (n === creationOpts.tabSize && n === modelOpts.tabSize
|
|
111
|
-
? localize(
|
|
111
|
+
? localize(1143, "Configured Tab Size")
|
|
112
112
|
: n === creationOpts.tabSize
|
|
113
|
-
? localize(
|
|
113
|
+
? localize(1144, "Default Tab Size")
|
|
114
114
|
: n === modelOpts.tabSize
|
|
115
|
-
? localize(
|
|
115
|
+
? localize(1145, "Current Tab Size")
|
|
116
116
|
: undefined)
|
|
117
117
|
}));
|
|
118
118
|
// auto focus the tabSize set for the current editor
|
|
119
119
|
const autoFocusIndex = Math.min(model.getOptions().tabSize - 1, 7);
|
|
120
120
|
setTimeout(() => {
|
|
121
|
-
quickInputService.pick(picks, { placeHolder: localize(
|
|
121
|
+
quickInputService.pick(picks, { placeHolder: localize(1146, "Select Tab Size for Current File"), activeItem: picks[autoFocusIndex] }).then(pick => {
|
|
122
122
|
if (pick) {
|
|
123
123
|
if (model && !model.isDisposed()) {
|
|
124
124
|
const pickedVal = parseInt(pick.label, 10);
|
|
@@ -145,10 +145,10 @@ class IndentUsingTabs extends ChangeIndentationSizeAction {
|
|
|
145
145
|
constructor() {
|
|
146
146
|
super(false, false, {
|
|
147
147
|
id: IndentUsingTabs.ID,
|
|
148
|
-
label: localize2(
|
|
148
|
+
label: localize2(1151, "Indent Using Tabs"),
|
|
149
149
|
precondition: undefined,
|
|
150
150
|
metadata: {
|
|
151
|
-
description: localize2(
|
|
151
|
+
description: localize2(1152, "Use indentation with tabs."),
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
154
|
}
|
|
@@ -158,10 +158,10 @@ class IndentUsingSpaces extends ChangeIndentationSizeAction {
|
|
|
158
158
|
constructor() {
|
|
159
159
|
super(true, false, {
|
|
160
160
|
id: IndentUsingSpaces.ID,
|
|
161
|
-
label: localize2(
|
|
161
|
+
label: localize2(1153, "Indent Using Spaces"),
|
|
162
162
|
precondition: undefined,
|
|
163
163
|
metadata: {
|
|
164
|
-
description: localize2(
|
|
164
|
+
description: localize2(1154, "Use indentation with spaces."),
|
|
165
165
|
}
|
|
166
166
|
});
|
|
167
167
|
}
|
|
@@ -171,10 +171,10 @@ class ChangeTabDisplaySize extends ChangeIndentationSizeAction {
|
|
|
171
171
|
constructor() {
|
|
172
172
|
super(true, true, {
|
|
173
173
|
id: ChangeTabDisplaySize.ID,
|
|
174
|
-
label: localize2(
|
|
174
|
+
label: localize2(1155, "Change Tab Display Size"),
|
|
175
175
|
precondition: undefined,
|
|
176
176
|
metadata: {
|
|
177
|
-
description: localize2(
|
|
177
|
+
description: localize2(1156, "Change the space size equivalent of the tab."),
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
180
|
}
|
|
@@ -184,10 +184,10 @@ class DetectIndentation extends EditorAction {
|
|
|
184
184
|
constructor() {
|
|
185
185
|
super({
|
|
186
186
|
id: DetectIndentation.ID,
|
|
187
|
-
label: localize2(
|
|
187
|
+
label: localize2(1157, "Detect Indentation from Content"),
|
|
188
188
|
precondition: undefined,
|
|
189
189
|
metadata: {
|
|
190
|
-
description: localize2(
|
|
190
|
+
description: localize2(1158, "Detect the indentation from content."),
|
|
191
191
|
}
|
|
192
192
|
});
|
|
193
193
|
}
|
|
@@ -205,10 +205,10 @@ class ReindentLinesAction extends EditorAction {
|
|
|
205
205
|
constructor() {
|
|
206
206
|
super({
|
|
207
207
|
id: 'editor.action.reindentlines',
|
|
208
|
-
label: localize2(
|
|
208
|
+
label: localize2(1159, "Reindent Lines"),
|
|
209
209
|
precondition: EditorContextKeys.writable,
|
|
210
210
|
metadata: {
|
|
211
|
-
description: localize2(
|
|
211
|
+
description: localize2(1160, "Reindent the lines of the editor."),
|
|
212
212
|
}
|
|
213
213
|
});
|
|
214
214
|
}
|
|
@@ -230,10 +230,10 @@ class ReindentSelectedLinesAction extends EditorAction {
|
|
|
230
230
|
constructor() {
|
|
231
231
|
super({
|
|
232
232
|
id: 'editor.action.reindentselectedlines',
|
|
233
|
-
label: localize2(
|
|
233
|
+
label: localize2(1161, "Reindent Selected Lines"),
|
|
234
234
|
precondition: EditorContextKeys.writable,
|
|
235
235
|
metadata: {
|
|
236
|
-
description: localize2(
|
|
236
|
+
description: localize2(1162, "Reindent the selected lines of the editor."),
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
}
|