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
|
@@ -13,15 +13,15 @@ class ShowOrFocusStandaloneColorPicker extends EditorAction2 {
|
|
|
13
13
|
super({
|
|
14
14
|
id: 'editor.action.showOrFocusStandaloneColorPicker',
|
|
15
15
|
title: {
|
|
16
|
-
...localize2(
|
|
17
|
-
mnemonicTitle: localize(
|
|
16
|
+
...localize2(900, "Show or Focus Standalone Color Picker"),
|
|
17
|
+
mnemonicTitle: localize(899, "&&Show or Focus Standalone Color Picker"),
|
|
18
18
|
},
|
|
19
19
|
precondition: undefined,
|
|
20
20
|
menu: [
|
|
21
21
|
{ id: MenuId.CommandPalette },
|
|
22
22
|
],
|
|
23
23
|
metadata: {
|
|
24
|
-
description: localize2(
|
|
24
|
+
description: localize2(901, "Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors."),
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
}
|
|
@@ -33,7 +33,7 @@ class HideStandaloneColorPicker extends EditorAction {
|
|
|
33
33
|
constructor() {
|
|
34
34
|
super({
|
|
35
35
|
id: 'editor.action.hideColorPicker',
|
|
36
|
-
label: localize2(
|
|
36
|
+
label: localize2(902, "Hide the Color Picker"),
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
@@ -45,7 +45,7 @@ class HideStandaloneColorPicker extends EditorAction {
|
|
|
45
45
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
46
46
|
},
|
|
47
47
|
metadata: {
|
|
48
|
-
description: localize2(
|
|
48
|
+
description: localize2(903, "Hide the standalone color picker."),
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
}
|
|
@@ -57,7 +57,7 @@ class InsertColorWithStandaloneColorPicker extends EditorAction {
|
|
|
57
57
|
constructor() {
|
|
58
58
|
super({
|
|
59
59
|
id: 'editor.action.insertColorWithStandaloneColorPicker',
|
|
60
|
-
label: localize2(
|
|
60
|
+
label: localize2(904, "Insert Color with Standalone Color Picker"),
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
@@ -69,7 +69,7 @@ class InsertColorWithStandaloneColorPicker extends EditorAction {
|
|
|
69
69
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
70
70
|
},
|
|
71
71
|
metadata: {
|
|
72
|
-
description: localize2(
|
|
72
|
+
description: localize2(905, "Insert hex/rgb/hsl colors with the focused standalone color picker."),
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
}
|
|
@@ -57,7 +57,7 @@ class ToggleCommentLineAction extends CommentLineAction {
|
|
|
57
57
|
constructor() {
|
|
58
58
|
super(0 /* Type.Toggle */, {
|
|
59
59
|
id: 'editor.action.commentLine',
|
|
60
|
-
label: localize2(
|
|
60
|
+
label: localize2(908, "Toggle Line Comment"),
|
|
61
61
|
precondition: EditorContextKeys.writable,
|
|
62
62
|
kbOpts: {
|
|
63
63
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -67,7 +67,7 @@ class ToggleCommentLineAction extends CommentLineAction {
|
|
|
67
67
|
menuOpts: {
|
|
68
68
|
menuId: MenuId.MenubarEditMenu,
|
|
69
69
|
group: '5_insert',
|
|
70
|
-
title: localize(
|
|
70
|
+
title: localize(906, "&&Toggle Line Comment"),
|
|
71
71
|
order: 1
|
|
72
72
|
},
|
|
73
73
|
canTriggerInlineEdits: true,
|
|
@@ -78,7 +78,7 @@ class AddLineCommentAction extends CommentLineAction {
|
|
|
78
78
|
constructor() {
|
|
79
79
|
super(1 /* Type.ForceAdd */, {
|
|
80
80
|
id: 'editor.action.addCommentLine',
|
|
81
|
-
label: localize2(
|
|
81
|
+
label: localize2(909, "Add Line Comment"),
|
|
82
82
|
precondition: EditorContextKeys.writable,
|
|
83
83
|
kbOpts: {
|
|
84
84
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -93,7 +93,7 @@ class RemoveLineCommentAction extends CommentLineAction {
|
|
|
93
93
|
constructor() {
|
|
94
94
|
super(2 /* Type.ForceRemove */, {
|
|
95
95
|
id: 'editor.action.removeCommentLine',
|
|
96
|
-
label: localize2(
|
|
96
|
+
label: localize2(910, "Remove Line Comment"),
|
|
97
97
|
precondition: EditorContextKeys.writable,
|
|
98
98
|
kbOpts: {
|
|
99
99
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -108,7 +108,7 @@ class BlockCommentAction extends EditorAction {
|
|
|
108
108
|
constructor() {
|
|
109
109
|
super({
|
|
110
110
|
id: 'editor.action.blockComment',
|
|
111
|
-
label: localize2(
|
|
111
|
+
label: localize2(911, "Toggle Block Comment"),
|
|
112
112
|
precondition: EditorContextKeys.writable,
|
|
113
113
|
kbOpts: {
|
|
114
114
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -119,7 +119,7 @@ class BlockCommentAction extends EditorAction {
|
|
|
119
119
|
menuOpts: {
|
|
120
120
|
menuId: MenuId.MenubarEditMenu,
|
|
121
121
|
group: '5_insert',
|
|
122
|
-
title: localize(
|
|
122
|
+
title: localize(907, "Toggle &&Block Comment"),
|
|
123
123
|
order: 2
|
|
124
124
|
},
|
|
125
125
|
canTriggerInlineEdits: true,
|
|
@@ -248,7 +248,7 @@ let ContextMenuController = class ContextMenuController {
|
|
|
248
248
|
};
|
|
249
249
|
const actions = [];
|
|
250
250
|
actions.push(createAction({
|
|
251
|
-
label: localize(
|
|
251
|
+
label: localize(912, "Minimap"),
|
|
252
252
|
checked: minimapOptions.enabled,
|
|
253
253
|
run: () => {
|
|
254
254
|
this._configurationService.updateValue(`editor.minimap.enabled`, !minimapOptions.enabled);
|
|
@@ -256,28 +256,28 @@ let ContextMenuController = class ContextMenuController {
|
|
|
256
256
|
}));
|
|
257
257
|
actions.push(new Separator());
|
|
258
258
|
actions.push(createAction({
|
|
259
|
-
label: localize(
|
|
259
|
+
label: localize(913, "Render Characters"),
|
|
260
260
|
enabled: minimapOptions.enabled,
|
|
261
261
|
checked: minimapOptions.renderCharacters,
|
|
262
262
|
run: () => {
|
|
263
263
|
this._configurationService.updateValue(`editor.minimap.renderCharacters`, !minimapOptions.renderCharacters);
|
|
264
264
|
}
|
|
265
265
|
}));
|
|
266
|
-
actions.push(createEnumAction(localize(
|
|
267
|
-
label: localize(
|
|
266
|
+
actions.push(createEnumAction(localize(914, "Vertical size"), minimapOptions.enabled, 'editor.minimap.size', minimapOptions.size, [{
|
|
267
|
+
label: localize(915, "Proportional"),
|
|
268
268
|
value: 'proportional'
|
|
269
269
|
}, {
|
|
270
|
-
label: localize(
|
|
270
|
+
label: localize(916, "Fill"),
|
|
271
271
|
value: 'fill'
|
|
272
272
|
}, {
|
|
273
|
-
label: localize(
|
|
273
|
+
label: localize(917, "Fit"),
|
|
274
274
|
value: 'fit'
|
|
275
275
|
}]));
|
|
276
|
-
actions.push(createEnumAction(localize(
|
|
277
|
-
label: localize(
|
|
276
|
+
actions.push(createEnumAction(localize(918, "Slider"), minimapOptions.enabled, 'editor.minimap.showSlider', minimapOptions.showSlider, [{
|
|
277
|
+
label: localize(919, "Mouse Over"),
|
|
278
278
|
value: 'mouseover'
|
|
279
279
|
}, {
|
|
280
|
-
label: localize(
|
|
280
|
+
label: localize(920, "Always"),
|
|
281
281
|
value: 'always'
|
|
282
282
|
}]));
|
|
283
283
|
const useShadowDOM = this._editor.getOption(144 /* EditorOption.useShadowDOM */) && !isIOS; // Do not use shadow dom on IOS #122035
|
|
@@ -315,7 +315,7 @@ class ShowContextMenu extends EditorAction {
|
|
|
315
315
|
constructor() {
|
|
316
316
|
super({
|
|
317
317
|
id: 'editor.action.showContextMenu',
|
|
318
|
-
label: localize2(
|
|
318
|
+
label: localize2(921, "Show Editor Context Menu"),
|
|
319
319
|
precondition: undefined,
|
|
320
320
|
kbOpts: {
|
|
321
321
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -101,7 +101,7 @@ class CursorUndo extends EditorAction {
|
|
|
101
101
|
constructor() {
|
|
102
102
|
super({
|
|
103
103
|
id: 'cursorUndo',
|
|
104
|
-
label: localize2(
|
|
104
|
+
label: localize2(922, "Cursor Undo"),
|
|
105
105
|
precondition: undefined,
|
|
106
106
|
kbOpts: {
|
|
107
107
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -118,7 +118,7 @@ class CursorRedo extends EditorAction {
|
|
|
118
118
|
constructor() {
|
|
119
119
|
super({
|
|
120
120
|
id: 'cursorRedo',
|
|
121
|
-
label: localize2(
|
|
121
|
+
label: localize2(923, "Cursor Redo"),
|
|
122
122
|
precondition: undefined
|
|
123
123
|
});
|
|
124
124
|
}
|
|
@@ -52,7 +52,7 @@ registerEditorAction(class PasteAsAction extends EditorAction {
|
|
|
52
52
|
properties: {
|
|
53
53
|
kind: {
|
|
54
54
|
type: 'string',
|
|
55
|
-
description: localize(
|
|
55
|
+
description: localize(924, "The kind of the paste edit to try pasting with.\nIf there are multiple edits for this kind, the editor will show a picker. If there are no edits of this kind, the editor will show an error message."),
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
},
|
|
@@ -62,7 +62,7 @@ registerEditorAction(class PasteAsAction extends EditorAction {
|
|
|
62
62
|
properties: {
|
|
63
63
|
preferences: {
|
|
64
64
|
type: 'array',
|
|
65
|
-
description: localize(
|
|
65
|
+
description: localize(925, "List of preferred paste edit kind to try applying.\nThe first edit matching the preferences will be applied."),
|
|
66
66
|
items: { type: 'string' }
|
|
67
67
|
}
|
|
68
68
|
},
|
|
@@ -72,7 +72,7 @@ registerEditorAction(class PasteAsAction extends EditorAction {
|
|
|
72
72
|
constructor() {
|
|
73
73
|
super({
|
|
74
74
|
id: pasteAsCommandId,
|
|
75
|
-
label: localize2(
|
|
75
|
+
label: localize2(926, "Paste As..."),
|
|
76
76
|
precondition: EditorContextKeys.writable,
|
|
77
77
|
metadata: {
|
|
78
78
|
description: 'Paste as',
|
|
@@ -101,7 +101,7 @@ registerEditorAction(class extends EditorAction {
|
|
|
101
101
|
constructor() {
|
|
102
102
|
super({
|
|
103
103
|
id: 'editor.action.pasteAsText',
|
|
104
|
-
label: localize2(
|
|
104
|
+
label: localize2(927, "Paste as Text"),
|
|
105
105
|
precondition: EditorContextKeys.writable,
|
|
106
106
|
canTriggerInlineEdits: true,
|
|
107
107
|
});
|
|
@@ -43,7 +43,7 @@ var __param = (undefined && undefined.__param) || function (paramIndex, decorato
|
|
|
43
43
|
var CopyPasteController_1;
|
|
44
44
|
const changePasteTypeCommandId = 'editor.changePasteType';
|
|
45
45
|
const pasteAsPreferenceConfig = 'editor.pasteAs.preferences';
|
|
46
|
-
const pasteWidgetVisibleCtx = new RawContextKey('pasteWidgetVisible', false, localize(
|
|
46
|
+
const pasteWidgetVisibleCtx = new RawContextKey('pasteWidgetVisible', false, localize(928, "Whether the paste widget is showing"));
|
|
47
47
|
const vscodeClipboardMime = 'application/vnd.code.copymetadata';
|
|
48
48
|
let CopyPasteController = class CopyPasteController extends Disposable {
|
|
49
49
|
static { CopyPasteController_1 = this; }
|
|
@@ -66,7 +66,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
66
66
|
this._register(editor.onWillCut(e => this.handleCopy(e)));
|
|
67
67
|
this._register(editor.onWillPaste(e => this.handlePaste(e)));
|
|
68
68
|
this._pasteProgressManager = this._register(new InlineProgressManager('pasteIntoEditor', editor, instantiationService));
|
|
69
|
-
this._postPasteWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'pasteIntoEditor', editor, pasteWidgetVisibleCtx, { id: changePasteTypeCommandId, label: localize(
|
|
69
|
+
this._postPasteWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'pasteIntoEditor', editor, pasteWidgetVisibleCtx, { id: changePasteTypeCommandId, label: localize(929, "Show paste options...") }, () => CopyPasteController_1._configureDefaultAction ? [CopyPasteController_1._configureDefaultAction] : []));
|
|
70
70
|
}
|
|
71
71
|
changePasteType() {
|
|
72
72
|
this._postPasteWidgetManager.tryShowSelector();
|
|
@@ -215,9 +215,9 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
215
215
|
const kindLabel = 'only' in preference
|
|
216
216
|
? preference.only.value
|
|
217
217
|
: 'preferences' in preference
|
|
218
|
-
? (preference.preferences.length ? preference.preferences.map(preference => preference.value).join(', ') : localize(
|
|
218
|
+
? (preference.preferences.length ? preference.preferences.map(preference => preference.value).join(', ') : localize(930, "empty"))
|
|
219
219
|
: preference.providerId;
|
|
220
|
-
MessageController.get(this._editor)?.showMessage(localize(
|
|
220
|
+
MessageController.get(this._editor)?.showMessage(localize(931, "No paste edits for '{0}' found", kindLabel), selections[0].getStartPosition());
|
|
221
221
|
}
|
|
222
222
|
doPasteInline(allProviders, selections, dataTransfer, metadata, clipboardEvent) {
|
|
223
223
|
this._logService.trace('CopyPasteController#doPasteInline');
|
|
@@ -267,7 +267,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
267
267
|
}
|
|
268
268
|
const resolveP = edit.provider.resolveDocumentPasteEdit(edit, resolveToken);
|
|
269
269
|
const showP = new DeferredPromise();
|
|
270
|
-
const resolved = await this._pasteProgressManager.showWhile(selections[0].getEndPosition(), localize(
|
|
270
|
+
const resolved = await this._pasteProgressManager.showWhile(selections[0].getEndPosition(), localize(932, "Resolving paste edit for '{0}'. Click to cancel", edit.title), raceCancellation(Promise.race([showP.p, resolveP]), resolveToken), {
|
|
271
271
|
cancel: () => showP.cancel()
|
|
272
272
|
}, 0);
|
|
273
273
|
if (resolved) {
|
|
@@ -286,7 +286,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
});
|
|
289
|
-
this._pasteProgressManager.showWhile(selections[0].getEndPosition(), localize(
|
|
289
|
+
this._pasteProgressManager.showWhile(selections[0].getEndPosition(), localize(933, "Running paste handlers. Click to cancel and do basic paste"), p, {
|
|
290
290
|
cancel: async () => {
|
|
291
291
|
p.cancel();
|
|
292
292
|
if (editorStateCts.token.isCancellationRequested) {
|
|
@@ -358,7 +358,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
358
358
|
else {
|
|
359
359
|
const configureDefaultItem = {
|
|
360
360
|
id: 'editor.pasteAs.default',
|
|
361
|
-
label: localize(
|
|
361
|
+
label: localize(934, "Configure default paste action"),
|
|
362
362
|
edit: undefined,
|
|
363
363
|
};
|
|
364
364
|
const selected = await this._quickInputService.pick([
|
|
@@ -375,7 +375,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
375
375
|
}
|
|
376
376
|
] : [])
|
|
377
377
|
], {
|
|
378
|
-
placeHolder: localize(
|
|
378
|
+
placeHolder: localize(935, "Select Paste Action"),
|
|
379
379
|
});
|
|
380
380
|
if (selected === configureDefaultItem) {
|
|
381
381
|
CopyPasteController_1._configureDefaultAction?.run();
|
|
@@ -398,7 +398,7 @@ let CopyPasteController = class CopyPasteController extends Disposable {
|
|
|
398
398
|
});
|
|
399
399
|
this._progressService.withProgress({
|
|
400
400
|
location: 10 /* ProgressLocation.Window */,
|
|
401
|
-
title: localize(
|
|
401
|
+
title: localize(936, "Running paste handlers"),
|
|
402
402
|
}, () => p);
|
|
403
403
|
}
|
|
404
404
|
setCopyMetadata(clipboardData, metadata) {
|
|
@@ -73,7 +73,7 @@ class DefaultTextPasteOrDropEditProvider extends SimplePasteAndDropProvider {
|
|
|
73
73
|
const insertText = await textEntry.asString();
|
|
74
74
|
return {
|
|
75
75
|
handledMimeType: Mimes.text,
|
|
76
|
-
title: localize(
|
|
76
|
+
title: localize(937, "Insert Plain Text"),
|
|
77
77
|
insertText,
|
|
78
78
|
kind: this.kind,
|
|
79
79
|
};
|
|
@@ -106,14 +106,14 @@ class PathProvider extends SimplePasteAndDropProvider {
|
|
|
106
106
|
if (uriCount > 0) {
|
|
107
107
|
// Dropping at least one generic uri (such as https) so use most generic label
|
|
108
108
|
label = entries.length > 1
|
|
109
|
-
? localize(
|
|
110
|
-
: localize(
|
|
109
|
+
? localize(938, "Insert Uris")
|
|
110
|
+
: localize(939, "Insert Uri");
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
113
113
|
// All the paths are file paths
|
|
114
114
|
label = entries.length > 1
|
|
115
|
-
? localize(
|
|
116
|
-
: localize(
|
|
115
|
+
? localize(940, "Insert Paths")
|
|
116
|
+
: localize(941, "Insert Path");
|
|
117
117
|
}
|
|
118
118
|
return {
|
|
119
119
|
handledMimeType: Mimes.uriList,
|
|
@@ -146,8 +146,8 @@ let RelativePathProvider = class RelativePathProvider extends SimplePasteAndDrop
|
|
|
146
146
|
handledMimeType: Mimes.uriList,
|
|
147
147
|
insertText: relativeUris.join(' '),
|
|
148
148
|
title: entries.length > 1
|
|
149
|
-
? localize(
|
|
150
|
-
: localize(
|
|
149
|
+
? localize(942, "Insert Relative Paths")
|
|
150
|
+
: localize(943, "Insert Relative Path"),
|
|
151
151
|
kind: this.kind,
|
|
152
152
|
};
|
|
153
153
|
}
|
|
@@ -177,7 +177,7 @@ class PasteHtmlProvider {
|
|
|
177
177
|
edits: [{
|
|
178
178
|
insertText: htmlText,
|
|
179
179
|
yieldTo: this._yieldTo,
|
|
180
|
-
title: localize(
|
|
180
|
+
title: localize(944, 'Insert HTML'),
|
|
181
181
|
kind: this.kind,
|
|
182
182
|
}],
|
|
183
183
|
};
|
|
@@ -35,7 +35,7 @@ var __param = (undefined && undefined.__param) || function (paramIndex, decorato
|
|
|
35
35
|
var DropIntoEditorController_1;
|
|
36
36
|
const dropAsPreferenceConfig = 'editor.dropIntoEditor.preferences';
|
|
37
37
|
const changeDropTypeCommandId = 'editor.changeDropType';
|
|
38
|
-
const dropWidgetVisibleCtx = new RawContextKey('dropWidgetVisible', false, localize(
|
|
38
|
+
const dropWidgetVisibleCtx = new RawContextKey('dropWidgetVisible', false, localize(945, "Whether the drop widget is showing"));
|
|
39
39
|
let DropIntoEditorController = class DropIntoEditorController extends Disposable {
|
|
40
40
|
static { DropIntoEditorController_1 = this; }
|
|
41
41
|
static { this.ID = 'editor.contrib.dropIntoEditorController'; }
|
|
@@ -49,7 +49,7 @@ let DropIntoEditorController = class DropIntoEditorController extends Disposable
|
|
|
49
49
|
this._treeViewsDragAndDropService = _treeViewsDragAndDropService;
|
|
50
50
|
this.treeItemsTransfer = LocalSelectionTransfer.getInstance();
|
|
51
51
|
this._dropProgressManager = this._register(instantiationService.createInstance(InlineProgressManager, 'dropIntoEditor', editor));
|
|
52
|
-
this._postDropWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'dropIntoEditor', editor, dropWidgetVisibleCtx, { id: changeDropTypeCommandId, label: localize(
|
|
52
|
+
this._postDropWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, 'dropIntoEditor', editor, dropWidgetVisibleCtx, { id: changeDropTypeCommandId, label: localize(946, "Show drop options...") }, () => DropIntoEditorController_1._configureDefaultAction ? [DropIntoEditorController_1._configureDefaultAction] : []));
|
|
53
53
|
this._register(editor.onDropIntoEditor(e => this.onDropIntoEditor(editor, e.position, e.event)));
|
|
54
54
|
}
|
|
55
55
|
clearWidgets() {
|
|
@@ -104,7 +104,7 @@ let DropIntoEditorController = class DropIntoEditorController extends Disposable
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
});
|
|
107
|
-
this._dropProgressManager.showWhile(position, localize(
|
|
107
|
+
this._dropProgressManager.showWhile(position, localize(947, "Running drop handlers. Click to cancel"), p, { cancel: () => p.cancel() });
|
|
108
108
|
DropIntoEditorController_1._currentDropOperation = p;
|
|
109
109
|
}
|
|
110
110
|
async getDropEdits(providers, model, position, dataTransfer, token) {
|
|
@@ -162,7 +162,7 @@ let PostEditWidgetManager = class PostEditWidgetManager extends Disposable {
|
|
|
162
162
|
resolvedEdit = await raceCancellationError(resolve(edit, editorStateCts.token), editorStateCts.token);
|
|
163
163
|
}
|
|
164
164
|
catch (e) {
|
|
165
|
-
return handleError(e, localize(
|
|
165
|
+
return handleError(e, localize(948, "Error resolving edit '{0}':\n{1}", edit.title, toErrorMessage(e)));
|
|
166
166
|
}
|
|
167
167
|
finally {
|
|
168
168
|
editorStateCts.dispose();
|
|
@@ -185,7 +185,7 @@ let PostEditWidgetManager = class PostEditWidgetManager extends Disposable {
|
|
|
185
185
|
editRange = model.getDecorationRange(editTrackingDecoration[0]);
|
|
186
186
|
}
|
|
187
187
|
catch (e) {
|
|
188
|
-
return handleError(e, localize(
|
|
188
|
+
return handleError(e, localize(949, "Error applying edit '{0}':\n{1}", edit.title, toErrorMessage(e)));
|
|
189
189
|
}
|
|
190
190
|
finally {
|
|
191
191
|
model.deltaDecorations(editTrackingDecoration, []);
|
|
@@ -11,7 +11,7 @@ import { localize } from '../../../../nls.js';
|
|
|
11
11
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
12
12
|
*--------------------------------------------------------------------------------------------*/
|
|
13
13
|
const IEditorCancellationTokens = createDecorator('IEditorCancelService');
|
|
14
|
-
const ctxCancellableOperation = new RawContextKey('cancellableOperation', false, localize(
|
|
14
|
+
const ctxCancellableOperation = new RawContextKey('cancellableOperation', false, localize(950, 'Whether the editor runs a cancellable operation, e.g. like \'Peek References\''));
|
|
15
15
|
registerSingleton(IEditorCancellationTokens, class {
|
|
16
16
|
constructor() {
|
|
17
17
|
this._tokens = new WeakMap();
|
|
@@ -312,7 +312,7 @@ let CommonFindController = class CommonFindController extends Disposable {
|
|
|
312
312
|
replaceAll() {
|
|
313
313
|
if (this._model) {
|
|
314
314
|
if (this._editor.getModel()?.isTooLargeForHeapOperation()) {
|
|
315
|
-
this._notificationService.warn(localize(
|
|
315
|
+
this._notificationService.warn(localize(951, "The file is too large to perform a replace all operation."));
|
|
316
316
|
return false;
|
|
317
317
|
}
|
|
318
318
|
this._model.replaceAll();
|
|
@@ -425,7 +425,7 @@ FindController = __decorate([
|
|
|
425
425
|
], FindController);
|
|
426
426
|
const StartFindAction = registerMultiEditorAction(new MultiEditorAction({
|
|
427
427
|
id: FIND_IDS.StartFindAction,
|
|
428
|
-
label: localize2(
|
|
428
|
+
label: localize2(958, "Find"),
|
|
429
429
|
precondition: ContextKeyExpr.or(EditorContextKeys.focus, ContextKeyExpr.has('editorIsOpen')),
|
|
430
430
|
kbOpts: {
|
|
431
431
|
kbExpr: null,
|
|
@@ -435,7 +435,7 @@ const StartFindAction = registerMultiEditorAction(new MultiEditorAction({
|
|
|
435
435
|
menuOpts: {
|
|
436
436
|
menuId: MenuId.MenubarEditMenu,
|
|
437
437
|
group: '3_find',
|
|
438
|
-
title: localize(
|
|
438
|
+
title: localize(952, "&&Find"),
|
|
439
439
|
order: 1
|
|
440
440
|
}
|
|
441
441
|
}));
|
|
@@ -476,7 +476,7 @@ class StartFindWithArgsAction extends EditorAction {
|
|
|
476
476
|
constructor() {
|
|
477
477
|
super({
|
|
478
478
|
id: FIND_IDS.StartFindWithArgs,
|
|
479
|
-
label: localize2(
|
|
479
|
+
label: localize2(959, "Find with Arguments"),
|
|
480
480
|
precondition: undefined,
|
|
481
481
|
kbOpts: {
|
|
482
482
|
kbExpr: null,
|
|
@@ -520,7 +520,7 @@ class StartFindWithSelectionAction extends EditorAction {
|
|
|
520
520
|
constructor() {
|
|
521
521
|
super({
|
|
522
522
|
id: FIND_IDS.StartFindWithSelection,
|
|
523
|
-
label: localize2(
|
|
523
|
+
label: localize2(960, "Find with Selection"),
|
|
524
524
|
precondition: undefined,
|
|
525
525
|
kbOpts: {
|
|
526
526
|
kbExpr: null,
|
|
@@ -578,7 +578,7 @@ async function matchFindAction(editor, next) {
|
|
|
578
578
|
}
|
|
579
579
|
const NextMatchFindAction = registerMultiEditorAction(new MultiEditorAction({
|
|
580
580
|
id: FIND_IDS.NextMatchFindAction,
|
|
581
|
-
label: localize2(
|
|
581
|
+
label: localize2(961, "Find Next"),
|
|
582
582
|
precondition: undefined,
|
|
583
583
|
kbOpts: [{
|
|
584
584
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -596,7 +596,7 @@ NextMatchFindAction.addImplementation(0, async (accessor, editor, args) => {
|
|
|
596
596
|
});
|
|
597
597
|
const PreviousMatchFindAction = registerMultiEditorAction(new MultiEditorAction({
|
|
598
598
|
id: FIND_IDS.PreviousMatchFindAction,
|
|
599
|
-
label: localize2(
|
|
599
|
+
label: localize2(962, "Find Previous"),
|
|
600
600
|
precondition: undefined,
|
|
601
601
|
kbOpts: [{
|
|
602
602
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -616,7 +616,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
616
616
|
constructor() {
|
|
617
617
|
super({
|
|
618
618
|
id: FIND_IDS.GoToMatchFindAction,
|
|
619
|
-
label: localize2(
|
|
619
|
+
label: localize2(963, "Go to Match..."),
|
|
620
620
|
precondition: CONTEXT_FIND_WIDGET_VISIBLE
|
|
621
621
|
});
|
|
622
622
|
this._highlightDecorations = [];
|
|
@@ -631,14 +631,14 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
631
631
|
const notificationService = accessor.get(INotificationService);
|
|
632
632
|
notificationService.notify({
|
|
633
633
|
severity: Severity.Warning,
|
|
634
|
-
message: localize(
|
|
634
|
+
message: localize(953, "No matches. Try searching for something else.")
|
|
635
635
|
});
|
|
636
636
|
return;
|
|
637
637
|
}
|
|
638
638
|
const quickInputService = accessor.get(IQuickInputService);
|
|
639
639
|
const disposables = new DisposableStore();
|
|
640
640
|
const inputBox = disposables.add(quickInputService.createInputBox());
|
|
641
|
-
inputBox.placeholder = localize(
|
|
641
|
+
inputBox.placeholder = localize(954, "Type a number to go to a specific match (between 1 and {0})", matchesCount);
|
|
642
642
|
const toFindMatchIndex = (value) => {
|
|
643
643
|
const index = parseInt(value);
|
|
644
644
|
if (isNaN(index)) {
|
|
@@ -665,7 +665,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
667
|
else {
|
|
668
|
-
inputBox.validationMessage = localize(
|
|
668
|
+
inputBox.validationMessage = localize(955, "Please type a number between 1 and {0}", controller.getState().matchesCount);
|
|
669
669
|
this.clearDecorations(editor);
|
|
670
670
|
}
|
|
671
671
|
};
|
|
@@ -679,7 +679,7 @@ class MoveToMatchFindAction extends EditorAction {
|
|
|
679
679
|
inputBox.hide();
|
|
680
680
|
}
|
|
681
681
|
else {
|
|
682
|
-
inputBox.validationMessage = localize(
|
|
682
|
+
inputBox.validationMessage = localize(956, "Please type a number between 1 and {0}", controller.getState().matchesCount);
|
|
683
683
|
}
|
|
684
684
|
}));
|
|
685
685
|
disposables.add(inputBox.onDidHide(() => {
|
|
@@ -747,7 +747,7 @@ class NextSelectionMatchFindAction extends SelectionMatchFindAction {
|
|
|
747
747
|
constructor() {
|
|
748
748
|
super({
|
|
749
749
|
id: FIND_IDS.NextSelectionMatchFindAction,
|
|
750
|
-
label: localize2(
|
|
750
|
+
label: localize2(964, "Find Next Selection"),
|
|
751
751
|
precondition: undefined,
|
|
752
752
|
kbOpts: {
|
|
753
753
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -764,7 +764,7 @@ class PreviousSelectionMatchFindAction extends SelectionMatchFindAction {
|
|
|
764
764
|
constructor() {
|
|
765
765
|
super({
|
|
766
766
|
id: FIND_IDS.PreviousSelectionMatchFindAction,
|
|
767
|
-
label: localize2(
|
|
767
|
+
label: localize2(965, "Find Previous Selection"),
|
|
768
768
|
precondition: undefined,
|
|
769
769
|
kbOpts: {
|
|
770
770
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -779,7 +779,7 @@ class PreviousSelectionMatchFindAction extends SelectionMatchFindAction {
|
|
|
779
779
|
}
|
|
780
780
|
const StartFindReplaceAction = registerMultiEditorAction(new MultiEditorAction({
|
|
781
781
|
id: FIND_IDS.StartFindReplaceAction,
|
|
782
|
-
label: localize2(
|
|
782
|
+
label: localize2(966, "Replace"),
|
|
783
783
|
precondition: ContextKeyExpr.or(EditorContextKeys.focus, ContextKeyExpr.has('editorIsOpen')),
|
|
784
784
|
kbOpts: {
|
|
785
785
|
kbExpr: null,
|
|
@@ -790,7 +790,7 @@ const StartFindReplaceAction = registerMultiEditorAction(new MultiEditorAction({
|
|
|
790
790
|
menuOpts: {
|
|
791
791
|
menuId: MenuId.MenubarEditMenu,
|
|
792
792
|
group: '3_find',
|
|
793
|
-
title: localize(
|
|
793
|
+
title: localize(957, "&&Replace"),
|
|
794
794
|
order: 2
|
|
795
795
|
}
|
|
796
796
|
}));
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
overflow: hidden;
|
|
12
12
|
line-height: 19px;
|
|
13
13
|
transition: transform 200ms linear;
|
|
14
|
-
padding: 0 4px;
|
|
14
|
+
padding: 0 4px 0 9px;
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
transform: translateY(calc(-100% - 10px)); /* shadow (10px) */
|
|
17
17
|
box-shadow: 0 0 8px 2px var(--vscode-widget-shadow);
|
|
@@ -151,8 +151,7 @@
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
.monaco-editor .find-widget .button.left {
|
|
154
|
-
margin
|
|
155
|
-
margin-right: 3px;
|
|
154
|
+
margin: 4px 0 4px 5px;
|
|
156
155
|
}
|
|
157
156
|
|
|
158
157
|
.monaco-editor .find-widget .button.wide {
|
|
@@ -164,10 +163,10 @@
|
|
|
164
163
|
.monaco-editor .find-widget .button.toggle {
|
|
165
164
|
position: absolute;
|
|
166
165
|
top: 0;
|
|
167
|
-
left:
|
|
166
|
+
left: 0;
|
|
168
167
|
width: 18px;
|
|
169
|
-
height:
|
|
170
|
-
border-radius:
|
|
168
|
+
height: -webkit-fill-available;
|
|
169
|
+
border-radius: var(--vscode-cornerRadius-small);
|
|
171
170
|
box-sizing: border-box;
|
|
172
171
|
}
|
|
173
172
|
|