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
|
@@ -31,7 +31,7 @@ let HoverCopyButton = class HoverCopyButton extends Disposable {
|
|
|
31
31
|
this._hoverService = _hoverService;
|
|
32
32
|
this._container.classList.add('hover-row-with-copy');
|
|
33
33
|
this._button = this._register(new SimpleButton({
|
|
34
|
-
label: localize(
|
|
34
|
+
label: localize(1139, "Copy"),
|
|
35
35
|
icon: Codicon.copy,
|
|
36
36
|
onTrigger: () => this._copyContent(),
|
|
37
37
|
className: 'hover-copy-button',
|
|
@@ -42,7 +42,7 @@ let HoverCopyButton = class HoverCopyButton extends Disposable {
|
|
|
42
42
|
const content = this._getContent();
|
|
43
43
|
if (content) {
|
|
44
44
|
await this._clipboardService.writeText(content);
|
|
45
|
-
status(localize(
|
|
45
|
+
status(localize(1140, "Copied to clipboard"));
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
};
|
|
@@ -36,8 +36,8 @@ var __param = (undefined && undefined.__param) || function (paramIndex, decorato
|
|
|
36
36
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
37
37
|
};
|
|
38
38
|
const $ = $$1;
|
|
39
|
-
const increaseHoverVerbosityIcon = registerIcon('hover-increase-verbosity', Codicon.add, localize(
|
|
40
|
-
const decreaseHoverVerbosityIcon = registerIcon('hover-decrease-verbosity', Codicon.remove, localize(
|
|
39
|
+
const increaseHoverVerbosityIcon = registerIcon('hover-increase-verbosity', Codicon.add, localize(1141, 'Icon for increaseing hover verbosity.'));
|
|
40
|
+
const decreaseHoverVerbosityIcon = registerIcon('hover-decrease-verbosity', Codicon.remove, localize(1142, 'Icon for decreasing hover verbosity.'));
|
|
41
41
|
class MarkdownHover {
|
|
42
42
|
constructor(owner, range, contents, isBeforeContent, ordinal, source = undefined) {
|
|
43
43
|
this.owner = owner;
|
|
@@ -80,7 +80,7 @@ let MarkdownHoverParticipant = class MarkdownHoverParticipant {
|
|
|
80
80
|
this.hoverOrdinal = 3;
|
|
81
81
|
}
|
|
82
82
|
createLoadingMessage(anchor) {
|
|
83
|
-
return new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(localize(
|
|
83
|
+
return new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(localize(1143, "Loading..."))], false, 2000);
|
|
84
84
|
}
|
|
85
85
|
computeSync(anchor, lineDecorations) {
|
|
86
86
|
if (!this._editor.hasModel() || anchor.type !== 1 /* HoverAnchorType.Range */) {
|
|
@@ -101,12 +101,12 @@ let MarkdownHoverParticipant = class MarkdownHoverParticipant {
|
|
|
101
101
|
if (stopRenderingLineAfter >= 0 && lineLength > stopRenderingLineAfter && anchor.range.startColumn >= stopRenderingLineAfter) {
|
|
102
102
|
stopRenderingMessage = true;
|
|
103
103
|
result.push(new MarkdownHover(this, anchor.range, [{
|
|
104
|
-
value: localize(
|
|
104
|
+
value: localize(1144, "Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.")
|
|
105
105
|
}], false, index++));
|
|
106
106
|
}
|
|
107
107
|
if (!stopRenderingMessage && typeof maxTokenizationLineLength === 'number' && lineLength >= maxTokenizationLineLength) {
|
|
108
108
|
result.push(new MarkdownHover(this, anchor.range, [{
|
|
109
|
-
value: localize(
|
|
109
|
+
value: localize(1145, "Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")
|
|
110
110
|
}], false, index++));
|
|
111
111
|
}
|
|
112
112
|
let isBeforeContent = false;
|
|
@@ -402,9 +402,9 @@ function renderMarkdown(editor, markdownHover, markdownRendererService, onFinish
|
|
|
402
402
|
function labelForHoverVerbosityAction(keybindingService, action) {
|
|
403
403
|
switch (action) {
|
|
404
404
|
case HoverVerbosityAction.Increase:
|
|
405
|
-
return keybindingService.appendKeybinding(localize(
|
|
405
|
+
return keybindingService.appendKeybinding(localize(1146, "Increase Hover Verbosity"), INCREASE_HOVER_VERBOSITY_ACTION_ID);
|
|
406
406
|
case HoverVerbosityAction.Decrease:
|
|
407
|
-
return keybindingService.appendKeybinding(localize(
|
|
407
|
+
return keybindingService.appendKeybinding(localize(1147, "Decrease Hover Verbosity"), DECREASE_HOVER_VERBOSITY_ACTION_ID);
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
410
|
|
|
@@ -173,7 +173,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
173
173
|
const markerController = MarkerController.get(this._editor);
|
|
174
174
|
if (markerController) {
|
|
175
175
|
context.statusBar.addAction({
|
|
176
|
-
label: localize(
|
|
176
|
+
label: localize(1148, "View Problem"),
|
|
177
177
|
commandId: NextMarkerAction.ID,
|
|
178
178
|
run: () => {
|
|
179
179
|
context.hide();
|
|
@@ -188,14 +188,14 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
188
188
|
if (this.recentMarkerCodeActionsInfo) {
|
|
189
189
|
if (IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker) === IMarkerData.makeKey(markerHover.marker)) {
|
|
190
190
|
if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
|
|
191
|
-
quickfixPlaceholderElement.textContent = localize(
|
|
191
|
+
quickfixPlaceholderElement.textContent = localize(1149, "No quick fixes available");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
else {
|
|
195
195
|
this.recentMarkerCodeActionsInfo = undefined;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? Disposable.None : disposableTimeout(() => quickfixPlaceholderElement.textContent = localize(
|
|
198
|
+
const updatePlaceholderDisposable = this.recentMarkerCodeActionsInfo && !this.recentMarkerCodeActionsInfo.hasCodeActions ? Disposable.None : disposableTimeout(() => quickfixPlaceholderElement.textContent = localize(1150, "Checking for quick fixes..."), 200, disposables);
|
|
199
199
|
if (!quickfixPlaceholderElement.textContent) {
|
|
200
200
|
// Have some content in here to avoid flickering
|
|
201
201
|
quickfixPlaceholderElement.textContent = String.fromCharCode(0xA0); //
|
|
@@ -207,7 +207,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
207
207
|
this.recentMarkerCodeActionsInfo = { marker: markerHover.marker, hasCodeActions: actions.validActions.length > 0 };
|
|
208
208
|
if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
|
|
209
209
|
actions.dispose();
|
|
210
|
-
quickfixPlaceholderElement.textContent = localize(
|
|
210
|
+
quickfixPlaceholderElement.textContent = localize(1151, "No quick fixes available");
|
|
211
211
|
return;
|
|
212
212
|
}
|
|
213
213
|
quickfixPlaceholderElement.style.display = 'none';
|
|
@@ -218,7 +218,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
|
|
|
218
218
|
}
|
|
219
219
|
}));
|
|
220
220
|
context.statusBar.addAction({
|
|
221
|
-
label: localize(
|
|
221
|
+
label: localize(1152, "Quick Fix..."),
|
|
222
222
|
commandId: quickFixCommandId,
|
|
223
223
|
run: (target) => {
|
|
224
224
|
showing = true;
|
|
@@ -108,7 +108,7 @@ class InPlaceReplaceUp extends EditorAction {
|
|
|
108
108
|
constructor() {
|
|
109
109
|
super({
|
|
110
110
|
id: 'editor.action.inPlaceReplace.up',
|
|
111
|
-
label: localize2(
|
|
111
|
+
label: localize2(1255, "Replace with Previous Value"),
|
|
112
112
|
precondition: EditorContextKeys.writable,
|
|
113
113
|
kbOpts: {
|
|
114
114
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -129,7 +129,7 @@ class InPlaceReplaceDown extends EditorAction {
|
|
|
129
129
|
constructor() {
|
|
130
130
|
super({
|
|
131
131
|
id: 'editor.action.inPlaceReplace.down',
|
|
132
|
-
label: localize2(
|
|
132
|
+
label: localize2(1256, "Replace with Next Value"),
|
|
133
133
|
precondition: EditorContextKeys.writable,
|
|
134
134
|
kbOpts: {
|
|
135
135
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -31,10 +31,10 @@ class IndentationToSpacesAction extends EditorAction {
|
|
|
31
31
|
constructor() {
|
|
32
32
|
super({
|
|
33
33
|
id: IndentationToSpacesAction.ID,
|
|
34
|
-
label: localize2(
|
|
34
|
+
label: localize2(1157, "Convert Indentation to Spaces"),
|
|
35
35
|
precondition: EditorContextKeys.writable,
|
|
36
36
|
metadata: {
|
|
37
|
-
description: localize2(
|
|
37
|
+
description: localize2(1158, "Convert the tab indentation to spaces."),
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
}
|
|
@@ -62,10 +62,10 @@ class IndentationToTabsAction extends EditorAction {
|
|
|
62
62
|
constructor() {
|
|
63
63
|
super({
|
|
64
64
|
id: IndentationToTabsAction.ID,
|
|
65
|
-
label: localize2(
|
|
65
|
+
label: localize2(1159, "Convert Indentation to Tabs"),
|
|
66
66
|
precondition: EditorContextKeys.writable,
|
|
67
67
|
metadata: {
|
|
68
|
-
description: localize2(
|
|
68
|
+
description: localize2(1160, "Convert the spaces indentation to tabs."),
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
}
|
|
@@ -108,17 +108,17 @@ class ChangeIndentationSizeAction extends EditorAction {
|
|
|
108
108
|
label: n.toString(),
|
|
109
109
|
// add description for tabSize value set in the configuration
|
|
110
110
|
description: (n === creationOpts.tabSize && n === modelOpts.tabSize
|
|
111
|
-
? localize(
|
|
111
|
+
? localize(1153, "Configured Tab Size")
|
|
112
112
|
: n === creationOpts.tabSize
|
|
113
|
-
? localize(
|
|
113
|
+
? localize(1154, "Default Tab Size")
|
|
114
114
|
: n === modelOpts.tabSize
|
|
115
|
-
? localize(
|
|
115
|
+
? localize(1155, "Current Tab Size")
|
|
116
116
|
: undefined)
|
|
117
117
|
}));
|
|
118
118
|
// auto focus the tabSize set for the current editor
|
|
119
119
|
const autoFocusIndex = Math.min(model.getOptions().tabSize - 1, 7);
|
|
120
120
|
setTimeout(() => {
|
|
121
|
-
quickInputService.pick(picks, { placeHolder: localize(
|
|
121
|
+
quickInputService.pick(picks, { placeHolder: localize(1156, "Select Tab Size for Current File"), activeItem: picks[autoFocusIndex] }).then(pick => {
|
|
122
122
|
if (pick) {
|
|
123
123
|
if (model && !model.isDisposed()) {
|
|
124
124
|
const pickedVal = parseInt(pick.label, 10);
|
|
@@ -145,10 +145,10 @@ class IndentUsingTabs extends ChangeIndentationSizeAction {
|
|
|
145
145
|
constructor() {
|
|
146
146
|
super(false, false, {
|
|
147
147
|
id: IndentUsingTabs.ID,
|
|
148
|
-
label: localize2(
|
|
148
|
+
label: localize2(1161, "Indent Using Tabs"),
|
|
149
149
|
precondition: undefined,
|
|
150
150
|
metadata: {
|
|
151
|
-
description: localize2(
|
|
151
|
+
description: localize2(1162, "Use indentation with tabs."),
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
154
|
}
|
|
@@ -158,10 +158,10 @@ class IndentUsingSpaces extends ChangeIndentationSizeAction {
|
|
|
158
158
|
constructor() {
|
|
159
159
|
super(true, false, {
|
|
160
160
|
id: IndentUsingSpaces.ID,
|
|
161
|
-
label: localize2(
|
|
161
|
+
label: localize2(1163, "Indent Using Spaces"),
|
|
162
162
|
precondition: undefined,
|
|
163
163
|
metadata: {
|
|
164
|
-
description: localize2(
|
|
164
|
+
description: localize2(1164, "Use indentation with spaces."),
|
|
165
165
|
}
|
|
166
166
|
});
|
|
167
167
|
}
|
|
@@ -171,10 +171,10 @@ class ChangeTabDisplaySize extends ChangeIndentationSizeAction {
|
|
|
171
171
|
constructor() {
|
|
172
172
|
super(true, true, {
|
|
173
173
|
id: ChangeTabDisplaySize.ID,
|
|
174
|
-
label: localize2(
|
|
174
|
+
label: localize2(1165, "Change Tab Display Size"),
|
|
175
175
|
precondition: undefined,
|
|
176
176
|
metadata: {
|
|
177
|
-
description: localize2(
|
|
177
|
+
description: localize2(1166, "Change the space size equivalent of the tab."),
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
180
|
}
|
|
@@ -184,10 +184,10 @@ class DetectIndentation extends EditorAction {
|
|
|
184
184
|
constructor() {
|
|
185
185
|
super({
|
|
186
186
|
id: DetectIndentation.ID,
|
|
187
|
-
label: localize2(
|
|
187
|
+
label: localize2(1167, "Detect Indentation from Content"),
|
|
188
188
|
precondition: undefined,
|
|
189
189
|
metadata: {
|
|
190
|
-
description: localize2(
|
|
190
|
+
description: localize2(1168, "Detect the indentation from content."),
|
|
191
191
|
}
|
|
192
192
|
});
|
|
193
193
|
}
|
|
@@ -205,10 +205,10 @@ class ReindentLinesAction extends EditorAction {
|
|
|
205
205
|
constructor() {
|
|
206
206
|
super({
|
|
207
207
|
id: 'editor.action.reindentlines',
|
|
208
|
-
label: localize2(
|
|
208
|
+
label: localize2(1169, "Reindent Lines"),
|
|
209
209
|
precondition: EditorContextKeys.writable,
|
|
210
210
|
metadata: {
|
|
211
|
-
description: localize2(
|
|
211
|
+
description: localize2(1170, "Reindent the lines of the editor."),
|
|
212
212
|
},
|
|
213
213
|
canTriggerInlineEdits: true,
|
|
214
214
|
});
|
|
@@ -231,10 +231,10 @@ class ReindentSelectedLinesAction extends EditorAction {
|
|
|
231
231
|
constructor() {
|
|
232
232
|
super({
|
|
233
233
|
id: 'editor.action.reindentselectedlines',
|
|
234
|
-
label: localize2(
|
|
234
|
+
label: localize2(1171, "Reindent Selected Lines"),
|
|
235
235
|
precondition: EditorContextKeys.writable,
|
|
236
236
|
metadata: {
|
|
237
|
-
description: localize2(
|
|
237
|
+
description: localize2(1172, "Reindent the selected lines of the editor."),
|
|
238
238
|
},
|
|
239
239
|
canTriggerInlineEdits: true,
|
|
240
240
|
});
|
|
@@ -83,7 +83,7 @@ let InlayHintsHover = class InlayHintsHover extends MarkdownHoverParticipant {
|
|
|
83
83
|
}
|
|
84
84
|
// (1.2) Inlay dbl-click gesture
|
|
85
85
|
if (isNonEmptyArray(part.item.hint.textEdits)) {
|
|
86
|
-
executor.emitOne(new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(localize(
|
|
86
|
+
executor.emitOne(new MarkdownHover(this, anchor.range, [new MarkdownString().appendText(localize(1173, "Double-click to insert"))], false, 10001));
|
|
87
87
|
}
|
|
88
88
|
// (2) Inlay Label Part Tooltip
|
|
89
89
|
let partTooltip;
|
|
@@ -102,19 +102,19 @@ let InlayHintsHover = class InlayHintsHover extends MarkdownHoverParticipant {
|
|
|
102
102
|
const useMetaKey = this._editor.getOption(86 /* EditorOption.multiCursorModifier */) === 'altKey';
|
|
103
103
|
const kb = useMetaKey
|
|
104
104
|
? isMacintosh
|
|
105
|
-
? localize(
|
|
106
|
-
: localize(
|
|
105
|
+
? localize(1174, "cmd + click")
|
|
106
|
+
: localize(1175, "ctrl + click")
|
|
107
107
|
: isMacintosh
|
|
108
|
-
? localize(
|
|
109
|
-
: localize(
|
|
108
|
+
? localize(1176, "option + click")
|
|
109
|
+
: localize(1177, "alt + click");
|
|
110
110
|
if (part.part.location && part.part.command) {
|
|
111
|
-
linkHint = new MarkdownString().appendText(localize(
|
|
111
|
+
linkHint = new MarkdownString().appendText(localize(1178, 'Go to Definition ({0}), right click for more', kb));
|
|
112
112
|
}
|
|
113
113
|
else if (part.part.location) {
|
|
114
|
-
linkHint = new MarkdownString().appendText(localize(
|
|
114
|
+
linkHint = new MarkdownString().appendText(localize(1179, 'Go to Definition ({0})', kb));
|
|
115
115
|
}
|
|
116
116
|
else if (part.part.command) {
|
|
117
|
-
linkHint = new MarkdownString(`[${localize(
|
|
117
|
+
linkHint = new MarkdownString(`[${localize(1180, "Execute Command")}](${asCommandLink(part.part.command)} "${part.part.command.title}") (${kb})`, { isTrusted: true });
|
|
118
118
|
}
|
|
119
119
|
if (linkHint) {
|
|
120
120
|
executor.emitOne(new MarkdownHover(this, anchor.range, [linkHint], false, 10000));
|
|
@@ -27,7 +27,7 @@ class ShowNextInlineSuggestionAction extends EditorAction {
|
|
|
27
27
|
constructor() {
|
|
28
28
|
super({
|
|
29
29
|
id: ShowNextInlineSuggestionAction.ID,
|
|
30
|
-
label: localize2(
|
|
30
|
+
label: localize2(1192, "Show Next Inline Suggestion"),
|
|
31
31
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, InlineCompletionContextKeys.inlineSuggestionVisible),
|
|
32
32
|
kbOpts: {
|
|
33
33
|
weight: 100,
|
|
@@ -45,7 +45,7 @@ class ShowPreviousInlineSuggestionAction extends EditorAction {
|
|
|
45
45
|
constructor() {
|
|
46
46
|
super({
|
|
47
47
|
id: ShowPreviousInlineSuggestionAction.ID,
|
|
48
|
-
label: localize2(
|
|
48
|
+
label: localize2(1193, "Show Previous Inline Suggestion"),
|
|
49
49
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, InlineCompletionContextKeys.inlineSuggestionVisible),
|
|
50
50
|
kbOpts: {
|
|
51
51
|
weight: 100,
|
|
@@ -77,13 +77,13 @@ class TriggerInlineSuggestionAction extends EditorAction {
|
|
|
77
77
|
constructor() {
|
|
78
78
|
super({
|
|
79
79
|
id: 'editor.action.inlineSuggest.trigger',
|
|
80
|
-
label: localize2(
|
|
80
|
+
label: localize2(1194, "Trigger Inline Suggestion"),
|
|
81
81
|
precondition: EditorContextKeys.writable,
|
|
82
82
|
metadata: {
|
|
83
|
-
description: localize(
|
|
83
|
+
description: localize(1181, "Triggers an inline suggestion in the editor."),
|
|
84
84
|
args: [{
|
|
85
85
|
name: 'args',
|
|
86
|
-
description: localize(
|
|
86
|
+
description: localize(1182, "Options for triggering inline suggestions."),
|
|
87
87
|
isOptional: true,
|
|
88
88
|
schema: argsValidator.getJSONSchema(),
|
|
89
89
|
}]
|
|
@@ -112,7 +112,7 @@ class TriggerInlineSuggestionAction extends EditorAction {
|
|
|
112
112
|
if (!controller?.model.get()?.state.get()) {
|
|
113
113
|
notificationService.notify({
|
|
114
114
|
severity: Severity.Info,
|
|
115
|
-
message: localize(
|
|
115
|
+
message: localize(1183, "No inline suggestion is available.")
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -122,7 +122,7 @@ class AcceptNextWordOfInlineCompletion extends EditorAction {
|
|
|
122
122
|
constructor() {
|
|
123
123
|
super({
|
|
124
124
|
id: 'editor.action.inlineSuggest.acceptNextWord',
|
|
125
|
-
label: localize2(
|
|
125
|
+
label: localize2(1195, "Accept Next Word Of Inline Suggestion"),
|
|
126
126
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, InlineCompletionContextKeys.inlineSuggestionVisible),
|
|
127
127
|
kbOpts: {
|
|
128
128
|
weight: 100 /* KeybindingWeight.EditorContrib */ + 1,
|
|
@@ -131,7 +131,7 @@ class AcceptNextWordOfInlineCompletion extends EditorAction {
|
|
|
131
131
|
},
|
|
132
132
|
menuOpts: [{
|
|
133
133
|
menuId: MenuId.InlineSuggestionToolbar,
|
|
134
|
-
title: localize(
|
|
134
|
+
title: localize(1184, 'Accept Word'),
|
|
135
135
|
group: 'primary',
|
|
136
136
|
order: 2,
|
|
137
137
|
}],
|
|
@@ -146,14 +146,14 @@ class AcceptNextLineOfInlineCompletion extends EditorAction {
|
|
|
146
146
|
constructor() {
|
|
147
147
|
super({
|
|
148
148
|
id: 'editor.action.inlineSuggest.acceptNextLine',
|
|
149
|
-
label: localize2(
|
|
149
|
+
label: localize2(1196, "Accept Next Line Of Inline Suggestion"),
|
|
150
150
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, InlineCompletionContextKeys.inlineSuggestionVisible),
|
|
151
151
|
kbOpts: {
|
|
152
152
|
weight: 100 /* KeybindingWeight.EditorContrib */ + 1,
|
|
153
153
|
},
|
|
154
154
|
menuOpts: [{
|
|
155
155
|
menuId: MenuId.InlineSuggestionToolbar,
|
|
156
|
-
title: localize(
|
|
156
|
+
title: localize(1185, 'Accept Line'),
|
|
157
157
|
group: 'secondary',
|
|
158
158
|
order: 2,
|
|
159
159
|
}],
|
|
@@ -168,16 +168,16 @@ class AcceptInlineCompletion extends EditorAction {
|
|
|
168
168
|
constructor() {
|
|
169
169
|
super({
|
|
170
170
|
id: inlineSuggestCommitId,
|
|
171
|
-
label: localize2(
|
|
171
|
+
label: localize2(1197, "Accept Inline Suggestion"),
|
|
172
172
|
precondition: ContextKeyExpr.or(InlineCompletionContextKeys.inlineSuggestionVisible, InlineCompletionContextKeys.inlineEditVisible),
|
|
173
173
|
menuOpts: [{
|
|
174
174
|
menuId: MenuId.InlineSuggestionToolbar,
|
|
175
|
-
title: localize(
|
|
175
|
+
title: localize(1186, "Accept"),
|
|
176
176
|
group: 'primary',
|
|
177
177
|
order: 2,
|
|
178
178
|
}, {
|
|
179
179
|
menuId: MenuId.InlineEditsActions,
|
|
180
|
-
title: localize(
|
|
180
|
+
title: localize(1187, "Accept"),
|
|
181
181
|
group: 'primary',
|
|
182
182
|
order: 2,
|
|
183
183
|
}],
|
|
@@ -208,7 +208,7 @@ class AcceptInlineCompletionAlternativeAction extends EditorAction {
|
|
|
208
208
|
constructor() {
|
|
209
209
|
super({
|
|
210
210
|
id: inlineSuggestCommitAlternativeActionId,
|
|
211
|
-
label: localize2(
|
|
211
|
+
label: localize2(1198, "Accept Inline Suggestion Alternative Action"),
|
|
212
212
|
precondition: ContextKeyExpr.and(InlineCompletionContextKeys.inlineSuggestionAlternativeActionVisible, InlineCompletionContextKeys.inlineEditVisible),
|
|
213
213
|
menuOpts: [],
|
|
214
214
|
kbOpts: [
|
|
@@ -237,11 +237,11 @@ class JumpToNextInlineEdit extends EditorAction {
|
|
|
237
237
|
constructor() {
|
|
238
238
|
super({
|
|
239
239
|
id: jumpToNextInlineEditId,
|
|
240
|
-
label: localize2(
|
|
240
|
+
label: localize2(1199, "Jump to next inline edit"),
|
|
241
241
|
precondition: InlineCompletionContextKeys.inlineEditVisible,
|
|
242
242
|
menuOpts: [{
|
|
243
243
|
menuId: MenuId.InlineEditsActions,
|
|
244
|
-
title: localize(
|
|
244
|
+
title: localize(1188, "Jump"),
|
|
245
245
|
group: 'primary',
|
|
246
246
|
order: 1,
|
|
247
247
|
when: InlineCompletionContextKeys.cursorAtInlineEdit.toNegated(),
|
|
@@ -265,7 +265,7 @@ class HideInlineCompletion extends EditorAction {
|
|
|
265
265
|
constructor() {
|
|
266
266
|
super({
|
|
267
267
|
id: HideInlineCompletion.ID,
|
|
268
|
-
label: localize2(
|
|
268
|
+
label: localize2(1200, "Hide Inline Suggestion"),
|
|
269
269
|
precondition: ContextKeyExpr.or(InlineCompletionContextKeys.inlineSuggestionVisible, InlineCompletionContextKeys.inlineEditVisible),
|
|
270
270
|
kbOpts: {
|
|
271
271
|
weight: 100 /* KeybindingWeight.EditorContrib */ + 90, // same as hiding the suggest widget
|
|
@@ -273,7 +273,7 @@ class HideInlineCompletion extends EditorAction {
|
|
|
273
273
|
},
|
|
274
274
|
menuOpts: [{
|
|
275
275
|
menuId: MenuId.InlineEditsActions,
|
|
276
|
-
title: localize(
|
|
276
|
+
title: localize(1189, "Reject"),
|
|
277
277
|
group: 'primary',
|
|
278
278
|
order: 3,
|
|
279
279
|
}]
|
|
@@ -292,7 +292,7 @@ class ToggleInlineCompletionShowCollapsed extends EditorAction {
|
|
|
292
292
|
constructor() {
|
|
293
293
|
super({
|
|
294
294
|
id: ToggleInlineCompletionShowCollapsed.ID,
|
|
295
|
-
label: localize2(
|
|
295
|
+
label: localize2(1201, "Toggle Inline Suggestions Show Collapsed"),
|
|
296
296
|
precondition: ContextKeyExpr.true(),
|
|
297
297
|
});
|
|
298
298
|
}
|
|
@@ -314,7 +314,7 @@ class ToggleAlwaysShowInlineSuggestionToolbar extends Action2 {
|
|
|
314
314
|
constructor() {
|
|
315
315
|
super({
|
|
316
316
|
id: ToggleAlwaysShowInlineSuggestionToolbar.ID,
|
|
317
|
-
title: localize(
|
|
317
|
+
title: localize(1190, "Always Show Toolbar"),
|
|
318
318
|
f1: false,
|
|
319
319
|
precondition: undefined,
|
|
320
320
|
menu: [{
|
|
@@ -336,7 +336,7 @@ class DevExtractReproSample extends EditorAction {
|
|
|
336
336
|
constructor() {
|
|
337
337
|
super({
|
|
338
338
|
id: 'editor.action.inlineSuggest.dev.extractRepro',
|
|
339
|
-
label: localize(
|
|
339
|
+
label: localize(1191, "Developer: Extract Inline Suggest State"),
|
|
340
340
|
alias: 'Developer: Inline Suggest Extract Repro',
|
|
341
341
|
precondition: ContextKeyExpr.or(InlineCompletionContextKeys.inlineEditVisible, InlineCompletionContextKeys.inlineSuggestionVisible),
|
|
342
342
|
});
|
package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js
CHANGED
|
@@ -6,19 +6,19 @@ import { localize } from '../../../../../nls.js';
|
|
|
6
6
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
7
7
|
*--------------------------------------------------------------------------------------------*/
|
|
8
8
|
class InlineCompletionContextKeys {
|
|
9
|
-
static { this.inlineSuggestionVisible = new RawContextKey('inlineSuggestionVisible', false, localize(
|
|
10
|
-
static { this.inlineSuggestionAlternativeActionVisible = new RawContextKey('inlineSuggestionAlternativeActionVisible', false, localize(
|
|
11
|
-
static { this.inlineSuggestionHasIndentation = new RawContextKey('inlineSuggestionHasIndentation', false, localize(
|
|
12
|
-
static { this.inlineSuggestionHasIndentationLessThanTabSize = new RawContextKey('inlineSuggestionHasIndentationLessThanTabSize', true, localize(
|
|
13
|
-
static { this.suppressSuggestions = new RawContextKey('inlineSuggestionSuppressSuggestions', undefined, localize(
|
|
14
|
-
static { this.cursorBeforeGhostText = new RawContextKey('cursorBeforeGhostText', false, localize(
|
|
15
|
-
static { this.cursorInIndentation = new RawContextKey('cursorInIndentation', false, localize(
|
|
16
|
-
static { this.hasSelection = new RawContextKey('editor.hasSelection', false, localize(
|
|
17
|
-
static { this.cursorAtInlineEdit = new RawContextKey('cursorAtInlineEdit', false, localize(
|
|
18
|
-
static { this.inlineEditVisible = new RawContextKey('inlineEditIsVisible', false, localize(
|
|
19
|
-
static { this.tabShouldJumpToInlineEdit = new RawContextKey('tabShouldJumpToInlineEdit', false, localize(
|
|
20
|
-
static { this.tabShouldAcceptInlineEdit = new RawContextKey('tabShouldAcceptInlineEdit', false, localize(
|
|
21
|
-
static { this.inInlineEditsPreviewEditor = new RawContextKey('inInlineEditsPreviewEditor', true, localize(
|
|
9
|
+
static { this.inlineSuggestionVisible = new RawContextKey('inlineSuggestionVisible', false, localize(1202, "Whether an inline suggestion is visible")); }
|
|
10
|
+
static { this.inlineSuggestionAlternativeActionVisible = new RawContextKey('inlineSuggestionAlternativeActionVisible', false, localize(1203, "Whether an alternative action for the inline suggestion is visible.")); }
|
|
11
|
+
static { this.inlineSuggestionHasIndentation = new RawContextKey('inlineSuggestionHasIndentation', false, localize(1204, "Whether the inline suggestion starts with whitespace")); }
|
|
12
|
+
static { this.inlineSuggestionHasIndentationLessThanTabSize = new RawContextKey('inlineSuggestionHasIndentationLessThanTabSize', true, localize(1205, "Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab")); }
|
|
13
|
+
static { this.suppressSuggestions = new RawContextKey('inlineSuggestionSuppressSuggestions', undefined, localize(1206, "Whether suggestions should be suppressed for the current suggestion")); }
|
|
14
|
+
static { this.cursorBeforeGhostText = new RawContextKey('cursorBeforeGhostText', false, localize(1207, "Whether the cursor is at ghost text")); }
|
|
15
|
+
static { this.cursorInIndentation = new RawContextKey('cursorInIndentation', false, localize(1208, "Whether the cursor is in indentation")); }
|
|
16
|
+
static { this.hasSelection = new RawContextKey('editor.hasSelection', false, localize(1209, "Whether the editor has a selection")); }
|
|
17
|
+
static { this.cursorAtInlineEdit = new RawContextKey('cursorAtInlineEdit', false, localize(1210, "Whether the cursor is at an inline edit")); }
|
|
18
|
+
static { this.inlineEditVisible = new RawContextKey('inlineEditIsVisible', false, localize(1211, "Whether an inline edit is visible")); }
|
|
19
|
+
static { this.tabShouldJumpToInlineEdit = new RawContextKey('tabShouldJumpToInlineEdit', false, localize(1212, "Whether tab should jump to an inline edit.")); }
|
|
20
|
+
static { this.tabShouldAcceptInlineEdit = new RawContextKey('tabShouldAcceptInlineEdit', false, localize(1213, "Whether tab should accept the inline edit.")); }
|
|
21
|
+
static { this.inInlineEditsPreviewEditor = new RawContextKey('inInlineEditsPreviewEditor', true, localize(1214, "Whether the current code editor is showing an inline edits preview")); }
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export { InlineCompletionContextKeys };
|
package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js
CHANGED
|
@@ -388,7 +388,7 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
|
|
|
388
388
|
const accessibleViewKeybinding = this._keybindingService.lookupKeybinding('editor.action.accessibleView');
|
|
389
389
|
let hint;
|
|
390
390
|
if (!accessibleViewShowing && accessibleViewKeybinding && this.editor.getOption(169 /* EditorOption.inlineCompletionsAccessibilityVerbose */)) {
|
|
391
|
-
hint = localize(
|
|
391
|
+
hint = localize(1215, "Inspect this in the accessible view ({0})", accessibleViewKeybinding.getAriaLabel());
|
|
392
392
|
}
|
|
393
393
|
alert(hint ? content + ', ' + hint : content);
|
|
394
394
|
}
|
|
@@ -118,7 +118,7 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
|
|
|
118
118
|
return new RenderedHoverParts([renderedHoverPart]);
|
|
119
119
|
}
|
|
120
120
|
getAccessibleContent(hoverPart) {
|
|
121
|
-
return localize(
|
|
121
|
+
return localize(1216, 'There are inline completions here');
|
|
122
122
|
}
|
|
123
123
|
renderScreenReaderText(context, part) {
|
|
124
124
|
const disposables = new DisposableStore();
|
|
@@ -126,7 +126,7 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
|
|
|
126
126
|
const markdownHoverElement = $$1('div.hover-row.markdown-hover');
|
|
127
127
|
const hoverContentsElement = append(markdownHoverElement, $$1('div.hover-contents', { ['aria-live']: 'assertive' }));
|
|
128
128
|
const render = (code) => {
|
|
129
|
-
const inlineSuggestionAvailable = localize(
|
|
129
|
+
const inlineSuggestionAvailable = localize(1217, "Suggestion:");
|
|
130
130
|
const renderedContents = disposables.add(this._markdownRendererService.render(new MarkdownString().appendText(inlineSuggestionAvailable).appendCodeblock('text', code), {
|
|
131
131
|
context: this._editor,
|
|
132
132
|
asyncRenderCallback: () => {
|
package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js
CHANGED
|
@@ -101,8 +101,8 @@ let InlineCompletionsHintsWidget = class InlineCompletionsHintsWidget extends Di
|
|
|
101
101
|
InlineCompletionsHintsWidget = __decorate([
|
|
102
102
|
__param(2, IInstantiationService)
|
|
103
103
|
], InlineCompletionsHintsWidget);
|
|
104
|
-
const inlineSuggestionHintsNextIcon = registerIcon('inline-suggestion-hints-next', Codicon.chevronRight, localize(
|
|
105
|
-
const inlineSuggestionHintsPreviousIcon = registerIcon('inline-suggestion-hints-previous', Codicon.chevronLeft, localize(
|
|
104
|
+
const inlineSuggestionHintsNextIcon = registerIcon('inline-suggestion-hints-next', Codicon.chevronRight, localize(1218, 'Icon for show next parameter hint.'));
|
|
105
|
+
const inlineSuggestionHintsPreviousIcon = registerIcon('inline-suggestion-hints-previous', Codicon.chevronLeft, localize(1219, 'Icon for show previous parameter hint.'));
|
|
106
106
|
let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidget extends Disposable {
|
|
107
107
|
static { InlineSuggestionHintsContentWidget_1 = this; }
|
|
108
108
|
static { this.hot = createHotClass(this); }
|
|
@@ -157,9 +157,9 @@ let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidge
|
|
|
157
157
|
this._warningMessageNode.element,
|
|
158
158
|
h('div@toolBar'),
|
|
159
159
|
]);
|
|
160
|
-
this.previousAction = this._register(this.createCommandAction(showPreviousInlineSuggestionActionId, localize(
|
|
160
|
+
this.previousAction = this._register(this.createCommandAction(showPreviousInlineSuggestionActionId, localize(1220, 'Previous'), ThemeIcon.asClassName(inlineSuggestionHintsPreviousIcon)));
|
|
161
161
|
this.availableSuggestionCountAction = this._register(new Action('inlineSuggestionHints.availableSuggestionCount', '', undefined, false));
|
|
162
|
-
this.nextAction = this._register(this.createCommandAction(showNextInlineSuggestionActionId, localize(
|
|
162
|
+
this.nextAction = this._register(this.createCommandAction(showNextInlineSuggestionActionId, localize(1221, 'Next'), ThemeIcon.asClassName(inlineSuggestionHintsNextIcon)));
|
|
163
163
|
this.inlineCompletionsActionsMenus = this._register(this._menuService.createMenu(MenuId.InlineCompletionsActions, this._contextKeyService));
|
|
164
164
|
this.clearAvailableSuggestionCountLabelDebounced = this._register(new RunOnceScheduler(() => {
|
|
165
165
|
this.availableSuggestionCountAction.label = '';
|