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
|
@@ -41,8 +41,8 @@ var __param = (undefined && undefined.__param) || function (paramIndex, decorato
|
|
|
41
41
|
};
|
|
42
42
|
var ParameterHintsWidget_1;
|
|
43
43
|
const $ = $$1;
|
|
44
|
-
const parameterHintsNextIcon = registerIcon('parameter-hints-next', Codicon.chevronDown, localize(
|
|
45
|
-
const parameterHintsPreviousIcon = registerIcon('parameter-hints-previous', Codicon.chevronUp, localize(
|
|
44
|
+
const parameterHintsNextIcon = registerIcon('parameter-hints-next', Codicon.chevronDown, localize(1310, 'Icon for show next parameter hint.'));
|
|
45
|
+
const parameterHintsPreviousIcon = registerIcon('parameter-hints-previous', Codicon.chevronUp, localize(1311, 'Icon for show previous parameter hint.'));
|
|
46
46
|
let ParameterHintsWidget = class ParameterHintsWidget extends Disposable {
|
|
47
47
|
static { ParameterHintsWidget_1 = this; }
|
|
48
48
|
static { this.ID = 'editor.widget.parameterHintsWidget'; }
|
|
@@ -215,7 +215,7 @@ let ParameterHintsWidget = class ParameterHintsWidget extends Disposable {
|
|
|
215
215
|
// Select method gets called on every user type while parameter hints are visible.
|
|
216
216
|
// We do not want to spam the user with same announcements, so we only announce if the current parameter changed.
|
|
217
217
|
if (this.announcedLabel !== labelToAnnounce) {
|
|
218
|
-
alert(localize(
|
|
218
|
+
alert(localize(1312, "{0}, hint", labelToAnnounce));
|
|
219
219
|
this.announcedLabel = labelToAnnounce;
|
|
220
220
|
}
|
|
221
221
|
}
|
|
@@ -312,6 +312,6 @@ ParameterHintsWidget = ParameterHintsWidget_1 = __decorate([
|
|
|
312
312
|
__param(2, IContextKeyService),
|
|
313
313
|
__param(3, IMarkdownRendererService)
|
|
314
314
|
], ParameterHintsWidget);
|
|
315
|
-
registerColor('editorHoverWidget.highlightForeground', listHighlightForeground, localize(
|
|
315
|
+
registerColor('editorHoverWidget.highlightForeground', listHighlightForeground, localize(1313, 'Foreground color of the active item in the parameter hint.'));
|
|
316
316
|
|
|
317
317
|
export { ParameterHintsWidget };
|
|
@@ -64,7 +64,7 @@ registerSingleton(IPeekViewService, class {
|
|
|
64
64
|
}, 1 /* InstantiationType.Delayed */);
|
|
65
65
|
var PeekContext;
|
|
66
66
|
(function (PeekContext) {
|
|
67
|
-
PeekContext.inPeekEditor = new RawContextKey('inReferenceSearchEditor', true, localize(
|
|
67
|
+
PeekContext.inPeekEditor = new RawContextKey('inReferenceSearchEditor', true, localize(1314, "Whether the current code editor is embedded inside peek"));
|
|
68
68
|
PeekContext.notInPeekEditor = PeekContext.inPeekEditor.toNegated();
|
|
69
69
|
})(PeekContext || (PeekContext = {}));
|
|
70
70
|
let PeekContextController = class PeekContextController {
|
|
@@ -160,7 +160,7 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
160
160
|
this._actionbarWidget = new ActionBar(actionsContainer, actionBarOptions);
|
|
161
161
|
this._disposables.add(this._actionbarWidget);
|
|
162
162
|
if (!noCloseAction) {
|
|
163
|
-
this._actionbarWidget.push(this._disposables.add(new Action('peekview.close', localize(
|
|
163
|
+
this._actionbarWidget.push(this._disposables.add(new Action('peekview.close', localize(1315, "Close"), ThemeIcon.asClassName(Codicon.close), true, () => {
|
|
164
164
|
this.dispose();
|
|
165
165
|
return Promise.resolve();
|
|
166
166
|
})), { label: false, icon: true });
|
|
@@ -226,21 +226,21 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
226
226
|
PeekViewWidget = __decorate([
|
|
227
227
|
__param(2, IInstantiationService)
|
|
228
228
|
], PeekViewWidget);
|
|
229
|
-
const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, localize(
|
|
230
|
-
const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, localize(
|
|
231
|
-
const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, localize(
|
|
232
|
-
const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
233
|
-
const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, localize(
|
|
234
|
-
registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, localize(
|
|
235
|
-
registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, localize(
|
|
236
|
-
registerColor('peekViewResult.selectionBackground', { dark: '#3399ff33', light: '#3399ff33', hcDark: null, hcLight: null }, localize(
|
|
237
|
-
registerColor('peekViewResult.selectionForeground', { dark: Color.white, light: '#6C6C6C', hcDark: Color.white, hcLight: editorForeground }, localize(
|
|
238
|
-
const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, localize(
|
|
239
|
-
registerColor('peekViewEditorGutter.background', peekViewEditorBackground, localize(
|
|
240
|
-
registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, localize(
|
|
241
|
-
registerColor('peekViewEditorStickyScrollGutter.background', peekViewEditorBackground, localize(
|
|
242
|
-
registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, localize(
|
|
243
|
-
registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, localize(
|
|
244
|
-
registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(
|
|
229
|
+
const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, localize(1316, 'Background color of the peek view title area.'));
|
|
230
|
+
const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, localize(1317, 'Color of the peek view title.'));
|
|
231
|
+
const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, localize(1318, 'Color of the peek view title info.'));
|
|
232
|
+
const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, localize(1319, 'Color of the peek view borders and arrow.'));
|
|
233
|
+
const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, localize(1320, 'Background color of the peek view result list.'));
|
|
234
|
+
registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, localize(1321, 'Foreground color for line nodes in the peek view result list.'));
|
|
235
|
+
registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, localize(1322, 'Foreground color for file nodes in the peek view result list.'));
|
|
236
|
+
registerColor('peekViewResult.selectionBackground', { dark: '#3399ff33', light: '#3399ff33', hcDark: null, hcLight: null }, localize(1323, 'Background color of the selected entry in the peek view result list.'));
|
|
237
|
+
registerColor('peekViewResult.selectionForeground', { dark: Color.white, light: '#6C6C6C', hcDark: Color.white, hcLight: editorForeground }, localize(1324, 'Foreground color of the selected entry in the peek view result list.'));
|
|
238
|
+
const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, localize(1325, 'Background color of the peek view editor.'));
|
|
239
|
+
registerColor('peekViewEditorGutter.background', peekViewEditorBackground, localize(1326, 'Background color of the gutter in the peek view editor.'));
|
|
240
|
+
registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, localize(1327, 'Background color of sticky scroll in the peek view editor.'));
|
|
241
|
+
registerColor('peekViewEditorStickyScrollGutter.background', peekViewEditorBackground, localize(1328, 'Background color of the gutter part of sticky scroll in the peek view editor.'));
|
|
242
|
+
registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, localize(1329, 'Match highlight color in the peek view result list.'));
|
|
243
|
+
registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, localize(1330, 'Match highlight color in the peek view editor.'));
|
|
244
|
+
registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(1331, 'Match highlight border in the peek view editor.'));
|
|
245
245
|
|
|
246
246
|
export { IPeekViewService, PeekContext, PeekViewWidget, peekViewBorder, peekViewEditorBackground, peekViewResultsBackground, peekViewTitleBackground, peekViewTitleForeground, peekViewTitleInfoForeground };
|
|
@@ -11,4 +11,4 @@ import { wrapInReloadableClass1 } from '../../../../platform/observable/common/w
|
|
|
11
11
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
12
12
|
*--------------------------------------------------------------------------------------------*/
|
|
13
13
|
registerEditorContribution(PlaceholderTextContribution.ID, wrapInReloadableClass1(() => PlaceholderTextContribution), 0 /* EditorContributionInstantiation.Eager */);
|
|
14
|
-
registerColor('editor.placeholder.foreground', ghostTextForeground, localize(
|
|
14
|
+
registerColor('editor.placeholder.foreground', ghostTextForeground, localize(1332, 'Foreground color of the placeholder text in the editor.'));
|
|
@@ -18,7 +18,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
18
18
|
this.useZeroBasedOffset = useZeroBasedOffset;
|
|
19
19
|
}
|
|
20
20
|
provideWithoutTextEditor(picker) {
|
|
21
|
-
const label = localize(
|
|
21
|
+
const label = localize(1333, "Open a text editor first to go to a line.");
|
|
22
22
|
picker.items = [{ label }];
|
|
23
23
|
picker.ariaLabel = label;
|
|
24
24
|
return Disposable.None;
|
|
@@ -51,7 +51,10 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
51
51
|
picker.items = [{
|
|
52
52
|
lineNumber: position.lineNumber,
|
|
53
53
|
column: position.column,
|
|
54
|
-
label
|
|
54
|
+
label,
|
|
55
|
+
detail: inputText.length ?
|
|
56
|
+
undefined : // Don't show hint once the user has started typing.
|
|
57
|
+
localize(1334, "Use :line[:column] or ::offset to go to a position. Negative values are counted from the end.")
|
|
55
58
|
}];
|
|
56
59
|
// ARIA Label
|
|
57
60
|
picker.ariaLabel = label;
|
|
@@ -68,8 +71,8 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
68
71
|
};
|
|
69
72
|
// Add a toggle to switch between 1- and 0-based offsets.
|
|
70
73
|
const toggle = new Toggle({
|
|
71
|
-
title: localize(
|
|
72
|
-
icon: Codicon.
|
|
74
|
+
title: localize(1335, "Use zero-based offset"),
|
|
75
|
+
icon: Codicon.indexZero,
|
|
73
76
|
isChecked: this.useZeroBasedOffset.value,
|
|
74
77
|
inputActiveOptionBorder: asCssVariable(inputActiveOptionBorder),
|
|
75
78
|
inputActiveOptionForeground: asCssVariable(inputActiveOptionForeground),
|
|
@@ -103,52 +106,56 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
103
106
|
};
|
|
104
107
|
}
|
|
105
108
|
parsePosition(editor, value) {
|
|
109
|
+
const model = this.getModel(editor);
|
|
106
110
|
// Support ::<offset> notation to navigate to a specific offset in the model.
|
|
107
111
|
if (value.startsWith(':')) {
|
|
108
112
|
let offset = parseInt(value.substring(1), 10);
|
|
109
|
-
if (!isNaN(offset)) {
|
|
110
|
-
const
|
|
111
|
-
if (
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
// Offset from the end of the buffer
|
|
119
|
-
offset += model.getValueLength();
|
|
120
|
-
}
|
|
121
|
-
return model.getPositionAt(offset);
|
|
113
|
+
if (!isNaN(offset) && model) {
|
|
114
|
+
const reverse = offset < 0;
|
|
115
|
+
if (!this.useZeroBasedOffset.value) {
|
|
116
|
+
// Convert 1-based offset to model's 0-based.
|
|
117
|
+
offset -= Math.sign(offset);
|
|
118
|
+
}
|
|
119
|
+
if (reverse) {
|
|
120
|
+
// Offset from the end of the buffer
|
|
121
|
+
offset += model.getValueLength();
|
|
122
122
|
}
|
|
123
|
+
return model.getPositionAt(offset);
|
|
123
124
|
}
|
|
124
125
|
}
|
|
125
126
|
// Support line-col formats of `line,col`, `line:col`, `line#col`
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
127
|
+
let [lineNumber, column] = value.split(/,|:|#/).map(part => parseInt(part, 10)).filter(part => !isNaN(part));
|
|
128
|
+
// Handle negative line numbers and clip to valid range.
|
|
129
|
+
const maxLine = (model?.getLineCount() ?? 0) + 1;
|
|
130
|
+
lineNumber = lineNumber >= 0 ? lineNumber : maxLine + lineNumber;
|
|
131
|
+
lineNumber = Math.min(Math.max(1, lineNumber), maxLine);
|
|
132
|
+
// Handle negative column numbers and clip to valid range.
|
|
133
|
+
if (column !== undefined && model) {
|
|
134
|
+
const maxColumn = model.getLineMaxColumn(lineNumber);
|
|
135
|
+
column = column >= 0 ? column : maxColumn + column;
|
|
136
|
+
column = Math.min(Math.max(1, column), maxColumn);
|
|
137
|
+
}
|
|
138
|
+
return { lineNumber, column };
|
|
132
139
|
}
|
|
133
140
|
getPickLabel(editor, lineNumber, column, inOffsetMode) {
|
|
134
141
|
// Location valid: indicate this as picker label
|
|
135
142
|
if (this.isValidLineNumber(editor, lineNumber)) {
|
|
136
143
|
if (this.isValidColumn(editor, lineNumber, column)) {
|
|
137
|
-
return localize(
|
|
144
|
+
return localize(1336, "Go to line {0} and character {1}.", lineNumber, column);
|
|
138
145
|
}
|
|
139
|
-
return localize(
|
|
146
|
+
return localize(1337, "Go to line {0}.", lineNumber);
|
|
140
147
|
}
|
|
141
148
|
// Location invalid: show generic label
|
|
142
149
|
const position = editor.getPosition() || { lineNumber: 1, column: 1 };
|
|
143
150
|
// When in offset mode, prompt for an offset.
|
|
144
151
|
if (inOffsetMode) {
|
|
145
|
-
return localize(
|
|
152
|
+
return localize(1338, "Current Line: {0}, Character: {1}. Type a character offset to navigate to.", position.lineNumber, position.column);
|
|
146
153
|
}
|
|
147
154
|
const lineCount = this.lineCount(editor);
|
|
148
155
|
if (lineCount > 1) {
|
|
149
|
-
return localize(
|
|
156
|
+
return localize(1339, "Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.", position.lineNumber, position.column, lineCount);
|
|
150
157
|
}
|
|
151
|
-
return localize(
|
|
158
|
+
return localize(1340, "Current Line: {0}, Character: {1}. Type a line number to navigate to.", position.lineNumber, position.column);
|
|
152
159
|
}
|
|
153
160
|
isValidLineNumber(editor, lineNumber) {
|
|
154
161
|
if (!lineNumber || typeof lineNumber !== 'number') {
|
|
@@ -40,7 +40,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
40
40
|
this.options.canAcceptInBackground = true;
|
|
41
41
|
}
|
|
42
42
|
provideWithoutTextEditor(picker) {
|
|
43
|
-
this.provideLabelPick(picker, localize(
|
|
43
|
+
this.provideLabelPick(picker, localize(1341, "To go to a symbol, first open a text editor with symbol information."));
|
|
44
44
|
return Disposable.None;
|
|
45
45
|
}
|
|
46
46
|
provideWithTextEditor(context, picker, token, runOptions) {
|
|
@@ -61,7 +61,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
61
61
|
doProvideWithoutEditorSymbols(context, model, picker, token) {
|
|
62
62
|
const disposables = new DisposableStore();
|
|
63
63
|
// Generic pick for not having any symbol information
|
|
64
|
-
this.provideLabelPick(picker, localize(
|
|
64
|
+
this.provideLabelPick(picker, localize(1342, "The active text editor does not provide symbol information."));
|
|
65
65
|
// Wait for changes to the registry and see if eventually
|
|
66
66
|
// we do get symbols. This can happen if the picker is opened
|
|
67
67
|
// very early after the model has loaded but before the
|
|
@@ -147,10 +147,10 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
147
147
|
}
|
|
148
148
|
else {
|
|
149
149
|
if (query.original.length > 0) {
|
|
150
|
-
this.provideLabelPick(picker, localize(
|
|
150
|
+
this.provideLabelPick(picker, localize(1343, "No matching editor symbols"));
|
|
151
151
|
}
|
|
152
152
|
else {
|
|
153
|
-
this.provideLabelPick(picker, localize(
|
|
153
|
+
this.provideLabelPick(picker, localize(1344, "No editor symbols"));
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
|
@@ -197,7 +197,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
197
197
|
if (openSideBySideDirection) {
|
|
198
198
|
buttons = [{
|
|
199
199
|
iconClass: openSideBySideDirection === 'right' ? ThemeIcon.asClassName(Codicon.splitHorizontal) : ThemeIcon.asClassName(Codicon.splitVertical),
|
|
200
|
-
tooltip: openSideBySideDirection === 'right' ? localize(
|
|
200
|
+
tooltip: openSideBySideDirection === 'right' ? localize(1345, "Open to the Side") : localize(1346, "Open to the Bottom")
|
|
201
201
|
}];
|
|
202
202
|
}
|
|
203
203
|
const filteredSymbolPicks = [];
|
|
@@ -313,7 +313,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
313
313
|
}
|
|
314
314
|
else if (sortedFilteredSymbolPicks.length > 0) {
|
|
315
315
|
symbolPicks = [
|
|
316
|
-
{ label: localize(
|
|
316
|
+
{ label: localize(1347, "symbols ({0})", filteredSymbolPicks.length), type: 'separator' },
|
|
317
317
|
...sortedFilteredSymbolPicks
|
|
318
318
|
];
|
|
319
319
|
}
|
|
@@ -362,33 +362,33 @@ AbstractGotoSymbolQuickAccessProvider = AbstractGotoSymbolQuickAccessProvider_1
|
|
|
362
362
|
__param(1, IOutlineModelService)
|
|
363
363
|
], AbstractGotoSymbolQuickAccessProvider);
|
|
364
364
|
// #region NLS Helpers
|
|
365
|
-
const FALLBACK_NLS_SYMBOL_KIND = localize(
|
|
365
|
+
const FALLBACK_NLS_SYMBOL_KIND = localize(1348, "properties ({0})");
|
|
366
366
|
const NLS_SYMBOL_KIND_CACHE = {
|
|
367
|
-
[5 /* SymbolKind.Method */]: localize(
|
|
368
|
-
[11 /* SymbolKind.Function */]: localize(
|
|
369
|
-
[8 /* SymbolKind.Constructor */]: localize(
|
|
370
|
-
[12 /* SymbolKind.Variable */]: localize(
|
|
371
|
-
[4 /* SymbolKind.Class */]: localize(
|
|
372
|
-
[22 /* SymbolKind.Struct */]: localize(
|
|
373
|
-
[23 /* SymbolKind.Event */]: localize(
|
|
374
|
-
[24 /* SymbolKind.Operator */]: localize(
|
|
375
|
-
[10 /* SymbolKind.Interface */]: localize(
|
|
376
|
-
[2 /* SymbolKind.Namespace */]: localize(
|
|
377
|
-
[3 /* SymbolKind.Package */]: localize(
|
|
378
|
-
[25 /* SymbolKind.TypeParameter */]: localize(
|
|
379
|
-
[1 /* SymbolKind.Module */]: localize(
|
|
380
|
-
[6 /* SymbolKind.Property */]: localize(
|
|
381
|
-
[9 /* SymbolKind.Enum */]: localize(
|
|
382
|
-
[21 /* SymbolKind.EnumMember */]: localize(
|
|
383
|
-
[14 /* SymbolKind.String */]: localize(
|
|
384
|
-
[0 /* SymbolKind.File */]: localize(
|
|
385
|
-
[17 /* SymbolKind.Array */]: localize(
|
|
386
|
-
[15 /* SymbolKind.Number */]: localize(
|
|
387
|
-
[16 /* SymbolKind.Boolean */]: localize(
|
|
388
|
-
[18 /* SymbolKind.Object */]: localize(
|
|
389
|
-
[19 /* SymbolKind.Key */]: localize(
|
|
390
|
-
[7 /* SymbolKind.Field */]: localize(
|
|
391
|
-
[13 /* SymbolKind.Constant */]: localize(
|
|
367
|
+
[5 /* SymbolKind.Method */]: localize(1349, "methods ({0})"),
|
|
368
|
+
[11 /* SymbolKind.Function */]: localize(1350, "functions ({0})"),
|
|
369
|
+
[8 /* SymbolKind.Constructor */]: localize(1351, "constructors ({0})"),
|
|
370
|
+
[12 /* SymbolKind.Variable */]: localize(1352, "variables ({0})"),
|
|
371
|
+
[4 /* SymbolKind.Class */]: localize(1353, "classes ({0})"),
|
|
372
|
+
[22 /* SymbolKind.Struct */]: localize(1354, "structs ({0})"),
|
|
373
|
+
[23 /* SymbolKind.Event */]: localize(1355, "events ({0})"),
|
|
374
|
+
[24 /* SymbolKind.Operator */]: localize(1356, "operators ({0})"),
|
|
375
|
+
[10 /* SymbolKind.Interface */]: localize(1357, "interfaces ({0})"),
|
|
376
|
+
[2 /* SymbolKind.Namespace */]: localize(1358, "namespaces ({0})"),
|
|
377
|
+
[3 /* SymbolKind.Package */]: localize(1359, "packages ({0})"),
|
|
378
|
+
[25 /* SymbolKind.TypeParameter */]: localize(1360, "type parameters ({0})"),
|
|
379
|
+
[1 /* SymbolKind.Module */]: localize(1361, "modules ({0})"),
|
|
380
|
+
[6 /* SymbolKind.Property */]: localize(1362, "properties ({0})"),
|
|
381
|
+
[9 /* SymbolKind.Enum */]: localize(1363, "enumerations ({0})"),
|
|
382
|
+
[21 /* SymbolKind.EnumMember */]: localize(1364, "enumeration members ({0})"),
|
|
383
|
+
[14 /* SymbolKind.String */]: localize(1365, "strings ({0})"),
|
|
384
|
+
[0 /* SymbolKind.File */]: localize(1366, "files ({0})"),
|
|
385
|
+
[17 /* SymbolKind.Array */]: localize(1367, "arrays ({0})"),
|
|
386
|
+
[15 /* SymbolKind.Number */]: localize(1368, "numbers ({0})"),
|
|
387
|
+
[16 /* SymbolKind.Boolean */]: localize(1369, "booleans ({0})"),
|
|
388
|
+
[18 /* SymbolKind.Object */]: localize(1370, "objects ({0})"),
|
|
389
|
+
[19 /* SymbolKind.Key */]: localize(1371, "keys ({0})"),
|
|
390
|
+
[7 /* SymbolKind.Field */]: localize(1372, "fields ({0})"),
|
|
391
|
+
[13 /* SymbolKind.Constant */]: localize(1373, "constants ({0})")
|
|
392
392
|
};
|
|
393
393
|
//#endregion
|
|
394
394
|
|
|
@@ -21,10 +21,10 @@ class ReadOnlyMessageController extends Disposable {
|
|
|
21
21
|
let message = this.editor.getOptions().get(105 /* EditorOption.readOnlyMessage */);
|
|
22
22
|
if (!message) {
|
|
23
23
|
if (this.editor.isSimpleWidget) {
|
|
24
|
-
message = new MarkdownString(localize(
|
|
24
|
+
message = new MarkdownString(localize(1374, "Cannot edit in read-only input"));
|
|
25
25
|
}
|
|
26
26
|
else {
|
|
27
|
-
message = new MarkdownString(localize(
|
|
27
|
+
message = new MarkdownString(localize(1375, "Cannot edit in read-only editor"));
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
messageController.showMessage(message, this.editor.getPosition());
|
|
@@ -100,7 +100,7 @@ class RenameSkeleton {
|
|
|
100
100
|
}
|
|
101
101
|
const result = await provider.provideRenameEdits(this.model, this.position, newName, token);
|
|
102
102
|
if (!result) {
|
|
103
|
-
return this._provideRenameEdits(newName, i + 1, rejects.concat(localize(
|
|
103
|
+
return this._provideRenameEdits(newName, i + 1, rejects.concat(localize(1376, "No result.")), token);
|
|
104
104
|
}
|
|
105
105
|
else if (result.rejectReason) {
|
|
106
106
|
return this._provideRenameEdits(newName, i + 1, rejects.concat(result.rejectReason), token);
|
|
@@ -173,7 +173,7 @@ let RenameController = class RenameController {
|
|
|
173
173
|
else {
|
|
174
174
|
trace('resolve rename location failed', e instanceof Error ? e : JSON.stringify(e, null, '\t'));
|
|
175
175
|
if (typeof e === 'string' || isMarkdownString(e)) {
|
|
176
|
-
MessageController.get(this.editor)?.showMessage(e || localize(
|
|
176
|
+
MessageController.get(this.editor)?.showMessage(e || localize(1377, "An unknown error occurred while resolving rename location"), position);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
return undefined;
|
|
@@ -241,24 +241,24 @@ let RenameController = class RenameController {
|
|
|
241
241
|
this._bulkEditService.apply(renameResult, {
|
|
242
242
|
editor: this.editor,
|
|
243
243
|
showPreview: inputFieldResult.wantsPreview,
|
|
244
|
-
label: localize(
|
|
244
|
+
label: localize(1378, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName),
|
|
245
245
|
code: 'undoredo.rename',
|
|
246
|
-
quotableLabel: localize(
|
|
246
|
+
quotableLabel: localize(1379, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName),
|
|
247
247
|
respectAutoSaveConfig: true,
|
|
248
248
|
reason: EditSources.rename(),
|
|
249
249
|
}).then(result => {
|
|
250
250
|
trace('edits applied');
|
|
251
251
|
if (result.ariaSummary) {
|
|
252
|
-
alert(localize(
|
|
252
|
+
alert(localize(1380, "Successfully renamed '{0}' to '{1}'. Summary: {2}", loc.text, inputFieldResult.newName, result.ariaSummary));
|
|
253
253
|
}
|
|
254
254
|
}).catch(err => {
|
|
255
255
|
trace(`error when applying edits ${JSON.stringify(err, null, '\t')}`);
|
|
256
|
-
this._notificationService.error(localize(
|
|
256
|
+
this._notificationService.error(localize(1381, "Rename failed to apply edits"));
|
|
257
257
|
this._logService.error(err);
|
|
258
258
|
});
|
|
259
259
|
}, err => {
|
|
260
260
|
trace('error when providing rename edits', JSON.stringify(err, null, '\t'));
|
|
261
|
-
this._notificationService.error(localize(
|
|
261
|
+
this._notificationService.error(localize(1382, "Rename failed to compute edits"));
|
|
262
262
|
this._logService.error(err);
|
|
263
263
|
}).finally(() => {
|
|
264
264
|
cts2.dispose();
|
|
@@ -294,7 +294,7 @@ class RenameAction extends EditorAction {
|
|
|
294
294
|
constructor() {
|
|
295
295
|
super({
|
|
296
296
|
id: 'editor.action.rename',
|
|
297
|
-
label: localize2(
|
|
297
|
+
label: localize2(1384, "Rename Symbol"),
|
|
298
298
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider),
|
|
299
299
|
kbOpts: {
|
|
300
300
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -374,7 +374,7 @@ registerAction2(class FocusNextRenameSuggestion extends Action2 {
|
|
|
374
374
|
super({
|
|
375
375
|
id: 'focusNextRenameSuggestion',
|
|
376
376
|
title: {
|
|
377
|
-
...localize2(
|
|
377
|
+
...localize2(1385, "Focus Next Rename Suggestion"),
|
|
378
378
|
},
|
|
379
379
|
precondition: CONTEXT_RENAME_INPUT_VISIBLE,
|
|
380
380
|
keybinding: [
|
|
@@ -402,7 +402,7 @@ registerAction2(class FocusPreviousRenameSuggestion extends Action2 {
|
|
|
402
402
|
super({
|
|
403
403
|
id: 'focusPreviousRenameSuggestion',
|
|
404
404
|
title: {
|
|
405
|
-
...localize2(
|
|
405
|
+
...localize2(1386, "Focus Previous Rename Suggestion"),
|
|
406
406
|
},
|
|
407
407
|
precondition: CONTEXT_RENAME_INPUT_VISIBLE,
|
|
408
408
|
keybinding: [
|
|
@@ -447,7 +447,7 @@ Registry.as(Extensions.Configuration).registerConfiguration({
|
|
|
447
447
|
properties: {
|
|
448
448
|
'editor.rename.enablePreview': {
|
|
449
449
|
scope: 6 /* ConfigurationScope.LANGUAGE_OVERRIDABLE */,
|
|
450
|
-
description: localize(
|
|
450
|
+
description: localize(1383, "Enable/disable the ability to preview changes before renaming"),
|
|
451
451
|
default: true,
|
|
452
452
|
type: 'boolean'
|
|
453
453
|
}
|
|
@@ -48,8 +48,8 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
48
48
|
var __param = (undefined && undefined.__param) || function (paramIndex, decorator) {
|
|
49
49
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
50
50
|
};
|
|
51
|
-
const CONTEXT_RENAME_INPUT_VISIBLE = new RawContextKey('renameInputVisible', false, localize(
|
|
52
|
-
new RawContextKey('renameInputFocused', false, localize(
|
|
51
|
+
const CONTEXT_RENAME_INPUT_VISIBLE = new RawContextKey('renameInputVisible', false, localize(1387, "Whether the rename input widget is visible"));
|
|
52
|
+
new RawContextKey('renameInputFocused', false, localize(1388, "Whether the rename input widget is focused"));
|
|
53
53
|
let RenameWidget = class RenameWidget {
|
|
54
54
|
constructor(_editor, _acceptKeybindings, _themeService, _keybindingService, contextKeyService, _logService) {
|
|
55
55
|
this._editor = _editor;
|
|
@@ -172,7 +172,7 @@ let RenameWidget = class RenameWidget {
|
|
|
172
172
|
}
|
|
173
173
|
beforeRender() {
|
|
174
174
|
const [accept, preview] = this._acceptKeybindings;
|
|
175
|
-
this._label.innerText = localize(
|
|
175
|
+
this._label.innerText = localize(1389, "{0} to Rename, {1} to Preview", this._keybindingService.lookupKeybinding(accept)?.getLabel(), this._keybindingService.lookupKeybinding(preview)?.getLabel());
|
|
176
176
|
this._domNode.style.minWidth = `200px`; // to prevent from widening when candidates come in
|
|
177
177
|
return null;
|
|
178
178
|
}
|
|
@@ -485,7 +485,7 @@ class RenameCandidateListView {
|
|
|
485
485
|
// adjust list container layout
|
|
486
486
|
this._listContainer.style.height = `${height}px`;
|
|
487
487
|
this._listContainer.style.width = `${width}px`;
|
|
488
|
-
status(localize(
|
|
488
|
+
status(localize(1390, "Received {0} rename suggestions", candidates.length));
|
|
489
489
|
}
|
|
490
490
|
clearCandidates() {
|
|
491
491
|
this._listContainer.style.height = '0px';
|
|
@@ -627,13 +627,13 @@ class InputWithButton {
|
|
|
627
627
|
this._inputNode.className = 'rename-input';
|
|
628
628
|
this._inputNode.type = 'text';
|
|
629
629
|
this._inputNode.style.border = 'none';
|
|
630
|
-
this._inputNode.setAttribute('aria-label', localize(
|
|
630
|
+
this._inputNode.setAttribute('aria-label', localize(1391, "Rename input. Type new name and press Enter to commit."));
|
|
631
631
|
this._domNode.appendChild(this._inputNode);
|
|
632
632
|
this._buttonNode = document.createElement('div');
|
|
633
633
|
this._buttonNode.className = 'rename-suggestions-button';
|
|
634
634
|
this._buttonNode.setAttribute('tabindex', '0');
|
|
635
|
-
this._buttonGenHoverText = localize(
|
|
636
|
-
this._buttonCancelHoverText = localize(
|
|
635
|
+
this._buttonGenHoverText = localize(1392, "Generate New Name Suggestions");
|
|
636
|
+
this._buttonCancelHoverText = localize(1393, "Cancel");
|
|
637
637
|
this._buttonHoverContent = this._buttonGenHoverText;
|
|
638
638
|
this._disposables.add(getBaseLayerHoverDelegate().setupDelayedHover(this._buttonNode, () => ({
|
|
639
639
|
content: this._buttonHoverContent,
|
|
@@ -131,7 +131,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
|
|
|
131
131
|
constructor() {
|
|
132
132
|
super(true, {
|
|
133
133
|
id: 'editor.action.smartSelect.expand',
|
|
134
|
-
label: localize2(
|
|
134
|
+
label: localize2(1396, "Expand Selection"),
|
|
135
135
|
precondition: undefined,
|
|
136
136
|
kbOpts: {
|
|
137
137
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -145,7 +145,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
|
|
|
145
145
|
menuOpts: {
|
|
146
146
|
menuId: MenuId.MenubarSelectionMenu,
|
|
147
147
|
group: '1_basic',
|
|
148
|
-
title: localize(
|
|
148
|
+
title: localize(1394, "&&Expand Selection"),
|
|
149
149
|
order: 2
|
|
150
150
|
}
|
|
151
151
|
});
|
|
@@ -157,7 +157,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
|
|
|
157
157
|
constructor() {
|
|
158
158
|
super(false, {
|
|
159
159
|
id: 'editor.action.smartSelect.shrink',
|
|
160
|
-
label: localize2(
|
|
160
|
+
label: localize2(1397, "Shrink Selection"),
|
|
161
161
|
precondition: undefined,
|
|
162
162
|
kbOpts: {
|
|
163
163
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -171,7 +171,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
|
|
|
171
171
|
menuOpts: {
|
|
172
172
|
menuId: MenuId.MenubarSelectionMenu,
|
|
173
173
|
group: '1_basic',
|
|
174
|
-
title: localize(
|
|
174
|
+
title: localize(1395, "&&Shrink Selection"),
|
|
175
175
|
order: 3
|
|
176
176
|
}
|
|
177
177
|
});
|
|
@@ -42,9 +42,9 @@ let SnippetController2 = class SnippetController2 {
|
|
|
42
42
|
static get(editor) {
|
|
43
43
|
return editor.getContribution(SnippetController2_1.ID);
|
|
44
44
|
}
|
|
45
|
-
static { this.InSnippetMode = new RawContextKey('inSnippetMode', false, localize(
|
|
46
|
-
static { this.HasNextTabstop = new RawContextKey('hasNextTabstop', false, localize(
|
|
47
|
-
static { this.HasPrevTabstop = new RawContextKey('hasPrevTabstop', false, localize(
|
|
45
|
+
static { this.InSnippetMode = new RawContextKey('inSnippetMode', false, localize(1398, "Whether the editor in current in snippet mode")); }
|
|
46
|
+
static { this.HasNextTabstop = new RawContextKey('hasNextTabstop', false, localize(1399, "Whether there is a next tab stop when in snippet mode")); }
|
|
47
|
+
static { this.HasPrevTabstop = new RawContextKey('hasPrevTabstop', false, localize(1400, "Whether there is a previous tab stop when in snippet mode")); }
|
|
48
48
|
constructor(_editor, _logService, _languageFeaturesService, contextKeyService, _languageConfigurationService) {
|
|
49
49
|
this._editor = _editor;
|
|
50
50
|
this._logService = _logService;
|
|
@@ -130,7 +130,7 @@ let SnippetController2 = class SnippetController2 {
|
|
|
130
130
|
sortText: 'a'.repeat(i + 1),
|
|
131
131
|
range: activeChoice.range,
|
|
132
132
|
filterText: isAnyOfOptions ? `${word}_${option.value}` : undefined,
|
|
133
|
-
command: { id: 'jumpToNextSnippetPlaceholder', title: localize(
|
|
133
|
+
command: { id: 'jumpToNextSnippetPlaceholder', title: localize(1401, 'Go to next placeholder...') }
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
return { suggestions };
|
|
@@ -207,10 +207,10 @@ class TimeBasedVariableResolver {
|
|
|
207
207
|
constructor() {
|
|
208
208
|
this._date = new Date();
|
|
209
209
|
}
|
|
210
|
-
static { this.dayNames = [localize(
|
|
211
|
-
static { this.dayNamesShort = [localize(
|
|
212
|
-
static { this.monthNames = [localize(
|
|
213
|
-
static { this.monthNamesShort = [localize(
|
|
210
|
+
static { this.dayNames = [localize(1402, "Sunday"), localize(1403, "Monday"), localize(1404, "Tuesday"), localize(1405, "Wednesday"), localize(1406, "Thursday"), localize(1407, "Friday"), localize(1408, "Saturday")]; }
|
|
211
|
+
static { this.dayNamesShort = [localize(1409, "Sun"), localize(1410, "Mon"), localize(1411, "Tue"), localize(1412, "Wed"), localize(1413, "Thu"), localize(1414, "Fri"), localize(1415, "Sat")]; }
|
|
212
|
+
static { this.monthNames = [localize(1416, "January"), localize(1417, "February"), localize(1418, "March"), localize(1419, "April"), localize(1420, "May"), localize(1421, "June"), localize(1422, "July"), localize(1423, "August"), localize(1424, "September"), localize(1425, "October"), localize(1426, "November"), localize(1427, "December")]; }
|
|
213
|
+
static { this.monthNamesShort = [localize(1428, "Jan"), localize(1429, "Feb"), localize(1430, "Mar"), localize(1431, "Apr"), localize(1432, "May"), localize(1433, "Jun"), localize(1434, "Jul"), localize(1435, "Aug"), localize(1436, "Sep"), localize(1437, "Oct"), localize(1438, "Nov"), localize(1439, "Dec")]; }
|
|
214
214
|
resolve(variable) {
|
|
215
215
|
const { name } = variable;
|
|
216
216
|
if (name === 'CURRENT_YEAR') {
|
|
@@ -16,17 +16,17 @@ class ToggleStickyScroll extends EditorAction2 {
|
|
|
16
16
|
super({
|
|
17
17
|
id: 'editor.action.toggleStickyScroll',
|
|
18
18
|
title: {
|
|
19
|
-
...localize2(
|
|
20
|
-
mnemonicTitle: localize(
|
|
19
|
+
...localize2(1444, "Toggle Editor Sticky Scroll"),
|
|
20
|
+
mnemonicTitle: localize(1440, "&&Toggle Editor Sticky Scroll"),
|
|
21
21
|
},
|
|
22
22
|
metadata: {
|
|
23
|
-
description: localize2(
|
|
23
|
+
description: localize2(1445, "Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport"),
|
|
24
24
|
},
|
|
25
25
|
category: Categories.View,
|
|
26
26
|
toggled: {
|
|
27
27
|
condition: ContextKeyExpr.equals('config.editor.stickyScroll.enabled', true),
|
|
28
|
-
title: localize(
|
|
29
|
-
mnemonicTitle: localize(
|
|
28
|
+
title: localize(1441, "Sticky Scroll"),
|
|
29
|
+
mnemonicTitle: localize(1442, "&&Sticky Scroll"),
|
|
30
30
|
},
|
|
31
31
|
menu: [
|
|
32
32
|
{ id: MenuId.CommandPalette },
|
|
@@ -51,8 +51,8 @@ class FocusStickyScroll extends EditorAction2 {
|
|
|
51
51
|
super({
|
|
52
52
|
id: 'editor.action.focusStickyScroll',
|
|
53
53
|
title: {
|
|
54
|
-
...localize2(
|
|
55
|
-
mnemonicTitle: localize(
|
|
54
|
+
...localize2(1446, "Focus Editor Sticky Scroll"),
|
|
55
|
+
mnemonicTitle: localize(1443, "&&Focus Editor Sticky Scroll"),
|
|
56
56
|
},
|
|
57
57
|
precondition: ContextKeyExpr.and(ContextKeyExpr.has('config.editor.stickyScroll.enabled'), EditorContextKeys.stickyScrollVisible),
|
|
58
58
|
menu: [
|
|
@@ -68,7 +68,7 @@ class SelectNextStickyScrollLine extends EditorAction2 {
|
|
|
68
68
|
constructor() {
|
|
69
69
|
super({
|
|
70
70
|
id: 'editor.action.selectNextStickyScrollLine',
|
|
71
|
-
title: localize2(
|
|
71
|
+
title: localize2(1447, "Select the next editor sticky scroll line"),
|
|
72
72
|
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
|
|
73
73
|
keybinding: {
|
|
74
74
|
weight,
|
|
@@ -84,7 +84,7 @@ class SelectPreviousStickyScrollLine extends EditorAction2 {
|
|
|
84
84
|
constructor() {
|
|
85
85
|
super({
|
|
86
86
|
id: 'editor.action.selectPreviousStickyScrollLine',
|
|
87
|
-
title: localize2(
|
|
87
|
+
title: localize2(1448, "Select the previous sticky scroll line"),
|
|
88
88
|
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
|
|
89
89
|
keybinding: {
|
|
90
90
|
weight,
|
|
@@ -100,7 +100,7 @@ class GoToStickyScrollLine extends EditorAction2 {
|
|
|
100
100
|
constructor() {
|
|
101
101
|
super({
|
|
102
102
|
id: 'editor.action.goToFocusedStickyScrollLine',
|
|
103
|
-
title: localize2(
|
|
103
|
+
title: localize2(1449, "Go to the focused sticky scroll line"),
|
|
104
104
|
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
|
|
105
105
|
keybinding: {
|
|
106
106
|
weight,
|
|
@@ -116,7 +116,7 @@ class SelectEditor extends EditorAction2 {
|
|
|
116
116
|
constructor() {
|
|
117
117
|
super({
|
|
118
118
|
id: 'editor.action.selectEditor',
|
|
119
|
-
title: localize2(
|
|
119
|
+
title: localize2(1450, "Select Editor"),
|
|
120
120
|
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
|
|
121
121
|
keybinding: {
|
|
122
122
|
weight,
|