@codingame/monaco-vscode-api 9.0.2 → 9.0.3
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/package.json +8 -8
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +8 -8
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +50 -50
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +2 -2
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +16 -16
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +19 -19
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +16 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +166 -166
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +14 -14
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
|
@@ -12,11 +12,11 @@ import '../../../../platform/theme/common/colors/miscColors.js';
|
|
|
12
12
|
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
13
13
|
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
14
14
|
registerColor('symbolIcon.arrayForeground', foreground, ( localize(
|
|
15
|
-
|
|
15
|
+
9950,
|
|
16
16
|
'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
17
17
|
)));
|
|
18
18
|
registerColor('symbolIcon.booleanForeground', foreground, ( localize(
|
|
19
|
-
|
|
19
|
+
9951,
|
|
20
20
|
'The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
21
21
|
)));
|
|
22
22
|
registerColor('symbolIcon.classForeground', {
|
|
@@ -25,15 +25,15 @@ registerColor('symbolIcon.classForeground', {
|
|
|
25
25
|
hcDark: '#EE9D28',
|
|
26
26
|
hcLight: '#D67E00'
|
|
27
27
|
}, ( localize(
|
|
28
|
-
|
|
28
|
+
9952,
|
|
29
29
|
'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
30
30
|
)));
|
|
31
31
|
registerColor('symbolIcon.colorForeground', foreground, ( localize(
|
|
32
|
-
|
|
32
|
+
9953,
|
|
33
33
|
'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
34
34
|
)));
|
|
35
35
|
registerColor('symbolIcon.constantForeground', foreground, ( localize(
|
|
36
|
-
|
|
36
|
+
9954,
|
|
37
37
|
'The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
38
38
|
)));
|
|
39
39
|
registerColor('symbolIcon.constructorForeground', {
|
|
@@ -42,7 +42,7 @@ registerColor('symbolIcon.constructorForeground', {
|
|
|
42
42
|
hcDark: '#B180D7',
|
|
43
43
|
hcLight: '#652D90'
|
|
44
44
|
}, ( localize(
|
|
45
|
-
|
|
45
|
+
9955,
|
|
46
46
|
'The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
47
47
|
)));
|
|
48
48
|
registerColor('symbolIcon.enumeratorForeground', {
|
|
@@ -51,7 +51,7 @@ registerColor('symbolIcon.enumeratorForeground', {
|
|
|
51
51
|
hcDark: '#EE9D28',
|
|
52
52
|
hcLight: '#D67E00'
|
|
53
53
|
}, ( localize(
|
|
54
|
-
|
|
54
|
+
9956,
|
|
55
55
|
'The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
56
56
|
)));
|
|
57
57
|
registerColor('symbolIcon.enumeratorMemberForeground', {
|
|
@@ -60,7 +60,7 @@ registerColor('symbolIcon.enumeratorMemberForeground', {
|
|
|
60
60
|
hcDark: '#75BEFF',
|
|
61
61
|
hcLight: '#007ACC'
|
|
62
62
|
}, ( localize(
|
|
63
|
-
|
|
63
|
+
9957,
|
|
64
64
|
'The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
65
65
|
)));
|
|
66
66
|
registerColor('symbolIcon.eventForeground', {
|
|
@@ -69,7 +69,7 @@ registerColor('symbolIcon.eventForeground', {
|
|
|
69
69
|
hcDark: '#EE9D28',
|
|
70
70
|
hcLight: '#D67E00'
|
|
71
71
|
}, ( localize(
|
|
72
|
-
|
|
72
|
+
9958,
|
|
73
73
|
'The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
74
74
|
)));
|
|
75
75
|
registerColor('symbolIcon.fieldForeground', {
|
|
@@ -78,15 +78,15 @@ registerColor('symbolIcon.fieldForeground', {
|
|
|
78
78
|
hcDark: '#75BEFF',
|
|
79
79
|
hcLight: '#007ACC'
|
|
80
80
|
}, ( localize(
|
|
81
|
-
|
|
81
|
+
9959,
|
|
82
82
|
'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
83
83
|
)));
|
|
84
84
|
registerColor('symbolIcon.fileForeground', foreground, ( localize(
|
|
85
|
-
|
|
85
|
+
9960,
|
|
86
86
|
'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
87
87
|
)));
|
|
88
88
|
registerColor('symbolIcon.folderForeground', foreground, ( localize(
|
|
89
|
-
|
|
89
|
+
9961,
|
|
90
90
|
'The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
91
91
|
)));
|
|
92
92
|
registerColor('symbolIcon.functionForeground', {
|
|
@@ -95,7 +95,7 @@ registerColor('symbolIcon.functionForeground', {
|
|
|
95
95
|
hcDark: '#B180D7',
|
|
96
96
|
hcLight: '#652D90'
|
|
97
97
|
}, ( localize(
|
|
98
|
-
|
|
98
|
+
9962,
|
|
99
99
|
'The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
100
100
|
)));
|
|
101
101
|
registerColor('symbolIcon.interfaceForeground', {
|
|
@@ -104,15 +104,15 @@ registerColor('symbolIcon.interfaceForeground', {
|
|
|
104
104
|
hcDark: '#75BEFF',
|
|
105
105
|
hcLight: '#007ACC'
|
|
106
106
|
}, ( localize(
|
|
107
|
-
|
|
107
|
+
9963,
|
|
108
108
|
'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
109
109
|
)));
|
|
110
110
|
registerColor('symbolIcon.keyForeground', foreground, ( localize(
|
|
111
|
-
|
|
111
|
+
9964,
|
|
112
112
|
'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
113
113
|
)));
|
|
114
114
|
registerColor('symbolIcon.keywordForeground', foreground, ( localize(
|
|
115
|
-
|
|
115
|
+
9965,
|
|
116
116
|
'The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
117
117
|
)));
|
|
118
118
|
registerColor('symbolIcon.methodForeground', {
|
|
@@ -121,67 +121,67 @@ registerColor('symbolIcon.methodForeground', {
|
|
|
121
121
|
hcDark: '#B180D7',
|
|
122
122
|
hcLight: '#652D90'
|
|
123
123
|
}, ( localize(
|
|
124
|
-
|
|
124
|
+
9966,
|
|
125
125
|
'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
126
126
|
)));
|
|
127
127
|
registerColor('symbolIcon.moduleForeground', foreground, ( localize(
|
|
128
|
-
|
|
128
|
+
9967,
|
|
129
129
|
'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
130
130
|
)));
|
|
131
131
|
registerColor('symbolIcon.namespaceForeground', foreground, ( localize(
|
|
132
|
-
|
|
132
|
+
9968,
|
|
133
133
|
'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
134
134
|
)));
|
|
135
135
|
registerColor('symbolIcon.nullForeground', foreground, ( localize(
|
|
136
|
-
|
|
136
|
+
9969,
|
|
137
137
|
'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
138
138
|
)));
|
|
139
139
|
registerColor('symbolIcon.numberForeground', foreground, ( localize(
|
|
140
|
-
|
|
140
|
+
9970,
|
|
141
141
|
'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
142
142
|
)));
|
|
143
143
|
registerColor('symbolIcon.objectForeground', foreground, ( localize(
|
|
144
|
-
|
|
144
|
+
9971,
|
|
145
145
|
'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
146
146
|
)));
|
|
147
147
|
registerColor('symbolIcon.operatorForeground', foreground, ( localize(
|
|
148
|
-
|
|
148
|
+
9972,
|
|
149
149
|
'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
150
150
|
)));
|
|
151
151
|
registerColor('symbolIcon.packageForeground', foreground, ( localize(
|
|
152
|
-
|
|
152
|
+
9973,
|
|
153
153
|
'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
154
154
|
)));
|
|
155
155
|
registerColor('symbolIcon.propertyForeground', foreground, ( localize(
|
|
156
|
-
|
|
156
|
+
9974,
|
|
157
157
|
'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
158
158
|
)));
|
|
159
159
|
registerColor('symbolIcon.referenceForeground', foreground, ( localize(
|
|
160
|
-
|
|
160
|
+
9975,
|
|
161
161
|
'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
162
162
|
)));
|
|
163
163
|
registerColor('symbolIcon.snippetForeground', foreground, ( localize(
|
|
164
|
-
|
|
164
|
+
9976,
|
|
165
165
|
'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
166
166
|
)));
|
|
167
167
|
registerColor('symbolIcon.stringForeground', foreground, ( localize(
|
|
168
|
-
|
|
168
|
+
9977,
|
|
169
169
|
'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
170
170
|
)));
|
|
171
171
|
registerColor('symbolIcon.structForeground', foreground, ( localize(
|
|
172
|
-
|
|
172
|
+
9978,
|
|
173
173
|
'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
174
174
|
)));
|
|
175
175
|
registerColor('symbolIcon.textForeground', foreground, ( localize(
|
|
176
|
-
|
|
176
|
+
9979,
|
|
177
177
|
'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
178
178
|
)));
|
|
179
179
|
registerColor('symbolIcon.typeParameterForeground', foreground, ( localize(
|
|
180
|
-
|
|
180
|
+
9980,
|
|
181
181
|
'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
182
182
|
)));
|
|
183
183
|
registerColor('symbolIcon.unitForeground', foreground, ( localize(
|
|
184
|
-
|
|
184
|
+
9981,
|
|
185
185
|
'The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
186
186
|
)));
|
|
187
187
|
registerColor('symbolIcon.variableForeground', {
|
|
@@ -190,6 +190,6 @@ registerColor('symbolIcon.variableForeground', {
|
|
|
190
190
|
hcDark: '#75BEFF',
|
|
191
191
|
hcLight: '#007ACC',
|
|
192
192
|
}, ( localize(
|
|
193
|
-
|
|
193
|
+
9982,
|
|
194
194
|
'The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
195
195
|
)));
|
|
@@ -9,7 +9,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
9
9
|
constructor() {
|
|
10
10
|
super({
|
|
11
11
|
id: ToggleTabFocusModeAction.ID,
|
|
12
|
-
title: ( localize2(
|
|
12
|
+
title: ( localize2(1579, 'Toggle Tab Key Moves Focus')),
|
|
13
13
|
precondition: undefined,
|
|
14
14
|
keybinding: {
|
|
15
15
|
primary: KeyMod$1.CtrlCmd | KeyCode.KeyM,
|
|
@@ -18,7 +18,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
18
18
|
},
|
|
19
19
|
metadata: {
|
|
20
20
|
description: ( localize2(
|
|
21
|
-
|
|
21
|
+
1580,
|
|
22
22
|
"Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode."
|
|
23
23
|
)),
|
|
24
24
|
},
|
|
@@ -30,10 +30,10 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
30
30
|
const newValue = !oldValue;
|
|
31
31
|
TabFocus.setTabFocusMode(newValue);
|
|
32
32
|
if (newValue) {
|
|
33
|
-
alert(( localize(
|
|
33
|
+
alert(( localize(1581, "Pressing Tab will now move focus to the next focusable element")));
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
alert(( localize(
|
|
36
|
+
alert(( localize(1582, "Pressing Tab will now insert the tab character")));
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -5,7 +5,7 @@ class ForceRetokenizeAction extends EditorAction {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
super({
|
|
7
7
|
id: 'editor.action.forceRetokenize',
|
|
8
|
-
label: ( localize(
|
|
8
|
+
label: ( localize(1571, "Developer: Force Retokenize")),
|
|
9
9
|
alias: 'Developer: Force Retokenize',
|
|
10
10
|
precondition: undefined
|
|
11
11
|
});
|
|
@@ -26,7 +26,7 @@ import { IOpenerService } from '../../../../platform/opener/common/opener.servic
|
|
|
26
26
|
import { IQuickInputService } from '../../../../platform/quickinput/common/quickInput.service.js';
|
|
27
27
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
28
28
|
import { IWorkspaceTrustManagementService } from '../../../../platform/workspace/common/workspaceTrust.service.js';
|
|
29
|
-
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(
|
|
29
|
+
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(1583, 'Icon shown with a warning message in the extensions editor.')));
|
|
30
30
|
let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
31
31
|
static { this.ID = 'editor.contrib.unicodeHighlighter'; }
|
|
32
32
|
constructor(_editor, _editorWorkerService, _workspaceTrustService, instantiationService) {
|
|
@@ -45,19 +45,19 @@ let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
|
45
45
|
let data;
|
|
46
46
|
if (state.nonBasicAsciiCharacterCount >= max) {
|
|
47
47
|
data = {
|
|
48
|
-
message: ( localize(
|
|
48
|
+
message: ( localize(1584, 'This document contains many non-basic ASCII unicode characters')),
|
|
49
49
|
command: ( (new DisableHighlightingOfNonBasicAsciiCharactersAction())),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
else if (state.ambiguousCharacterCount >= max) {
|
|
53
53
|
data = {
|
|
54
|
-
message: ( localize(
|
|
54
|
+
message: ( localize(1585, 'This document contains many ambiguous unicode characters')),
|
|
55
55
|
command: ( (new DisableHighlightingOfAmbiguousCharactersAction())),
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
else if (state.invisibleCharacterCount >= max) {
|
|
59
59
|
data = {
|
|
60
|
-
message: ( localize(
|
|
60
|
+
message: ( localize(1586, 'This document contains many invisible unicode characters')),
|
|
61
61
|
command: ( (new DisableHighlightingOfInvisibleCharactersAction())),
|
|
62
62
|
};
|
|
63
63
|
}
|
|
@@ -324,7 +324,7 @@ class ViewportUnicodeHighlighter extends Disposable {
|
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
|
-
const configureUnicodeHighlightOptionsStr = ( localize(
|
|
327
|
+
const configureUnicodeHighlightOptionsStr = ( localize(1587, 'Configure Unicode Highlight Options'));
|
|
328
328
|
let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipant {
|
|
329
329
|
constructor(_editor, _languageService, _openerService) {
|
|
330
330
|
this._editor = _editor;
|
|
@@ -357,7 +357,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
357
357
|
case UnicodeHighlighterReasonKind.Ambiguous: {
|
|
358
358
|
if (isBasicASCII(highlightInfo.reason.confusableWith)) {
|
|
359
359
|
reason = ( localize(
|
|
360
|
-
|
|
360
|
+
1588,
|
|
361
361
|
'The character {0} could be confused with the ASCII character {1}, which is more common in source code.',
|
|
362
362
|
codePointStr,
|
|
363
363
|
formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0))
|
|
@@ -365,7 +365,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
365
365
|
}
|
|
366
366
|
else {
|
|
367
367
|
reason = ( localize(
|
|
368
|
-
|
|
368
|
+
1589,
|
|
369
369
|
'The character {0} could be confused with the character {1}, which is more common in source code.',
|
|
370
370
|
codePointStr,
|
|
371
371
|
formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0))
|
|
@@ -374,10 +374,10 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
374
374
|
break;
|
|
375
375
|
}
|
|
376
376
|
case UnicodeHighlighterReasonKind.Invisible:
|
|
377
|
-
reason = ( localize(
|
|
377
|
+
reason = ( localize(1590, 'The character {0} is invisible.', codePointStr));
|
|
378
378
|
break;
|
|
379
379
|
case UnicodeHighlighterReasonKind.NonBasicAscii:
|
|
380
|
-
reason = ( localize(
|
|
380
|
+
reason = ( localize(1591, 'The character {0} is not a basic ASCII character.', codePointStr));
|
|
381
381
|
break;
|
|
382
382
|
}
|
|
383
383
|
if (( (existedReason.has(reason)))) {
|
|
@@ -390,7 +390,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
390
390
|
inComment: highlightInfo.inComment,
|
|
391
391
|
inString: highlightInfo.inString,
|
|
392
392
|
};
|
|
393
|
-
const adjustSettings = ( localize(
|
|
393
|
+
const adjustSettings = ( localize(1592, 'Adjust settings'));
|
|
394
394
|
const uri = `command:${ShowExcludeOptions.ID}?${encodeURIComponent(JSON.stringify(adjustSettingsArgs))}`;
|
|
395
395
|
const markdown = ( (new MarkdownString('', true)))
|
|
396
396
|
.appendMarkdown(reason)
|
|
@@ -462,11 +462,11 @@ class DisableHighlightingInCommentsAction extends EditorAction {
|
|
|
462
462
|
constructor() {
|
|
463
463
|
super({
|
|
464
464
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
465
|
-
label: ( localize(
|
|
465
|
+
label: ( localize(1593, 'Disable highlighting of characters in comments')),
|
|
466
466
|
alias: 'Disable highlighting of characters in comments',
|
|
467
467
|
precondition: undefined
|
|
468
468
|
});
|
|
469
|
-
this.shortLabel = ( localize(
|
|
469
|
+
this.shortLabel = ( localize(1594, 'Disable Highlight In Comments'));
|
|
470
470
|
}
|
|
471
471
|
async run(accessor, editor, args) {
|
|
472
472
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -483,11 +483,11 @@ class DisableHighlightingInStringsAction extends EditorAction {
|
|
|
483
483
|
constructor() {
|
|
484
484
|
super({
|
|
485
485
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
486
|
-
label: ( localize(
|
|
486
|
+
label: ( localize(1595, 'Disable highlighting of characters in strings')),
|
|
487
487
|
alias: 'Disable highlighting of characters in strings',
|
|
488
488
|
precondition: undefined
|
|
489
489
|
});
|
|
490
|
-
this.shortLabel = ( localize(
|
|
490
|
+
this.shortLabel = ( localize(1596, 'Disable Highlight In Strings'));
|
|
491
491
|
}
|
|
492
492
|
async run(accessor, editor, args) {
|
|
493
493
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -504,11 +504,11 @@ class DisableHighlightingOfAmbiguousCharactersAction extends EditorAction {
|
|
|
504
504
|
constructor() {
|
|
505
505
|
super({
|
|
506
506
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
507
|
-
label: ( localize(
|
|
507
|
+
label: ( localize(1597, 'Disable highlighting of ambiguous characters')),
|
|
508
508
|
alias: 'Disable highlighting of ambiguous characters',
|
|
509
509
|
precondition: undefined
|
|
510
510
|
});
|
|
511
|
-
this.shortLabel = ( localize(
|
|
511
|
+
this.shortLabel = ( localize(1598, 'Disable Ambiguous Highlight'));
|
|
512
512
|
}
|
|
513
513
|
async run(accessor, editor, args) {
|
|
514
514
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -525,11 +525,11 @@ class DisableHighlightingOfInvisibleCharactersAction extends EditorAction {
|
|
|
525
525
|
constructor() {
|
|
526
526
|
super({
|
|
527
527
|
id: DisableHighlightingOfInvisibleCharactersAction.ID,
|
|
528
|
-
label: ( localize(
|
|
528
|
+
label: ( localize(1599, 'Disable highlighting of invisible characters')),
|
|
529
529
|
alias: 'Disable highlighting of invisible characters',
|
|
530
530
|
precondition: undefined
|
|
531
531
|
});
|
|
532
|
-
this.shortLabel = ( localize(
|
|
532
|
+
this.shortLabel = ( localize(1600, 'Disable Invisible Highlight'));
|
|
533
533
|
}
|
|
534
534
|
async run(accessor, editor, args) {
|
|
535
535
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -546,11 +546,11 @@ class DisableHighlightingOfNonBasicAsciiCharactersAction extends EditorAction {
|
|
|
546
546
|
constructor() {
|
|
547
547
|
super({
|
|
548
548
|
id: DisableHighlightingOfNonBasicAsciiCharactersAction.ID,
|
|
549
|
-
label: ( localize(
|
|
549
|
+
label: ( localize(1601, 'Disable highlighting of non basic ASCII characters')),
|
|
550
550
|
alias: 'Disable highlighting of non basic ASCII characters',
|
|
551
551
|
precondition: undefined
|
|
552
552
|
});
|
|
553
|
-
this.shortLabel = ( localize(
|
|
553
|
+
this.shortLabel = ( localize(1602, 'Disable Non ASCII Highlight'));
|
|
554
554
|
}
|
|
555
555
|
async run(accessor, editor, args) {
|
|
556
556
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -567,7 +567,7 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
567
567
|
constructor() {
|
|
568
568
|
super({
|
|
569
569
|
id: ShowExcludeOptions.ID,
|
|
570
|
-
label: ( localize(
|
|
570
|
+
label: ( localize(1603, "Show Exclude Options")),
|
|
571
571
|
alias: 'Show Exclude Options',
|
|
572
572
|
precondition: undefined
|
|
573
573
|
});
|
|
@@ -580,13 +580,13 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
580
580
|
function getExcludeCharFromBeingHighlightedLabel(codePoint) {
|
|
581
581
|
if (InvisibleCharacters.isInvisibleCharacter(codePoint)) {
|
|
582
582
|
return ( localize(
|
|
583
|
-
|
|
583
|
+
1604,
|
|
584
584
|
'Exclude {0} (invisible character) from being highlighted',
|
|
585
585
|
codePointToHex(codePoint)
|
|
586
586
|
));
|
|
587
587
|
}
|
|
588
588
|
return ( localize(
|
|
589
|
-
|
|
589
|
+
1605,
|
|
590
590
|
'Exclude {0} from being highlighted',
|
|
591
591
|
`${codePointToHex(codePoint)} "${char}"`
|
|
592
592
|
));
|
|
@@ -596,7 +596,7 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
596
596
|
for (const locale of reason.notAmbiguousInLocales) {
|
|
597
597
|
options.push({
|
|
598
598
|
label: ( localize(
|
|
599
|
-
|
|
599
|
+
1606,
|
|
600
600
|
"Allow unicode characters that are more common in the language \"{0}\".",
|
|
601
601
|
locale
|
|
602
602
|
)),
|
package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js
CHANGED
|
@@ -68,15 +68,15 @@ let UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extend
|
|
|
68
68
|
try {
|
|
69
69
|
this._isPresentingDialog = true;
|
|
70
70
|
result = await this._dialogService.confirm({
|
|
71
|
-
title: ( localize(
|
|
72
|
-
message: ( localize(
|
|
71
|
+
title: ( localize(1610, "Unusual Line Terminators")),
|
|
72
|
+
message: ( localize(1611, "Detected unusual line terminators")),
|
|
73
73
|
detail: ( localize(
|
|
74
|
-
|
|
74
|
+
1612,
|
|
75
75
|
"The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.",
|
|
76
76
|
basename(model.uri)
|
|
77
77
|
)),
|
|
78
|
-
primaryButton: ( localize(
|
|
79
|
-
cancelButton: ( localize(
|
|
78
|
+
primaryButton: ( localize(1613, "&&Remove Unusual Line Terminators")),
|
|
79
|
+
cancelButton: ( localize(1614, "Ignore"))
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
finally {
|
|
@@ -16,36 +16,36 @@ import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
|
16
16
|
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
17
17
|
import { themeColorFromId, registerThemingParticipant } from '../../../../platform/theme/common/themeService.js';
|
|
18
18
|
const wordHighlightBackground = registerColor('editor.wordHighlightBackground', { dark: '#575757B8', light: '#57575740', hcDark: null, hcLight: null }, ( localize(
|
|
19
|
-
|
|
19
|
+
5163,
|
|
20
20
|
'Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations.'
|
|
21
21
|
)), true);
|
|
22
22
|
registerColor('editor.wordHighlightStrongBackground', { dark: '#004972B8', light: '#0e639c40', hcDark: null, hcLight: null }, ( localize(
|
|
23
|
-
|
|
23
|
+
5164,
|
|
24
24
|
'Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations.'
|
|
25
25
|
)), true);
|
|
26
26
|
registerColor('editor.wordHighlightTextBackground', wordHighlightBackground, ( localize(
|
|
27
|
-
|
|
27
|
+
5165,
|
|
28
28
|
'Background color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'
|
|
29
29
|
)), true);
|
|
30
30
|
const wordHighlightBorder = registerColor('editor.wordHighlightBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
31
|
-
|
|
31
|
+
5166,
|
|
32
32
|
'Border color of a symbol during read-access, like reading a variable.'
|
|
33
33
|
)));
|
|
34
34
|
registerColor('editor.wordHighlightStrongBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
35
|
-
|
|
35
|
+
5167,
|
|
36
36
|
'Border color of a symbol during write-access, like writing to a variable.'
|
|
37
37
|
)));
|
|
38
|
-
registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, ( localize(
|
|
38
|
+
registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, ( localize(5168, "Border color of a textual occurrence for a symbol.")));
|
|
39
39
|
const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', '#A0A0A0CC', ( localize(
|
|
40
|
-
|
|
40
|
+
5169,
|
|
41
41
|
'Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations.'
|
|
42
42
|
)), true);
|
|
43
43
|
const overviewRulerWordHighlightStrongForeground = registerColor('editorOverviewRuler.wordHighlightStrongForeground', '#C0A0C0CC', ( localize(
|
|
44
|
-
|
|
44
|
+
5170,
|
|
45
45
|
'Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations.'
|
|
46
46
|
)), true);
|
|
47
47
|
const overviewRulerWordHighlightTextForeground = registerColor('editorOverviewRuler.wordHighlightTextForeground', overviewRulerSelectionHighlightForeground, ( localize(
|
|
48
|
-
|
|
48
|
+
5171,
|
|
49
49
|
'Overview ruler marker color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'
|
|
50
50
|
)), true);
|
|
51
51
|
const _WRITE_OPTIONS = ModelDecorationOptions.register({
|
|
@@ -663,7 +663,7 @@ class NextWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
663
663
|
constructor() {
|
|
664
664
|
super(true, {
|
|
665
665
|
id: 'editor.action.wordHighlight.next',
|
|
666
|
-
label: ( localize(
|
|
666
|
+
label: ( localize(1607, "Go to Next Symbol Highlight")),
|
|
667
667
|
alias: 'Go to Next Symbol Highlight',
|
|
668
668
|
precondition: ctxHasWordHighlights,
|
|
669
669
|
kbOpts: {
|
|
@@ -678,7 +678,7 @@ class PrevWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
678
678
|
constructor() {
|
|
679
679
|
super(false, {
|
|
680
680
|
id: 'editor.action.wordHighlight.prev',
|
|
681
|
-
label: ( localize(
|
|
681
|
+
label: ( localize(1608, "Go to Previous Symbol Highlight")),
|
|
682
682
|
alias: 'Go to Previous Symbol Highlight',
|
|
683
683
|
precondition: ctxHasWordHighlights,
|
|
684
684
|
kbOpts: {
|
|
@@ -693,7 +693,7 @@ class TriggerWordHighlightAction extends EditorAction {
|
|
|
693
693
|
constructor() {
|
|
694
694
|
super({
|
|
695
695
|
id: 'editor.action.wordHighlight.trigger',
|
|
696
|
-
label: ( localize(
|
|
696
|
+
label: ( localize(1609, "Trigger Symbol Highlight")),
|
|
697
697
|
alias: 'Trigger Symbol Highlight',
|
|
698
698
|
precondition: undefined,
|
|
699
699
|
kbOpts: {
|
|
@@ -419,7 +419,7 @@ class DeleteInsideWord extends EditorAction {
|
|
|
419
419
|
super({
|
|
420
420
|
id: 'deleteInsideWord',
|
|
421
421
|
precondition: EditorContextKeys.writable,
|
|
422
|
-
label: ( localize(
|
|
422
|
+
label: ( localize(1615, "Delete Word")),
|
|
423
423
|
alias: 'Delete Word'
|
|
424
424
|
});
|
|
425
425
|
}
|
|
@@ -195,17 +195,17 @@ let MenuEntryActionViewItem = class MenuEntryActionViewItem extends ActionViewIt
|
|
|
195
195
|
const keybindingLabel = keybinding && keybinding.getLabel();
|
|
196
196
|
const tooltip = this._commandAction.tooltip || this._commandAction.label;
|
|
197
197
|
let title = keybindingLabel
|
|
198
|
-
? ( localize(
|
|
198
|
+
? ( localize(4864, "{0} ({1})", tooltip, keybindingLabel))
|
|
199
199
|
: tooltip;
|
|
200
200
|
if (!this._wantsAltCommand && this._menuItemAction.alt?.enabled) {
|
|
201
201
|
const altTooltip = this._menuItemAction.alt.tooltip || this._menuItemAction.alt.label;
|
|
202
202
|
const altKeybinding = this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id, this._contextKeyService);
|
|
203
203
|
const altKeybindingLabel = altKeybinding && altKeybinding.getLabel();
|
|
204
204
|
const altTitleSection = altKeybindingLabel
|
|
205
|
-
? ( localize(
|
|
205
|
+
? ( localize(4864, "{0} ({1})", altTooltip, altKeybindingLabel))
|
|
206
206
|
: altTooltip;
|
|
207
207
|
title = ( localize(
|
|
208
|
-
|
|
208
|
+
4865,
|
|
209
209
|
"{0}\n[{1}] {2}",
|
|
210
210
|
title,
|
|
211
211
|
UILabelProvider.modifierLabels[OS].altKey,
|
|
@@ -281,10 +281,10 @@ class TextOnlyMenuEntryActionViewItem extends MenuEntryActionViewItem {
|
|
|
281
281
|
if (this.label) {
|
|
282
282
|
const kb2 = TextOnlyMenuEntryActionViewItem._symbolPrintEnter(kb);
|
|
283
283
|
if (this._options?.conversational) {
|
|
284
|
-
this.label.textContent = ( localize(
|
|
284
|
+
this.label.textContent = ( localize(4866, '{1} to {0}', this._action.label, kb2));
|
|
285
285
|
}
|
|
286
286
|
else {
|
|
287
|
-
this.label.textContent = ( localize(
|
|
287
|
+
this.label.textContent = ( localize(4867, '{0} ({1})', this._action.label, kb2));
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
}
|
|
@@ -410,7 +410,7 @@ function createMenuHide(menu, command, states) {
|
|
|
410
410
|
const title = typeof command.title === 'string' ? command.title : command.title.value;
|
|
411
411
|
const hide = toAction({
|
|
412
412
|
id: `hide/${menu.id}/${id}`,
|
|
413
|
-
label: ( localize(
|
|
413
|
+
label: ( localize(1272, 'Hide \'{0}\'', title)),
|
|
414
414
|
run() { states.updateHidden(menu, id, true); }
|
|
415
415
|
});
|
|
416
416
|
const toggle = toAction({
|
|
@@ -428,7 +428,7 @@ function createMenuHide(menu, command, states) {
|
|
|
428
428
|
function createConfigureKeybindingAction(commandService, keybindingService, commandId, when = undefined, enabled = true) {
|
|
429
429
|
return toAction({
|
|
430
430
|
id: `configureKeybinding/${commandId}`,
|
|
431
|
-
label: ( localize(
|
|
431
|
+
label: ( localize(1273, "Configure Keybinding")),
|
|
432
432
|
enabled,
|
|
433
433
|
run() {
|
|
434
434
|
const hasKeybinding = !!keybindingService.lookupKeybinding(commandId);
|
|
@@ -505,7 +505,7 @@ CommandsRegistry.registerCommand({
|
|
|
505
505
|
return [...RawContextKey.all()].sort((a, b) => a.key.localeCompare(b.key));
|
|
506
506
|
},
|
|
507
507
|
metadata: {
|
|
508
|
-
description: ( localize(
|
|
508
|
+
description: ( localize(1274, "A command that returns information about context keys")),
|
|
509
509
|
args: []
|
|
510
510
|
}
|
|
511
511
|
});
|