monaco-editor 0.56.0-dev-20260121 → 0.56.0-dev-20260123
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-C1mHXZTT.js → css.worker-ffp49_cC.js} +58 -56
- package/dev/vs/assets/{editor.worker-DMuwmZqI.js → editor.worker-waqpqn9S.js} +58 -56
- package/dev/vs/assets/{editorWebWorkerMain-BF9MKtzx.js → editorWebWorkerMain-rsQTQBqS.js} +58 -56
- package/dev/vs/assets/{html.worker-CnU9mi9l.js → html.worker-B-Dhwg_P.js} +58 -56
- package/dev/vs/assets/{json.worker-CnKP0LWf.js → json.worker-Cz-hJJ-X.js} +58 -56
- package/dev/vs/assets/{ts.worker-Cw4JXdL0.js → ts.worker-BHSjxfUg.js} +58 -56
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{css.worker-B9TJsr2Z.js → css.worker-DbKG6W5b.js} +2 -2
- package/dev/vs/{cssMode-B0VkNrib.js → cssMode-C3CjCC4D.js} +1 -1
- package/dev/vs/editor/editor.main.css +20 -49
- package/dev/vs/editor/editor.main.js +2 -2
- package/dev/vs/editor/editor.worker.js +1 -1
- package/dev/vs/{editor-CR18QzPP.js → editor-ByVgNwiX.js} +1232 -1136
- package/dev/vs/editor.js +1 -1
- package/dev/vs/{editorWorkerHost--0eDLpc-.js → editorWorkerHost-CSCfA6JO.js} +60 -58
- package/dev/vs/{freemarker2-Byr9HmH9.js → freemarker2-Bnmb8_zY.js} +1 -1
- package/dev/vs/{handlebars-BEVXeROF.js → handlebars-Dc4pj4ST.js} +1 -1
- package/dev/vs/{html-CetHjWIf.js → html-Gx48L-1h.js} +1 -1
- package/dev/vs/{html.worker-B4TnFQEA.js → html.worker-Q3fLApWB.js} +2 -2
- package/dev/vs/{htmlMode-BNKYUVNo.js → htmlMode-C0cIjK2m.js} +1 -1
- package/dev/vs/{index-g_7JbDIY.js → index-BmuewTCy.js} +1 -1
- package/dev/vs/index.js +1 -1
- package/dev/vs/{initialize-Bfvoywyr.js → initialize-J9jkp405.js} +1 -1
- package/dev/vs/{javascript-BEgEU725.js → javascript-D0xbuIYt.js} +1 -1
- package/dev/vs/{json.worker-C2LEGBju.js → json.worker-Byvb_Y0q.js} +2 -2
- package/dev/vs/{jsonMode-CT2UkfFE.js → jsonMode-Dc1J228j.js} +1 -1
- package/dev/vs/language/css/css.worker.js +1 -1
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/html.worker.js +1 -1
- package/dev/vs/language/html/monaco.contribution.js +1 -1
- package/dev/vs/language/json/json.worker.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/language/typescript/ts.worker.js +1 -1
- package/dev/vs/{liquid-D-aiCb1P.js → liquid-BS75ollB.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-CE9Occyu.js → lspLanguageFeatures-9tffJ5tN.js} +1 -1
- package/dev/vs/{mdx-DchJ8pbq.js → mdx-BafRHPZZ.js} +1 -1
- package/dev/vs/{monaco.contribution-CVBrIlxn.js → monaco.contribution-BOrU-t9u.js} +2 -2
- package/dev/vs/{monaco.contribution-CZxuzvA9.js → monaco.contribution-BuTPNIwn.js} +2 -2
- package/dev/vs/{monaco.contribution-Cw4OdERZ.js → monaco.contribution-D_m9AMAg.js} +2 -2
- package/dev/vs/{monaco.contribution-CHqb1dWh.js → monaco.contribution-DhNNHvGu.js} +2 -2
- package/dev/vs/nls/lang/cs.js +2 -2
- package/dev/vs/nls/lang/de.js +2 -2
- package/dev/vs/nls/lang/es.js +2 -2
- package/dev/vs/nls/lang/fr.js +2 -2
- package/dev/vs/nls/lang/it.js +2 -2
- package/dev/vs/nls/lang/ja.js +2 -2
- package/dev/vs/nls/lang/ko.js +2 -2
- package/dev/vs/nls/lang/pl.js +2 -2
- package/dev/vs/nls/lang/pt-br.js +2 -2
- package/dev/vs/nls/lang/ru.js +2 -2
- package/dev/vs/nls/lang/tr.js +2 -2
- package/dev/vs/nls/lang/zh-cn.js +2 -2
- package/dev/vs/nls/lang/zh-tw.js +2 -2
- package/dev/vs/{python-BCOSaCC8.js → python-D-c3bdyL.js} +1 -1
- package/dev/vs/{razor-BM2tZCwj.js → razor-v7al5kd4.js} +1 -1
- package/dev/vs/{toggleHighContrast-CLgtrrIB.js → toggleHighContrast-DkOkzJmE.js} +952 -839
- package/dev/vs/{ts.worker-CArJhH03.js → ts.worker-D8b1uxsf.js} +2 -2
- package/dev/vs/{tsMode-jpkv3SbL.js → tsMode-KTRrMuzt.js} +1 -1
- package/dev/vs/{typescript-f8pt88eA.js → typescript-BSiaiq-E.js} +1 -1
- package/dev/vs/{workers-zrUx_2Gw.js → workers-CRiEObDp.js} +1 -1
- package/dev/vs/{xml-CmSjtiR0.js → xml-CNu5z8S7.js} +1 -1
- package/dev/vs/{yaml-PRriLGdw.js → yaml-3Fy2WUAc.js} +1 -1
- package/esm/vs/base/browser/markdownRenderer.js +0 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/tree/abstractTree.js +15 -2
- package/esm/vs/base/common/actions.js +1 -1
- package/esm/vs/base/common/codiconsLibrary.js +2 -0
- package/esm/vs/base/common/errorMessage.js +6 -6
- package/esm/vs/base/common/keybindingLabels.js +20 -20
- package/esm/vs/base/common/network.js +0 -2
- package/esm/vs/base/common/observableInternal/observables/derivedImpl.js +10 -4
- 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/observableCodeEditor.js +41 -0
- package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
- package/esm/vs/editor/browser/services/renameSymbolTrackerService.js +18 -0
- package/esm/vs/editor/browser/view.js +3 -0
- package/esm/vs/editor/browser/viewParts/viewLines/viewLine.js +14 -0
- package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +7 -0
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +8 -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/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/browser/widget/multiDiffEditor/style.css +2 -41
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +55 -55
- package/esm/vs/editor/common/config/editorOptions.js +410 -410
- package/esm/vs/editor/common/core/editorColorRegistry.js +70 -70
- package/esm/vs/editor/common/editorContextKeys.js +48 -48
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +56 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +11 -11
- 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 +44 -34
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +5 -4
- 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/hoverColorPicker/hoverColorPickerParticipant.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.css +5 -6
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +2 -1
- package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +55 -47
- 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 +40 -40
- 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/hoverCopyButton.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +7 -7
- 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 +21 -21
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +107 -18
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +3 -3
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +2 -8
- 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 +10 -10
- 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 +9 -9
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- 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 +3 -3
- package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js +2 -1
- package/esm/vs/editor/standalone/browser/standaloneServices.js +2 -0
- package/esm/vs/nls/lang/cs.js +2 -2
- package/esm/vs/nls/lang/de.js +2 -2
- package/esm/vs/nls/lang/es.js +2 -2
- package/esm/vs/nls/lang/fr.js +2 -2
- package/esm/vs/nls/lang/it.js +2 -2
- package/esm/vs/nls/lang/ja.js +2 -2
- package/esm/vs/nls/lang/ko.js +2 -2
- package/esm/vs/nls/lang/pl.js +2 -2
- package/esm/vs/nls/lang/pt-br.js +2 -2
- package/esm/vs/nls/lang/ru.js +2 -2
- package/esm/vs/nls/lang/tr.js +2 -2
- package/esm/vs/nls/lang/zh-cn.js +2 -2
- package/esm/vs/nls/lang/zh-tw.js +2 -2
- 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 +35 -12
- package/esm/vs/platform/actionWidget/browser/actionWidget.css +10 -0
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/actions.js +2 -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/hover/browser/hoverWidget.js +1 -1
- package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- 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 +8 -8
- 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 +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +18 -18
- 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 +16 -16
- 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-57ylMqdQ.js → css.worker-vaqto7sr.js} +1 -1
- package/min/vs/assets/{editor.worker-C7rTzOHm.js → editor.worker-BuSZtiLy.js} +1 -1
- package/min/vs/assets/{editorWebWorkerMain-CRWuSSWk.js → editorWebWorkerMain-CcySIMs1.js} +1 -1
- package/min/vs/assets/{html.worker-DUkJXKh4.js → html.worker-tjoOkh5c.js} +29 -29
- package/min/vs/assets/{json.worker-DHFIjIvp.js → json.worker-ChdyNJDo.js} +1 -1
- package/min/vs/assets/{ts.worker-CKcSPjM2.js → ts.worker-2vlHj5mS.js} +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/css.worker-BZUqk_6e.js +1 -0
- package/min/vs/{cssMode-CheCY05R.js → cssMode-EV9AppWM.js} +1 -1
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +1 -1
- package/min/vs/editor/editor.worker.js +1 -1
- package/min/vs/{editor-DxYWA3-X.js → editor-CWlwBnTd.js} +100 -100
- package/min/vs/editor.js +1 -1
- package/min/vs/{editorWorkerHost-DnKHgOKB.js → editorWorkerHost-BdAdaHF2.js} +2 -2
- package/min/vs/{freemarker2-C7J7V1Hp.js → freemarker2-CVBBrC8k.js} +1 -1
- package/min/vs/{handlebars-DsCar5Ix.js → handlebars-jFcyrSuz.js} +1 -1
- package/min/vs/{html-BGLIaUZV.js → html-IMKtsVBe.js} +1 -1
- package/min/vs/html.worker-BWiqWL_n.js +1 -0
- package/min/vs/{htmlMode-BB6WOoy3.js → htmlMode-GF6ANT1a.js} +1 -1
- package/min/vs/{index-BdR0nSqf.js → index-Duco_ua_.js} +1 -1
- package/min/vs/index.js +1 -1
- package/min/vs/{initialize-BZ6ciHHH.js → initialize-ChT-7fRb.js} +1 -1
- package/min/vs/{javascript-CXE3i1eX.js → javascript-CBNkgHAf.js} +1 -1
- package/min/vs/json.worker-ByICzyV2.js +1 -0
- package/min/vs/{jsonMode-rtaE9alu.js → jsonMode-Dcnh-7Ad.js} +1 -1
- package/min/vs/language/css/css.worker.js +1 -1
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/html.worker.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/json.worker.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/language/typescript/ts.worker.js +1 -1
- package/min/vs/{liquid-CEdn0ovR.js → liquid-_SgSuP3b.js} +1 -1
- package/min/vs/{lspLanguageFeatures-CRAjJmzF.js → lspLanguageFeatures-GNn6MJbu.js} +1 -1
- package/min/vs/{mdx-DLDMIqnu.js → mdx-Erxbe_-t.js} +1 -1
- package/min/vs/{monaco.contribution-C67XgReK.js → monaco.contribution-0dpFCE3L.js} +1 -1
- package/min/vs/{monaco.contribution-DjiQkKLa.js → monaco.contribution-BnqxFPvj.js} +1 -1
- package/min/vs/{monaco.contribution-BrRAk-VA.js → monaco.contribution-BxCvVJFk.js} +1 -1
- package/min/vs/{monaco.contribution-CYT-Sx3l.js → monaco.contribution-CeyPlyhD.js} +1 -1
- package/min/vs/nls/lang/cs.js +2 -2
- package/min/vs/nls/lang/de.js +2 -2
- package/min/vs/nls/lang/es.js +2 -2
- package/min/vs/nls/lang/fr.js +2 -2
- package/min/vs/nls/lang/it.js +2 -2
- package/min/vs/nls/lang/ja.js +2 -2
- package/min/vs/nls/lang/ko.js +2 -2
- package/min/vs/nls/lang/pl.js +2 -2
- package/min/vs/nls/lang/pt-br.js +2 -2
- package/min/vs/nls/lang/ru.js +2 -2
- package/min/vs/nls/lang/tr.js +2 -2
- package/min/vs/nls/lang/zh-cn.js +2 -2
- package/min/vs/nls/lang/zh-tw.js +2 -2
- package/min/vs/{python-CKbl_I3e.js → python-DzOjdI_x.js} +1 -1
- package/min/vs/{razor--RjiPxbd.js → razor-Dwx3J3cB.js} +1 -1
- package/min/vs/{toggleHighContrast-BKDMxisH.js → toggleHighContrast-Bg5GLQ5J.js} +32 -32
- package/min/vs/ts.worker-GOUX_DXT.js +1 -0
- package/min/vs/{tsMode-C48d5M22.js → tsMode-DxnLySbu.js} +1 -1
- package/min/vs/{typescript-e7oUhPyX.js → typescript-Blb6Hbmt.js} +1 -1
- package/min/vs/{workers-CtpYUoCo.js → workers-BmNNZ7XJ.js} +1 -1
- package/min/vs/{xml-tOyfgws7.js → xml-VvrpA2Ly.js} +1 -1
- package/min/vs/{yaml-Cmf9NYDf.js → yaml-CsmbXG_T.js} +1 -1
- package/package.json +3 -3
- package/min/vs/css.worker-CkPP9VjP.js +0 -1
- package/min/vs/html.worker-uHOusrcK.js +0 -1
- package/min/vs/json.worker-DGsNKzKv.js +0 -1
- package/min/vs/ts.worker-DyDnfuDL.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { alert } from '../../../../base/browser/ui/aria/aria.js';
|
|
2
|
-
import {
|
|
2
|
+
import { raceCancellation, createCancelablePromise } from '../../../../base/common/async.js';
|
|
3
3
|
import { KeyChord } from '../../../../base/common/keyCodes.js';
|
|
4
4
|
import { assertType } from '../../../../base/common/types.js';
|
|
5
5
|
import { URI } from '../../../../base/common/uri.js';
|
|
@@ -35,7 +35,7 @@ import { IsWebContext } from '../../../../platform/contextkey/common/contextkeys
|
|
|
35
35
|
*--------------------------------------------------------------------------------------------*/
|
|
36
36
|
MenuRegistry.appendMenuItem(MenuId.EditorContext, {
|
|
37
37
|
submenu: MenuId.EditorContextPeek,
|
|
38
|
-
title: localize(
|
|
38
|
+
title: localize(1049, "Peek"),
|
|
39
39
|
group: 'navigation',
|
|
40
40
|
order: 100
|
|
41
41
|
});
|
|
@@ -204,12 +204,12 @@ class SymbolNavigationAction extends EditorAction2 {
|
|
|
204
204
|
//#region --- DEFINITION
|
|
205
205
|
class DefinitionAction extends SymbolNavigationAction {
|
|
206
206
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
207
|
-
return new ReferencesModel(await getDefinitionsAtPosition(languageFeaturesService.definitionProvider, model, position, false, token), localize(
|
|
207
|
+
return new ReferencesModel(await getDefinitionsAtPosition(languageFeaturesService.definitionProvider, model, position, false, token), localize(1050, 'Definitions'));
|
|
208
208
|
}
|
|
209
209
|
_getNoResultFoundMessage(info) {
|
|
210
210
|
return info && info.word
|
|
211
|
-
? localize(
|
|
212
|
-
: localize(
|
|
211
|
+
? localize(1051, "No definition found for '{0}'", info.word)
|
|
212
|
+
: localize(1052, "No definition found");
|
|
213
213
|
}
|
|
214
214
|
_getAlternativeCommand(editor) {
|
|
215
215
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeDefinitionCommand;
|
|
@@ -228,8 +228,8 @@ registerAction2(class GoToDefinitionAction extends DefinitionAction {
|
|
|
228
228
|
}, {
|
|
229
229
|
id: GoToDefinitionAction.id,
|
|
230
230
|
title: {
|
|
231
|
-
...localize2(
|
|
232
|
-
mnemonicTitle: localize(
|
|
231
|
+
...localize2(1076, "Go to Definition"),
|
|
232
|
+
mnemonicTitle: localize(1053, "Go to &&Definition"),
|
|
233
233
|
},
|
|
234
234
|
precondition: EditorContextKeys.hasDefinitionProvider,
|
|
235
235
|
keybinding: [{
|
|
@@ -264,7 +264,7 @@ registerAction2(class OpenDefinitionToSideAction extends DefinitionAction {
|
|
|
264
264
|
muteMessage: false
|
|
265
265
|
}, {
|
|
266
266
|
id: OpenDefinitionToSideAction.id,
|
|
267
|
-
title: localize2(
|
|
267
|
+
title: localize2(1077, "Open Definition to the Side"),
|
|
268
268
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasDefinitionProvider, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
269
269
|
keybinding: [{
|
|
270
270
|
when: EditorContextKeys.editorTextFocus,
|
|
@@ -288,7 +288,7 @@ registerAction2(class PeekDefinitionAction extends DefinitionAction {
|
|
|
288
288
|
muteMessage: false
|
|
289
289
|
}, {
|
|
290
290
|
id: PeekDefinitionAction.id,
|
|
291
|
-
title: localize2(
|
|
291
|
+
title: localize2(1078, "Peek Definition"),
|
|
292
292
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasDefinitionProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
293
293
|
keybinding: {
|
|
294
294
|
when: EditorContextKeys.editorTextFocus,
|
|
@@ -309,12 +309,12 @@ registerAction2(class PeekDefinitionAction extends DefinitionAction {
|
|
|
309
309
|
//#region --- DECLARATION
|
|
310
310
|
class DeclarationAction extends SymbolNavigationAction {
|
|
311
311
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
312
|
-
return new ReferencesModel(await getDeclarationsAtPosition(languageFeaturesService.declarationProvider, model, position, false, token), localize(
|
|
312
|
+
return new ReferencesModel(await getDeclarationsAtPosition(languageFeaturesService.declarationProvider, model, position, false, token), localize(1054, 'Declarations'));
|
|
313
313
|
}
|
|
314
314
|
_getNoResultFoundMessage(info) {
|
|
315
315
|
return info && info.word
|
|
316
|
-
? localize(
|
|
317
|
-
: localize(
|
|
316
|
+
? localize(1055, "No declaration found for '{0}'", info.word)
|
|
317
|
+
: localize(1056, "No declaration found");
|
|
318
318
|
}
|
|
319
319
|
_getAlternativeCommand(editor) {
|
|
320
320
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeDeclarationCommand;
|
|
@@ -333,8 +333,8 @@ registerAction2(class GoToDeclarationAction extends DeclarationAction {
|
|
|
333
333
|
}, {
|
|
334
334
|
id: GoToDeclarationAction.id,
|
|
335
335
|
title: {
|
|
336
|
-
...localize2(
|
|
337
|
-
mnemonicTitle: localize(
|
|
336
|
+
...localize2(1079, "Go to Declaration"),
|
|
337
|
+
mnemonicTitle: localize(1057, "Go to &&Declaration"),
|
|
338
338
|
},
|
|
339
339
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasDeclarationProvider, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
340
340
|
menu: [{
|
|
@@ -351,8 +351,8 @@ registerAction2(class GoToDeclarationAction extends DeclarationAction {
|
|
|
351
351
|
}
|
|
352
352
|
_getNoResultFoundMessage(info) {
|
|
353
353
|
return info && info.word
|
|
354
|
-
? localize(
|
|
355
|
-
: localize(
|
|
354
|
+
? localize(1058, "No declaration found for '{0}'", info.word)
|
|
355
|
+
: localize(1059, "No declaration found");
|
|
356
356
|
}
|
|
357
357
|
});
|
|
358
358
|
registerAction2(class PeekDeclarationAction extends DeclarationAction {
|
|
@@ -363,7 +363,7 @@ registerAction2(class PeekDeclarationAction extends DeclarationAction {
|
|
|
363
363
|
muteMessage: false
|
|
364
364
|
}, {
|
|
365
365
|
id: 'editor.action.peekDeclaration',
|
|
366
|
-
title: localize2(
|
|
366
|
+
title: localize2(1080, "Peek Declaration"),
|
|
367
367
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasDeclarationProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
368
368
|
menu: {
|
|
369
369
|
id: MenuId.EditorContextPeek,
|
|
@@ -377,12 +377,12 @@ registerAction2(class PeekDeclarationAction extends DeclarationAction {
|
|
|
377
377
|
//#region --- TYPE DEFINITION
|
|
378
378
|
class TypeDefinitionAction extends SymbolNavigationAction {
|
|
379
379
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
380
|
-
return new ReferencesModel(await getTypeDefinitionsAtPosition(languageFeaturesService.typeDefinitionProvider, model, position, false, token), localize(
|
|
380
|
+
return new ReferencesModel(await getTypeDefinitionsAtPosition(languageFeaturesService.typeDefinitionProvider, model, position, false, token), localize(1060, 'Type Definitions'));
|
|
381
381
|
}
|
|
382
382
|
_getNoResultFoundMessage(info) {
|
|
383
383
|
return info && info.word
|
|
384
|
-
? localize(
|
|
385
|
-
: localize(
|
|
384
|
+
? localize(1061, "No type definition found for '{0}'", info.word)
|
|
385
|
+
: localize(1062, "No type definition found");
|
|
386
386
|
}
|
|
387
387
|
_getAlternativeCommand(editor) {
|
|
388
388
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeTypeDefinitionCommand;
|
|
@@ -401,8 +401,8 @@ registerAction2(class GoToTypeDefinitionAction extends TypeDefinitionAction {
|
|
|
401
401
|
}, {
|
|
402
402
|
id: GoToTypeDefinitionAction.ID,
|
|
403
403
|
title: {
|
|
404
|
-
...localize2(
|
|
405
|
-
mnemonicTitle: localize(
|
|
404
|
+
...localize2(1081, "Go to Type Definition"),
|
|
405
|
+
mnemonicTitle: localize(1063, "Go to &&Type Definition"),
|
|
406
406
|
},
|
|
407
407
|
precondition: EditorContextKeys.hasTypeDefinitionProvider,
|
|
408
408
|
keybinding: {
|
|
@@ -432,7 +432,7 @@ registerAction2(class PeekTypeDefinitionAction extends TypeDefinitionAction {
|
|
|
432
432
|
muteMessage: false
|
|
433
433
|
}, {
|
|
434
434
|
id: PeekTypeDefinitionAction.ID,
|
|
435
|
-
title: localize2(
|
|
435
|
+
title: localize2(1082, "Peek Type Definition"),
|
|
436
436
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasTypeDefinitionProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
437
437
|
menu: {
|
|
438
438
|
id: MenuId.EditorContextPeek,
|
|
@@ -446,12 +446,12 @@ registerAction2(class PeekTypeDefinitionAction extends TypeDefinitionAction {
|
|
|
446
446
|
//#region --- IMPLEMENTATION
|
|
447
447
|
class ImplementationAction extends SymbolNavigationAction {
|
|
448
448
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
449
|
-
return new ReferencesModel(await getImplementationsAtPosition(languageFeaturesService.implementationProvider, model, position, false, token), localize(
|
|
449
|
+
return new ReferencesModel(await getImplementationsAtPosition(languageFeaturesService.implementationProvider, model, position, false, token), localize(1064, 'Implementations'));
|
|
450
450
|
}
|
|
451
451
|
_getNoResultFoundMessage(info) {
|
|
452
452
|
return info && info.word
|
|
453
|
-
? localize(
|
|
454
|
-
: localize(
|
|
453
|
+
? localize(1065, "No implementation found for '{0}'", info.word)
|
|
454
|
+
: localize(1066, "No implementation found");
|
|
455
455
|
}
|
|
456
456
|
_getAlternativeCommand(editor) {
|
|
457
457
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeImplementationCommand;
|
|
@@ -470,8 +470,8 @@ registerAction2(class GoToImplementationAction extends ImplementationAction {
|
|
|
470
470
|
}, {
|
|
471
471
|
id: GoToImplementationAction.ID,
|
|
472
472
|
title: {
|
|
473
|
-
...localize2(
|
|
474
|
-
mnemonicTitle: localize(
|
|
473
|
+
...localize2(1083, "Go to Implementations"),
|
|
474
|
+
mnemonicTitle: localize(1067, "Go to &&Implementations"),
|
|
475
475
|
},
|
|
476
476
|
precondition: EditorContextKeys.hasImplementationProvider,
|
|
477
477
|
keybinding: {
|
|
@@ -501,7 +501,7 @@ registerAction2(class PeekImplementationAction extends ImplementationAction {
|
|
|
501
501
|
muteMessage: false
|
|
502
502
|
}, {
|
|
503
503
|
id: PeekImplementationAction.ID,
|
|
504
|
-
title: localize2(
|
|
504
|
+
title: localize2(1084, "Peek Implementations"),
|
|
505
505
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasImplementationProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
506
506
|
keybinding: {
|
|
507
507
|
when: EditorContextKeys.editorTextFocus,
|
|
@@ -521,8 +521,8 @@ registerAction2(class PeekImplementationAction extends ImplementationAction {
|
|
|
521
521
|
class ReferencesAction extends SymbolNavigationAction {
|
|
522
522
|
_getNoResultFoundMessage(info) {
|
|
523
523
|
return info
|
|
524
|
-
? localize(
|
|
525
|
-
: localize(
|
|
524
|
+
? localize(1068, "No references found for '{0}'", info.word)
|
|
525
|
+
: localize(1069, "No references found");
|
|
526
526
|
}
|
|
527
527
|
_getAlternativeCommand(editor) {
|
|
528
528
|
return editor.getOption(67 /* EditorOption.gotoLocation */).alternativeReferenceCommand;
|
|
@@ -540,8 +540,8 @@ registerAction2(class GoToReferencesAction extends ReferencesAction {
|
|
|
540
540
|
}, {
|
|
541
541
|
id: 'editor.action.goToReferences',
|
|
542
542
|
title: {
|
|
543
|
-
...localize2(
|
|
544
|
-
mnemonicTitle: localize(
|
|
543
|
+
...localize2(1085, "Go to References"),
|
|
544
|
+
mnemonicTitle: localize(1070, "Go to &&References"),
|
|
545
545
|
},
|
|
546
546
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasReferenceProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
547
547
|
keybinding: {
|
|
@@ -562,7 +562,7 @@ registerAction2(class GoToReferencesAction extends ReferencesAction {
|
|
|
562
562
|
});
|
|
563
563
|
}
|
|
564
564
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
565
|
-
return new ReferencesModel(await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, true, false, token), localize(
|
|
565
|
+
return new ReferencesModel(await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, true, false, token), localize(1071, 'References'));
|
|
566
566
|
}
|
|
567
567
|
});
|
|
568
568
|
registerAction2(class PeekReferencesAction extends ReferencesAction {
|
|
@@ -573,7 +573,7 @@ registerAction2(class PeekReferencesAction extends ReferencesAction {
|
|
|
573
573
|
muteMessage: false
|
|
574
574
|
}, {
|
|
575
575
|
id: 'editor.action.referenceSearch.trigger',
|
|
576
|
-
title: localize2(
|
|
576
|
+
title: localize2(1086, "Peek References"),
|
|
577
577
|
precondition: ContextKeyExpr.and(EditorContextKeys.hasReferenceProvider, PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
578
578
|
menu: {
|
|
579
579
|
id: MenuId.EditorContextPeek,
|
|
@@ -583,7 +583,7 @@ registerAction2(class PeekReferencesAction extends ReferencesAction {
|
|
|
583
583
|
});
|
|
584
584
|
}
|
|
585
585
|
async _getLocationModel(languageFeaturesService, model, position, token) {
|
|
586
|
-
return new ReferencesModel(await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, false, false, token), localize(
|
|
586
|
+
return new ReferencesModel(await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, false, false, token), localize(1072, 'References'));
|
|
587
587
|
}
|
|
588
588
|
});
|
|
589
589
|
//#endregion
|
|
@@ -592,17 +592,17 @@ class GenericGoToLocationAction extends SymbolNavigationAction {
|
|
|
592
592
|
constructor(config, _references, _gotoMultipleBehaviour) {
|
|
593
593
|
super(config, {
|
|
594
594
|
id: 'editor.action.goToLocation',
|
|
595
|
-
title: localize2(
|
|
595
|
+
title: localize2(1087, "Go to Any Symbol"),
|
|
596
596
|
precondition: ContextKeyExpr.and(PeekContext.notInPeekEditor, EditorContextKeys.isInEmbeddedEditor.toNegated()),
|
|
597
597
|
});
|
|
598
598
|
this._references = _references;
|
|
599
599
|
this._gotoMultipleBehaviour = _gotoMultipleBehaviour;
|
|
600
600
|
}
|
|
601
601
|
async _getLocationModel(languageFeaturesService, _model, _position, _token) {
|
|
602
|
-
return new ReferencesModel(this._references, localize(
|
|
602
|
+
return new ReferencesModel(this._references, localize(1073, 'Locations'));
|
|
603
603
|
}
|
|
604
604
|
_getNoResultFoundMessage(info) {
|
|
605
|
-
return info && localize(
|
|
605
|
+
return info && localize(1074, "No results for '{0}'", info.word) || '';
|
|
606
606
|
}
|
|
607
607
|
_getGoToPreference(editor) {
|
|
608
608
|
return this._gotoMultipleBehaviour ?? editor.getOption(67 /* EditorOption.gotoLocation */).multipleReferences;
|
|
@@ -681,7 +681,7 @@ CommandsRegistry.registerCommand({
|
|
|
681
681
|
if (!controller) {
|
|
682
682
|
return undefined;
|
|
683
683
|
}
|
|
684
|
-
const references = createCancelablePromise(token => getReferencesAtPosition(languageFeaturesService.referenceProvider, control.getModel(), Position.lift(position), false, false, token).then(references => new ReferencesModel(references, localize(
|
|
684
|
+
const references = createCancelablePromise(token => getReferencesAtPosition(languageFeaturesService.referenceProvider, control.getModel(), Position.lift(position), false, false, token).then(references => new ReferencesModel(references, localize(1075, 'References'))));
|
|
685
685
|
const range = new Range(position.lineNumber, position.column, position.lineNumber, position.column);
|
|
686
686
|
return Promise.resolve(controller.toggleWidget(range, references, false));
|
|
687
687
|
});
|
|
@@ -151,7 +151,7 @@ let GotoDefinitionAtPositionEditorContribution = class GotoDefinitionAtPositionE
|
|
|
151
151
|
combinedRange = Range.plusRange(combinedRange, originSelectionRange);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
this.addDecoration(combinedRange, new MarkdownString().appendText(localize(
|
|
154
|
+
this.addDecoration(combinedRange, new MarkdownString().appendText(localize(1088, "Click to show {0} definitions.", results.length)));
|
|
155
155
|
}
|
|
156
156
|
else {
|
|
157
157
|
// Single result
|
|
@@ -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(1089, "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(1090, "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(1091, "{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(1092, "{0} references", len));
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
120
|
-
this.badge.setTitleFormat(localize(
|
|
120
|
+
this.badge.setTitleFormat(localize(1093, "{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(1094, "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(1095, "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(1096, "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(1097, "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(1098, "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(1099, "{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(1100, "1 symbol in {0}, full path {1}", basename(this.uri), this.uri.fsPath);
|
|
86
86
|
}
|
|
87
87
|
else {
|
|
88
|
-
return localize(
|
|
88
|
+
return localize(1101, "{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(1102, "No results found");
|
|
153
153
|
}
|
|
154
154
|
else if (this.references.length === 1) {
|
|
155
|
-
return localize(
|
|
155
|
+
return localize(1103, "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(1104, "Found {0} symbols in {1}", this.references.length, this.groups[0].uri.fsPath);
|
|
159
159
|
}
|
|
160
160
|
else {
|
|
161
|
-
return localize(
|
|
161
|
+
return localize(1105, "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(1106, "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(1107, "Symbol {0} of {1}, {2} for next", this._currentIdx + 1, this._currentModel.references.length, kb.getLabel())
|
|
115
|
+
: localize(1108, "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(1112, "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(1109, "Log Texture Atlas Stats"),
|
|
36
36
|
id: 'logTextureAtlasStats',
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
label: localize(
|
|
39
|
+
label: localize(1110, "Save Texture Atlas"),
|
|
40
40
|
id: 'saveTextureAtlas',
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
label: localize(
|
|
43
|
+
label: localize(1111, "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(1113, "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(1114, "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(1118, "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(1119, '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(1115, 'The hover will not automatically take focus.'),
|
|
46
|
+
localize(1116, 'The hover will take focus only if it is already visible.'),
|
|
47
|
+
localize(1117, '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(1120, "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(1121, '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(1122, "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(1123, "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(1124, '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(1125, "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(1126, '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(1127, "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(1128, '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(1129, "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(1130, '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(1131, "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(1132, '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(1133, "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(1134, '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(1135, "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(1136, '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(1137, "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(1138, 'Go to the bottom of the editor hover.')
|
|
376
376
|
},
|
|
377
377
|
});
|
|
378
378
|
}
|