monaco-editor 0.55.0-dev-20251021 → 0.55.0-dev-20251022
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dev/vs/assets/{css.worker-BdF74HVr.js → css.worker-CNVxDEHL.js} +57 -56
- package/dev/vs/assets/{editor.worker-Ci2aWZp5.js → editor.worker-CxT_Qhsk.js} +57 -56
- package/dev/vs/assets/{html.worker-PHv_zBMJ.js → html.worker-BkUmTRjE.js} +57 -56
- package/dev/vs/assets/{json.worker-Bu5ZSywK.js → json.worker-DK-97m-d.js} +57 -56
- package/dev/vs/assets/{ts.worker-DvEf1R_D.js → ts.worker-cHRPyRgi.js} +57 -56
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{cssMode-Bwd5iTwO.js → cssMode-D2ACZpcd.js} +2 -2
- package/dev/vs/editor/editor.main.css +3 -4
- package/dev/vs/editor/editor.main.js +6 -6
- package/dev/vs/{editor.api-DtdJriTE.js → editor.api-CMtrd0pO.js} +1917 -1944
- package/dev/vs/{freemarker2-vzq7IT1V.js → freemarker2-CnYj74J4.js} +1 -1
- package/dev/vs/{handlebars-voSBoDYq.js → handlebars-DExk9yf4.js} +1 -1
- package/dev/vs/{html-DgBvMxaw.js → html-Dql17k62.js} +1 -1
- package/dev/vs/{htmlMode-B73e0LQu.js → htmlMode-CCEnhGm2.js} +2 -2
- package/dev/vs/{javascript-B456O1TJ.js → javascript-CqoKoqPi.js} +1 -1
- package/dev/vs/{jsonMode-0j9Sufcy.js → jsonMode-Cz5IbqId.js} +2 -2
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/monaco.contribution.js +1 -1
- package/dev/vs/language/json/monaco.contribution.js +1 -1
- package/dev/vs/language/typescript/monaco.contribution.js +1 -1
- package/dev/vs/{liquid-DtsObjyU.js → liquid-DxCkw3Wy.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-BOGx43ac.js → lspLanguageFeatures-BQO5gQ_I.js} +1 -1
- package/dev/vs/{mdx-CpdAOlbp.js → mdx-DZF1Tct2.js} +1 -1
- package/dev/vs/{monaco.contribution-DgD6w475.js → monaco.contribution-BIhJP-zM.js} +2 -2
- package/dev/vs/{monaco.contribution-96LxvCLa.js → monaco.contribution-BLcNO6tV.js} +2 -2
- package/dev/vs/{monaco.contribution-BNV_Bhhz.js → monaco.contribution-Bpf9llGo.js} +2 -2
- package/dev/vs/{monaco.contribution-CLECD6oi.js → monaco.contribution-D1GYx7Ac.js} +2 -2
- package/dev/vs/nls.messages.cs.js +2 -2
- package/dev/vs/nls.messages.de.js +2 -2
- package/dev/vs/nls.messages.es.js +2 -2
- package/dev/vs/nls.messages.fr.js +2 -2
- package/dev/vs/nls.messages.it.js +2 -2
- package/dev/vs/nls.messages.ja.js +2 -2
- package/dev/vs/nls.messages.ko.js +2 -2
- package/dev/vs/nls.messages.pl.js +2 -2
- package/dev/vs/nls.messages.pt-br.js +2 -2
- package/dev/vs/nls.messages.ru.js +2 -2
- package/dev/vs/nls.messages.tr.js +2 -2
- package/dev/vs/nls.messages.zh-cn.js +2 -2
- package/dev/vs/nls.messages.zh-tw.js +2 -2
- package/dev/vs/{python-Bdcmm8So.js → python-DtVp4js9.js} +1 -1
- package/dev/vs/{razor-C2m7Vs0-.js → razor-C3g5CXT6.js} +1 -1
- package/dev/vs/{tsMode-qQDYDzQT.js → tsMode-B63tFZWa.js} +2 -2
- package/dev/vs/{typescript-BoBnM-0b.js → typescript-YutvBaV7.js} +1 -1
- package/dev/vs/{workers-B1DA8fIt.js → workers-D12Uf0L2.js} +1 -1
- package/dev/vs/{xml-DmpITxBR.js → xml-D1v3XWzg.js} +1 -1
- package/dev/vs/{yaml-Pd4qqIOC.js → yaml-D29Ou18G.js} +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/iconLabel/iconlabel.css +2 -3
- package/esm/vs/base/common/codiconsLibrary.js +1 -0
- package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
- package/esm/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
- package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/esm/vs/editor/browser/coreCommands.js +3 -3
- package/esm/vs/editor/browser/editorExtensions.js +9 -9
- package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/esm/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/esm/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +54 -54
- package/esm/vs/editor/common/config/editorOptions.js +406 -406
- package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
- package/esm/vs/editor/common/editorContextKeys.js +46 -46
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +56 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +10 -10
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -52
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +2 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/esm/vs/editor/contrib/links/browser/links.js +10 -10
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +35 -28
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
- 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/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/min/vs/assets/{css.worker-DpW7RrDt.js → css.worker-BHMeXSeR.js} +1 -1
- package/min/vs/assets/{editor.worker-BvjSTWxN.js → editor.worker-DTWRgIAS.js} +1 -1
- package/min/vs/assets/{html.worker-zYFVFHK_.js → html.worker-CXhlyGiJ.js} +1 -1
- package/min/vs/assets/{json.worker-BCgqF_m2.js → json.worker-DzYjDoHF.js} +1 -1
- package/min/vs/assets/{ts.worker-CQxe4KB6.js → ts.worker-CW5rcuCX.js} +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/{cssMode-CvaUVk1W.js → cssMode-1TDQPhHq.js} +1 -1
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +3 -3
- package/min/vs/{editor.api-DGkWFOQA.js → editor.api-wrjhPWGt.js} +123 -123
- package/min/vs/{freemarker2-B_vQOikd.js → freemarker2-B8YhwE9w.js} +1 -1
- package/min/vs/{handlebars-DqjIuZnJ.js → handlebars-DxIz966T.js} +1 -1
- package/min/vs/{html-DAxAlcjQ.js → html-TUDpfuzj.js} +1 -1
- package/min/vs/{htmlMode-C37mDTXf.js → htmlMode-BTG6W7ly.js} +1 -1
- package/min/vs/{javascript-CmHtjIt-.js → javascript-DjDRFeo7.js} +1 -1
- package/min/vs/{jsonMode-D1uvcOsy.js → jsonMode-cxGzlpDo.js} +4 -4
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/monaco.contribution.js +1 -1
- package/min/vs/language/typescript/monaco.contribution.js +1 -1
- package/min/vs/{liquid-CQBeFlV7.js → liquid-Bsimqao4.js} +1 -1
- package/min/vs/{lspLanguageFeatures-DTAub2tJ.js → lspLanguageFeatures-B9vCOFZO.js} +1 -1
- package/min/vs/{mdx-BFnE9qyd.js → mdx-DAXjads7.js} +1 -1
- package/min/vs/{monaco.contribution-Ba-90VRW.js → monaco.contribution-B40WJdZo.js} +1 -1
- package/min/vs/{monaco.contribution-bCyc25XC.js → monaco.contribution-Bck58VVU.js} +1 -1
- package/min/vs/{monaco.contribution-D4gtmCUd.js → monaco.contribution-CTUxDbdl.js} +1 -1
- package/min/vs/{monaco.contribution-DBV8hY3j.js → monaco.contribution-Dng4cbIh.js} +1 -1
- package/min/vs/nls.messages.cs.js +3 -3
- package/min/vs/nls.messages.de.js +3 -3
- package/min/vs/nls.messages.es.js +3 -3
- package/min/vs/nls.messages.fr.js +3 -3
- package/min/vs/nls.messages.it.js +3 -3
- package/min/vs/nls.messages.ja.js +3 -3
- package/min/vs/nls.messages.ko.js +3 -3
- package/min/vs/nls.messages.pl.js +3 -3
- package/min/vs/nls.messages.pt-br.js +2 -2
- package/min/vs/nls.messages.ru.js +3 -3
- package/min/vs/nls.messages.tr.js +3 -3
- package/min/vs/nls.messages.zh-cn.js +3 -3
- package/min/vs/nls.messages.zh-tw.js +3 -3
- package/min/vs/{python-BX875IYK.js → python-k7tPtlws.js} +1 -1
- package/min/vs/{razor-BBB6Wn5s.js → razor-9j5Idzae.js} +1 -1
- package/min/vs/{tsMode-DYyNPclY.js → tsMode-BDVJ4HNT.js} +5 -5
- package/min/vs/{typescript-AvfgkAyn.js → typescript-1Ue-gdOx.js} +1 -1
- package/min/vs/{workers-DnTKLxL6.js → workers-jkActJYc.js} +1 -1
- package/min/vs/{xml-BVhc_vbm.js → xml-BsAArBP5.js} +1 -1
- package/min/vs/{yaml-a9dM1cQx.js → yaml-2dSzUkHA.js} +1 -1
- package/package.json +5 -5
|
@@ -64,7 +64,7 @@ class CopyLinesUpAction extends AbstractCopyLinesAction {
|
|
|
64
64
|
constructor() {
|
|
65
65
|
super(false, {
|
|
66
66
|
id: 'editor.action.copyLinesUpAction',
|
|
67
|
-
label: localize2(
|
|
67
|
+
label: localize2(1244, "Copy Line Up"),
|
|
68
68
|
precondition: EditorContextKeys.writable,
|
|
69
69
|
kbOpts: {
|
|
70
70
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -75,7 +75,7 @@ class CopyLinesUpAction extends AbstractCopyLinesAction {
|
|
|
75
75
|
menuOpts: {
|
|
76
76
|
menuId: MenuId.MenubarSelectionMenu,
|
|
77
77
|
group: '2_line',
|
|
78
|
-
title: localize(
|
|
78
|
+
title: localize(1239, "&&Copy Line Up"),
|
|
79
79
|
order: 1
|
|
80
80
|
}
|
|
81
81
|
});
|
|
@@ -85,7 +85,7 @@ class CopyLinesDownAction extends AbstractCopyLinesAction {
|
|
|
85
85
|
constructor() {
|
|
86
86
|
super(true, {
|
|
87
87
|
id: 'editor.action.copyLinesDownAction',
|
|
88
|
-
label: localize2(
|
|
88
|
+
label: localize2(1245, "Copy Line Down"),
|
|
89
89
|
precondition: EditorContextKeys.writable,
|
|
90
90
|
kbOpts: {
|
|
91
91
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -96,7 +96,7 @@ class CopyLinesDownAction extends AbstractCopyLinesAction {
|
|
|
96
96
|
menuOpts: {
|
|
97
97
|
menuId: MenuId.MenubarSelectionMenu,
|
|
98
98
|
group: '2_line',
|
|
99
|
-
title: localize(
|
|
99
|
+
title: localize(1240, "Co&&py Line Down"),
|
|
100
100
|
order: 2
|
|
101
101
|
}
|
|
102
102
|
});
|
|
@@ -106,12 +106,12 @@ class DuplicateSelectionAction extends EditorAction {
|
|
|
106
106
|
constructor() {
|
|
107
107
|
super({
|
|
108
108
|
id: 'editor.action.duplicateSelection',
|
|
109
|
-
label: localize2(
|
|
109
|
+
label: localize2(1246, "Duplicate Selection"),
|
|
110
110
|
precondition: EditorContextKeys.writable,
|
|
111
111
|
menuOpts: {
|
|
112
112
|
menuId: MenuId.MenubarSelectionMenu,
|
|
113
113
|
group: '2_line',
|
|
114
|
-
title: localize(
|
|
114
|
+
title: localize(1241, "&&Duplicate Selection"),
|
|
115
115
|
order: 5
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -160,7 +160,7 @@ class MoveLinesUpAction extends AbstractMoveLinesAction {
|
|
|
160
160
|
constructor() {
|
|
161
161
|
super(false, {
|
|
162
162
|
id: 'editor.action.moveLinesUpAction',
|
|
163
|
-
label: localize2(
|
|
163
|
+
label: localize2(1247, "Move Line Up"),
|
|
164
164
|
precondition: EditorContextKeys.writable,
|
|
165
165
|
kbOpts: {
|
|
166
166
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -171,7 +171,7 @@ class MoveLinesUpAction extends AbstractMoveLinesAction {
|
|
|
171
171
|
menuOpts: {
|
|
172
172
|
menuId: MenuId.MenubarSelectionMenu,
|
|
173
173
|
group: '2_line',
|
|
174
|
-
title: localize(
|
|
174
|
+
title: localize(1242, "Mo&&ve Line Up"),
|
|
175
175
|
order: 3
|
|
176
176
|
}
|
|
177
177
|
});
|
|
@@ -181,7 +181,7 @@ class MoveLinesDownAction extends AbstractMoveLinesAction {
|
|
|
181
181
|
constructor() {
|
|
182
182
|
super(true, {
|
|
183
183
|
id: 'editor.action.moveLinesDownAction',
|
|
184
|
-
label: localize2(
|
|
184
|
+
label: localize2(1248, "Move Line Down"),
|
|
185
185
|
precondition: EditorContextKeys.writable,
|
|
186
186
|
kbOpts: {
|
|
187
187
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -192,7 +192,7 @@ class MoveLinesDownAction extends AbstractMoveLinesAction {
|
|
|
192
192
|
menuOpts: {
|
|
193
193
|
menuId: MenuId.MenubarSelectionMenu,
|
|
194
194
|
group: '2_line',
|
|
195
|
-
title: localize(
|
|
195
|
+
title: localize(1243, "Move &&Line Down"),
|
|
196
196
|
order: 4
|
|
197
197
|
}
|
|
198
198
|
});
|
|
@@ -231,7 +231,7 @@ class SortLinesAscendingAction extends AbstractSortLinesAction {
|
|
|
231
231
|
constructor() {
|
|
232
232
|
super(false, {
|
|
233
233
|
id: 'editor.action.sortLinesAscending',
|
|
234
|
-
label: localize2(
|
|
234
|
+
label: localize2(1249, "Sort Lines Ascending"),
|
|
235
235
|
precondition: EditorContextKeys.writable
|
|
236
236
|
});
|
|
237
237
|
}
|
|
@@ -240,7 +240,7 @@ class SortLinesDescendingAction extends AbstractSortLinesAction {
|
|
|
240
240
|
constructor() {
|
|
241
241
|
super(true, {
|
|
242
242
|
id: 'editor.action.sortLinesDescending',
|
|
243
|
-
label: localize2(
|
|
243
|
+
label: localize2(1250, "Sort Lines Descending"),
|
|
244
244
|
precondition: EditorContextKeys.writable
|
|
245
245
|
});
|
|
246
246
|
}
|
|
@@ -249,7 +249,7 @@ class DeleteDuplicateLinesAction extends EditorAction {
|
|
|
249
249
|
constructor() {
|
|
250
250
|
super({
|
|
251
251
|
id: 'editor.action.removeDuplicateLines',
|
|
252
|
-
label: localize2(
|
|
252
|
+
label: localize2(1251, "Delete Duplicate Lines"),
|
|
253
253
|
precondition: EditorContextKeys.writable
|
|
254
254
|
});
|
|
255
255
|
}
|
|
@@ -298,7 +298,7 @@ class ReverseLinesAction extends EditorAction {
|
|
|
298
298
|
constructor() {
|
|
299
299
|
super({
|
|
300
300
|
id: 'editor.action.reverseLines',
|
|
301
|
-
label: localize2(
|
|
301
|
+
label: localize2(1252, "Reverse lines"),
|
|
302
302
|
precondition: EditorContextKeys.writable
|
|
303
303
|
});
|
|
304
304
|
}
|
|
@@ -364,7 +364,7 @@ class TrimTrailingWhitespaceAction extends EditorAction {
|
|
|
364
364
|
constructor() {
|
|
365
365
|
super({
|
|
366
366
|
id: TrimTrailingWhitespaceAction.ID,
|
|
367
|
-
label: localize2(
|
|
367
|
+
label: localize2(1253, "Trim Trailing Whitespace"),
|
|
368
368
|
precondition: EditorContextKeys.writable,
|
|
369
369
|
kbOpts: {
|
|
370
370
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -398,7 +398,7 @@ class DeleteLinesAction extends EditorAction {
|
|
|
398
398
|
constructor() {
|
|
399
399
|
super({
|
|
400
400
|
id: 'editor.action.deleteLines',
|
|
401
|
-
label: localize2(
|
|
401
|
+
label: localize2(1254, "Delete Line"),
|
|
402
402
|
precondition: EditorContextKeys.writable,
|
|
403
403
|
kbOpts: {
|
|
404
404
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -486,7 +486,7 @@ class IndentLinesAction extends EditorAction {
|
|
|
486
486
|
constructor() {
|
|
487
487
|
super({
|
|
488
488
|
id: 'editor.action.indentLines',
|
|
489
|
-
label: localize2(
|
|
489
|
+
label: localize2(1255, "Indent Line"),
|
|
490
490
|
precondition: EditorContextKeys.writable,
|
|
491
491
|
kbOpts: {
|
|
492
492
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -509,7 +509,7 @@ class OutdentLinesAction extends EditorAction {
|
|
|
509
509
|
constructor() {
|
|
510
510
|
super({
|
|
511
511
|
id: 'editor.action.outdentLines',
|
|
512
|
-
label: localize2(
|
|
512
|
+
label: localize2(1256, "Outdent Line"),
|
|
513
513
|
precondition: EditorContextKeys.writable,
|
|
514
514
|
kbOpts: {
|
|
515
515
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -527,7 +527,7 @@ class InsertLineBeforeAction extends EditorAction {
|
|
|
527
527
|
constructor() {
|
|
528
528
|
super({
|
|
529
529
|
id: InsertLineBeforeAction.ID,
|
|
530
|
-
label: localize2(
|
|
530
|
+
label: localize2(1257, "Insert Line Above"),
|
|
531
531
|
precondition: EditorContextKeys.writable,
|
|
532
532
|
kbOpts: {
|
|
533
533
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -550,7 +550,7 @@ class InsertLineAfterAction extends EditorAction {
|
|
|
550
550
|
constructor() {
|
|
551
551
|
super({
|
|
552
552
|
id: InsertLineAfterAction.ID,
|
|
553
|
-
label: localize2(
|
|
553
|
+
label: localize2(1258, "Insert Line Below"),
|
|
554
554
|
precondition: EditorContextKeys.writable,
|
|
555
555
|
kbOpts: {
|
|
556
556
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -601,7 +601,7 @@ class DeleteAllLeftAction extends AbstractDeleteAllToBoundaryAction {
|
|
|
601
601
|
constructor() {
|
|
602
602
|
super({
|
|
603
603
|
id: 'deleteAllLeft',
|
|
604
|
-
label: localize2(
|
|
604
|
+
label: localize2(1259, "Delete All Left"),
|
|
605
605
|
precondition: EditorContextKeys.writable,
|
|
606
606
|
kbOpts: {
|
|
607
607
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -670,7 +670,7 @@ class DeleteAllRightAction extends AbstractDeleteAllToBoundaryAction {
|
|
|
670
670
|
constructor() {
|
|
671
671
|
super({
|
|
672
672
|
id: 'deleteAllRight',
|
|
673
|
-
label: localize2(
|
|
673
|
+
label: localize2(1260, "Delete All Right"),
|
|
674
674
|
precondition: EditorContextKeys.writable,
|
|
675
675
|
kbOpts: {
|
|
676
676
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -727,7 +727,7 @@ class JoinLinesAction extends EditorAction {
|
|
|
727
727
|
constructor() {
|
|
728
728
|
super({
|
|
729
729
|
id: 'editor.action.joinLines',
|
|
730
|
-
label: localize2(
|
|
730
|
+
label: localize2(1261, "Join Lines"),
|
|
731
731
|
precondition: EditorContextKeys.writable,
|
|
732
732
|
kbOpts: {
|
|
733
733
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -868,7 +868,7 @@ class TransposeAction extends EditorAction {
|
|
|
868
868
|
constructor() {
|
|
869
869
|
super({
|
|
870
870
|
id: 'editor.action.transpose',
|
|
871
|
-
label: localize2(
|
|
871
|
+
label: localize2(1262, "Transpose Characters around the Cursor"),
|
|
872
872
|
precondition: EditorContextKeys.writable
|
|
873
873
|
});
|
|
874
874
|
}
|
|
@@ -947,7 +947,7 @@ class UpperCaseAction extends AbstractCaseAction {
|
|
|
947
947
|
constructor() {
|
|
948
948
|
super({
|
|
949
949
|
id: 'editor.action.transformToUppercase',
|
|
950
|
-
label: localize2(
|
|
950
|
+
label: localize2(1263, "Transform to Uppercase"),
|
|
951
951
|
precondition: EditorContextKeys.writable
|
|
952
952
|
});
|
|
953
953
|
}
|
|
@@ -959,7 +959,7 @@ class LowerCaseAction extends AbstractCaseAction {
|
|
|
959
959
|
constructor() {
|
|
960
960
|
super({
|
|
961
961
|
id: 'editor.action.transformToLowercase',
|
|
962
|
-
label: localize2(
|
|
962
|
+
label: localize2(1264, "Transform to Lowercase"),
|
|
963
963
|
precondition: EditorContextKeys.writable
|
|
964
964
|
});
|
|
965
965
|
}
|
|
@@ -995,7 +995,7 @@ class TitleCaseAction extends AbstractCaseAction {
|
|
|
995
995
|
constructor() {
|
|
996
996
|
super({
|
|
997
997
|
id: 'editor.action.transformToTitlecase',
|
|
998
|
-
label: localize2(
|
|
998
|
+
label: localize2(1265, "Transform to Title Case"),
|
|
999
999
|
precondition: EditorContextKeys.writable
|
|
1000
1000
|
});
|
|
1001
1001
|
}
|
|
@@ -1016,7 +1016,7 @@ class SnakeCaseAction extends AbstractCaseAction {
|
|
|
1016
1016
|
constructor() {
|
|
1017
1017
|
super({
|
|
1018
1018
|
id: 'editor.action.transformToSnakecase',
|
|
1019
|
-
label: localize2(
|
|
1019
|
+
label: localize2(1266, "Transform to Snake Case"),
|
|
1020
1020
|
precondition: EditorContextKeys.writable
|
|
1021
1021
|
});
|
|
1022
1022
|
}
|
|
@@ -1040,7 +1040,7 @@ class CamelCaseAction extends AbstractCaseAction {
|
|
|
1040
1040
|
constructor() {
|
|
1041
1041
|
super({
|
|
1042
1042
|
id: 'editor.action.transformToCamelcase',
|
|
1043
|
-
label: localize2(
|
|
1043
|
+
label: localize2(1267, "Transform to Camel Case"),
|
|
1044
1044
|
precondition: EditorContextKeys.writable
|
|
1045
1045
|
});
|
|
1046
1046
|
}
|
|
@@ -1064,7 +1064,7 @@ class PascalCaseAction extends AbstractCaseAction {
|
|
|
1064
1064
|
constructor() {
|
|
1065
1065
|
super({
|
|
1066
1066
|
id: 'editor.action.transformToPascalcase',
|
|
1067
|
-
label: localize2(
|
|
1067
|
+
label: localize2(1268, "Transform to Pascal Case"),
|
|
1068
1068
|
precondition: EditorContextKeys.writable
|
|
1069
1069
|
});
|
|
1070
1070
|
}
|
|
@@ -1103,7 +1103,7 @@ class KebabCaseAction extends AbstractCaseAction {
|
|
|
1103
1103
|
constructor() {
|
|
1104
1104
|
super({
|
|
1105
1105
|
id: 'editor.action.transformToKebabcase',
|
|
1106
|
-
label: localize2(
|
|
1106
|
+
label: localize2(1269, 'Transform to Kebab Case'),
|
|
1107
1107
|
precondition: EditorContextKeys.writable
|
|
1108
1108
|
});
|
|
1109
1109
|
}
|
|
@@ -309,7 +309,7 @@ class LinkedEditingAction extends EditorAction {
|
|
|
309
309
|
constructor() {
|
|
310
310
|
super({
|
|
311
311
|
id: 'editor.action.linkedEditing',
|
|
312
|
-
label: localize2(
|
|
312
|
+
label: localize2(1271, "Start Linked Editing"),
|
|
313
313
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider),
|
|
314
314
|
kbOpts: {
|
|
315
315
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -370,7 +370,7 @@ function getLinkedEditingRanges(providers, model, position, token) {
|
|
|
370
370
|
}
|
|
371
371
|
}), result => !!result && isNonEmptyArray(result?.ranges));
|
|
372
372
|
}
|
|
373
|
-
registerColor('editor.linkedEditingBackground', { dark: Color.fromHex('#f00').transparent(0.3), light: Color.fromHex('#f00').transparent(0.3), hcDark: Color.fromHex('#f00').transparent(0.3), hcLight: Color.white }, localize(
|
|
373
|
+
registerColor('editor.linkedEditingBackground', { dark: Color.fromHex('#f00').transparent(0.3), light: Color.fromHex('#f00').transparent(0.3), hcDark: Color.fromHex('#f00').transparent(0.3), hcLight: Color.white }, localize(1270, 'Background color when the editor auto renames on type.'));
|
|
374
374
|
registerModelAndPositionCommand('_executeLinkedEditingProvider', (_accessor, model, position) => {
|
|
375
375
|
const { linkedEditingRangeProvider } = _accessor.get(ILanguageFeaturesService);
|
|
376
376
|
return getLinkedEditingRanges(linkedEditingRangeProvider, model, position, CancellationToken.None);
|
|
@@ -221,10 +221,10 @@ let LinkDetector = class LinkDetector extends Disposable {
|
|
|
221
221
|
const messageOrError = err instanceof Error ? err.message : err;
|
|
222
222
|
// different error cases
|
|
223
223
|
if (messageOrError === 'invalid') {
|
|
224
|
-
this.notificationService.warn(localize(
|
|
224
|
+
this.notificationService.warn(localize(1272, 'Failed to open this link because it is not well-formed: {0}', link.url.toString()));
|
|
225
225
|
}
|
|
226
226
|
else if (messageOrError === 'missing') {
|
|
227
|
-
this.notificationService.warn(localize(
|
|
227
|
+
this.notificationService.warn(localize(1273, 'Failed to open this link because its target is missing.'));
|
|
228
228
|
}
|
|
229
229
|
else {
|
|
230
230
|
onUnexpectedError(err);
|
|
@@ -317,15 +317,15 @@ function getHoverMessage(link, useMetaKey) {
|
|
|
317
317
|
const label = link.tooltip
|
|
318
318
|
? link.tooltip
|
|
319
319
|
: executeCmd
|
|
320
|
-
? localize(
|
|
321
|
-
: localize(
|
|
320
|
+
? localize(1274, 'Execute command')
|
|
321
|
+
: localize(1275, 'Follow link');
|
|
322
322
|
const kb = useMetaKey
|
|
323
323
|
? isMacintosh
|
|
324
|
-
? localize(
|
|
325
|
-
: localize(
|
|
324
|
+
? localize(1276, "cmd + click")
|
|
325
|
+
: localize(1277, "ctrl + click")
|
|
326
326
|
: isMacintosh
|
|
327
|
-
? localize(
|
|
328
|
-
: localize(
|
|
327
|
+
? localize(1278, "option + click")
|
|
328
|
+
: localize(1279, "alt + click");
|
|
329
329
|
if (link.url) {
|
|
330
330
|
let nativeLabel = '';
|
|
331
331
|
if (/^command:/i.test(link.url.toString())) {
|
|
@@ -333,7 +333,7 @@ function getHoverMessage(link, useMetaKey) {
|
|
|
333
333
|
const match = link.url.toString().match(/^command:([^?#]+)/);
|
|
334
334
|
if (match) {
|
|
335
335
|
const commandId = match[1];
|
|
336
|
-
nativeLabel = localize(
|
|
336
|
+
nativeLabel = localize(1280, "Execute command {0}", commandId);
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
const hoverMessage = new MarkdownString('', true)
|
|
@@ -349,7 +349,7 @@ class OpenLinkAction extends EditorAction {
|
|
|
349
349
|
constructor() {
|
|
350
350
|
super({
|
|
351
351
|
id: 'editor.action.openLink',
|
|
352
|
-
label: localize2(
|
|
352
|
+
label: localize2(1281, "Open Link"),
|
|
353
353
|
precondition: undefined
|
|
354
354
|
});
|
|
355
355
|
}
|
|
@@ -29,7 +29,7 @@ var MessageController_1;
|
|
|
29
29
|
let MessageController = class MessageController {
|
|
30
30
|
static { MessageController_1 = this; }
|
|
31
31
|
static { this.ID = 'editor.contrib.messageController'; }
|
|
32
|
-
static { this.MESSAGE_VISIBLE = new RawContextKey('messageVisible', false, localize(
|
|
32
|
+
static { this.MESSAGE_VISIBLE = new RawContextKey('messageVisible', false, localize(1282, 'Whether the editor is currently showing an inline message')); }
|
|
33
33
|
static get(editor) {
|
|
34
34
|
return editor.getContribution(MessageController_1.ID);
|
|
35
35
|
}
|
|
@@ -33,7 +33,7 @@ function announceCursorChange(previousCursorState, cursorState) {
|
|
|
33
33
|
const cursorDiff = cursorState.filter(cs => !previousCursorState.find(pcs => pcs.equals(cs)));
|
|
34
34
|
if (cursorDiff.length >= 1) {
|
|
35
35
|
const cursorPositions = cursorDiff.map(cs => `line ${cs.viewState.position.lineNumber} column ${cs.viewState.position.column}`).join(', ');
|
|
36
|
-
const msg = cursorDiff.length === 1 ? localize(
|
|
36
|
+
const msg = cursorDiff.length === 1 ? localize(1283, "Cursor added: {0}", cursorPositions) : localize(1284, "Cursors added: {0}", cursorPositions);
|
|
37
37
|
status(msg);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -41,7 +41,7 @@ class InsertCursorAbove extends EditorAction {
|
|
|
41
41
|
constructor() {
|
|
42
42
|
super({
|
|
43
43
|
id: 'editor.action.insertCursorAbove',
|
|
44
|
-
label: localize2(
|
|
44
|
+
label: localize2(1293, "Add Cursor Above"),
|
|
45
45
|
precondition: undefined,
|
|
46
46
|
kbOpts: {
|
|
47
47
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -55,7 +55,7 @@ class InsertCursorAbove extends EditorAction {
|
|
|
55
55
|
menuOpts: {
|
|
56
56
|
menuId: MenuId.MenubarSelectionMenu,
|
|
57
57
|
group: '3_multi',
|
|
58
|
-
title: localize(
|
|
58
|
+
title: localize(1285, "&&Add Cursor Above"),
|
|
59
59
|
order: 2
|
|
60
60
|
}
|
|
61
61
|
});
|
|
@@ -83,7 +83,7 @@ class InsertCursorBelow extends EditorAction {
|
|
|
83
83
|
constructor() {
|
|
84
84
|
super({
|
|
85
85
|
id: 'editor.action.insertCursorBelow',
|
|
86
|
-
label: localize2(
|
|
86
|
+
label: localize2(1294, "Add Cursor Below"),
|
|
87
87
|
precondition: undefined,
|
|
88
88
|
kbOpts: {
|
|
89
89
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -97,7 +97,7 @@ class InsertCursorBelow extends EditorAction {
|
|
|
97
97
|
menuOpts: {
|
|
98
98
|
menuId: MenuId.MenubarSelectionMenu,
|
|
99
99
|
group: '3_multi',
|
|
100
|
-
title: localize(
|
|
100
|
+
title: localize(1286, "A&&dd Cursor Below"),
|
|
101
101
|
order: 3
|
|
102
102
|
}
|
|
103
103
|
});
|
|
@@ -125,7 +125,7 @@ class InsertCursorAtEndOfEachLineSelected extends EditorAction {
|
|
|
125
125
|
constructor() {
|
|
126
126
|
super({
|
|
127
127
|
id: 'editor.action.insertCursorAtEndOfEachLineSelected',
|
|
128
|
-
label: localize2(
|
|
128
|
+
label: localize2(1295, "Add Cursors to Line Ends"),
|
|
129
129
|
precondition: undefined,
|
|
130
130
|
kbOpts: {
|
|
131
131
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -135,7 +135,7 @@ class InsertCursorAtEndOfEachLineSelected extends EditorAction {
|
|
|
135
135
|
menuOpts: {
|
|
136
136
|
menuId: MenuId.MenubarSelectionMenu,
|
|
137
137
|
group: '3_multi',
|
|
138
|
-
title: localize(
|
|
138
|
+
title: localize(1287, "Add C&&ursors to Line Ends"),
|
|
139
139
|
order: 4
|
|
140
140
|
}
|
|
141
141
|
});
|
|
@@ -172,7 +172,7 @@ class InsertCursorAtEndOfLineSelected extends EditorAction {
|
|
|
172
172
|
constructor() {
|
|
173
173
|
super({
|
|
174
174
|
id: 'editor.action.addCursorsToBottom',
|
|
175
|
-
label: localize2(
|
|
175
|
+
label: localize2(1296, "Add Cursors to Bottom"),
|
|
176
176
|
precondition: undefined
|
|
177
177
|
});
|
|
178
178
|
}
|
|
@@ -198,7 +198,7 @@ class InsertCursorAtTopOfLineSelected extends EditorAction {
|
|
|
198
198
|
constructor() {
|
|
199
199
|
super({
|
|
200
200
|
id: 'editor.action.addCursorsToTop',
|
|
201
|
-
label: localize2(
|
|
201
|
+
label: localize2(1297, "Add Cursors to Top"),
|
|
202
202
|
precondition: undefined
|
|
203
203
|
});
|
|
204
204
|
}
|
|
@@ -575,7 +575,7 @@ class AddSelectionToNextFindMatchAction extends MultiCursorSelectionControllerAc
|
|
|
575
575
|
constructor() {
|
|
576
576
|
super({
|
|
577
577
|
id: 'editor.action.addSelectionToNextFindMatch',
|
|
578
|
-
label: localize2(
|
|
578
|
+
label: localize2(1298, "Add Selection to Next Find Match"),
|
|
579
579
|
precondition: undefined,
|
|
580
580
|
kbOpts: {
|
|
581
581
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -585,7 +585,7 @@ class AddSelectionToNextFindMatchAction extends MultiCursorSelectionControllerAc
|
|
|
585
585
|
menuOpts: {
|
|
586
586
|
menuId: MenuId.MenubarSelectionMenu,
|
|
587
587
|
group: '3_multi',
|
|
588
|
-
title: localize(
|
|
588
|
+
title: localize(1288, "Add &&Next Occurrence"),
|
|
589
589
|
order: 5
|
|
590
590
|
}
|
|
591
591
|
});
|
|
@@ -598,12 +598,12 @@ class AddSelectionToPreviousFindMatchAction extends MultiCursorSelectionControll
|
|
|
598
598
|
constructor() {
|
|
599
599
|
super({
|
|
600
600
|
id: 'editor.action.addSelectionToPreviousFindMatch',
|
|
601
|
-
label: localize2(
|
|
601
|
+
label: localize2(1299, "Add Selection to Previous Find Match"),
|
|
602
602
|
precondition: undefined,
|
|
603
603
|
menuOpts: {
|
|
604
604
|
menuId: MenuId.MenubarSelectionMenu,
|
|
605
605
|
group: '3_multi',
|
|
606
|
-
title: localize(
|
|
606
|
+
title: localize(1289, "Add P&&revious Occurrence"),
|
|
607
607
|
order: 6
|
|
608
608
|
}
|
|
609
609
|
});
|
|
@@ -616,7 +616,7 @@ class MoveSelectionToNextFindMatchAction extends MultiCursorSelectionControllerA
|
|
|
616
616
|
constructor() {
|
|
617
617
|
super({
|
|
618
618
|
id: 'editor.action.moveSelectionToNextFindMatch',
|
|
619
|
-
label: localize2(
|
|
619
|
+
label: localize2(1300, "Move Last Selection to Next Find Match"),
|
|
620
620
|
precondition: undefined,
|
|
621
621
|
kbOpts: {
|
|
622
622
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -633,7 +633,7 @@ class MoveSelectionToPreviousFindMatchAction extends MultiCursorSelectionControl
|
|
|
633
633
|
constructor() {
|
|
634
634
|
super({
|
|
635
635
|
id: 'editor.action.moveSelectionToPreviousFindMatch',
|
|
636
|
-
label: localize2(
|
|
636
|
+
label: localize2(1301, "Move Last Selection to Previous Find Match"),
|
|
637
637
|
precondition: undefined
|
|
638
638
|
});
|
|
639
639
|
}
|
|
@@ -645,7 +645,7 @@ class SelectHighlightsAction extends MultiCursorSelectionControllerAction {
|
|
|
645
645
|
constructor() {
|
|
646
646
|
super({
|
|
647
647
|
id: 'editor.action.selectHighlights',
|
|
648
|
-
label: localize2(
|
|
648
|
+
label: localize2(1302, "Select All Occurrences of Find Match"),
|
|
649
649
|
precondition: undefined,
|
|
650
650
|
kbOpts: {
|
|
651
651
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -655,7 +655,7 @@ class SelectHighlightsAction extends MultiCursorSelectionControllerAction {
|
|
|
655
655
|
menuOpts: {
|
|
656
656
|
menuId: MenuId.MenubarSelectionMenu,
|
|
657
657
|
group: '3_multi',
|
|
658
|
-
title: localize(
|
|
658
|
+
title: localize(1290, "Select All &&Occurrences"),
|
|
659
659
|
order: 7
|
|
660
660
|
}
|
|
661
661
|
});
|
|
@@ -668,7 +668,7 @@ class CompatChangeAll extends MultiCursorSelectionControllerAction {
|
|
|
668
668
|
constructor() {
|
|
669
669
|
super({
|
|
670
670
|
id: 'editor.action.changeAll',
|
|
671
|
-
label: localize2(
|
|
671
|
+
label: localize2(1303, "Change All Occurrences"),
|
|
672
672
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.editorTextFocus),
|
|
673
673
|
kbOpts: {
|
|
674
674
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -925,9 +925,9 @@ class FocusNextCursor extends EditorAction {
|
|
|
925
925
|
constructor() {
|
|
926
926
|
super({
|
|
927
927
|
id: 'editor.action.focusNextCursor',
|
|
928
|
-
label: localize2(
|
|
928
|
+
label: localize2(1304, "Focus Next Cursor"),
|
|
929
929
|
metadata: {
|
|
930
|
-
description: localize(
|
|
930
|
+
description: localize(1291, "Focuses the next cursor"),
|
|
931
931
|
args: [],
|
|
932
932
|
},
|
|
933
933
|
precondition: undefined
|
|
@@ -957,9 +957,9 @@ class FocusPreviousCursor extends EditorAction {
|
|
|
957
957
|
constructor() {
|
|
958
958
|
super({
|
|
959
959
|
id: 'editor.action.focusPreviousCursor',
|
|
960
|
-
label: localize2(
|
|
960
|
+
label: localize2(1305, "Focus Previous Cursor"),
|
|
961
961
|
metadata: {
|
|
962
|
-
description: localize(
|
|
962
|
+
description: localize(1292, "Focuses the previous cursor"),
|
|
963
963
|
args: [],
|
|
964
964
|
},
|
|
965
965
|
precondition: undefined
|
|
@@ -67,7 +67,7 @@ class TriggerParameterHintsAction extends EditorAction {
|
|
|
67
67
|
constructor() {
|
|
68
68
|
super({
|
|
69
69
|
id: 'editor.action.triggerParameterHints',
|
|
70
|
-
label: localize2(
|
|
70
|
+
label: localize2(1306, "Trigger Parameter Hints"),
|
|
71
71
|
precondition: EditorContextKeys.hasSignatureHelpProvider,
|
|
72
72
|
kbOpts: {
|
|
73
73
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -41,8 +41,8 @@ var __param = (undefined && undefined.__param) || function (paramIndex, decorato
|
|
|
41
41
|
};
|
|
42
42
|
var ParameterHintsWidget_1;
|
|
43
43
|
const $ = $$1;
|
|
44
|
-
const parameterHintsNextIcon = registerIcon('parameter-hints-next', Codicon.chevronDown, localize(
|
|
45
|
-
const parameterHintsPreviousIcon = registerIcon('parameter-hints-previous', Codicon.chevronUp, localize(
|
|
44
|
+
const parameterHintsNextIcon = registerIcon('parameter-hints-next', Codicon.chevronDown, localize(1307, 'Icon for show next parameter hint.'));
|
|
45
|
+
const parameterHintsPreviousIcon = registerIcon('parameter-hints-previous', Codicon.chevronUp, localize(1308, 'Icon for show previous parameter hint.'));
|
|
46
46
|
let ParameterHintsWidget = class ParameterHintsWidget extends Disposable {
|
|
47
47
|
static { ParameterHintsWidget_1 = this; }
|
|
48
48
|
static { this.ID = 'editor.widget.parameterHintsWidget'; }
|
|
@@ -215,7 +215,7 @@ let ParameterHintsWidget = class ParameterHintsWidget extends Disposable {
|
|
|
215
215
|
// Select method gets called on every user type while parameter hints are visible.
|
|
216
216
|
// We do not want to spam the user with same announcements, so we only announce if the current parameter changed.
|
|
217
217
|
if (this.announcedLabel !== labelToAnnounce) {
|
|
218
|
-
alert(localize(
|
|
218
|
+
alert(localize(1309, "{0}, hint", labelToAnnounce));
|
|
219
219
|
this.announcedLabel = labelToAnnounce;
|
|
220
220
|
}
|
|
221
221
|
}
|
|
@@ -312,6 +312,6 @@ ParameterHintsWidget = ParameterHintsWidget_1 = __decorate([
|
|
|
312
312
|
__param(2, IContextKeyService),
|
|
313
313
|
__param(3, IMarkdownRendererService)
|
|
314
314
|
], ParameterHintsWidget);
|
|
315
|
-
registerColor('editorHoverWidget.highlightForeground', listHighlightForeground, localize(
|
|
315
|
+
registerColor('editorHoverWidget.highlightForeground', listHighlightForeground, localize(1310, 'Foreground color of the active item in the parameter hint.'));
|
|
316
316
|
|
|
317
317
|
export { ParameterHintsWidget };
|
|
@@ -64,7 +64,7 @@ registerSingleton(IPeekViewService, class {
|
|
|
64
64
|
}, 1 /* InstantiationType.Delayed */);
|
|
65
65
|
var PeekContext;
|
|
66
66
|
(function (PeekContext) {
|
|
67
|
-
PeekContext.inPeekEditor = new RawContextKey('inReferenceSearchEditor', true, localize(
|
|
67
|
+
PeekContext.inPeekEditor = new RawContextKey('inReferenceSearchEditor', true, localize(1311, "Whether the current code editor is embedded inside peek"));
|
|
68
68
|
PeekContext.notInPeekEditor = PeekContext.inPeekEditor.toNegated();
|
|
69
69
|
})(PeekContext || (PeekContext = {}));
|
|
70
70
|
let PeekContextController = class PeekContextController {
|
|
@@ -160,7 +160,7 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
160
160
|
this._actionbarWidget = new ActionBar(actionsContainer, actionBarOptions);
|
|
161
161
|
this._disposables.add(this._actionbarWidget);
|
|
162
162
|
if (!noCloseAction) {
|
|
163
|
-
this._actionbarWidget.push(this._disposables.add(new Action('peekview.close', localize(
|
|
163
|
+
this._actionbarWidget.push(this._disposables.add(new Action('peekview.close', localize(1312, "Close"), ThemeIcon.asClassName(Codicon.close), true, () => {
|
|
164
164
|
this.dispose();
|
|
165
165
|
return Promise.resolve();
|
|
166
166
|
})), { label: false, icon: true });
|
|
@@ -226,21 +226,21 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
226
226
|
PeekViewWidget = __decorate([
|
|
227
227
|
__param(2, IInstantiationService)
|
|
228
228
|
], PeekViewWidget);
|
|
229
|
-
const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, localize(
|
|
230
|
-
const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, localize(
|
|
231
|
-
const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, localize(
|
|
232
|
-
const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, localize(
|
|
233
|
-
const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, localize(
|
|
234
|
-
registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, localize(
|
|
235
|
-
registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, localize(
|
|
236
|
-
registerColor('peekViewResult.selectionBackground', { dark: '#3399ff33', light: '#3399ff33', hcDark: null, hcLight: null }, localize(
|
|
237
|
-
registerColor('peekViewResult.selectionForeground', { dark: Color.white, light: '#6C6C6C', hcDark: Color.white, hcLight: editorForeground }, localize(
|
|
238
|
-
const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, localize(
|
|
239
|
-
registerColor('peekViewEditorGutter.background', peekViewEditorBackground, localize(
|
|
240
|
-
registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, localize(
|
|
241
|
-
registerColor('peekViewEditorStickyScrollGutter.background', peekViewEditorBackground, localize(
|
|
242
|
-
registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, localize(
|
|
243
|
-
registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, localize(
|
|
244
|
-
registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(
|
|
229
|
+
const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, localize(1313, 'Background color of the peek view title area.'));
|
|
230
|
+
const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, localize(1314, 'Color of the peek view title.'));
|
|
231
|
+
const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, localize(1315, 'Color of the peek view title info.'));
|
|
232
|
+
const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, localize(1316, 'Color of the peek view borders and arrow.'));
|
|
233
|
+
const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, localize(1317, 'Background color of the peek view result list.'));
|
|
234
|
+
registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, localize(1318, 'Foreground color for line nodes in the peek view result list.'));
|
|
235
|
+
registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, localize(1319, 'Foreground color for file nodes in the peek view result list.'));
|
|
236
|
+
registerColor('peekViewResult.selectionBackground', { dark: '#3399ff33', light: '#3399ff33', hcDark: null, hcLight: null }, localize(1320, 'Background color of the selected entry in the peek view result list.'));
|
|
237
|
+
registerColor('peekViewResult.selectionForeground', { dark: Color.white, light: '#6C6C6C', hcDark: Color.white, hcLight: editorForeground }, localize(1321, 'Foreground color of the selected entry in the peek view result list.'));
|
|
238
|
+
const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, localize(1322, 'Background color of the peek view editor.'));
|
|
239
|
+
registerColor('peekViewEditorGutter.background', peekViewEditorBackground, localize(1323, 'Background color of the gutter in the peek view editor.'));
|
|
240
|
+
registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, localize(1324, 'Background color of sticky scroll in the peek view editor.'));
|
|
241
|
+
registerColor('peekViewEditorStickyScrollGutter.background', peekViewEditorBackground, localize(1325, 'Background color of the gutter part of sticky scroll in the peek view editor.'));
|
|
242
|
+
registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, localize(1326, 'Match highlight color in the peek view result list.'));
|
|
243
|
+
registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, localize(1327, 'Match highlight color in the peek view editor.'));
|
|
244
|
+
registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(1328, 'Match highlight border in the peek view editor.'));
|
|
245
245
|
|
|
246
246
|
export { IPeekViewService, PeekContext, PeekViewWidget, peekViewBorder, peekViewEditorBackground, peekViewResultsBackground, peekViewTitleBackground, peekViewTitleForeground, peekViewTitleInfoForeground };
|
|
@@ -11,4 +11,4 @@ import { wrapInReloadableClass1 } from '../../../../platform/observable/common/w
|
|
|
11
11
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
12
12
|
*--------------------------------------------------------------------------------------------*/
|
|
13
13
|
registerEditorContribution(PlaceholderTextContribution.ID, wrapInReloadableClass1(() => PlaceholderTextContribution), 0 /* EditorContributionInstantiation.Eager */);
|
|
14
|
-
registerColor('editor.placeholder.foreground', ghostTextForeground, localize(
|
|
14
|
+
registerColor('editor.placeholder.foreground', ghostTextForeground, localize(1329, 'Foreground color of the placeholder text in the editor.'));
|