monaco-editor-core 0.55.0-dev-20251007 → 0.55.0-dev-20251009
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.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.ru.js +2 -2
- package/esm/nls.messages.zh-cn.js +2 -2
- package/esm/nls.messages.zh-tw.js +2 -2
- package/esm/nls.metadata.json +3 -1
- package/esm/vs/base/browser/markdownRenderer.js.map +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/toolbar/toolbar.js +4 -1
- package/esm/vs/base/browser/ui/toolbar/toolbar.js.map +1 -1
- package/esm/vs/base/browser/ui/tree/abstractTree.js +2 -5
- package/esm/vs/base/browser/ui/tree/abstractTree.js.map +1 -1
- package/esm/vs/base/browser/ui/tree/asyncDataTree.js +6 -8
- package/esm/vs/base/browser/ui/tree/asyncDataTree.js.map +1 -1
- package/esm/vs/base/browser/ui/tree/dataTree.js.map +1 -1
- package/esm/vs/base/browser/ui/tree/indexTreeModel.js +1 -2
- package/esm/vs/base/browser/ui/tree/indexTreeModel.js.map +1 -1
- package/esm/vs/base/browser/ui/tree/objectTree.js.map +1 -1
- package/esm/vs/base/common/codiconsLibrary.js +9 -1
- package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
- package/esm/vs/base/common/normalization.js +39 -0
- package/esm/vs/base/common/normalization.js.map +1 -0
- package/esm/vs/base/common/process.js +0 -1
- package/esm/vs/base/common/process.js.map +1 -1
- package/esm/vs/editor/browser/services/hoverService/hoverWidget.js +5 -8
- package/esm/vs/editor/browser/services/hoverService/hoverWidget.js.map +1 -1
- package/esm/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +36 -31
- package/esm/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js.map +1 -1
- package/esm/vs/editor/common/core/text/abstractText.js +5 -1
- package/esm/vs/editor/common/core/text/abstractText.js.map +1 -1
- package/esm/vs/editor/common/model/tokens/treeSitter/tokenStore.js +2 -1
- package/esm/vs/editor/common/model/tokens/treeSitter/tokenStore.js.map +1 -1
- package/esm/vs/editor/contrib/find/browser/findController.js +54 -61
- package/esm/vs/editor/contrib/find/browser/findController.js.map +1 -1
- package/esm/vs/editor/contrib/hover/browser/glyphHoverWidget.js +5 -8
- package/esm/vs/editor/contrib/hover/browser/glyphHoverWidget.js.map +1 -1
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +18 -23
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js.map +1 -1
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +10 -12
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +9 -13
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +1 -0
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +8 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +2 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +27 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js.map +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 +10 -12
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js.map +1 -1
- 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 +5 -5
- 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/rename/browser/renameWidget.js.map +1 -1
- 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 +18 -24
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js.map +1 -1
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +15 -18
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js.map +1 -1
- 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 +7 -6
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js.map +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +29 -32
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js.map +1 -1
- 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/dataChannel/browser/forwardingTelemetryService.js +1 -2
- package/esm/vs/platform/dataChannel/browser/forwardingTelemetryService.js.map +1 -1
- package/esm/vs/platform/dnd/browser/dnd.js +1 -3
- package/esm/vs/platform/dnd/browser/dnd.js.map +1 -1
- 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/product/common/product.js +1 -2
- package/esm/vs/platform/product/common/product.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +33 -9
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js.map +1 -1
- 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/package.json +2 -2
- package/version.txt +1 -1
|
@@ -8,63 +8,63 @@ import { localize } from '../../../../../../nls.js';
|
|
|
8
8
|
import { buttonBackground, buttonForeground, buttonSecondaryBackground, buttonSecondaryForeground, diffInserted, diffInsertedLine, diffRemoved, editorBackground } from '../../../../../../platform/theme/common/colorRegistry.js';
|
|
9
9
|
import { darken, registerColor, transparent } from '../../../../../../platform/theme/common/colorUtils.js';
|
|
10
10
|
import { InlineEditTabAction } from './inlineEditsViewInterface.js';
|
|
11
|
-
export const originalBackgroundColor = registerColor('inlineEdit.originalBackground', transparent(diffRemoved, 0.2), localize(
|
|
12
|
-
export const modifiedBackgroundColor = registerColor('inlineEdit.modifiedBackground', transparent(diffInserted, 0.3), localize(
|
|
13
|
-
export const originalChangedLineBackgroundColor = registerColor('inlineEdit.originalChangedLineBackground', transparent(diffRemoved, 0.8), localize(
|
|
14
|
-
export const originalChangedTextOverlayColor = registerColor('inlineEdit.originalChangedTextBackground', transparent(diffRemoved, 0.8), localize(
|
|
11
|
+
export const originalBackgroundColor = registerColor('inlineEdit.originalBackground', transparent(diffRemoved, 0.2), localize(1211, 'Background color for the original text in inline edits.'), true);
|
|
12
|
+
export const modifiedBackgroundColor = registerColor('inlineEdit.modifiedBackground', transparent(diffInserted, 0.3), localize(1212, 'Background color for the modified text in inline edits.'), true);
|
|
13
|
+
export const originalChangedLineBackgroundColor = registerColor('inlineEdit.originalChangedLineBackground', transparent(diffRemoved, 0.8), localize(1213, 'Background color for the changed lines in the original text of inline edits.'), true);
|
|
14
|
+
export const originalChangedTextOverlayColor = registerColor('inlineEdit.originalChangedTextBackground', transparent(diffRemoved, 0.8), localize(1214, 'Overlay color for the changed text in the original text of inline edits.'), true);
|
|
15
15
|
export const modifiedChangedLineBackgroundColor = registerColor('inlineEdit.modifiedChangedLineBackground', {
|
|
16
16
|
light: transparent(diffInsertedLine, 0.7),
|
|
17
17
|
dark: transparent(diffInsertedLine, 0.7),
|
|
18
18
|
hcDark: diffInsertedLine,
|
|
19
19
|
hcLight: diffInsertedLine
|
|
20
|
-
}, localize(
|
|
21
|
-
export const modifiedChangedTextOverlayColor = registerColor('inlineEdit.modifiedChangedTextBackground', transparent(diffInserted, 0.7), localize(
|
|
20
|
+
}, localize(1215, 'Background color for the changed lines in the modified text of inline edits.'), true);
|
|
21
|
+
export const modifiedChangedTextOverlayColor = registerColor('inlineEdit.modifiedChangedTextBackground', transparent(diffInserted, 0.7), localize(1216, 'Overlay color for the changed text in the modified text of inline edits.'), true);
|
|
22
22
|
// ------- GUTTER INDICATOR -------
|
|
23
|
-
export const inlineEditIndicatorPrimaryForeground = registerColor('inlineEdit.gutterIndicator.primaryForeground', buttonForeground, localize(
|
|
24
|
-
export const inlineEditIndicatorPrimaryBorder = registerColor('inlineEdit.gutterIndicator.primaryBorder', buttonBackground, localize(
|
|
23
|
+
export const inlineEditIndicatorPrimaryForeground = registerColor('inlineEdit.gutterIndicator.primaryForeground', buttonForeground, localize(1217, 'Foreground color for the primary inline edit gutter indicator.'));
|
|
24
|
+
export const inlineEditIndicatorPrimaryBorder = registerColor('inlineEdit.gutterIndicator.primaryBorder', buttonBackground, localize(1218, 'Border color for the primary inline edit gutter indicator.'));
|
|
25
25
|
export const inlineEditIndicatorPrimaryBackground = registerColor('inlineEdit.gutterIndicator.primaryBackground', {
|
|
26
26
|
light: transparent(inlineEditIndicatorPrimaryBorder, 0.5),
|
|
27
27
|
dark: transparent(inlineEditIndicatorPrimaryBorder, 0.4),
|
|
28
28
|
hcDark: transparent(inlineEditIndicatorPrimaryBorder, 0.4),
|
|
29
29
|
hcLight: transparent(inlineEditIndicatorPrimaryBorder, 0.5),
|
|
30
|
-
}, localize(
|
|
31
|
-
export const inlineEditIndicatorSecondaryForeground = registerColor('inlineEdit.gutterIndicator.secondaryForeground', buttonSecondaryForeground, localize(
|
|
32
|
-
export const inlineEditIndicatorSecondaryBorder = registerColor('inlineEdit.gutterIndicator.secondaryBorder', buttonSecondaryBackground, localize(
|
|
33
|
-
export const inlineEditIndicatorSecondaryBackground = registerColor('inlineEdit.gutterIndicator.secondaryBackground', inlineEditIndicatorSecondaryBorder, localize(
|
|
34
|
-
export const inlineEditIndicatorsuccessfulForeground = registerColor('inlineEdit.gutterIndicator.successfulForeground', buttonForeground, localize(
|
|
35
|
-
export const inlineEditIndicatorsuccessfulBorder = registerColor('inlineEdit.gutterIndicator.successfulBorder', buttonBackground, localize(
|
|
36
|
-
export const inlineEditIndicatorsuccessfulBackground = registerColor('inlineEdit.gutterIndicator.successfulBackground', inlineEditIndicatorsuccessfulBorder, localize(
|
|
30
|
+
}, localize(1219, 'Background color for the primary inline edit gutter indicator.'));
|
|
31
|
+
export const inlineEditIndicatorSecondaryForeground = registerColor('inlineEdit.gutterIndicator.secondaryForeground', buttonSecondaryForeground, localize(1220, 'Foreground color for the secondary inline edit gutter indicator.'));
|
|
32
|
+
export const inlineEditIndicatorSecondaryBorder = registerColor('inlineEdit.gutterIndicator.secondaryBorder', buttonSecondaryBackground, localize(1221, 'Border color for the secondary inline edit gutter indicator.'));
|
|
33
|
+
export const inlineEditIndicatorSecondaryBackground = registerColor('inlineEdit.gutterIndicator.secondaryBackground', inlineEditIndicatorSecondaryBorder, localize(1222, 'Background color for the secondary inline edit gutter indicator.'));
|
|
34
|
+
export const inlineEditIndicatorsuccessfulForeground = registerColor('inlineEdit.gutterIndicator.successfulForeground', buttonForeground, localize(1223, 'Foreground color for the successful inline edit gutter indicator.'));
|
|
35
|
+
export const inlineEditIndicatorsuccessfulBorder = registerColor('inlineEdit.gutterIndicator.successfulBorder', buttonBackground, localize(1224, 'Border color for the successful inline edit gutter indicator.'));
|
|
36
|
+
export const inlineEditIndicatorsuccessfulBackground = registerColor('inlineEdit.gutterIndicator.successfulBackground', inlineEditIndicatorsuccessfulBorder, localize(1225, 'Background color for the successful inline edit gutter indicator.'));
|
|
37
37
|
export const inlineEditIndicatorBackground = registerColor('inlineEdit.gutterIndicator.background', {
|
|
38
38
|
hcDark: transparent('tab.inactiveBackground', 0.5),
|
|
39
39
|
hcLight: transparent('tab.inactiveBackground', 0.5),
|
|
40
40
|
dark: transparent('tab.inactiveBackground', 0.5),
|
|
41
41
|
light: '#5f5f5f18',
|
|
42
|
-
}, localize(
|
|
42
|
+
}, localize(1226, 'Background color for the inline edit gutter indicator.'));
|
|
43
43
|
// ------- BORDER COLORS -------
|
|
44
44
|
const originalBorder = registerColor('inlineEdit.originalBorder', {
|
|
45
45
|
light: diffRemoved,
|
|
46
46
|
dark: diffRemoved,
|
|
47
47
|
hcDark: diffRemoved,
|
|
48
48
|
hcLight: diffRemoved
|
|
49
|
-
}, localize(
|
|
49
|
+
}, localize(1227, 'Border color for the original text in inline edits.'));
|
|
50
50
|
const modifiedBorder = registerColor('inlineEdit.modifiedBorder', {
|
|
51
51
|
light: darken(diffInserted, 0.6),
|
|
52
52
|
dark: diffInserted,
|
|
53
53
|
hcDark: diffInserted,
|
|
54
54
|
hcLight: diffInserted
|
|
55
|
-
}, localize(
|
|
55
|
+
}, localize(1228, 'Border color for the modified text in inline edits.'));
|
|
56
56
|
const tabWillAcceptModifiedBorder = registerColor('inlineEdit.tabWillAcceptModifiedBorder', {
|
|
57
57
|
light: darken(modifiedBorder, 0),
|
|
58
58
|
dark: darken(modifiedBorder, 0),
|
|
59
59
|
hcDark: darken(modifiedBorder, 0),
|
|
60
60
|
hcLight: darken(modifiedBorder, 0)
|
|
61
|
-
}, localize(
|
|
61
|
+
}, localize(1229, 'Modified border color for the inline edits widget when tab will accept it.'));
|
|
62
62
|
const tabWillAcceptOriginalBorder = registerColor('inlineEdit.tabWillAcceptOriginalBorder', {
|
|
63
63
|
light: darken(originalBorder, 0),
|
|
64
64
|
dark: darken(originalBorder, 0),
|
|
65
65
|
hcDark: darken(originalBorder, 0),
|
|
66
66
|
hcLight: darken(originalBorder, 0)
|
|
67
|
-
}, localize(
|
|
67
|
+
}, localize(1230, 'Original border color for the inline edits widget over the original text when tab will accept it.'));
|
|
68
68
|
export function getModifiedBorderColor(tabAction) {
|
|
69
69
|
return tabAction.map(a => a === InlineEditTabAction.Accept ? tabWillAcceptModifiedBorder : modifiedBorder);
|
|
70
70
|
}
|
|
@@ -11,7 +11,7 @@ export class InsertFinalNewLineAction extends EditorAction {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
super({
|
|
13
13
|
id: InsertFinalNewLineAction.ID,
|
|
14
|
-
label: nls.localize2(
|
|
14
|
+
label: nls.localize2(1233, "Insert Final New Line"),
|
|
15
15
|
precondition: EditorContextKeys.writable
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -10,7 +10,7 @@ export class ExpandLineSelectionAction extends EditorAction {
|
|
|
10
10
|
constructor() {
|
|
11
11
|
super({
|
|
12
12
|
id: 'expandLineSelection',
|
|
13
|
-
label: nls.localize2(
|
|
13
|
+
label: nls.localize2(1234, "Expand Line Selection"),
|
|
14
14
|
precondition: undefined,
|
|
15
15
|
kbOpts: {
|
|
16
16
|
weight: 0 /* KeybindingWeight.EditorCore */,
|
|
@@ -63,7 +63,7 @@ class CopyLinesUpAction extends AbstractCopyLinesAction {
|
|
|
63
63
|
constructor() {
|
|
64
64
|
super(false, {
|
|
65
65
|
id: 'editor.action.copyLinesUpAction',
|
|
66
|
-
label: nls.localize2(
|
|
66
|
+
label: nls.localize2(1240, "Copy Line Up"),
|
|
67
67
|
precondition: EditorContextKeys.writable,
|
|
68
68
|
kbOpts: {
|
|
69
69
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -74,7 +74,7 @@ class CopyLinesUpAction extends AbstractCopyLinesAction {
|
|
|
74
74
|
menuOpts: {
|
|
75
75
|
menuId: MenuId.MenubarSelectionMenu,
|
|
76
76
|
group: '2_line',
|
|
77
|
-
title: nls.localize(
|
|
77
|
+
title: nls.localize(1235, "&&Copy Line Up"),
|
|
78
78
|
order: 1
|
|
79
79
|
}
|
|
80
80
|
});
|
|
@@ -84,7 +84,7 @@ class CopyLinesDownAction extends AbstractCopyLinesAction {
|
|
|
84
84
|
constructor() {
|
|
85
85
|
super(true, {
|
|
86
86
|
id: 'editor.action.copyLinesDownAction',
|
|
87
|
-
label: nls.localize2(
|
|
87
|
+
label: nls.localize2(1241, "Copy Line Down"),
|
|
88
88
|
precondition: EditorContextKeys.writable,
|
|
89
89
|
kbOpts: {
|
|
90
90
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -95,7 +95,7 @@ class CopyLinesDownAction extends AbstractCopyLinesAction {
|
|
|
95
95
|
menuOpts: {
|
|
96
96
|
menuId: MenuId.MenubarSelectionMenu,
|
|
97
97
|
group: '2_line',
|
|
98
|
-
title: nls.localize(
|
|
98
|
+
title: nls.localize(1236, "Co&&py Line Down"),
|
|
99
99
|
order: 2
|
|
100
100
|
}
|
|
101
101
|
});
|
|
@@ -105,12 +105,12 @@ export class DuplicateSelectionAction extends EditorAction {
|
|
|
105
105
|
constructor() {
|
|
106
106
|
super({
|
|
107
107
|
id: 'editor.action.duplicateSelection',
|
|
108
|
-
label: nls.localize2(
|
|
108
|
+
label: nls.localize2(1242, "Duplicate Selection"),
|
|
109
109
|
precondition: EditorContextKeys.writable,
|
|
110
110
|
menuOpts: {
|
|
111
111
|
menuId: MenuId.MenubarSelectionMenu,
|
|
112
112
|
group: '2_line',
|
|
113
|
-
title: nls.localize(
|
|
113
|
+
title: nls.localize(1237, "&&Duplicate Selection"),
|
|
114
114
|
order: 5
|
|
115
115
|
}
|
|
116
116
|
});
|
|
@@ -159,7 +159,7 @@ class MoveLinesUpAction extends AbstractMoveLinesAction {
|
|
|
159
159
|
constructor() {
|
|
160
160
|
super(false, {
|
|
161
161
|
id: 'editor.action.moveLinesUpAction',
|
|
162
|
-
label: nls.localize2(
|
|
162
|
+
label: nls.localize2(1243, "Move Line Up"),
|
|
163
163
|
precondition: EditorContextKeys.writable,
|
|
164
164
|
kbOpts: {
|
|
165
165
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -170,7 +170,7 @@ class MoveLinesUpAction extends AbstractMoveLinesAction {
|
|
|
170
170
|
menuOpts: {
|
|
171
171
|
menuId: MenuId.MenubarSelectionMenu,
|
|
172
172
|
group: '2_line',
|
|
173
|
-
title: nls.localize(
|
|
173
|
+
title: nls.localize(1238, "Mo&&ve Line Up"),
|
|
174
174
|
order: 3
|
|
175
175
|
}
|
|
176
176
|
});
|
|
@@ -180,7 +180,7 @@ class MoveLinesDownAction extends AbstractMoveLinesAction {
|
|
|
180
180
|
constructor() {
|
|
181
181
|
super(true, {
|
|
182
182
|
id: 'editor.action.moveLinesDownAction',
|
|
183
|
-
label: nls.localize2(
|
|
183
|
+
label: nls.localize2(1244, "Move Line Down"),
|
|
184
184
|
precondition: EditorContextKeys.writable,
|
|
185
185
|
kbOpts: {
|
|
186
186
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -191,7 +191,7 @@ class MoveLinesDownAction extends AbstractMoveLinesAction {
|
|
|
191
191
|
menuOpts: {
|
|
192
192
|
menuId: MenuId.MenubarSelectionMenu,
|
|
193
193
|
group: '2_line',
|
|
194
|
-
title: nls.localize(
|
|
194
|
+
title: nls.localize(1239, "Move &&Line Down"),
|
|
195
195
|
order: 4
|
|
196
196
|
}
|
|
197
197
|
});
|
|
@@ -230,7 +230,7 @@ export class SortLinesAscendingAction extends AbstractSortLinesAction {
|
|
|
230
230
|
constructor() {
|
|
231
231
|
super(false, {
|
|
232
232
|
id: 'editor.action.sortLinesAscending',
|
|
233
|
-
label: nls.localize2(
|
|
233
|
+
label: nls.localize2(1245, "Sort Lines Ascending"),
|
|
234
234
|
precondition: EditorContextKeys.writable
|
|
235
235
|
});
|
|
236
236
|
}
|
|
@@ -239,7 +239,7 @@ export class SortLinesDescendingAction extends AbstractSortLinesAction {
|
|
|
239
239
|
constructor() {
|
|
240
240
|
super(true, {
|
|
241
241
|
id: 'editor.action.sortLinesDescending',
|
|
242
|
-
label: nls.localize2(
|
|
242
|
+
label: nls.localize2(1246, "Sort Lines Descending"),
|
|
243
243
|
precondition: EditorContextKeys.writable
|
|
244
244
|
});
|
|
245
245
|
}
|
|
@@ -248,7 +248,7 @@ export class DeleteDuplicateLinesAction extends EditorAction {
|
|
|
248
248
|
constructor() {
|
|
249
249
|
super({
|
|
250
250
|
id: 'editor.action.removeDuplicateLines',
|
|
251
|
-
label: nls.localize2(
|
|
251
|
+
label: nls.localize2(1247, "Delete Duplicate Lines"),
|
|
252
252
|
precondition: EditorContextKeys.writable
|
|
253
253
|
});
|
|
254
254
|
}
|
|
@@ -297,7 +297,7 @@ export class ReverseLinesAction extends EditorAction {
|
|
|
297
297
|
constructor() {
|
|
298
298
|
super({
|
|
299
299
|
id: 'editor.action.reverseLines',
|
|
300
|
-
label: nls.localize2(
|
|
300
|
+
label: nls.localize2(1248, "Reverse lines"),
|
|
301
301
|
precondition: EditorContextKeys.writable
|
|
302
302
|
});
|
|
303
303
|
}
|
|
@@ -363,7 +363,7 @@ export class TrimTrailingWhitespaceAction extends EditorAction {
|
|
|
363
363
|
constructor() {
|
|
364
364
|
super({
|
|
365
365
|
id: TrimTrailingWhitespaceAction.ID,
|
|
366
|
-
label: nls.localize2(
|
|
366
|
+
label: nls.localize2(1249, "Trim Trailing Whitespace"),
|
|
367
367
|
precondition: EditorContextKeys.writable,
|
|
368
368
|
kbOpts: {
|
|
369
369
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -397,7 +397,7 @@ export class DeleteLinesAction extends EditorAction {
|
|
|
397
397
|
constructor() {
|
|
398
398
|
super({
|
|
399
399
|
id: 'editor.action.deleteLines',
|
|
400
|
-
label: nls.localize2(
|
|
400
|
+
label: nls.localize2(1250, "Delete Line"),
|
|
401
401
|
precondition: EditorContextKeys.writable,
|
|
402
402
|
kbOpts: {
|
|
403
403
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -485,7 +485,7 @@ export class IndentLinesAction extends EditorAction {
|
|
|
485
485
|
constructor() {
|
|
486
486
|
super({
|
|
487
487
|
id: 'editor.action.indentLines',
|
|
488
|
-
label: nls.localize2(
|
|
488
|
+
label: nls.localize2(1251, "Indent Line"),
|
|
489
489
|
precondition: EditorContextKeys.writable,
|
|
490
490
|
kbOpts: {
|
|
491
491
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -508,7 +508,7 @@ class OutdentLinesAction extends EditorAction {
|
|
|
508
508
|
constructor() {
|
|
509
509
|
super({
|
|
510
510
|
id: 'editor.action.outdentLines',
|
|
511
|
-
label: nls.localize2(
|
|
511
|
+
label: nls.localize2(1252, "Outdent Line"),
|
|
512
512
|
precondition: EditorContextKeys.writable,
|
|
513
513
|
kbOpts: {
|
|
514
514
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -525,7 +525,7 @@ export class InsertLineBeforeAction extends EditorAction {
|
|
|
525
525
|
constructor() {
|
|
526
526
|
super({
|
|
527
527
|
id: 'editor.action.insertLineBefore',
|
|
528
|
-
label: nls.localize2(
|
|
528
|
+
label: nls.localize2(1253, "Insert Line Above"),
|
|
529
529
|
precondition: EditorContextKeys.writable,
|
|
530
530
|
kbOpts: {
|
|
531
531
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -547,7 +547,7 @@ export class InsertLineAfterAction extends EditorAction {
|
|
|
547
547
|
constructor() {
|
|
548
548
|
super({
|
|
549
549
|
id: 'editor.action.insertLineAfter',
|
|
550
|
-
label: nls.localize2(
|
|
550
|
+
label: nls.localize2(1254, "Insert Line Below"),
|
|
551
551
|
precondition: EditorContextKeys.writable,
|
|
552
552
|
kbOpts: {
|
|
553
553
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -598,7 +598,7 @@ export class DeleteAllLeftAction extends AbstractDeleteAllToBoundaryAction {
|
|
|
598
598
|
constructor() {
|
|
599
599
|
super({
|
|
600
600
|
id: 'deleteAllLeft',
|
|
601
|
-
label: nls.localize2(
|
|
601
|
+
label: nls.localize2(1255, "Delete All Left"),
|
|
602
602
|
precondition: EditorContextKeys.writable,
|
|
603
603
|
kbOpts: {
|
|
604
604
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -667,7 +667,7 @@ export class DeleteAllRightAction extends AbstractDeleteAllToBoundaryAction {
|
|
|
667
667
|
constructor() {
|
|
668
668
|
super({
|
|
669
669
|
id: 'deleteAllRight',
|
|
670
|
-
label: nls.localize2(
|
|
670
|
+
label: nls.localize2(1256, "Delete All Right"),
|
|
671
671
|
precondition: EditorContextKeys.writable,
|
|
672
672
|
kbOpts: {
|
|
673
673
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -724,7 +724,7 @@ export class JoinLinesAction extends EditorAction {
|
|
|
724
724
|
constructor() {
|
|
725
725
|
super({
|
|
726
726
|
id: 'editor.action.joinLines',
|
|
727
|
-
label: nls.localize2(
|
|
727
|
+
label: nls.localize2(1257, "Join Lines"),
|
|
728
728
|
precondition: EditorContextKeys.writable,
|
|
729
729
|
kbOpts: {
|
|
730
730
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -865,7 +865,7 @@ export class TransposeAction extends EditorAction {
|
|
|
865
865
|
constructor() {
|
|
866
866
|
super({
|
|
867
867
|
id: 'editor.action.transpose',
|
|
868
|
-
label: nls.localize2(
|
|
868
|
+
label: nls.localize2(1258, "Transpose Characters around the Cursor"),
|
|
869
869
|
precondition: EditorContextKeys.writable
|
|
870
870
|
});
|
|
871
871
|
}
|
|
@@ -944,7 +944,7 @@ export class UpperCaseAction extends AbstractCaseAction {
|
|
|
944
944
|
constructor() {
|
|
945
945
|
super({
|
|
946
946
|
id: 'editor.action.transformToUppercase',
|
|
947
|
-
label: nls.localize2(
|
|
947
|
+
label: nls.localize2(1259, "Transform to Uppercase"),
|
|
948
948
|
precondition: EditorContextKeys.writable
|
|
949
949
|
});
|
|
950
950
|
}
|
|
@@ -956,7 +956,7 @@ export class LowerCaseAction extends AbstractCaseAction {
|
|
|
956
956
|
constructor() {
|
|
957
957
|
super({
|
|
958
958
|
id: 'editor.action.transformToLowercase',
|
|
959
|
-
label: nls.localize2(
|
|
959
|
+
label: nls.localize2(1260, "Transform to Lowercase"),
|
|
960
960
|
precondition: EditorContextKeys.writable
|
|
961
961
|
});
|
|
962
962
|
}
|
|
@@ -992,7 +992,7 @@ export class TitleCaseAction extends AbstractCaseAction {
|
|
|
992
992
|
constructor() {
|
|
993
993
|
super({
|
|
994
994
|
id: 'editor.action.transformToTitlecase',
|
|
995
|
-
label: nls.localize2(
|
|
995
|
+
label: nls.localize2(1261, "Transform to Title Case"),
|
|
996
996
|
precondition: EditorContextKeys.writable
|
|
997
997
|
});
|
|
998
998
|
}
|
|
@@ -1013,7 +1013,7 @@ export class SnakeCaseAction extends AbstractCaseAction {
|
|
|
1013
1013
|
constructor() {
|
|
1014
1014
|
super({
|
|
1015
1015
|
id: 'editor.action.transformToSnakecase',
|
|
1016
|
-
label: nls.localize2(
|
|
1016
|
+
label: nls.localize2(1262, "Transform to Snake Case"),
|
|
1017
1017
|
precondition: EditorContextKeys.writable
|
|
1018
1018
|
});
|
|
1019
1019
|
}
|
|
@@ -1037,7 +1037,7 @@ export class CamelCaseAction extends AbstractCaseAction {
|
|
|
1037
1037
|
constructor() {
|
|
1038
1038
|
super({
|
|
1039
1039
|
id: 'editor.action.transformToCamelcase',
|
|
1040
|
-
label: nls.localize2(
|
|
1040
|
+
label: nls.localize2(1263, "Transform to Camel Case"),
|
|
1041
1041
|
precondition: EditorContextKeys.writable
|
|
1042
1042
|
});
|
|
1043
1043
|
}
|
|
@@ -1060,7 +1060,7 @@ export class PascalCaseAction extends AbstractCaseAction {
|
|
|
1060
1060
|
constructor() {
|
|
1061
1061
|
super({
|
|
1062
1062
|
id: 'editor.action.transformToPascalcase',
|
|
1063
|
-
label: nls.localize2(
|
|
1063
|
+
label: nls.localize2(1264, "Transform to Pascal Case"),
|
|
1064
1064
|
precondition: EditorContextKeys.writable
|
|
1065
1065
|
});
|
|
1066
1066
|
}
|
|
@@ -1092,7 +1092,7 @@ export class KebabCaseAction extends AbstractCaseAction {
|
|
|
1092
1092
|
constructor() {
|
|
1093
1093
|
super({
|
|
1094
1094
|
id: 'editor.action.transformToKebabcase',
|
|
1095
|
-
label: nls.localize2(
|
|
1095
|
+
label: nls.localize2(1265, 'Transform to Kebab Case'),
|
|
1096
1096
|
precondition: EditorContextKeys.writable
|
|
1097
1097
|
});
|
|
1098
1098
|
}
|
|
@@ -299,7 +299,7 @@ export class LinkedEditingAction extends EditorAction {
|
|
|
299
299
|
constructor() {
|
|
300
300
|
super({
|
|
301
301
|
id: 'editor.action.linkedEditing',
|
|
302
|
-
label: nls.localize2(
|
|
302
|
+
label: nls.localize2(1267, "Start Linked Editing"),
|
|
303
303
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider),
|
|
304
304
|
kbOpts: {
|
|
305
305
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -360,7 +360,7 @@ function getLinkedEditingRanges(providers, model, position, token) {
|
|
|
360
360
|
}
|
|
361
361
|
}), result => !!result && arrays.isNonEmptyArray(result?.ranges));
|
|
362
362
|
}
|
|
363
|
-
export const editorLinkedEditingBackground = 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 }, nls.localize(
|
|
363
|
+
export const editorLinkedEditingBackground = 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 }, nls.localize(1266, 'Background color when the editor auto renames on type.'));
|
|
364
364
|
registerModelAndPositionCommand('_executeLinkedEditingProvider', (_accessor, model, position) => {
|
|
365
365
|
const { linkedEditingRangeProvider } = _accessor.get(ILanguageFeaturesService);
|
|
366
366
|
return getLinkedEditingRanges(linkedEditingRangeProvider, model, position, CancellationToken.None);
|
|
@@ -220,10 +220,10 @@ let LinkDetector = class LinkDetector extends Disposable {
|
|
|
220
220
|
const messageOrError = err instanceof Error ? err.message : err;
|
|
221
221
|
// different error cases
|
|
222
222
|
if (messageOrError === 'invalid') {
|
|
223
|
-
this.notificationService.warn(nls.localize(
|
|
223
|
+
this.notificationService.warn(nls.localize(1268, 'Failed to open this link because it is not well-formed: {0}', link.url.toString()));
|
|
224
224
|
}
|
|
225
225
|
else if (messageOrError === 'missing') {
|
|
226
|
-
this.notificationService.warn(nls.localize(
|
|
226
|
+
this.notificationService.warn(nls.localize(1269, 'Failed to open this link because its target is missing.'));
|
|
227
227
|
}
|
|
228
228
|
else {
|
|
229
229
|
onUnexpectedError(err);
|
|
@@ -317,15 +317,15 @@ function getHoverMessage(link, useMetaKey) {
|
|
|
317
317
|
const label = link.tooltip
|
|
318
318
|
? link.tooltip
|
|
319
319
|
: executeCmd
|
|
320
|
-
? nls.localize(
|
|
321
|
-
: nls.localize(
|
|
320
|
+
? nls.localize(1270, 'Execute command')
|
|
321
|
+
: nls.localize(1271, 'Follow link');
|
|
322
322
|
const kb = useMetaKey
|
|
323
323
|
? platform.isMacintosh
|
|
324
|
-
? nls.localize(
|
|
325
|
-
: nls.localize(
|
|
324
|
+
? nls.localize(1272, "cmd + click")
|
|
325
|
+
: nls.localize(1273, "ctrl + click")
|
|
326
326
|
: platform.isMacintosh
|
|
327
|
-
? nls.localize(
|
|
328
|
-
: nls.localize(
|
|
327
|
+
? nls.localize(1274, "option + click")
|
|
328
|
+
: nls.localize(1275, "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 = nls.localize(
|
|
336
|
+
nativeLabel = nls.localize(1276, "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: nls.localize2(
|
|
352
|
+
label: nls.localize2(1277, "Open Link"),
|
|
353
353
|
precondition: undefined
|
|
354
354
|
});
|
|
355
355
|
}
|
|
@@ -28,7 +28,7 @@ import * as dom from '../../../../base/browser/dom.js';
|
|
|
28
28
|
let MessageController = class MessageController {
|
|
29
29
|
static { MessageController_1 = this; }
|
|
30
30
|
static { this.ID = 'editor.contrib.messageController'; }
|
|
31
|
-
static { this.MESSAGE_VISIBLE = new RawContextKey('messageVisible', false, nls.localize(
|
|
31
|
+
static { this.MESSAGE_VISIBLE = new RawContextKey('messageVisible', false, nls.localize(1278, 'Whether the editor is currently showing an inline message')); }
|
|
32
32
|
static get(editor) {
|
|
33
33
|
return editor.getContribution(MessageController_1.ID);
|
|
34
34
|
}
|
|
@@ -32,7 +32,7 @@ function announceCursorChange(previousCursorState, cursorState) {
|
|
|
32
32
|
const cursorDiff = cursorState.filter(cs => !previousCursorState.find(pcs => pcs.equals(cs)));
|
|
33
33
|
if (cursorDiff.length >= 1) {
|
|
34
34
|
const cursorPositions = cursorDiff.map(cs => `line ${cs.viewState.position.lineNumber} column ${cs.viewState.position.column}`).join(', ');
|
|
35
|
-
const msg = cursorDiff.length === 1 ? nls.localize(
|
|
35
|
+
const msg = cursorDiff.length === 1 ? nls.localize(1279, "Cursor added: {0}", cursorPositions) : nls.localize(1280, "Cursors added: {0}", cursorPositions);
|
|
36
36
|
status(msg);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -40,7 +40,7 @@ export class InsertCursorAbove extends EditorAction {
|
|
|
40
40
|
constructor() {
|
|
41
41
|
super({
|
|
42
42
|
id: 'editor.action.insertCursorAbove',
|
|
43
|
-
label: nls.localize2(
|
|
43
|
+
label: nls.localize2(1289, "Add Cursor Above"),
|
|
44
44
|
precondition: undefined,
|
|
45
45
|
kbOpts: {
|
|
46
46
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -54,7 +54,7 @@ export class InsertCursorAbove extends EditorAction {
|
|
|
54
54
|
menuOpts: {
|
|
55
55
|
menuId: MenuId.MenubarSelectionMenu,
|
|
56
56
|
group: '3_multi',
|
|
57
|
-
title: nls.localize(
|
|
57
|
+
title: nls.localize(1281, "&&Add Cursor Above"),
|
|
58
58
|
order: 2
|
|
59
59
|
}
|
|
60
60
|
});
|
|
@@ -82,7 +82,7 @@ export class InsertCursorBelow extends EditorAction {
|
|
|
82
82
|
constructor() {
|
|
83
83
|
super({
|
|
84
84
|
id: 'editor.action.insertCursorBelow',
|
|
85
|
-
label: nls.localize2(
|
|
85
|
+
label: nls.localize2(1290, "Add Cursor Below"),
|
|
86
86
|
precondition: undefined,
|
|
87
87
|
kbOpts: {
|
|
88
88
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -96,7 +96,7 @@ export class InsertCursorBelow extends EditorAction {
|
|
|
96
96
|
menuOpts: {
|
|
97
97
|
menuId: MenuId.MenubarSelectionMenu,
|
|
98
98
|
group: '3_multi',
|
|
99
|
-
title: nls.localize(
|
|
99
|
+
title: nls.localize(1282, "A&&dd Cursor Below"),
|
|
100
100
|
order: 3
|
|
101
101
|
}
|
|
102
102
|
});
|
|
@@ -124,7 +124,7 @@ class InsertCursorAtEndOfEachLineSelected extends EditorAction {
|
|
|
124
124
|
constructor() {
|
|
125
125
|
super({
|
|
126
126
|
id: 'editor.action.insertCursorAtEndOfEachLineSelected',
|
|
127
|
-
label: nls.localize2(
|
|
127
|
+
label: nls.localize2(1291, "Add Cursors to Line Ends"),
|
|
128
128
|
precondition: undefined,
|
|
129
129
|
kbOpts: {
|
|
130
130
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -134,7 +134,7 @@ class InsertCursorAtEndOfEachLineSelected extends EditorAction {
|
|
|
134
134
|
menuOpts: {
|
|
135
135
|
menuId: MenuId.MenubarSelectionMenu,
|
|
136
136
|
group: '3_multi',
|
|
137
|
-
title: nls.localize(
|
|
137
|
+
title: nls.localize(1283, "Add C&&ursors to Line Ends"),
|
|
138
138
|
order: 4
|
|
139
139
|
}
|
|
140
140
|
});
|
|
@@ -171,7 +171,7 @@ class InsertCursorAtEndOfLineSelected extends EditorAction {
|
|
|
171
171
|
constructor() {
|
|
172
172
|
super({
|
|
173
173
|
id: 'editor.action.addCursorsToBottom',
|
|
174
|
-
label: nls.localize2(
|
|
174
|
+
label: nls.localize2(1292, "Add Cursors to Bottom"),
|
|
175
175
|
precondition: undefined
|
|
176
176
|
});
|
|
177
177
|
}
|
|
@@ -197,7 +197,7 @@ class InsertCursorAtTopOfLineSelected extends EditorAction {
|
|
|
197
197
|
constructor() {
|
|
198
198
|
super({
|
|
199
199
|
id: 'editor.action.addCursorsToTop',
|
|
200
|
-
label: nls.localize2(
|
|
200
|
+
label: nls.localize2(1293, "Add Cursors to Top"),
|
|
201
201
|
precondition: undefined
|
|
202
202
|
});
|
|
203
203
|
}
|
|
@@ -574,7 +574,7 @@ export class AddSelectionToNextFindMatchAction extends MultiCursorSelectionContr
|
|
|
574
574
|
constructor() {
|
|
575
575
|
super({
|
|
576
576
|
id: 'editor.action.addSelectionToNextFindMatch',
|
|
577
|
-
label: nls.localize2(
|
|
577
|
+
label: nls.localize2(1294, "Add Selection to Next Find Match"),
|
|
578
578
|
precondition: undefined,
|
|
579
579
|
kbOpts: {
|
|
580
580
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -584,7 +584,7 @@ export class AddSelectionToNextFindMatchAction extends MultiCursorSelectionContr
|
|
|
584
584
|
menuOpts: {
|
|
585
585
|
menuId: MenuId.MenubarSelectionMenu,
|
|
586
586
|
group: '3_multi',
|
|
587
|
-
title: nls.localize(
|
|
587
|
+
title: nls.localize(1284, "Add &&Next Occurrence"),
|
|
588
588
|
order: 5
|
|
589
589
|
}
|
|
590
590
|
});
|
|
@@ -597,12 +597,12 @@ export class AddSelectionToPreviousFindMatchAction extends MultiCursorSelectionC
|
|
|
597
597
|
constructor() {
|
|
598
598
|
super({
|
|
599
599
|
id: 'editor.action.addSelectionToPreviousFindMatch',
|
|
600
|
-
label: nls.localize2(
|
|
600
|
+
label: nls.localize2(1295, "Add Selection to Previous Find Match"),
|
|
601
601
|
precondition: undefined,
|
|
602
602
|
menuOpts: {
|
|
603
603
|
menuId: MenuId.MenubarSelectionMenu,
|
|
604
604
|
group: '3_multi',
|
|
605
|
-
title: nls.localize(
|
|
605
|
+
title: nls.localize(1285, "Add P&&revious Occurrence"),
|
|
606
606
|
order: 6
|
|
607
607
|
}
|
|
608
608
|
});
|
|
@@ -615,7 +615,7 @@ export class MoveSelectionToNextFindMatchAction extends MultiCursorSelectionCont
|
|
|
615
615
|
constructor() {
|
|
616
616
|
super({
|
|
617
617
|
id: 'editor.action.moveSelectionToNextFindMatch',
|
|
618
|
-
label: nls.localize2(
|
|
618
|
+
label: nls.localize2(1296, "Move Last Selection to Next Find Match"),
|
|
619
619
|
precondition: undefined,
|
|
620
620
|
kbOpts: {
|
|
621
621
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -632,7 +632,7 @@ export class MoveSelectionToPreviousFindMatchAction extends MultiCursorSelection
|
|
|
632
632
|
constructor() {
|
|
633
633
|
super({
|
|
634
634
|
id: 'editor.action.moveSelectionToPreviousFindMatch',
|
|
635
|
-
label: nls.localize2(
|
|
635
|
+
label: nls.localize2(1297, "Move Last Selection to Previous Find Match"),
|
|
636
636
|
precondition: undefined
|
|
637
637
|
});
|
|
638
638
|
}
|
|
@@ -644,7 +644,7 @@ export class SelectHighlightsAction extends MultiCursorSelectionControllerAction
|
|
|
644
644
|
constructor() {
|
|
645
645
|
super({
|
|
646
646
|
id: 'editor.action.selectHighlights',
|
|
647
|
-
label: nls.localize2(
|
|
647
|
+
label: nls.localize2(1298, "Select All Occurrences of Find Match"),
|
|
648
648
|
precondition: undefined,
|
|
649
649
|
kbOpts: {
|
|
650
650
|
kbExpr: EditorContextKeys.focus,
|
|
@@ -654,7 +654,7 @@ export class SelectHighlightsAction extends MultiCursorSelectionControllerAction
|
|
|
654
654
|
menuOpts: {
|
|
655
655
|
menuId: MenuId.MenubarSelectionMenu,
|
|
656
656
|
group: '3_multi',
|
|
657
|
-
title: nls.localize(
|
|
657
|
+
title: nls.localize(1286, "Select All &&Occurrences"),
|
|
658
658
|
order: 7
|
|
659
659
|
}
|
|
660
660
|
});
|
|
@@ -667,7 +667,7 @@ export class CompatChangeAll extends MultiCursorSelectionControllerAction {
|
|
|
667
667
|
constructor() {
|
|
668
668
|
super({
|
|
669
669
|
id: 'editor.action.changeAll',
|
|
670
|
-
label: nls.localize2(
|
|
670
|
+
label: nls.localize2(1299, "Change All Occurrences"),
|
|
671
671
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.editorTextFocus),
|
|
672
672
|
kbOpts: {
|
|
673
673
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -925,9 +925,9 @@ export class FocusNextCursor extends EditorAction {
|
|
|
925
925
|
constructor() {
|
|
926
926
|
super({
|
|
927
927
|
id: 'editor.action.focusNextCursor',
|
|
928
|
-
label: nls.localize2(
|
|
928
|
+
label: nls.localize2(1300, "Focus Next Cursor"),
|
|
929
929
|
metadata: {
|
|
930
|
-
description: nls.localize(
|
|
930
|
+
description: nls.localize(1287, "Focuses the next cursor"),
|
|
931
931
|
args: [],
|
|
932
932
|
},
|
|
933
933
|
precondition: undefined
|
|
@@ -957,9 +957,9 @@ export class FocusPreviousCursor extends EditorAction {
|
|
|
957
957
|
constructor() {
|
|
958
958
|
super({
|
|
959
959
|
id: 'editor.action.focusPreviousCursor',
|
|
960
|
-
label: nls.localize2(
|
|
960
|
+
label: nls.localize2(1301, "Focus Previous Cursor"),
|
|
961
961
|
metadata: {
|
|
962
|
-
description: nls.localize(
|
|
962
|
+
description: nls.localize(1288, "Focuses the previous cursor"),
|
|
963
963
|
args: [],
|
|
964
964
|
},
|
|
965
965
|
precondition: undefined
|
|
@@ -67,7 +67,7 @@ export class TriggerParameterHintsAction extends EditorAction {
|
|
|
67
67
|
constructor() {
|
|
68
68
|
super({
|
|
69
69
|
id: 'editor.action.triggerParameterHints',
|
|
70
|
-
label: nls.localize2(
|
|
70
|
+
label: nls.localize2(1302, "Trigger Parameter Hints"),
|
|
71
71
|
precondition: EditorContextKeys.hasSignatureHelpProvider,
|
|
72
72
|
kbOpts: {
|
|
73
73
|
kbExpr: EditorContextKeys.editorTextFocus,
|