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
|
@@ -25,7 +25,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
25
25
|
this.storageService.store(AbstractGotoLineQuickAccessProvider.ZERO_BASED_OFFSET_STORAGE_KEY, value, -1 /* StorageScope.APPLICATION */, 0 /* StorageTarget.USER */);
|
|
26
26
|
}
|
|
27
27
|
provideWithoutTextEditor(picker) {
|
|
28
|
-
const label = localize(
|
|
28
|
+
const label = localize(1350, "Open a text editor first to go to a line or an offset.");
|
|
29
29
|
picker.items = [{ label }];
|
|
30
30
|
picker.ariaLabel = label;
|
|
31
31
|
return Disposable.None;
|
|
@@ -49,7 +49,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
49
49
|
// Add a toggle to switch between 1- and 0-based offsets.
|
|
50
50
|
const offsetButton = {
|
|
51
51
|
iconClass: ThemeIcon.asClassName(Codicon.indexZero),
|
|
52
|
-
tooltip: localize(
|
|
52
|
+
tooltip: localize(1351, "Toggle Zero-Based Offset"),
|
|
53
53
|
location: QuickInputButtonLocation.Input,
|
|
54
54
|
toggle: { checked: this.useZeroBasedOffset }
|
|
55
55
|
};
|
|
@@ -108,7 +108,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
108
108
|
const model = this.getModel(editor);
|
|
109
109
|
if (!model) {
|
|
110
110
|
return {
|
|
111
|
-
label: localize(
|
|
111
|
+
label: localize(1352, "Open a text editor first to go to a line or an offset.")
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
// Support ::<offset> notation to navigate to a specific offset in the model.
|
|
@@ -120,8 +120,8 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
120
120
|
return {
|
|
121
121
|
inOffsetMode: true,
|
|
122
122
|
label: this.useZeroBasedOffset ?
|
|
123
|
-
localize(
|
|
124
|
-
localize(
|
|
123
|
+
localize(1353, "Type a character position to go to (from 0 to {0}).", maxOffset - 1) :
|
|
124
|
+
localize(1354, "Type a character position to go to (from 1 to {0}).", maxOffset)
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
@@ -139,7 +139,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
139
139
|
return {
|
|
140
140
|
...pos,
|
|
141
141
|
inOffsetMode: true,
|
|
142
|
-
label: localize(
|
|
142
|
+
label: localize(1355, "Press 'Enter' to go to line {0} at column {1}.", pos.lineNumber, visibleColumn)
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
145
|
}
|
|
@@ -150,7 +150,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
150
150
|
let lineNumber = parseInt(parts[0]?.trim(), 10);
|
|
151
151
|
if (parts.length < 1 || isNaN(lineNumber)) {
|
|
152
152
|
return {
|
|
153
|
-
label: localize(
|
|
153
|
+
label: localize(1356, "Type a line number to go to (from 1 to {0}).", maxLine)
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
156
|
// Handle negative line numbers and clip to valid range.
|
|
@@ -166,8 +166,8 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
166
166
|
lineNumber,
|
|
167
167
|
column: 1,
|
|
168
168
|
label: parts.length < 2 ?
|
|
169
|
-
localize(
|
|
170
|
-
localize(
|
|
169
|
+
localize(1357, "Press 'Enter' to go to line {0} or enter colon : to add a column number.", lineNumber) :
|
|
170
|
+
localize(1358, "Press 'Enter' to go to line {0} or enter a column number (from 1 to {1}).", lineNumber, maxColumn)
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
173
|
// Handle negative column numbers and clip to valid range.
|
|
@@ -177,7 +177,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
177
177
|
return {
|
|
178
178
|
lineNumber,
|
|
179
179
|
column: realColumn,
|
|
180
|
-
label: localize(
|
|
180
|
+
label: localize(1359, "Press 'Enter' to go to line {0} at column {1}.", lineNumber, column)
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
183
|
}
|
|
@@ -40,7 +40,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
40
40
|
this.options.canAcceptInBackground = true;
|
|
41
41
|
}
|
|
42
42
|
provideWithoutTextEditor(picker) {
|
|
43
|
-
this.provideLabelPick(picker, localize(
|
|
43
|
+
this.provideLabelPick(picker, localize(1360, "To go to a symbol, first open a text editor with symbol information."));
|
|
44
44
|
return Disposable.None;
|
|
45
45
|
}
|
|
46
46
|
provideWithTextEditor(context, picker, token, runOptions) {
|
|
@@ -61,7 +61,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
61
61
|
doProvideWithoutEditorSymbols(context, model, picker, token) {
|
|
62
62
|
const disposables = new DisposableStore();
|
|
63
63
|
// Generic pick for not having any symbol information
|
|
64
|
-
this.provideLabelPick(picker, localize(
|
|
64
|
+
this.provideLabelPick(picker, localize(1361, "The active text editor does not provide symbol information."));
|
|
65
65
|
// Wait for changes to the registry and see if eventually
|
|
66
66
|
// we do get symbols. This can happen if the picker is opened
|
|
67
67
|
// very early after the model has loaded but before the
|
|
@@ -147,10 +147,10 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
147
147
|
}
|
|
148
148
|
else {
|
|
149
149
|
if (query.original.length > 0) {
|
|
150
|
-
this.provideLabelPick(picker, localize(
|
|
150
|
+
this.provideLabelPick(picker, localize(1362, "No matching editor symbols"));
|
|
151
151
|
}
|
|
152
152
|
else {
|
|
153
|
-
this.provideLabelPick(picker, localize(
|
|
153
|
+
this.provideLabelPick(picker, localize(1363, "No editor symbols"));
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
|
@@ -197,7 +197,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
197
197
|
if (openSideBySideDirection) {
|
|
198
198
|
buttons = [{
|
|
199
199
|
iconClass: openSideBySideDirection === 'right' ? ThemeIcon.asClassName(Codicon.splitHorizontal) : ThemeIcon.asClassName(Codicon.splitVertical),
|
|
200
|
-
tooltip: openSideBySideDirection === 'right' ? localize(
|
|
200
|
+
tooltip: openSideBySideDirection === 'right' ? localize(1364, "Open to the Side") : localize(1365, "Open to the Bottom")
|
|
201
201
|
}];
|
|
202
202
|
}
|
|
203
203
|
const filteredSymbolPicks = [];
|
|
@@ -313,7 +313,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
313
313
|
}
|
|
314
314
|
else if (sortedFilteredSymbolPicks.length > 0) {
|
|
315
315
|
symbolPicks = [
|
|
316
|
-
{ label: localize(
|
|
316
|
+
{ label: localize(1366, "symbols ({0})", filteredSymbolPicks.length), type: 'separator' },
|
|
317
317
|
...sortedFilteredSymbolPicks
|
|
318
318
|
];
|
|
319
319
|
}
|
|
@@ -362,33 +362,33 @@ AbstractGotoSymbolQuickAccessProvider = AbstractGotoSymbolQuickAccessProvider_1
|
|
|
362
362
|
__param(1, IOutlineModelService)
|
|
363
363
|
], AbstractGotoSymbolQuickAccessProvider);
|
|
364
364
|
// #region NLS Helpers
|
|
365
|
-
const FALLBACK_NLS_SYMBOL_KIND = localize(
|
|
365
|
+
const FALLBACK_NLS_SYMBOL_KIND = localize(1367, "properties ({0})");
|
|
366
366
|
const NLS_SYMBOL_KIND_CACHE = {
|
|
367
|
-
[5 /* SymbolKind.Method */]: localize(
|
|
368
|
-
[11 /* SymbolKind.Function */]: localize(
|
|
369
|
-
[8 /* SymbolKind.Constructor */]: localize(
|
|
370
|
-
[12 /* SymbolKind.Variable */]: localize(
|
|
371
|
-
[4 /* SymbolKind.Class */]: localize(
|
|
372
|
-
[22 /* SymbolKind.Struct */]: localize(
|
|
373
|
-
[23 /* SymbolKind.Event */]: localize(
|
|
374
|
-
[24 /* SymbolKind.Operator */]: localize(
|
|
375
|
-
[10 /* SymbolKind.Interface */]: localize(
|
|
376
|
-
[2 /* SymbolKind.Namespace */]: localize(
|
|
377
|
-
[3 /* SymbolKind.Package */]: localize(
|
|
378
|
-
[25 /* SymbolKind.TypeParameter */]: localize(
|
|
379
|
-
[1 /* SymbolKind.Module */]: localize(
|
|
380
|
-
[6 /* SymbolKind.Property */]: localize(
|
|
381
|
-
[9 /* SymbolKind.Enum */]: localize(
|
|
382
|
-
[21 /* SymbolKind.EnumMember */]: localize(
|
|
383
|
-
[14 /* SymbolKind.String */]: localize(
|
|
384
|
-
[0 /* SymbolKind.File */]: localize(
|
|
385
|
-
[17 /* SymbolKind.Array */]: localize(
|
|
386
|
-
[15 /* SymbolKind.Number */]: localize(
|
|
387
|
-
[16 /* SymbolKind.Boolean */]: localize(
|
|
388
|
-
[18 /* SymbolKind.Object */]: localize(
|
|
389
|
-
[19 /* SymbolKind.Key */]: localize(
|
|
390
|
-
[7 /* SymbolKind.Field */]: localize(
|
|
391
|
-
[13 /* SymbolKind.Constant */]: localize(
|
|
367
|
+
[5 /* SymbolKind.Method */]: localize(1368, "methods ({0})"),
|
|
368
|
+
[11 /* SymbolKind.Function */]: localize(1369, "functions ({0})"),
|
|
369
|
+
[8 /* SymbolKind.Constructor */]: localize(1370, "constructors ({0})"),
|
|
370
|
+
[12 /* SymbolKind.Variable */]: localize(1371, "variables ({0})"),
|
|
371
|
+
[4 /* SymbolKind.Class */]: localize(1372, "classes ({0})"),
|
|
372
|
+
[22 /* SymbolKind.Struct */]: localize(1373, "structs ({0})"),
|
|
373
|
+
[23 /* SymbolKind.Event */]: localize(1374, "events ({0})"),
|
|
374
|
+
[24 /* SymbolKind.Operator */]: localize(1375, "operators ({0})"),
|
|
375
|
+
[10 /* SymbolKind.Interface */]: localize(1376, "interfaces ({0})"),
|
|
376
|
+
[2 /* SymbolKind.Namespace */]: localize(1377, "namespaces ({0})"),
|
|
377
|
+
[3 /* SymbolKind.Package */]: localize(1378, "packages ({0})"),
|
|
378
|
+
[25 /* SymbolKind.TypeParameter */]: localize(1379, "type parameters ({0})"),
|
|
379
|
+
[1 /* SymbolKind.Module */]: localize(1380, "modules ({0})"),
|
|
380
|
+
[6 /* SymbolKind.Property */]: localize(1381, "properties ({0})"),
|
|
381
|
+
[9 /* SymbolKind.Enum */]: localize(1382, "enumerations ({0})"),
|
|
382
|
+
[21 /* SymbolKind.EnumMember */]: localize(1383, "enumeration members ({0})"),
|
|
383
|
+
[14 /* SymbolKind.String */]: localize(1384, "strings ({0})"),
|
|
384
|
+
[0 /* SymbolKind.File */]: localize(1385, "files ({0})"),
|
|
385
|
+
[17 /* SymbolKind.Array */]: localize(1386, "arrays ({0})"),
|
|
386
|
+
[15 /* SymbolKind.Number */]: localize(1387, "numbers ({0})"),
|
|
387
|
+
[16 /* SymbolKind.Boolean */]: localize(1388, "booleans ({0})"),
|
|
388
|
+
[18 /* SymbolKind.Object */]: localize(1389, "objects ({0})"),
|
|
389
|
+
[19 /* SymbolKind.Key */]: localize(1390, "keys ({0})"),
|
|
390
|
+
[7 /* SymbolKind.Field */]: localize(1391, "fields ({0})"),
|
|
391
|
+
[13 /* SymbolKind.Constant */]: localize(1392, "constants ({0})")
|
|
392
392
|
};
|
|
393
393
|
//#endregion
|
|
394
394
|
|
|
@@ -21,10 +21,10 @@ class ReadOnlyMessageController extends Disposable {
|
|
|
21
21
|
let message = this.editor.getOptions().get(105 /* EditorOption.readOnlyMessage */);
|
|
22
22
|
if (!message) {
|
|
23
23
|
if (this.editor.isSimpleWidget) {
|
|
24
|
-
message = new MarkdownString(localize(
|
|
24
|
+
message = new MarkdownString(localize(1393, "Cannot edit in read-only input"));
|
|
25
25
|
}
|
|
26
26
|
else {
|
|
27
|
-
message = new MarkdownString(localize(
|
|
27
|
+
message = new MarkdownString(localize(1394, "Cannot edit in read-only editor"));
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
messageController.showMessage(message, this.editor.getPosition());
|
|
@@ -100,7 +100,7 @@ class RenameSkeleton {
|
|
|
100
100
|
}
|
|
101
101
|
const result = await provider.provideRenameEdits(this.model, this.position, newName, token);
|
|
102
102
|
if (!result) {
|
|
103
|
-
return this._provideRenameEdits(newName, i + 1, rejects.concat(localize(
|
|
103
|
+
return this._provideRenameEdits(newName, i + 1, rejects.concat(localize(1395, "No result.")), token);
|
|
104
104
|
}
|
|
105
105
|
else if (result.rejectReason) {
|
|
106
106
|
return this._provideRenameEdits(newName, i + 1, rejects.concat(result.rejectReason), token);
|
|
@@ -181,7 +181,7 @@ let RenameController = class RenameController {
|
|
|
181
181
|
else {
|
|
182
182
|
trace('resolve rename location failed', e instanceof Error ? e : JSON.stringify(e, null, '\t'));
|
|
183
183
|
if (typeof e === 'string' || isMarkdownString(e)) {
|
|
184
|
-
MessageController.get(this.editor)?.showMessage(e || localize(
|
|
184
|
+
MessageController.get(this.editor)?.showMessage(e || localize(1396, "An unknown error occurred while resolving rename location"), position);
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
return undefined;
|
|
@@ -249,24 +249,24 @@ let RenameController = class RenameController {
|
|
|
249
249
|
this._bulkEditService.apply(renameResult, {
|
|
250
250
|
editor: this.editor,
|
|
251
251
|
showPreview: inputFieldResult.wantsPreview,
|
|
252
|
-
label: localize(
|
|
252
|
+
label: localize(1397, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName),
|
|
253
253
|
code: 'undoredo.rename',
|
|
254
|
-
quotableLabel: localize(
|
|
254
|
+
quotableLabel: localize(1398, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName),
|
|
255
255
|
respectAutoSaveConfig: true,
|
|
256
256
|
reason: EditSources.rename(loc?.text, inputFieldResult.newName),
|
|
257
257
|
}).then(result => {
|
|
258
258
|
trace('edits applied');
|
|
259
259
|
if (result.ariaSummary) {
|
|
260
|
-
alert(localize(
|
|
260
|
+
alert(localize(1399, "Successfully renamed '{0}' to '{1}'. Summary: {2}", loc.text, inputFieldResult.newName, result.ariaSummary));
|
|
261
261
|
}
|
|
262
262
|
}).catch(err => {
|
|
263
263
|
trace(`error when applying edits ${JSON.stringify(err, null, '\t')}`);
|
|
264
|
-
this._notificationService.error(localize(
|
|
264
|
+
this._notificationService.error(localize(1400, "Rename failed to apply edits"));
|
|
265
265
|
this._logService.error(err);
|
|
266
266
|
});
|
|
267
267
|
}, err => {
|
|
268
268
|
trace('error when providing rename edits', JSON.stringify(err, null, '\t'));
|
|
269
|
-
this._notificationService.error(localize(
|
|
269
|
+
this._notificationService.error(localize(1401, "Rename failed to compute edits"));
|
|
270
270
|
this._logService.error(err);
|
|
271
271
|
}).finally(() => {
|
|
272
272
|
cts2.dispose();
|
|
@@ -302,7 +302,7 @@ class RenameAction extends EditorAction {
|
|
|
302
302
|
constructor() {
|
|
303
303
|
super({
|
|
304
304
|
id: 'editor.action.rename',
|
|
305
|
-
label: localize2(
|
|
305
|
+
label: localize2(1403, "Rename Symbol"),
|
|
306
306
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider),
|
|
307
307
|
kbOpts: {
|
|
308
308
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -383,7 +383,7 @@ registerAction2(class FocusNextRenameSuggestion extends Action2 {
|
|
|
383
383
|
super({
|
|
384
384
|
id: 'focusNextRenameSuggestion',
|
|
385
385
|
title: {
|
|
386
|
-
...localize2(
|
|
386
|
+
...localize2(1404, "Focus Next Rename Suggestion"),
|
|
387
387
|
},
|
|
388
388
|
precondition: CONTEXT_RENAME_INPUT_VISIBLE,
|
|
389
389
|
keybinding: [
|
|
@@ -411,7 +411,7 @@ registerAction2(class FocusPreviousRenameSuggestion extends Action2 {
|
|
|
411
411
|
super({
|
|
412
412
|
id: 'focusPreviousRenameSuggestion',
|
|
413
413
|
title: {
|
|
414
|
-
...localize2(
|
|
414
|
+
...localize2(1405, "Focus Previous Rename Suggestion"),
|
|
415
415
|
},
|
|
416
416
|
precondition: CONTEXT_RENAME_INPUT_VISIBLE,
|
|
417
417
|
keybinding: [
|
|
@@ -456,7 +456,7 @@ Registry.as(Extensions.Configuration).registerConfiguration({
|
|
|
456
456
|
properties: {
|
|
457
457
|
'editor.rename.enablePreview': {
|
|
458
458
|
scope: 6 /* ConfigurationScope.LANGUAGE_OVERRIDABLE */,
|
|
459
|
-
description: localize(
|
|
459
|
+
description: localize(1402, "Enable/disable the ability to preview changes before renaming"),
|
|
460
460
|
default: true,
|
|
461
461
|
type: 'boolean'
|
|
462
462
|
}
|
|
@@ -48,8 +48,8 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
48
48
|
var __param = (undefined && undefined.__param) || function (paramIndex, decorator) {
|
|
49
49
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
50
50
|
};
|
|
51
|
-
const CONTEXT_RENAME_INPUT_VISIBLE = new RawContextKey('renameInputVisible', false, localize(
|
|
52
|
-
new RawContextKey('renameInputFocused', false, localize(
|
|
51
|
+
const CONTEXT_RENAME_INPUT_VISIBLE = new RawContextKey('renameInputVisible', false, localize(1406, "Whether the rename input widget is visible"));
|
|
52
|
+
new RawContextKey('renameInputFocused', false, localize(1407, "Whether the rename input widget is focused"));
|
|
53
53
|
let RenameWidget = class RenameWidget {
|
|
54
54
|
constructor(_editor, _acceptKeybindings, _themeService, _keybindingService, contextKeyService, _logService) {
|
|
55
55
|
this._editor = _editor;
|
|
@@ -172,7 +172,7 @@ let RenameWidget = class RenameWidget {
|
|
|
172
172
|
}
|
|
173
173
|
beforeRender() {
|
|
174
174
|
const [accept, preview] = this._acceptKeybindings;
|
|
175
|
-
this._label.innerText = localize(
|
|
175
|
+
this._label.innerText = localize(1408, "{0} to Rename, {1} to Preview", this._keybindingService.lookupKeybinding(accept)?.getLabel(), this._keybindingService.lookupKeybinding(preview)?.getLabel());
|
|
176
176
|
this._domNode.style.minWidth = `200px`; // to prevent from widening when candidates come in
|
|
177
177
|
return null;
|
|
178
178
|
}
|
|
@@ -485,7 +485,7 @@ class RenameCandidateListView {
|
|
|
485
485
|
// adjust list container layout
|
|
486
486
|
this._listContainer.style.height = `${height}px`;
|
|
487
487
|
this._listContainer.style.width = `${width}px`;
|
|
488
|
-
status(localize(
|
|
488
|
+
status(localize(1409, "Received {0} rename suggestions", candidates.length));
|
|
489
489
|
}
|
|
490
490
|
clearCandidates() {
|
|
491
491
|
this._listContainer.style.height = '0px';
|
|
@@ -627,13 +627,13 @@ class InputWithButton {
|
|
|
627
627
|
this._inputNode.className = 'rename-input';
|
|
628
628
|
this._inputNode.type = 'text';
|
|
629
629
|
this._inputNode.style.border = 'none';
|
|
630
|
-
this._inputNode.setAttribute('aria-label', localize(
|
|
630
|
+
this._inputNode.setAttribute('aria-label', localize(1410, "Rename input. Type new name and press Enter to commit."));
|
|
631
631
|
this._domNode.appendChild(this._inputNode);
|
|
632
632
|
this._buttonNode = document.createElement('div');
|
|
633
633
|
this._buttonNode.className = 'rename-suggestions-button';
|
|
634
634
|
this._buttonNode.setAttribute('tabindex', '0');
|
|
635
|
-
this._buttonGenHoverText = localize(
|
|
636
|
-
this._buttonCancelHoverText = localize(
|
|
635
|
+
this._buttonGenHoverText = localize(1411, "Generate New Name Suggestions");
|
|
636
|
+
this._buttonCancelHoverText = localize(1412, "Cancel");
|
|
637
637
|
this._buttonHoverContent = this._buttonGenHoverText;
|
|
638
638
|
this._disposables.add(getBaseLayerHoverDelegate().setupDelayedHover(this._buttonNode, () => ({
|
|
639
639
|
content: this._buttonHoverContent,
|
|
@@ -131,7 +131,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
|
|
|
131
131
|
constructor() {
|
|
132
132
|
super(true, {
|
|
133
133
|
id: 'editor.action.smartSelect.expand',
|
|
134
|
-
label: localize2(
|
|
134
|
+
label: localize2(1415, "Expand Selection"),
|
|
135
135
|
precondition: undefined,
|
|
136
136
|
kbOpts: {
|
|
137
137
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -145,7 +145,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
|
|
|
145
145
|
menuOpts: {
|
|
146
146
|
menuId: MenuId.MenubarSelectionMenu,
|
|
147
147
|
group: '1_basic',
|
|
148
|
-
title: localize(
|
|
148
|
+
title: localize(1413, "&&Expand Selection"),
|
|
149
149
|
order: 2
|
|
150
150
|
}
|
|
151
151
|
});
|
|
@@ -157,7 +157,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
|
|
|
157
157
|
constructor() {
|
|
158
158
|
super(false, {
|
|
159
159
|
id: 'editor.action.smartSelect.shrink',
|
|
160
|
-
label: localize2(
|
|
160
|
+
label: localize2(1416, "Shrink Selection"),
|
|
161
161
|
precondition: undefined,
|
|
162
162
|
kbOpts: {
|
|
163
163
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -171,7 +171,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
|
|
|
171
171
|
menuOpts: {
|
|
172
172
|
menuId: MenuId.MenubarSelectionMenu,
|
|
173
173
|
group: '1_basic',
|
|
174
|
-
title: localize(
|
|
174
|
+
title: localize(1414, "&&Shrink Selection"),
|
|
175
175
|
order: 3
|
|
176
176
|
}
|
|
177
177
|
});
|
|
@@ -42,9 +42,9 @@ let SnippetController2 = class SnippetController2 {
|
|
|
42
42
|
static get(editor) {
|
|
43
43
|
return editor.getContribution(SnippetController2_1.ID);
|
|
44
44
|
}
|
|
45
|
-
static { this.InSnippetMode = new RawContextKey('inSnippetMode', false, localize(
|
|
46
|
-
static { this.HasNextTabstop = new RawContextKey('hasNextTabstop', false, localize(
|
|
47
|
-
static { this.HasPrevTabstop = new RawContextKey('hasPrevTabstop', false, localize(
|
|
45
|
+
static { this.InSnippetMode = new RawContextKey('inSnippetMode', false, localize(1417, "Whether the editor in current in snippet mode")); }
|
|
46
|
+
static { this.HasNextTabstop = new RawContextKey('hasNextTabstop', false, localize(1418, "Whether there is a next tab stop when in snippet mode")); }
|
|
47
|
+
static { this.HasPrevTabstop = new RawContextKey('hasPrevTabstop', false, localize(1419, "Whether there is a previous tab stop when in snippet mode")); }
|
|
48
48
|
constructor(_editor, _logService, _languageFeaturesService, contextKeyService, _languageConfigurationService) {
|
|
49
49
|
this._editor = _editor;
|
|
50
50
|
this._logService = _logService;
|
|
@@ -130,7 +130,7 @@ let SnippetController2 = class SnippetController2 {
|
|
|
130
130
|
sortText: 'a'.repeat(i + 1),
|
|
131
131
|
range: activeChoice.range,
|
|
132
132
|
filterText: isAnyOfOptions ? `${word}_${option.value}` : undefined,
|
|
133
|
-
command: { id: 'jumpToNextSnippetPlaceholder', title: localize(
|
|
133
|
+
command: { id: 'jumpToNextSnippetPlaceholder', title: localize(1420, 'Go to next placeholder...') }
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
return { suggestions };
|
|
@@ -207,10 +207,10 @@ class TimeBasedVariableResolver {
|
|
|
207
207
|
constructor() {
|
|
208
208
|
this._date = new Date();
|
|
209
209
|
}
|
|
210
|
-
static { this.dayNames = [localize(
|
|
211
|
-
static { this.dayNamesShort = [localize(
|
|
212
|
-
static { this.monthNames = [localize(
|
|
213
|
-
static { this.monthNamesShort = [localize(
|
|
210
|
+
static { this.dayNames = [localize(1421, "Sunday"), localize(1422, "Monday"), localize(1423, "Tuesday"), localize(1424, "Wednesday"), localize(1425, "Thursday"), localize(1426, "Friday"), localize(1427, "Saturday")]; }
|
|
211
|
+
static { this.dayNamesShort = [localize(1428, "Sun"), localize(1429, "Mon"), localize(1430, "Tue"), localize(1431, "Wed"), localize(1432, "Thu"), localize(1433, "Fri"), localize(1434, "Sat")]; }
|
|
212
|
+
static { this.monthNames = [localize(1435, "January"), localize(1436, "February"), localize(1437, "March"), localize(1438, "April"), localize(1439, "May"), localize(1440, "June"), localize(1441, "July"), localize(1442, "August"), localize(1443, "September"), localize(1444, "October"), localize(1445, "November"), localize(1446, "December")]; }
|
|
213
|
+
static { this.monthNamesShort = [localize(1447, "Jan"), localize(1448, "Feb"), localize(1449, "Mar"), localize(1450, "Apr"), localize(1451, "May"), localize(1452, "Jun"), localize(1453, "Jul"), localize(1454, "Aug"), localize(1455, "Sep"), localize(1456, "Oct"), localize(1457, "Nov"), localize(1458, "Dec")]; }
|
|
214
214
|
resolve(variable) {
|
|
215
215
|
const { name } = variable;
|
|
216
216
|
if (name === 'CURRENT_YEAR') {
|
|
@@ -16,17 +16,17 @@ class ToggleStickyScroll extends EditorAction2 {
|
|
|
16
16
|
super({
|
|
17
17
|
id: 'editor.action.toggleStickyScroll',
|
|
18
18
|
title: {
|
|
19
|
-
...localize2(
|
|
20
|
-
mnemonicTitle: localize(
|
|
19
|
+
...localize2(1463, "Toggle Editor Sticky Scroll"),
|
|
20
|
+
mnemonicTitle: localize(1459, "&&Toggle Editor Sticky Scroll"),
|
|
21
21
|
},
|
|
22
22
|
metadata: {
|
|
23
|
-
description: localize2(
|
|
23
|
+
description: localize2(1464, "Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport"),
|
|
24
24
|
},
|
|
25
25
|
category: Categories.View,
|
|
26
26
|
toggled: {
|
|
27
27
|
condition: ContextKeyExpr.equals('config.editor.stickyScroll.enabled', true),
|
|
28
|
-
title: localize(
|
|
29
|
-
mnemonicTitle: localize(
|
|
28
|
+
title: localize(1460, "Sticky Scroll"),
|
|
29
|
+
mnemonicTitle: localize(1461, "&&Sticky Scroll"),
|
|
30
30
|
},
|
|
31
31
|
menu: [
|
|
32
32
|
{ id: MenuId.CommandPalette },
|
|
@@ -51,8 +51,8 @@ class FocusStickyScroll extends EditorAction2 {
|
|
|
51
51
|
super({
|
|
52
52
|
id: 'editor.action.focusStickyScroll',
|
|
53
53
|
title: {
|
|
54
|
-
...localize2(
|
|
55
|
-
mnemonicTitle: localize(
|
|
54
|
+
...localize2(1465, "Focus Editor Sticky Scroll"),
|
|
55
|
+
mnemonicTitle: localize(1462, "&&Focus Editor Sticky Scroll"),
|
|
56
56
|
},
|
|
57
57
|
precondition: ContextKeyExpr.and(ContextKeyExpr.has('config.editor.stickyScroll.enabled'), EditorContextKeys.stickyScrollVisible),
|
|
58
58
|
menu: [
|
|
@@ -68,7 +68,7 @@ class SelectNextStickyScrollLine extends EditorAction2 {
|
|
|
68
68
|
constructor() {
|
|
69
69
|
super({
|
|
70
70
|
id: 'editor.action.selectNextStickyScrollLine',
|
|
71
|
-
title: localize2(
|
|
71
|
+
title: localize2(1466, "Select the next editor sticky scroll line"),
|
|
72
72
|
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
|
|
73
73
|
keybinding: {
|
|
74
74
|
weight,
|
|
@@ -84,7 +84,7 @@ class SelectPreviousStickyScrollLine extends EditorAction2 {
|
|
|
84
84
|
constructor() {
|
|
85
85
|
super({
|
|
86
86
|
id: 'editor.action.selectPreviousStickyScrollLine',
|
|
87
|
-
title: localize2(
|
|
87
|
+
title: localize2(1467, "Select the previous sticky scroll line"),
|
|
88
88
|
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
|
|
89
89
|
keybinding: {
|
|
90
90
|
weight,
|
|
@@ -100,7 +100,7 @@ class GoToStickyScrollLine extends EditorAction2 {
|
|
|
100
100
|
constructor() {
|
|
101
101
|
super({
|
|
102
102
|
id: 'editor.action.goToFocusedStickyScrollLine',
|
|
103
|
-
title: localize2(
|
|
103
|
+
title: localize2(1468, "Go to the focused sticky scroll line"),
|
|
104
104
|
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
|
|
105
105
|
keybinding: {
|
|
106
106
|
weight,
|
|
@@ -116,7 +116,7 @@ class SelectEditor extends EditorAction2 {
|
|
|
116
116
|
constructor() {
|
|
117
117
|
super({
|
|
118
118
|
id: 'editor.action.selectEditor',
|
|
119
|
-
title: localize2(
|
|
119
|
+
title: localize2(1469, "Select Editor"),
|
|
120
120
|
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
|
|
121
121
|
keybinding: {
|
|
122
122
|
weight,
|
|
@@ -22,15 +22,15 @@ import { historyNavigationVisible } from '../../../../platform/history/browser/c
|
|
|
22
22
|
*--------------------------------------------------------------------------------------------*/
|
|
23
23
|
const Context = {
|
|
24
24
|
Visible: historyNavigationVisible,
|
|
25
|
-
HasFocusedSuggestion: new RawContextKey('suggestWidgetHasFocusedSuggestion', false, localize(
|
|
26
|
-
DetailsVisible: new RawContextKey('suggestWidgetDetailsVisible', false, localize(
|
|
27
|
-
DetailsFocused: new RawContextKey('suggestWidgetDetailsFocused', false, localize(
|
|
28
|
-
MultipleSuggestions: new RawContextKey('suggestWidgetMultipleSuggestions', false, localize(
|
|
29
|
-
MakesTextEdit: new RawContextKey('suggestionMakesTextEdit', true, localize(
|
|
30
|
-
AcceptSuggestionsOnEnter: new RawContextKey('acceptSuggestionOnEnter', true, localize(
|
|
31
|
-
HasInsertAndReplaceRange: new RawContextKey('suggestionHasInsertAndReplaceRange', false, localize(
|
|
32
|
-
InsertMode: new RawContextKey('suggestionInsertMode', undefined, { type: 'string', description: localize(
|
|
33
|
-
CanResolve: new RawContextKey('suggestionCanResolve', false, localize(
|
|
25
|
+
HasFocusedSuggestion: new RawContextKey('suggestWidgetHasFocusedSuggestion', false, localize(1470, "Whether any suggestion is focused")),
|
|
26
|
+
DetailsVisible: new RawContextKey('suggestWidgetDetailsVisible', false, localize(1471, "Whether suggestion details are visible")),
|
|
27
|
+
DetailsFocused: new RawContextKey('suggestWidgetDetailsFocused', false, localize(1472, "Whether the details pane of the suggest widget has focus")),
|
|
28
|
+
MultipleSuggestions: new RawContextKey('suggestWidgetMultipleSuggestions', false, localize(1473, "Whether there are multiple suggestions to pick from")),
|
|
29
|
+
MakesTextEdit: new RawContextKey('suggestionMakesTextEdit', true, localize(1474, "Whether inserting the current suggestion yields in a change or has everything already been typed")),
|
|
30
|
+
AcceptSuggestionsOnEnter: new RawContextKey('acceptSuggestionOnEnter', true, localize(1475, "Whether suggestions are inserted when pressing Enter")),
|
|
31
|
+
HasInsertAndReplaceRange: new RawContextKey('suggestionHasInsertAndReplaceRange', false, localize(1476, "Whether the current suggestion has insert and replace behaviour")),
|
|
32
|
+
InsertMode: new RawContextKey('suggestionInsertMode', undefined, { type: 'string', description: localize(1477, "Whether the default behaviour is to insert or replace") }),
|
|
33
|
+
CanResolve: new RawContextKey('suggestionCanResolve', false, localize(1478, "Whether the current suggestion supports to resolve further details")),
|
|
34
34
|
};
|
|
35
35
|
const suggestWidgetStatusbarMenu = new MenuId('suggestWidgetStatusBar');
|
|
36
36
|
class CompletionItem {
|
|
@@ -468,7 +468,7 @@ let SuggestController = class SuggestController {
|
|
|
468
468
|
}
|
|
469
469
|
_alertCompletionItem(item) {
|
|
470
470
|
if (isNonEmptyArray(item.completion.additionalTextEdits)) {
|
|
471
|
-
const msg = localize(
|
|
471
|
+
const msg = localize(1479, "Accepting '{0}' made {1} additional edits", item.textLabel, item.completion.additionalTextEdits.length);
|
|
472
472
|
alert(msg);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
@@ -654,7 +654,7 @@ class TriggerSuggestAction extends EditorAction {
|
|
|
654
654
|
constructor() {
|
|
655
655
|
super({
|
|
656
656
|
id: TriggerSuggestAction.id,
|
|
657
|
-
label: localize2(
|
|
657
|
+
label: localize2(1488, "Trigger Suggest"),
|
|
658
658
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasCompletionItemProvider, Context.Visible.toNegated()),
|
|
659
659
|
kbOpts: {
|
|
660
660
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -702,19 +702,19 @@ registerEditorCommand(new SuggestCommand({
|
|
|
702
702
|
}],
|
|
703
703
|
menuOpts: [{
|
|
704
704
|
menuId: suggestWidgetStatusbarMenu,
|
|
705
|
-
title: localize(
|
|
705
|
+
title: localize(1480, "Insert"),
|
|
706
706
|
group: 'left',
|
|
707
707
|
order: 1,
|
|
708
708
|
when: ContextKeyExpr.and(Context.HasFocusedSuggestion, Context.HasInsertAndReplaceRange.toNegated())
|
|
709
709
|
}, {
|
|
710
710
|
menuId: suggestWidgetStatusbarMenu,
|
|
711
|
-
title: localize(
|
|
711
|
+
title: localize(1481, "Insert"),
|
|
712
712
|
group: 'left',
|
|
713
713
|
order: 1,
|
|
714
714
|
when: ContextKeyExpr.and(Context.HasFocusedSuggestion, Context.HasInsertAndReplaceRange, Context.InsertMode.isEqualTo('insert'))
|
|
715
715
|
}, {
|
|
716
716
|
menuId: suggestWidgetStatusbarMenu,
|
|
717
|
-
title: localize(
|
|
717
|
+
title: localize(1482, "Replace"),
|
|
718
718
|
group: 'left',
|
|
719
719
|
order: 1,
|
|
720
720
|
when: ContextKeyExpr.and(Context.HasFocusedSuggestion, Context.HasInsertAndReplaceRange, Context.InsertMode.isEqualTo('replace'))
|
|
@@ -737,13 +737,13 @@ registerEditorCommand(new SuggestCommand({
|
|
|
737
737
|
group: 'left',
|
|
738
738
|
order: 2,
|
|
739
739
|
when: ContextKeyExpr.and(Context.HasFocusedSuggestion, Context.HasInsertAndReplaceRange, Context.InsertMode.isEqualTo('insert')),
|
|
740
|
-
title: localize(
|
|
740
|
+
title: localize(1483, "Replace")
|
|
741
741
|
}, {
|
|
742
742
|
menuId: suggestWidgetStatusbarMenu,
|
|
743
743
|
group: 'left',
|
|
744
744
|
order: 2,
|
|
745
745
|
when: ContextKeyExpr.and(Context.HasFocusedSuggestion, Context.HasInsertAndReplaceRange, Context.InsertMode.isEqualTo('replace')),
|
|
746
|
-
title: localize(
|
|
746
|
+
title: localize(1484, "Insert")
|
|
747
747
|
}]
|
|
748
748
|
}));
|
|
749
749
|
// continue to support the old command
|
|
@@ -775,7 +775,7 @@ registerEditorCommand(new SuggestCommand({
|
|
|
775
775
|
group: 'left',
|
|
776
776
|
order: 0,
|
|
777
777
|
when: Context.HasFocusedSuggestion.toNegated(),
|
|
778
|
-
title: localize(
|
|
778
|
+
title: localize(1485, "Select")
|
|
779
779
|
}
|
|
780
780
|
}));
|
|
781
781
|
registerEditorCommand(new SuggestCommand({
|
|
@@ -858,13 +858,13 @@ registerEditorCommand(new SuggestCommand({
|
|
|
858
858
|
group: 'right',
|
|
859
859
|
order: 1,
|
|
860
860
|
when: ContextKeyExpr.and(Context.DetailsVisible, Context.CanResolve),
|
|
861
|
-
title: localize(
|
|
861
|
+
title: localize(1486, "Show Less")
|
|
862
862
|
}, {
|
|
863
863
|
menuId: suggestWidgetStatusbarMenu,
|
|
864
864
|
group: 'right',
|
|
865
865
|
order: 1,
|
|
866
866
|
when: ContextKeyExpr.and(Context.DetailsVisible.toNegated(), Context.CanResolve),
|
|
867
|
-
title: localize(
|
|
867
|
+
title: localize(1487, "Show More")
|
|
868
868
|
}]
|
|
869
869
|
}));
|
|
870
870
|
registerEditorCommand(new SuggestCommand({
|
|
@@ -940,7 +940,7 @@ registerEditorAction(class extends EditorAction {
|
|
|
940
940
|
constructor() {
|
|
941
941
|
super({
|
|
942
942
|
id: 'editor.action.resetSuggestSize',
|
|
943
|
-
label: localize2(
|
|
943
|
+
label: localize2(1489, "Reset Suggest Widget Size"),
|
|
944
944
|
precondition: undefined
|
|
945
945
|
});
|
|
946
946
|
}
|