monaco-editor-core 0.55.0-dev-20251014 → 0.55.0-dev-20251016
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/esm/nls.keys.json +1 -1
- package/esm/nls.messages.cs.js +9 -0
- package/esm/nls.messages.de.js +2 -2
- package/esm/nls.messages.es.js +2 -2
- package/esm/nls.messages.fr.js +2 -2
- package/esm/nls.messages.it.js +2 -2
- package/esm/nls.messages.ja.js +2 -2
- package/esm/nls.messages.js +1 -1
- package/esm/nls.messages.json +1 -1
- package/esm/nls.messages.ko.js +2 -2
- package/esm/nls.messages.pl.js +9 -0
- package/esm/nls.messages.pt-br.js +9 -0
- package/esm/nls.messages.ru.js +2 -2
- package/esm/nls.messages.tr.js +9 -0
- package/esm/nls.messages.zh-cn.js +2 -2
- package/esm/nls.messages.zh-tw.js +2 -2
- package/esm/nls.metadata.json +10 -0
- package/esm/vs/base/browser/canIUse.js +0 -1
- package/esm/vs/base/browser/canIUse.js.map +1 -1
- package/esm/vs/base/browser/domSanitize.js +31 -23
- package/esm/vs/base/browser/domSanitize.js.map +1 -1
- package/esm/vs/base/browser/dompurify/dompurify.js +188 -385
- package/esm/vs/base/browser/markdownRenderer.js +6 -1
- package/esm/vs/base/browser/markdownRenderer.js.map +1 -1
- package/esm/vs/base/browser/trustedTypes.js.map +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/toggle/toggle.js +6 -0
- package/esm/vs/base/browser/ui/toggle/toggle.js.map +1 -1
- package/esm/vs/base/common/codiconsLibrary.js +1 -0
- package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
- package/esm/vs/base/common/objects.js +0 -1
- package/esm/vs/base/common/objects.js.map +1 -1
- package/esm/vs/editor/browser/controller/mouseTarget.js +2 -1
- package/esm/vs/editor/browser/controller/mouseTarget.js.map +1 -1
- package/esm/vs/editor/browser/coreCommands.js +4 -2
- package/esm/vs/editor/browser/coreCommands.js.map +1 -1
- package/esm/vs/editor/browser/services/abstractCodeEditorService.js +5 -0
- package/esm/vs/editor/browser/services/abstractCodeEditorService.js.map +1 -1
- package/esm/vs/editor/browser/services/codeEditorService.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +104 -0
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js.map +1 -0
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +3 -3
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +25 -24
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +7 -3
- package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js.map +1 -1
- 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/diffEditor/style.css +11 -0
- 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/cursor/cursorMoveCommands.js +10 -1
- package/esm/vs/editor/common/cursor/cursorMoveCommands.js.map +1 -1
- 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 +13 -14
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js.map +1 -1
- 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/folding/browser/foldingDecorations.js.map +1 -1
- 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 -19
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +15 -10
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js.map +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/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 +47 -37
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js.map +1 -1
- 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 +56 -10
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js.map +1 -1
- 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/stickyScroll/browser/stickyScrollWidget.js +2 -2
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js.map +1 -1
- 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/actions.js +0 -1
- package/esm/vs/platform/actions/common/actions.js.map +1 -1
- 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/quickinput/common/quickInput.js.map +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/package.json +3 -3
- package/version.txt +1 -1
|
@@ -11,71 +11,71 @@ export var EditorContextKeys;
|
|
|
11
11
|
* A context key that is set when the editor's text has focus (cursor is blinking).
|
|
12
12
|
* Is false when focus is in simple editor widgets (repl input, scm commit input).
|
|
13
13
|
*/
|
|
14
|
-
EditorContextKeys.editorTextFocus = new RawContextKey('editorTextFocus', false, nls.localize(
|
|
14
|
+
EditorContextKeys.editorTextFocus = new RawContextKey('editorTextFocus', false, nls.localize(679, "Whether the editor text has focus (cursor is blinking)"));
|
|
15
15
|
/**
|
|
16
16
|
* A context key that is set when the editor's text or an editor's widget has focus.
|
|
17
17
|
*/
|
|
18
|
-
EditorContextKeys.focus = new RawContextKey('editorFocus', false, nls.localize(
|
|
18
|
+
EditorContextKeys.focus = new RawContextKey('editorFocus', false, nls.localize(680, "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)"));
|
|
19
19
|
/**
|
|
20
20
|
* A context key that is set when any editor input has focus (regular editor, repl input...).
|
|
21
21
|
*/
|
|
22
|
-
EditorContextKeys.textInputFocus = new RawContextKey('textInputFocus', false, nls.localize(
|
|
23
|
-
EditorContextKeys.readOnly = new RawContextKey('editorReadonly', false, nls.localize(
|
|
24
|
-
EditorContextKeys.inDiffEditor = new RawContextKey('inDiffEditor', false, nls.localize(
|
|
25
|
-
EditorContextKeys.isEmbeddedDiffEditor = new RawContextKey('isEmbeddedDiffEditor', false, nls.localize(
|
|
26
|
-
EditorContextKeys.multiDiffEditorAllCollapsed = new RawContextKey('multiDiffEditorAllCollapsed', undefined, nls.localize(
|
|
27
|
-
EditorContextKeys.hasChanges = new RawContextKey('diffEditorHasChanges', false, nls.localize(
|
|
28
|
-
EditorContextKeys.comparingMovedCode = new RawContextKey('comparingMovedCode', false, nls.localize(
|
|
29
|
-
EditorContextKeys.accessibleDiffViewerVisible = new RawContextKey('accessibleDiffViewerVisible', false, nls.localize(
|
|
30
|
-
EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = new RawContextKey('diffEditorRenderSideBySideInlineBreakpointReached', false, nls.localize(
|
|
31
|
-
EditorContextKeys.diffEditorInlineMode = new RawContextKey('diffEditorInlineMode', false, nls.localize(
|
|
32
|
-
EditorContextKeys.diffEditorOriginalWritable = new RawContextKey('diffEditorOriginalWritable', false, nls.localize(
|
|
33
|
-
EditorContextKeys.diffEditorModifiedWritable = new RawContextKey('diffEditorModifiedWritable', false, nls.localize(
|
|
34
|
-
EditorContextKeys.diffEditorOriginalUri = new RawContextKey('diffEditorOriginalUri', '', nls.localize(
|
|
35
|
-
EditorContextKeys.diffEditorModifiedUri = new RawContextKey('diffEditorModifiedUri', '', nls.localize(
|
|
36
|
-
EditorContextKeys.columnSelection = new RawContextKey('editorColumnSelection', false, nls.localize(
|
|
22
|
+
EditorContextKeys.textInputFocus = new RawContextKey('textInputFocus', false, nls.localize(681, "Whether an editor or a rich text input has focus (cursor is blinking)"));
|
|
23
|
+
EditorContextKeys.readOnly = new RawContextKey('editorReadonly', false, nls.localize(682, "Whether the editor is read-only"));
|
|
24
|
+
EditorContextKeys.inDiffEditor = new RawContextKey('inDiffEditor', false, nls.localize(683, "Whether the context is a diff editor"));
|
|
25
|
+
EditorContextKeys.isEmbeddedDiffEditor = new RawContextKey('isEmbeddedDiffEditor', false, nls.localize(684, "Whether the context is an embedded diff editor"));
|
|
26
|
+
EditorContextKeys.multiDiffEditorAllCollapsed = new RawContextKey('multiDiffEditorAllCollapsed', undefined, nls.localize(685, "Whether all files in multi diff editor are collapsed"));
|
|
27
|
+
EditorContextKeys.hasChanges = new RawContextKey('diffEditorHasChanges', false, nls.localize(686, "Whether the diff editor has changes"));
|
|
28
|
+
EditorContextKeys.comparingMovedCode = new RawContextKey('comparingMovedCode', false, nls.localize(687, "Whether a moved code block is selected for comparison"));
|
|
29
|
+
EditorContextKeys.accessibleDiffViewerVisible = new RawContextKey('accessibleDiffViewerVisible', false, nls.localize(688, "Whether the accessible diff viewer is visible"));
|
|
30
|
+
EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = new RawContextKey('diffEditorRenderSideBySideInlineBreakpointReached', false, nls.localize(689, "Whether the diff editor render side by side inline breakpoint is reached"));
|
|
31
|
+
EditorContextKeys.diffEditorInlineMode = new RawContextKey('diffEditorInlineMode', false, nls.localize(690, "Whether inline mode is active"));
|
|
32
|
+
EditorContextKeys.diffEditorOriginalWritable = new RawContextKey('diffEditorOriginalWritable', false, nls.localize(691, "Whether modified is writable in the diff editor"));
|
|
33
|
+
EditorContextKeys.diffEditorModifiedWritable = new RawContextKey('diffEditorModifiedWritable', false, nls.localize(692, "Whether modified is writable in the diff editor"));
|
|
34
|
+
EditorContextKeys.diffEditorOriginalUri = new RawContextKey('diffEditorOriginalUri', '', nls.localize(693, "The uri of the original document"));
|
|
35
|
+
EditorContextKeys.diffEditorModifiedUri = new RawContextKey('diffEditorModifiedUri', '', nls.localize(694, "The uri of the modified document"));
|
|
36
|
+
EditorContextKeys.columnSelection = new RawContextKey('editorColumnSelection', false, nls.localize(695, "Whether `editor.columnSelection` is enabled"));
|
|
37
37
|
EditorContextKeys.writable = EditorContextKeys.readOnly.toNegated();
|
|
38
|
-
EditorContextKeys.hasNonEmptySelection = new RawContextKey('editorHasSelection', false, nls.localize(
|
|
38
|
+
EditorContextKeys.hasNonEmptySelection = new RawContextKey('editorHasSelection', false, nls.localize(696, "Whether the editor has text selected"));
|
|
39
39
|
EditorContextKeys.hasOnlyEmptySelection = EditorContextKeys.hasNonEmptySelection.toNegated();
|
|
40
|
-
EditorContextKeys.hasMultipleSelections = new RawContextKey('editorHasMultipleSelections', false, nls.localize(
|
|
40
|
+
EditorContextKeys.hasMultipleSelections = new RawContextKey('editorHasMultipleSelections', false, nls.localize(697, "Whether the editor has multiple selections"));
|
|
41
41
|
EditorContextKeys.hasSingleSelection = EditorContextKeys.hasMultipleSelections.toNegated();
|
|
42
|
-
EditorContextKeys.tabMovesFocus = new RawContextKey('editorTabMovesFocus', false, nls.localize(
|
|
42
|
+
EditorContextKeys.tabMovesFocus = new RawContextKey('editorTabMovesFocus', false, nls.localize(698, "Whether `Tab` will move focus out of the editor"));
|
|
43
43
|
EditorContextKeys.tabDoesNotMoveFocus = EditorContextKeys.tabMovesFocus.toNegated();
|
|
44
44
|
EditorContextKeys.isInEmbeddedEditor = new RawContextKey('isInEmbeddedEditor', false, true);
|
|
45
45
|
EditorContextKeys.canUndo = new RawContextKey('canUndo', false, true);
|
|
46
46
|
EditorContextKeys.canRedo = new RawContextKey('canRedo', false, true);
|
|
47
|
-
EditorContextKeys.hoverVisible = new RawContextKey('editorHoverVisible', false, nls.localize(
|
|
48
|
-
EditorContextKeys.hoverFocused = new RawContextKey('editorHoverFocused', false, nls.localize(
|
|
49
|
-
EditorContextKeys.stickyScrollFocused = new RawContextKey('stickyScrollFocused', false, nls.localize(
|
|
50
|
-
EditorContextKeys.stickyScrollVisible = new RawContextKey('stickyScrollVisible', false, nls.localize(
|
|
51
|
-
EditorContextKeys.standaloneColorPickerVisible = new RawContextKey('standaloneColorPickerVisible', false, nls.localize(
|
|
52
|
-
EditorContextKeys.standaloneColorPickerFocused = new RawContextKey('standaloneColorPickerFocused', false, nls.localize(
|
|
47
|
+
EditorContextKeys.hoverVisible = new RawContextKey('editorHoverVisible', false, nls.localize(699, "Whether the editor hover is visible"));
|
|
48
|
+
EditorContextKeys.hoverFocused = new RawContextKey('editorHoverFocused', false, nls.localize(700, "Whether the editor hover is focused"));
|
|
49
|
+
EditorContextKeys.stickyScrollFocused = new RawContextKey('stickyScrollFocused', false, nls.localize(701, "Whether the sticky scroll is focused"));
|
|
50
|
+
EditorContextKeys.stickyScrollVisible = new RawContextKey('stickyScrollVisible', false, nls.localize(702, "Whether the sticky scroll is visible"));
|
|
51
|
+
EditorContextKeys.standaloneColorPickerVisible = new RawContextKey('standaloneColorPickerVisible', false, nls.localize(703, "Whether the standalone color picker is visible"));
|
|
52
|
+
EditorContextKeys.standaloneColorPickerFocused = new RawContextKey('standaloneColorPickerFocused', false, nls.localize(704, "Whether the standalone color picker is focused"));
|
|
53
53
|
/**
|
|
54
54
|
* A context key that is set when an editor is part of a larger editor, like notebooks or
|
|
55
55
|
* (future) a diff editor
|
|
56
56
|
*/
|
|
57
|
-
EditorContextKeys.inCompositeEditor = new RawContextKey('inCompositeEditor', undefined, nls.localize(
|
|
57
|
+
EditorContextKeys.inCompositeEditor = new RawContextKey('inCompositeEditor', undefined, nls.localize(705, "Whether the editor is part of a larger editor (e.g. notebooks)"));
|
|
58
58
|
EditorContextKeys.notInCompositeEditor = EditorContextKeys.inCompositeEditor.toNegated();
|
|
59
59
|
// -- mode context keys
|
|
60
|
-
EditorContextKeys.languageId = new RawContextKey('editorLangId', '', nls.localize(
|
|
61
|
-
EditorContextKeys.hasCompletionItemProvider = new RawContextKey('editorHasCompletionItemProvider', false, nls.localize(
|
|
62
|
-
EditorContextKeys.hasCodeActionsProvider = new RawContextKey('editorHasCodeActionsProvider', false, nls.localize(
|
|
63
|
-
EditorContextKeys.hasCodeLensProvider = new RawContextKey('editorHasCodeLensProvider', false, nls.localize(
|
|
64
|
-
EditorContextKeys.hasDefinitionProvider = new RawContextKey('editorHasDefinitionProvider', false, nls.localize(
|
|
65
|
-
EditorContextKeys.hasDeclarationProvider = new RawContextKey('editorHasDeclarationProvider', false, nls.localize(
|
|
66
|
-
EditorContextKeys.hasImplementationProvider = new RawContextKey('editorHasImplementationProvider', false, nls.localize(
|
|
67
|
-
EditorContextKeys.hasTypeDefinitionProvider = new RawContextKey('editorHasTypeDefinitionProvider', false, nls.localize(
|
|
68
|
-
EditorContextKeys.hasHoverProvider = new RawContextKey('editorHasHoverProvider', false, nls.localize(
|
|
69
|
-
EditorContextKeys.hasDocumentHighlightProvider = new RawContextKey('editorHasDocumentHighlightProvider', false, nls.localize(
|
|
70
|
-
EditorContextKeys.hasDocumentSymbolProvider = new RawContextKey('editorHasDocumentSymbolProvider', false, nls.localize(
|
|
71
|
-
EditorContextKeys.hasReferenceProvider = new RawContextKey('editorHasReferenceProvider', false, nls.localize(
|
|
72
|
-
EditorContextKeys.hasRenameProvider = new RawContextKey('editorHasRenameProvider', false, nls.localize(
|
|
73
|
-
EditorContextKeys.hasSignatureHelpProvider = new RawContextKey('editorHasSignatureHelpProvider', false, nls.localize(
|
|
74
|
-
EditorContextKeys.hasInlayHintsProvider = new RawContextKey('editorHasInlayHintsProvider', false, nls.localize(
|
|
60
|
+
EditorContextKeys.languageId = new RawContextKey('editorLangId', '', nls.localize(706, "The language identifier of the editor"));
|
|
61
|
+
EditorContextKeys.hasCompletionItemProvider = new RawContextKey('editorHasCompletionItemProvider', false, nls.localize(707, "Whether the editor has a completion item provider"));
|
|
62
|
+
EditorContextKeys.hasCodeActionsProvider = new RawContextKey('editorHasCodeActionsProvider', false, nls.localize(708, "Whether the editor has a code actions provider"));
|
|
63
|
+
EditorContextKeys.hasCodeLensProvider = new RawContextKey('editorHasCodeLensProvider', false, nls.localize(709, "Whether the editor has a code lens provider"));
|
|
64
|
+
EditorContextKeys.hasDefinitionProvider = new RawContextKey('editorHasDefinitionProvider', false, nls.localize(710, "Whether the editor has a definition provider"));
|
|
65
|
+
EditorContextKeys.hasDeclarationProvider = new RawContextKey('editorHasDeclarationProvider', false, nls.localize(711, "Whether the editor has a declaration provider"));
|
|
66
|
+
EditorContextKeys.hasImplementationProvider = new RawContextKey('editorHasImplementationProvider', false, nls.localize(712, "Whether the editor has an implementation provider"));
|
|
67
|
+
EditorContextKeys.hasTypeDefinitionProvider = new RawContextKey('editorHasTypeDefinitionProvider', false, nls.localize(713, "Whether the editor has a type definition provider"));
|
|
68
|
+
EditorContextKeys.hasHoverProvider = new RawContextKey('editorHasHoverProvider', false, nls.localize(714, "Whether the editor has a hover provider"));
|
|
69
|
+
EditorContextKeys.hasDocumentHighlightProvider = new RawContextKey('editorHasDocumentHighlightProvider', false, nls.localize(715, "Whether the editor has a document highlight provider"));
|
|
70
|
+
EditorContextKeys.hasDocumentSymbolProvider = new RawContextKey('editorHasDocumentSymbolProvider', false, nls.localize(716, "Whether the editor has a document symbol provider"));
|
|
71
|
+
EditorContextKeys.hasReferenceProvider = new RawContextKey('editorHasReferenceProvider', false, nls.localize(717, "Whether the editor has a reference provider"));
|
|
72
|
+
EditorContextKeys.hasRenameProvider = new RawContextKey('editorHasRenameProvider', false, nls.localize(718, "Whether the editor has a rename provider"));
|
|
73
|
+
EditorContextKeys.hasSignatureHelpProvider = new RawContextKey('editorHasSignatureHelpProvider', false, nls.localize(719, "Whether the editor has a signature help provider"));
|
|
74
|
+
EditorContextKeys.hasInlayHintsProvider = new RawContextKey('editorHasInlayHintsProvider', false, nls.localize(720, "Whether the editor has an inline hints provider"));
|
|
75
75
|
// -- mode context keys: formatting
|
|
76
|
-
EditorContextKeys.hasDocumentFormattingProvider = new RawContextKey('editorHasDocumentFormattingProvider', false, nls.localize(
|
|
77
|
-
EditorContextKeys.hasDocumentSelectionFormattingProvider = new RawContextKey('editorHasDocumentSelectionFormattingProvider', false, nls.localize(
|
|
78
|
-
EditorContextKeys.hasMultipleDocumentFormattingProvider = new RawContextKey('editorHasMultipleDocumentFormattingProvider', false, nls.localize(
|
|
79
|
-
EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = new RawContextKey('editorHasMultipleDocumentSelectionFormattingProvider', false, nls.localize(
|
|
76
|
+
EditorContextKeys.hasDocumentFormattingProvider = new RawContextKey('editorHasDocumentFormattingProvider', false, nls.localize(721, "Whether the editor has a document formatting provider"));
|
|
77
|
+
EditorContextKeys.hasDocumentSelectionFormattingProvider = new RawContextKey('editorHasDocumentSelectionFormattingProvider', false, nls.localize(722, "Whether the editor has a document selection formatting provider"));
|
|
78
|
+
EditorContextKeys.hasMultipleDocumentFormattingProvider = new RawContextKey('editorHasMultipleDocumentFormattingProvider', false, nls.localize(723, "Whether the editor has multiple document formatting providers"));
|
|
79
|
+
EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = new RawContextKey('editorHasMultipleDocumentSelectionFormattingProvider', false, nls.localize(724, "Whether the editor has multiple document selection formatting providers"));
|
|
80
80
|
})(EditorContextKeys || (EditorContextKeys = {}));
|
|
81
81
|
//# sourceMappingURL=editorContextKeys.js.map
|
|
@@ -44,7 +44,7 @@ export const PLAINTEXT_EXTENSION = '.txt';
|
|
|
44
44
|
ModesRegistry.registerLanguage({
|
|
45
45
|
id: PLAINTEXT_LANGUAGE_ID,
|
|
46
46
|
extensions: [PLAINTEXT_EXTENSION],
|
|
47
|
-
aliases: [nls.localize(
|
|
47
|
+
aliases: [nls.localize(781, "Plain Text"), 'text'],
|
|
48
48
|
mimetypes: [Mimes.text]
|
|
49
49
|
});
|
|
50
50
|
Registry.as(ConfigurationExtensions.Configuration)
|
|
@@ -105,35 +105,35 @@ export var CompletionItemKinds;
|
|
|
105
105
|
*/
|
|
106
106
|
function toLabel(kind) {
|
|
107
107
|
switch (kind) {
|
|
108
|
-
case 0 /* CompletionItemKind.Method */: return localize(
|
|
109
|
-
case 1 /* CompletionItemKind.Function */: return localize(
|
|
110
|
-
case 2 /* CompletionItemKind.Constructor */: return localize(
|
|
111
|
-
case 3 /* CompletionItemKind.Field */: return localize(
|
|
112
|
-
case 4 /* CompletionItemKind.Variable */: return localize(
|
|
113
|
-
case 5 /* CompletionItemKind.Class */: return localize(
|
|
114
|
-
case 6 /* CompletionItemKind.Struct */: return localize(
|
|
115
|
-
case 7 /* CompletionItemKind.Interface */: return localize(
|
|
116
|
-
case 8 /* CompletionItemKind.Module */: return localize(
|
|
117
|
-
case 9 /* CompletionItemKind.Property */: return localize(
|
|
118
|
-
case 10 /* CompletionItemKind.Event */: return localize(
|
|
119
|
-
case 11 /* CompletionItemKind.Operator */: return localize(
|
|
120
|
-
case 12 /* CompletionItemKind.Unit */: return localize(
|
|
121
|
-
case 13 /* CompletionItemKind.Value */: return localize(
|
|
122
|
-
case 14 /* CompletionItemKind.Constant */: return localize(
|
|
123
|
-
case 15 /* CompletionItemKind.Enum */: return localize(
|
|
124
|
-
case 16 /* CompletionItemKind.EnumMember */: return localize(
|
|
125
|
-
case 17 /* CompletionItemKind.Keyword */: return localize(
|
|
126
|
-
case 18 /* CompletionItemKind.Text */: return localize(
|
|
127
|
-
case 19 /* CompletionItemKind.Color */: return localize(
|
|
128
|
-
case 20 /* CompletionItemKind.File */: return localize(
|
|
129
|
-
case 21 /* CompletionItemKind.Reference */: return localize(
|
|
130
|
-
case 22 /* CompletionItemKind.Customcolor */: return localize(
|
|
131
|
-
case 23 /* CompletionItemKind.Folder */: return localize(
|
|
132
|
-
case 24 /* CompletionItemKind.TypeParameter */: return localize(
|
|
133
|
-
case 25 /* CompletionItemKind.User */: return localize(
|
|
134
|
-
case 26 /* CompletionItemKind.Issue */: return localize(
|
|
135
|
-
case 27 /* CompletionItemKind.Tool */: return localize(
|
|
136
|
-
case 28 /* CompletionItemKind.Snippet */: return localize(
|
|
108
|
+
case 0 /* CompletionItemKind.Method */: return localize(725, 'Method');
|
|
109
|
+
case 1 /* CompletionItemKind.Function */: return localize(726, 'Function');
|
|
110
|
+
case 2 /* CompletionItemKind.Constructor */: return localize(727, 'Constructor');
|
|
111
|
+
case 3 /* CompletionItemKind.Field */: return localize(728, 'Field');
|
|
112
|
+
case 4 /* CompletionItemKind.Variable */: return localize(729, 'Variable');
|
|
113
|
+
case 5 /* CompletionItemKind.Class */: return localize(730, 'Class');
|
|
114
|
+
case 6 /* CompletionItemKind.Struct */: return localize(731, 'Struct');
|
|
115
|
+
case 7 /* CompletionItemKind.Interface */: return localize(732, 'Interface');
|
|
116
|
+
case 8 /* CompletionItemKind.Module */: return localize(733, 'Module');
|
|
117
|
+
case 9 /* CompletionItemKind.Property */: return localize(734, 'Property');
|
|
118
|
+
case 10 /* CompletionItemKind.Event */: return localize(735, 'Event');
|
|
119
|
+
case 11 /* CompletionItemKind.Operator */: return localize(736, 'Operator');
|
|
120
|
+
case 12 /* CompletionItemKind.Unit */: return localize(737, 'Unit');
|
|
121
|
+
case 13 /* CompletionItemKind.Value */: return localize(738, 'Value');
|
|
122
|
+
case 14 /* CompletionItemKind.Constant */: return localize(739, 'Constant');
|
|
123
|
+
case 15 /* CompletionItemKind.Enum */: return localize(740, 'Enum');
|
|
124
|
+
case 16 /* CompletionItemKind.EnumMember */: return localize(741, 'Enum Member');
|
|
125
|
+
case 17 /* CompletionItemKind.Keyword */: return localize(742, 'Keyword');
|
|
126
|
+
case 18 /* CompletionItemKind.Text */: return localize(743, 'Text');
|
|
127
|
+
case 19 /* CompletionItemKind.Color */: return localize(744, 'Color');
|
|
128
|
+
case 20 /* CompletionItemKind.File */: return localize(745, 'File');
|
|
129
|
+
case 21 /* CompletionItemKind.Reference */: return localize(746, 'Reference');
|
|
130
|
+
case 22 /* CompletionItemKind.Customcolor */: return localize(747, 'Custom Color');
|
|
131
|
+
case 23 /* CompletionItemKind.Folder */: return localize(748, 'Folder');
|
|
132
|
+
case 24 /* CompletionItemKind.TypeParameter */: return localize(749, 'Type Parameter');
|
|
133
|
+
case 25 /* CompletionItemKind.User */: return localize(750, 'User');
|
|
134
|
+
case 26 /* CompletionItemKind.Issue */: return localize(751, 'Issue');
|
|
135
|
+
case 27 /* CompletionItemKind.Tool */: return localize(752, 'Tool');
|
|
136
|
+
case 28 /* CompletionItemKind.Snippet */: return localize(753, 'Snippet');
|
|
137
137
|
default: return '';
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -305,38 +305,38 @@ export function isLocationLink(thing) {
|
|
|
305
305
|
* @internal
|
|
306
306
|
*/
|
|
307
307
|
export const symbolKindNames = {
|
|
308
|
-
[17 /* SymbolKind.Array */]: localize(
|
|
309
|
-
[16 /* SymbolKind.Boolean */]: localize(
|
|
310
|
-
[4 /* SymbolKind.Class */]: localize(
|
|
311
|
-
[13 /* SymbolKind.Constant */]: localize(
|
|
312
|
-
[8 /* SymbolKind.Constructor */]: localize(
|
|
313
|
-
[9 /* SymbolKind.Enum */]: localize(
|
|
314
|
-
[21 /* SymbolKind.EnumMember */]: localize(
|
|
315
|
-
[23 /* SymbolKind.Event */]: localize(
|
|
316
|
-
[7 /* SymbolKind.Field */]: localize(
|
|
317
|
-
[0 /* SymbolKind.File */]: localize(
|
|
318
|
-
[11 /* SymbolKind.Function */]: localize(
|
|
319
|
-
[10 /* SymbolKind.Interface */]: localize(
|
|
320
|
-
[19 /* SymbolKind.Key */]: localize(
|
|
321
|
-
[5 /* SymbolKind.Method */]: localize(
|
|
322
|
-
[1 /* SymbolKind.Module */]: localize(
|
|
323
|
-
[2 /* SymbolKind.Namespace */]: localize(
|
|
324
|
-
[20 /* SymbolKind.Null */]: localize(
|
|
325
|
-
[15 /* SymbolKind.Number */]: localize(
|
|
326
|
-
[18 /* SymbolKind.Object */]: localize(
|
|
327
|
-
[24 /* SymbolKind.Operator */]: localize(
|
|
328
|
-
[3 /* SymbolKind.Package */]: localize(
|
|
329
|
-
[6 /* SymbolKind.Property */]: localize(
|
|
330
|
-
[14 /* SymbolKind.String */]: localize(
|
|
331
|
-
[22 /* SymbolKind.Struct */]: localize(
|
|
332
|
-
[25 /* SymbolKind.TypeParameter */]: localize(
|
|
333
|
-
[12 /* SymbolKind.Variable */]: localize(
|
|
308
|
+
[17 /* SymbolKind.Array */]: localize(754, "array"),
|
|
309
|
+
[16 /* SymbolKind.Boolean */]: localize(755, "boolean"),
|
|
310
|
+
[4 /* SymbolKind.Class */]: localize(756, "class"),
|
|
311
|
+
[13 /* SymbolKind.Constant */]: localize(757, "constant"),
|
|
312
|
+
[8 /* SymbolKind.Constructor */]: localize(758, "constructor"),
|
|
313
|
+
[9 /* SymbolKind.Enum */]: localize(759, "enumeration"),
|
|
314
|
+
[21 /* SymbolKind.EnumMember */]: localize(760, "enumeration member"),
|
|
315
|
+
[23 /* SymbolKind.Event */]: localize(761, "event"),
|
|
316
|
+
[7 /* SymbolKind.Field */]: localize(762, "field"),
|
|
317
|
+
[0 /* SymbolKind.File */]: localize(763, "file"),
|
|
318
|
+
[11 /* SymbolKind.Function */]: localize(764, "function"),
|
|
319
|
+
[10 /* SymbolKind.Interface */]: localize(765, "interface"),
|
|
320
|
+
[19 /* SymbolKind.Key */]: localize(766, "key"),
|
|
321
|
+
[5 /* SymbolKind.Method */]: localize(767, "method"),
|
|
322
|
+
[1 /* SymbolKind.Module */]: localize(768, "module"),
|
|
323
|
+
[2 /* SymbolKind.Namespace */]: localize(769, "namespace"),
|
|
324
|
+
[20 /* SymbolKind.Null */]: localize(770, "null"),
|
|
325
|
+
[15 /* SymbolKind.Number */]: localize(771, "number"),
|
|
326
|
+
[18 /* SymbolKind.Object */]: localize(772, "object"),
|
|
327
|
+
[24 /* SymbolKind.Operator */]: localize(773, "operator"),
|
|
328
|
+
[3 /* SymbolKind.Package */]: localize(774, "package"),
|
|
329
|
+
[6 /* SymbolKind.Property */]: localize(775, "property"),
|
|
330
|
+
[14 /* SymbolKind.String */]: localize(776, "string"),
|
|
331
|
+
[22 /* SymbolKind.Struct */]: localize(777, "struct"),
|
|
332
|
+
[25 /* SymbolKind.TypeParameter */]: localize(778, "type parameter"),
|
|
333
|
+
[12 /* SymbolKind.Variable */]: localize(779, "variable"),
|
|
334
334
|
};
|
|
335
335
|
/**
|
|
336
336
|
* @internal
|
|
337
337
|
*/
|
|
338
338
|
export function getAriaLabelForSymbol(symbolName, kind) {
|
|
339
|
-
return localize(
|
|
339
|
+
return localize(780, '{0} ({1})', symbolName, symbolKindNames[kind]);
|
|
340
340
|
}
|
|
341
341
|
/**
|
|
342
342
|
* @internal
|
|
@@ -325,7 +325,7 @@ export class EditStack {
|
|
|
325
325
|
if (isEditStackElement(lastElement) && lastElement.canAppend(this._model)) {
|
|
326
326
|
return lastElement;
|
|
327
327
|
}
|
|
328
|
-
const newElement = new SingleModelEditStackElement(nls.localize(
|
|
328
|
+
const newElement = new SingleModelEditStackElement(nls.localize(782, "Typing"), 'undoredo.textBufferEdit', this._model, beforeCursorState);
|
|
329
329
|
this._undoRedoService.pushElement(newElement, group);
|
|
330
330
|
return newElement;
|
|
331
331
|
}
|
|
@@ -5,36 +5,36 @@
|
|
|
5
5
|
import * as nls from '../../nls.js';
|
|
6
6
|
export var InspectTokensNLS;
|
|
7
7
|
(function (InspectTokensNLS) {
|
|
8
|
-
InspectTokensNLS.inspectTokensAction = nls.localize(
|
|
8
|
+
InspectTokensNLS.inspectTokensAction = nls.localize(783, "Developer: Inspect Tokens");
|
|
9
9
|
})(InspectTokensNLS || (InspectTokensNLS = {}));
|
|
10
10
|
export var GoToLineNLS;
|
|
11
11
|
(function (GoToLineNLS) {
|
|
12
|
-
GoToLineNLS.gotoLineActionLabel = nls.localize(
|
|
12
|
+
GoToLineNLS.gotoLineActionLabel = nls.localize(784, "Go to Line/Column...");
|
|
13
13
|
})(GoToLineNLS || (GoToLineNLS = {}));
|
|
14
14
|
export var QuickHelpNLS;
|
|
15
15
|
(function (QuickHelpNLS) {
|
|
16
|
-
QuickHelpNLS.helpQuickAccessActionLabel = nls.localize(
|
|
16
|
+
QuickHelpNLS.helpQuickAccessActionLabel = nls.localize(785, "Show all Quick Access Providers");
|
|
17
17
|
})(QuickHelpNLS || (QuickHelpNLS = {}));
|
|
18
18
|
export var QuickCommandNLS;
|
|
19
19
|
(function (QuickCommandNLS) {
|
|
20
|
-
QuickCommandNLS.quickCommandActionLabel = nls.localize(
|
|
21
|
-
QuickCommandNLS.quickCommandHelp = nls.localize(
|
|
20
|
+
QuickCommandNLS.quickCommandActionLabel = nls.localize(786, "Command Palette");
|
|
21
|
+
QuickCommandNLS.quickCommandHelp = nls.localize(787, "Show And Run Commands");
|
|
22
22
|
})(QuickCommandNLS || (QuickCommandNLS = {}));
|
|
23
23
|
export var QuickOutlineNLS;
|
|
24
24
|
(function (QuickOutlineNLS) {
|
|
25
|
-
QuickOutlineNLS.quickOutlineActionLabel = nls.localize(
|
|
26
|
-
QuickOutlineNLS.quickOutlineByCategoryActionLabel = nls.localize(
|
|
25
|
+
QuickOutlineNLS.quickOutlineActionLabel = nls.localize(788, "Go to Symbol...");
|
|
26
|
+
QuickOutlineNLS.quickOutlineByCategoryActionLabel = nls.localize(789, "Go to Symbol by Category...");
|
|
27
27
|
})(QuickOutlineNLS || (QuickOutlineNLS = {}));
|
|
28
28
|
export var StandaloneCodeEditorNLS;
|
|
29
29
|
(function (StandaloneCodeEditorNLS) {
|
|
30
|
-
StandaloneCodeEditorNLS.editorViewAccessibleLabel = nls.localize(
|
|
30
|
+
StandaloneCodeEditorNLS.editorViewAccessibleLabel = nls.localize(790, "Editor content");
|
|
31
31
|
})(StandaloneCodeEditorNLS || (StandaloneCodeEditorNLS = {}));
|
|
32
32
|
export var ToggleHighContrastNLS;
|
|
33
33
|
(function (ToggleHighContrastNLS) {
|
|
34
|
-
ToggleHighContrastNLS.toggleHighContrast = nls.localize(
|
|
34
|
+
ToggleHighContrastNLS.toggleHighContrast = nls.localize(791, "Toggle High Contrast Theme");
|
|
35
35
|
})(ToggleHighContrastNLS || (ToggleHighContrastNLS = {}));
|
|
36
36
|
export var StandaloneServicesNLS;
|
|
37
37
|
(function (StandaloneServicesNLS) {
|
|
38
|
-
StandaloneServicesNLS.bulkEditServiceSummary = nls.localize(
|
|
38
|
+
StandaloneServicesNLS.bulkEditServiceSummary = nls.localize(792, "Made {0} edits in {1} files");
|
|
39
39
|
})(StandaloneServicesNLS || (StandaloneServicesNLS = {}));
|
|
40
40
|
//# sourceMappingURL=standaloneStrings.js.map
|
|
@@ -925,7 +925,7 @@ function _renderLine(input, sb) {
|
|
|
925
925
|
}
|
|
926
926
|
if (isOverflowing) {
|
|
927
927
|
sb.appendString('<span class="mtkoverflow">');
|
|
928
|
-
sb.appendString(nls.localize(
|
|
928
|
+
sb.appendString(nls.localize(793, "Show more ({0})", renderOverflowingCharCount(overflowingCharCount)));
|
|
929
929
|
sb.appendString('</span>');
|
|
930
930
|
}
|
|
931
931
|
sb.appendString('</span>');
|
|
@@ -936,7 +936,7 @@ function to4CharHex(n) {
|
|
|
936
936
|
}
|
|
937
937
|
function renderOverflowingCharCount(n) {
|
|
938
938
|
if (n < 1024) {
|
|
939
|
-
return nls.localize(
|
|
939
|
+
return nls.localize(794, "{0} chars", n);
|
|
940
940
|
}
|
|
941
941
|
if (n < 1024 * 1024) {
|
|
942
942
|
return `${(n / 1024).toFixed(1)} KB`;
|
|
@@ -43,12 +43,12 @@ let SelectionAnchorController = class SelectionAnchorController {
|
|
|
43
43
|
this.decorationId = accessor.addDecoration(Selection.fromPositions(position, position), {
|
|
44
44
|
description: 'selection-anchor',
|
|
45
45
|
stickiness: 1 /* TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges */,
|
|
46
|
-
hoverMessage: new MarkdownString().appendText(localize(
|
|
46
|
+
hoverMessage: new MarkdownString().appendText(localize(795, "Selection Anchor")),
|
|
47
47
|
className: 'selection-anchor'
|
|
48
48
|
});
|
|
49
49
|
});
|
|
50
50
|
this.selectionAnchorSetContextKey.set(!!this.decorationId);
|
|
51
|
-
alert(localize(
|
|
51
|
+
alert(localize(796, "Anchor set at {0}:{1}", position.lineNumber, position.column));
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
goToSelectionAnchor() {
|
|
@@ -91,7 +91,7 @@ class SetSelectionAnchor extends EditorAction {
|
|
|
91
91
|
constructor() {
|
|
92
92
|
super({
|
|
93
93
|
id: 'editor.action.setSelectionAnchor',
|
|
94
|
-
label: localize2(
|
|
94
|
+
label: localize2(797, "Set Selection Anchor"),
|
|
95
95
|
precondition: undefined,
|
|
96
96
|
kbOpts: {
|
|
97
97
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -108,7 +108,7 @@ class GoToSelectionAnchor extends EditorAction {
|
|
|
108
108
|
constructor() {
|
|
109
109
|
super({
|
|
110
110
|
id: 'editor.action.goToSelectionAnchor',
|
|
111
|
-
label: localize2(
|
|
111
|
+
label: localize2(798, "Go to Selection Anchor"),
|
|
112
112
|
precondition: SelectionAnchorSet,
|
|
113
113
|
});
|
|
114
114
|
}
|
|
@@ -120,7 +120,7 @@ class SelectFromAnchorToCursor extends EditorAction {
|
|
|
120
120
|
constructor() {
|
|
121
121
|
super({
|
|
122
122
|
id: 'editor.action.selectFromAnchorToCursor',
|
|
123
|
-
label: localize2(
|
|
123
|
+
label: localize2(799, "Select from Anchor to Cursor"),
|
|
124
124
|
precondition: SelectionAnchorSet,
|
|
125
125
|
kbOpts: {
|
|
126
126
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -137,7 +137,7 @@ class CancelSelectionAnchor extends EditorAction {
|
|
|
137
137
|
constructor() {
|
|
138
138
|
super({
|
|
139
139
|
id: 'editor.action.cancelSelectionAnchor',
|
|
140
|
-
label: localize2(
|
|
140
|
+
label: localize2(800, "Cancel Selection Anchor"),
|
|
141
141
|
precondition: SelectionAnchorSet,
|
|
142
142
|
kbOpts: {
|
|
143
143
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -16,12 +16,12 @@ import * as nls from '../../../../nls.js';
|
|
|
16
16
|
import { MenuId, MenuRegistry } from '../../../../platform/actions/common/actions.js';
|
|
17
17
|
import { registerColor } from '../../../../platform/theme/common/colorRegistry.js';
|
|
18
18
|
import { themeColorFromId } from '../../../../platform/theme/common/themeService.js';
|
|
19
|
-
const overviewRulerBracketMatchForeground = registerColor('editorOverviewRuler.bracketMatchForeground', '#A0A0A0', nls.localize(
|
|
19
|
+
const overviewRulerBracketMatchForeground = registerColor('editorOverviewRuler.bracketMatchForeground', '#A0A0A0', nls.localize(801, 'Overview ruler marker color for matching brackets.'));
|
|
20
20
|
class JumpToBracketAction extends EditorAction {
|
|
21
21
|
constructor() {
|
|
22
22
|
super({
|
|
23
23
|
id: 'editor.action.jumpToBracket',
|
|
24
|
-
label: nls.localize2(
|
|
24
|
+
label: nls.localize2(803, "Go to Bracket"),
|
|
25
25
|
precondition: undefined,
|
|
26
26
|
kbOpts: {
|
|
27
27
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -38,10 +38,10 @@ class SelectToBracketAction extends EditorAction {
|
|
|
38
38
|
constructor() {
|
|
39
39
|
super({
|
|
40
40
|
id: 'editor.action.selectToBracket',
|
|
41
|
-
label: nls.localize2(
|
|
41
|
+
label: nls.localize2(804, "Select to Bracket"),
|
|
42
42
|
precondition: undefined,
|
|
43
43
|
metadata: {
|
|
44
|
-
description: nls.localize2(
|
|
44
|
+
description: nls.localize2(805, "Select the text inside and including the brackets or curly braces"),
|
|
45
45
|
args: [{
|
|
46
46
|
name: 'args',
|
|
47
47
|
schema: {
|
|
@@ -69,7 +69,7 @@ class RemoveBracketsAction extends EditorAction {
|
|
|
69
69
|
constructor() {
|
|
70
70
|
super({
|
|
71
71
|
id: 'editor.action.removeBrackets',
|
|
72
|
-
label: nls.localize2(
|
|
72
|
+
label: nls.localize2(806, "Remove Brackets"),
|
|
73
73
|
precondition: undefined,
|
|
74
74
|
kbOpts: {
|
|
75
75
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -339,7 +339,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
339
339
|
group: '5_infile_nav',
|
|
340
340
|
command: {
|
|
341
341
|
id: 'editor.action.jumpToBracket',
|
|
342
|
-
title: nls.localize(
|
|
342
|
+
title: nls.localize(802, "Go to &&Bracket")
|
|
343
343
|
},
|
|
344
344
|
order: 2
|
|
345
345
|
});
|
|
@@ -29,7 +29,7 @@ class MoveCaretLeftAction extends MoveCaretAction {
|
|
|
29
29
|
constructor() {
|
|
30
30
|
super(true, {
|
|
31
31
|
id: 'editor.action.moveCarretLeftAction',
|
|
32
|
-
label: nls.localize2(
|
|
32
|
+
label: nls.localize2(807, "Move Selected Text Left"),
|
|
33
33
|
precondition: EditorContextKeys.writable
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -38,7 +38,7 @@ class MoveCaretRightAction extends MoveCaretAction {
|
|
|
38
38
|
constructor() {
|
|
39
39
|
super(false, {
|
|
40
40
|
id: 'editor.action.moveCarretRightAction',
|
|
41
|
-
label: nls.localize2(
|
|
41
|
+
label: nls.localize2(808, "Move Selected Text Right"),
|
|
42
42
|
precondition: EditorContextKeys.writable
|
|
43
43
|
});
|
|
44
44
|
}
|
|
@@ -12,7 +12,7 @@ class TransposeLettersAction extends EditorAction {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
super({
|
|
14
14
|
id: 'editor.action.transposeLetters',
|
|
15
|
-
label: nls.localize2(
|
|
15
|
+
label: nls.localize2(809, "Transpose Letters"),
|
|
16
16
|
precondition: EditorContextKeys.writable,
|
|
17
17
|
kbOpts: {
|
|
18
18
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -44,23 +44,23 @@ export const CutAction = supportsCut ? registerCommand(new MultiCommand({
|
|
|
44
44
|
menuOpts: [{
|
|
45
45
|
menuId: MenuId.MenubarEditMenu,
|
|
46
46
|
group: '2_ccp',
|
|
47
|
-
title: nls.localize(
|
|
47
|
+
title: nls.localize(810, "Cu&&t"),
|
|
48
48
|
order: 1
|
|
49
49
|
}, {
|
|
50
50
|
menuId: MenuId.EditorContext,
|
|
51
51
|
group: CLIPBOARD_CONTEXT_MENU_GROUP,
|
|
52
|
-
title: nls.localize(
|
|
52
|
+
title: nls.localize(811, "Cut"),
|
|
53
53
|
when: EditorContextKeys.writable,
|
|
54
54
|
order: 1,
|
|
55
55
|
}, {
|
|
56
56
|
menuId: MenuId.CommandPalette,
|
|
57
57
|
group: '',
|
|
58
|
-
title: nls.localize(
|
|
58
|
+
title: nls.localize(812, "Cut"),
|
|
59
59
|
order: 1
|
|
60
60
|
}, {
|
|
61
61
|
menuId: MenuId.SimpleEditorContext,
|
|
62
62
|
group: CLIPBOARD_CONTEXT_MENU_GROUP,
|
|
63
|
-
title: nls.localize(
|
|
63
|
+
title: nls.localize(813, "Cut"),
|
|
64
64
|
when: EditorContextKeys.writable,
|
|
65
65
|
order: 1,
|
|
66
66
|
}]
|
|
@@ -79,29 +79,29 @@ export const CopyAction = supportsCopy ? registerCommand(new MultiCommand({
|
|
|
79
79
|
menuOpts: [{
|
|
80
80
|
menuId: MenuId.MenubarEditMenu,
|
|
81
81
|
group: '2_ccp',
|
|
82
|
-
title: nls.localize(
|
|
82
|
+
title: nls.localize(814, "&&Copy"),
|
|
83
83
|
order: 2
|
|
84
84
|
}, {
|
|
85
85
|
menuId: MenuId.EditorContext,
|
|
86
86
|
group: CLIPBOARD_CONTEXT_MENU_GROUP,
|
|
87
|
-
title: nls.localize(
|
|
87
|
+
title: nls.localize(815, "Copy"),
|
|
88
88
|
order: 2,
|
|
89
89
|
}, {
|
|
90
90
|
menuId: MenuId.CommandPalette,
|
|
91
91
|
group: '',
|
|
92
|
-
title: nls.localize(
|
|
92
|
+
title: nls.localize(816, "Copy"),
|
|
93
93
|
order: 1
|
|
94
94
|
}, {
|
|
95
95
|
menuId: MenuId.SimpleEditorContext,
|
|
96
96
|
group: CLIPBOARD_CONTEXT_MENU_GROUP,
|
|
97
|
-
title: nls.localize(
|
|
97
|
+
title: nls.localize(817, "Copy"),
|
|
98
98
|
order: 2,
|
|
99
99
|
}]
|
|
100
100
|
})) : undefined;
|
|
101
|
-
MenuRegistry.appendMenuItem(MenuId.MenubarEditMenu, { submenu: MenuId.MenubarCopy, title: nls.localize2(
|
|
102
|
-
MenuRegistry.appendMenuItem(MenuId.EditorContext, { submenu: MenuId.EditorContextCopy, title: nls.localize2(
|
|
103
|
-
MenuRegistry.appendMenuItem(MenuId.EditorContext, { submenu: MenuId.EditorContextShare, title: nls.localize2(
|
|
104
|
-
MenuRegistry.appendMenuItem(MenuId.ExplorerContext, { submenu: MenuId.ExplorerContextShare, title: nls.localize2(
|
|
101
|
+
MenuRegistry.appendMenuItem(MenuId.MenubarEditMenu, { submenu: MenuId.MenubarCopy, title: nls.localize2(822, "Copy As"), group: '2_ccp', order: 3 });
|
|
102
|
+
MenuRegistry.appendMenuItem(MenuId.EditorContext, { submenu: MenuId.EditorContextCopy, title: nls.localize2(823, "Copy As"), group: CLIPBOARD_CONTEXT_MENU_GROUP, order: 3 });
|
|
103
|
+
MenuRegistry.appendMenuItem(MenuId.EditorContext, { submenu: MenuId.EditorContextShare, title: nls.localize2(824, "Share"), group: '11_share', order: -1, when: ContextKeyExpr.and(ContextKeyExpr.notEquals('resourceScheme', 'output'), EditorContextKeys.editorTextFocus) });
|
|
104
|
+
MenuRegistry.appendMenuItem(MenuId.ExplorerContext, { submenu: MenuId.ExplorerContextShare, title: nls.localize2(825, "Share"), group: '11_share', order: -1 });
|
|
105
105
|
export const PasteAction = supportsPaste ? registerCommand(new MultiCommand({
|
|
106
106
|
id: 'editor.action.clipboardPasteAction',
|
|
107
107
|
precondition: undefined,
|
|
@@ -117,23 +117,23 @@ export const PasteAction = supportsPaste ? registerCommand(new MultiCommand({
|
|
|
117
117
|
menuOpts: [{
|
|
118
118
|
menuId: MenuId.MenubarEditMenu,
|
|
119
119
|
group: '2_ccp',
|
|
120
|
-
title: nls.localize(
|
|
120
|
+
title: nls.localize(818, "&&Paste"),
|
|
121
121
|
order: 4
|
|
122
122
|
}, {
|
|
123
123
|
menuId: MenuId.EditorContext,
|
|
124
124
|
group: CLIPBOARD_CONTEXT_MENU_GROUP,
|
|
125
|
-
title: nls.localize(
|
|
125
|
+
title: nls.localize(819, "Paste"),
|
|
126
126
|
when: EditorContextKeys.writable,
|
|
127
127
|
order: 4,
|
|
128
128
|
}, {
|
|
129
129
|
menuId: MenuId.CommandPalette,
|
|
130
130
|
group: '',
|
|
131
|
-
title: nls.localize(
|
|
131
|
+
title: nls.localize(820, "Paste"),
|
|
132
132
|
order: 1
|
|
133
133
|
}, {
|
|
134
134
|
menuId: MenuId.SimpleEditorContext,
|
|
135
135
|
group: CLIPBOARD_CONTEXT_MENU_GROUP,
|
|
136
|
-
title: nls.localize(
|
|
136
|
+
title: nls.localize(821, "Paste"),
|
|
137
137
|
when: EditorContextKeys.writable,
|
|
138
138
|
order: 4,
|
|
139
139
|
}]
|
|
@@ -142,7 +142,7 @@ class ExecCommandCopyWithSyntaxHighlightingAction extends EditorAction {
|
|
|
142
142
|
constructor() {
|
|
143
143
|
super({
|
|
144
144
|
id: 'editor.action.clipboardCopyWithSyntaxHighlightingAction',
|
|
145
|
-
label: nls.localize2(
|
|
145
|
+
label: nls.localize2(826, "Copy with Syntax Highlighting"),
|
|
146
146
|
precondition: undefined,
|
|
147
147
|
kbOpts: {
|
|
148
148
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -252,7 +252,7 @@ export async function applyCodeAction(accessor, item, codeActionReason, options,
|
|
|
252
252
|
const message = asMessage(err);
|
|
253
253
|
notificationService.error(typeof message === 'string'
|
|
254
254
|
? message
|
|
255
|
-
: nls.localize(
|
|
255
|
+
: nls.localize(827, "An unknown error occurred while applying the code action"));
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
// ensure the start sound and end sound do not overlap
|