@codingame/monaco-vscode-api 10.1.3 → 10.1.4
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/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- 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 +9 -9
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- 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/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/config/editorOptions.js +368 -368
- 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/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/codeActionMenu.js +8 -8
- 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/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/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/dropOrPasteInto/browser/postEditWidget.js +2 -2
- 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/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.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 +14 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- 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/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- 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/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- 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/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +3 -3
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- 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/contextkeys.js +9 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- 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/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.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/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/window.js +16 -16
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +10 -10
- 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/common/abstractDebugAdapter.js +1 -1
- 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 +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +21 -21
- 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/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.js +4 -4
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
|
@@ -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
|
+
10035,
|
|
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
|
+
10036,
|
|
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
|
+
10037,
|
|
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
|
+
10038,
|
|
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
|
+
10039,
|
|
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
|
+
10040,
|
|
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
|
+
10041,
|
|
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
|
+
10042,
|
|
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
|
+
10043,
|
|
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
|
+
10044,
|
|
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
|
+
10045,
|
|
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
|
+
10046,
|
|
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
|
+
10047,
|
|
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
|
+
10048,
|
|
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
|
+
10049,
|
|
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
|
+
10050,
|
|
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
|
+
10051,
|
|
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
|
+
10052,
|
|
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
|
+
10053,
|
|
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
|
+
10054,
|
|
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
|
+
10055,
|
|
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
|
+
10056,
|
|
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
|
+
10057,
|
|
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
|
+
10058,
|
|
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
|
+
10059,
|
|
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
|
+
10060,
|
|
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
|
+
10061,
|
|
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
|
+
10062,
|
|
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
|
+
10063,
|
|
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
|
+
10064,
|
|
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
|
+
10065,
|
|
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
|
+
10066,
|
|
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
|
+
10067,
|
|
194
194
|
'The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
195
195
|
)));
|
|
@@ -7,7 +7,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super({
|
|
9
9
|
id: ToggleTabFocusModeAction.ID,
|
|
10
|
-
title: ( localize2(
|
|
10
|
+
title: ( localize2(1423, 'Toggle Tab Key Moves Focus')),
|
|
11
11
|
precondition: undefined,
|
|
12
12
|
keybinding: {
|
|
13
13
|
primary: 2048 | 43 ,
|
|
@@ -16,7 +16,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
16
16
|
},
|
|
17
17
|
metadata: {
|
|
18
18
|
description: ( localize2(
|
|
19
|
-
|
|
19
|
+
1424,
|
|
20
20
|
"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."
|
|
21
21
|
)),
|
|
22
22
|
},
|
|
@@ -28,10 +28,10 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
28
28
|
const newValue = !oldValue;
|
|
29
29
|
TabFocus.setTabFocusMode(newValue);
|
|
30
30
|
if (newValue) {
|
|
31
|
-
alert(( localize(
|
|
31
|
+
alert(( localize(1425, "Pressing Tab will now move focus to the next focusable element")));
|
|
32
32
|
}
|
|
33
33
|
else {
|
|
34
|
-
alert(( localize(
|
|
34
|
+
alert(( localize(1426, "Pressing Tab will now insert the tab character")));
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -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(1422, "Developer: Force Retokenize")),
|
|
9
9
|
alias: 'Developer: Force Retokenize',
|
|
10
10
|
precondition: undefined
|
|
11
11
|
});
|
|
@@ -23,7 +23,7 @@ import { IOpenerService } from '../../../../platform/opener/common/opener.servic
|
|
|
23
23
|
import { IQuickInputService } from '../../../../platform/quickinput/common/quickInput.service.js';
|
|
24
24
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
25
25
|
import { IWorkspaceTrustManagementService } from '../../../../platform/workspace/common/workspaceTrust.service.js';
|
|
26
|
-
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(
|
|
26
|
+
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(1427, 'Icon shown with a warning message in the extensions editor.')));
|
|
27
27
|
let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
28
28
|
static { this.ID = 'editor.contrib.unicodeHighlighter'; }
|
|
29
29
|
constructor(_editor, _editorWorkerService, _workspaceTrustService, instantiationService) {
|
|
@@ -42,19 +42,19 @@ let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
|
42
42
|
let data;
|
|
43
43
|
if (state.nonBasicAsciiCharacterCount >= max) {
|
|
44
44
|
data = {
|
|
45
|
-
message: ( localize(
|
|
45
|
+
message: ( localize(1428, 'This document contains many non-basic ASCII unicode characters')),
|
|
46
46
|
command: ( (new DisableHighlightingOfNonBasicAsciiCharactersAction())),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
else if (state.ambiguousCharacterCount >= max) {
|
|
50
50
|
data = {
|
|
51
|
-
message: ( localize(
|
|
51
|
+
message: ( localize(1429, 'This document contains many ambiguous unicode characters')),
|
|
52
52
|
command: ( (new DisableHighlightingOfAmbiguousCharactersAction())),
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
else if (state.invisibleCharacterCount >= max) {
|
|
56
56
|
data = {
|
|
57
|
-
message: ( localize(
|
|
57
|
+
message: ( localize(1430, 'This document contains many invisible unicode characters')),
|
|
58
58
|
command: ( (new DisableHighlightingOfInvisibleCharactersAction())),
|
|
59
59
|
};
|
|
60
60
|
}
|
|
@@ -321,7 +321,7 @@ class ViewportUnicodeHighlighter extends Disposable {
|
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
|
-
const configureUnicodeHighlightOptionsStr = ( localize(
|
|
324
|
+
const configureUnicodeHighlightOptionsStr = ( localize(1431, 'Configure Unicode Highlight Options'));
|
|
325
325
|
let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipant {
|
|
326
326
|
constructor(_editor, _languageService, _openerService) {
|
|
327
327
|
this._editor = _editor;
|
|
@@ -354,7 +354,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
354
354
|
case 0 : {
|
|
355
355
|
if (isBasicASCII(highlightInfo.reason.confusableWith)) {
|
|
356
356
|
reason = ( localize(
|
|
357
|
-
|
|
357
|
+
1432,
|
|
358
358
|
'The character {0} could be confused with the ASCII character {1}, which is more common in source code.',
|
|
359
359
|
codePointStr,
|
|
360
360
|
formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0))
|
|
@@ -362,7 +362,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
362
362
|
}
|
|
363
363
|
else {
|
|
364
364
|
reason = ( localize(
|
|
365
|
-
|
|
365
|
+
1433,
|
|
366
366
|
'The character {0} could be confused with the character {1}, which is more common in source code.',
|
|
367
367
|
codePointStr,
|
|
368
368
|
formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0))
|
|
@@ -371,10 +371,10 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
371
371
|
break;
|
|
372
372
|
}
|
|
373
373
|
case 1 :
|
|
374
|
-
reason = ( localize(
|
|
374
|
+
reason = ( localize(1434, 'The character {0} is invisible.', codePointStr));
|
|
375
375
|
break;
|
|
376
376
|
case 2 :
|
|
377
|
-
reason = ( localize(
|
|
377
|
+
reason = ( localize(1435, 'The character {0} is not a basic ASCII character.', codePointStr));
|
|
378
378
|
break;
|
|
379
379
|
}
|
|
380
380
|
if (( (existedReason.has(reason)))) {
|
|
@@ -387,7 +387,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
387
387
|
inComment: highlightInfo.inComment,
|
|
388
388
|
inString: highlightInfo.inString,
|
|
389
389
|
};
|
|
390
|
-
const adjustSettings = ( localize(
|
|
390
|
+
const adjustSettings = ( localize(1436, 'Adjust settings'));
|
|
391
391
|
const uri = `command:${ShowExcludeOptions.ID}?${encodeURIComponent(JSON.stringify(adjustSettingsArgs))}`;
|
|
392
392
|
const markdown = ( (new MarkdownString('', true)))
|
|
393
393
|
.appendMarkdown(reason)
|
|
@@ -459,11 +459,11 @@ class DisableHighlightingInCommentsAction extends EditorAction {
|
|
|
459
459
|
constructor() {
|
|
460
460
|
super({
|
|
461
461
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
462
|
-
label: ( localize(
|
|
462
|
+
label: ( localize(1437, 'Disable highlighting of characters in comments')),
|
|
463
463
|
alias: 'Disable highlighting of characters in comments',
|
|
464
464
|
precondition: undefined
|
|
465
465
|
});
|
|
466
|
-
this.shortLabel = ( localize(
|
|
466
|
+
this.shortLabel = ( localize(1438, 'Disable Highlight In Comments'));
|
|
467
467
|
}
|
|
468
468
|
async run(accessor, editor, args) {
|
|
469
469
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -480,11 +480,11 @@ class DisableHighlightingInStringsAction extends EditorAction {
|
|
|
480
480
|
constructor() {
|
|
481
481
|
super({
|
|
482
482
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
483
|
-
label: ( localize(
|
|
483
|
+
label: ( localize(1439, 'Disable highlighting of characters in strings')),
|
|
484
484
|
alias: 'Disable highlighting of characters in strings',
|
|
485
485
|
precondition: undefined
|
|
486
486
|
});
|
|
487
|
-
this.shortLabel = ( localize(
|
|
487
|
+
this.shortLabel = ( localize(1440, 'Disable Highlight In Strings'));
|
|
488
488
|
}
|
|
489
489
|
async run(accessor, editor, args) {
|
|
490
490
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -501,11 +501,11 @@ class DisableHighlightingOfAmbiguousCharactersAction extends EditorAction {
|
|
|
501
501
|
constructor() {
|
|
502
502
|
super({
|
|
503
503
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
504
|
-
label: ( localize(
|
|
504
|
+
label: ( localize(1441, 'Disable highlighting of ambiguous characters')),
|
|
505
505
|
alias: 'Disable highlighting of ambiguous characters',
|
|
506
506
|
precondition: undefined
|
|
507
507
|
});
|
|
508
|
-
this.shortLabel = ( localize(
|
|
508
|
+
this.shortLabel = ( localize(1442, 'Disable Ambiguous Highlight'));
|
|
509
509
|
}
|
|
510
510
|
async run(accessor, editor, args) {
|
|
511
511
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -522,11 +522,11 @@ class DisableHighlightingOfInvisibleCharactersAction extends EditorAction {
|
|
|
522
522
|
constructor() {
|
|
523
523
|
super({
|
|
524
524
|
id: DisableHighlightingOfInvisibleCharactersAction.ID,
|
|
525
|
-
label: ( localize(
|
|
525
|
+
label: ( localize(1443, 'Disable highlighting of invisible characters')),
|
|
526
526
|
alias: 'Disable highlighting of invisible characters',
|
|
527
527
|
precondition: undefined
|
|
528
528
|
});
|
|
529
|
-
this.shortLabel = ( localize(
|
|
529
|
+
this.shortLabel = ( localize(1444, 'Disable Invisible Highlight'));
|
|
530
530
|
}
|
|
531
531
|
async run(accessor, editor, args) {
|
|
532
532
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -543,11 +543,11 @@ class DisableHighlightingOfNonBasicAsciiCharactersAction extends EditorAction {
|
|
|
543
543
|
constructor() {
|
|
544
544
|
super({
|
|
545
545
|
id: DisableHighlightingOfNonBasicAsciiCharactersAction.ID,
|
|
546
|
-
label: ( localize(
|
|
546
|
+
label: ( localize(1445, 'Disable highlighting of non basic ASCII characters')),
|
|
547
547
|
alias: 'Disable highlighting of non basic ASCII characters',
|
|
548
548
|
precondition: undefined
|
|
549
549
|
});
|
|
550
|
-
this.shortLabel = ( localize(
|
|
550
|
+
this.shortLabel = ( localize(1446, 'Disable Non ASCII Highlight'));
|
|
551
551
|
}
|
|
552
552
|
async run(accessor, editor, args) {
|
|
553
553
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -564,7 +564,7 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
564
564
|
constructor() {
|
|
565
565
|
super({
|
|
566
566
|
id: ShowExcludeOptions.ID,
|
|
567
|
-
label: ( localize(
|
|
567
|
+
label: ( localize(1447, "Show Exclude Options")),
|
|
568
568
|
alias: 'Show Exclude Options',
|
|
569
569
|
precondition: undefined
|
|
570
570
|
});
|
|
@@ -577,13 +577,13 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
577
577
|
function getExcludeCharFromBeingHighlightedLabel(codePoint) {
|
|
578
578
|
if (InvisibleCharacters.isInvisibleCharacter(codePoint)) {
|
|
579
579
|
return ( localize(
|
|
580
|
-
|
|
580
|
+
1448,
|
|
581
581
|
'Exclude {0} (invisible character) from being highlighted',
|
|
582
582
|
codePointToHex(codePoint)
|
|
583
583
|
));
|
|
584
584
|
}
|
|
585
585
|
return ( localize(
|
|
586
|
-
|
|
586
|
+
1449,
|
|
587
587
|
'Exclude {0} from being highlighted',
|
|
588
588
|
`${codePointToHex(codePoint)} "${char}"`
|
|
589
589
|
));
|
|
@@ -593,7 +593,7 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
593
593
|
for (const locale of reason.notAmbiguousInLocales) {
|
|
594
594
|
options.push({
|
|
595
595
|
label: ( localize(
|
|
596
|
-
|
|
596
|
+
1450,
|
|
597
597
|
"Allow unicode characters that are more common in the language \"{0}\".",
|
|
598
598
|
locale
|
|
599
599
|
)),
|
package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js
CHANGED
|
@@ -67,15 +67,15 @@ let UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extend
|
|
|
67
67
|
try {
|
|
68
68
|
this._isPresentingDialog = true;
|
|
69
69
|
result = await this._dialogService.confirm({
|
|
70
|
-
title: ( localize(
|
|
71
|
-
message: ( localize(
|
|
70
|
+
title: ( localize(1451, "Unusual Line Terminators")),
|
|
71
|
+
message: ( localize(1452, "Detected unusual line terminators")),
|
|
72
72
|
detail: ( localize(
|
|
73
|
-
|
|
73
|
+
1453,
|
|
74
74
|
"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`.",
|
|
75
75
|
basename(model.uri)
|
|
76
76
|
)),
|
|
77
|
-
primaryButton: ( localize(
|
|
78
|
-
cancelButton: ( localize(
|
|
77
|
+
primaryButton: ( localize(1454, "&&Remove Unusual Line Terminators")),
|
|
78
|
+
cancelButton: ( localize(1455, "Ignore"))
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
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
|
+
5165,
|
|
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
|
+
5166,
|
|
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
|
+
5167,
|
|
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
|
+
5168,
|
|
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
|
+
5169,
|
|
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(5170, "Border color of a textual occurrence for a symbol.")));
|
|
39
39
|
const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', '#A0A0A0CC', ( localize(
|
|
40
|
-
|
|
40
|
+
5171,
|
|
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
|
+
5172,
|
|
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
|
+
5173,
|
|
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({
|
|
@@ -707,7 +707,7 @@ class NextWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
707
707
|
constructor() {
|
|
708
708
|
super(true, {
|
|
709
709
|
id: 'editor.action.wordHighlight.next',
|
|
710
|
-
label: ( localize(
|
|
710
|
+
label: ( localize(1456, "Go to Next Symbol Highlight")),
|
|
711
711
|
alias: 'Go to Next Symbol Highlight',
|
|
712
712
|
precondition: ctxHasWordHighlights,
|
|
713
713
|
kbOpts: {
|
|
@@ -722,7 +722,7 @@ class PrevWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
722
722
|
constructor() {
|
|
723
723
|
super(false, {
|
|
724
724
|
id: 'editor.action.wordHighlight.prev',
|
|
725
|
-
label: ( localize(
|
|
725
|
+
label: ( localize(1457, "Go to Previous Symbol Highlight")),
|
|
726
726
|
alias: 'Go to Previous Symbol Highlight',
|
|
727
727
|
precondition: ctxHasWordHighlights,
|
|
728
728
|
kbOpts: {
|
|
@@ -737,7 +737,7 @@ class TriggerWordHighlightAction extends EditorAction {
|
|
|
737
737
|
constructor() {
|
|
738
738
|
super({
|
|
739
739
|
id: 'editor.action.wordHighlight.trigger',
|
|
740
|
-
label: ( localize(
|
|
740
|
+
label: ( localize(1458, "Trigger Symbol Highlight")),
|
|
741
741
|
alias: 'Trigger Symbol Highlight',
|
|
742
742
|
precondition: undefined,
|
|
743
743
|
kbOpts: {
|
|
@@ -415,7 +415,7 @@ class DeleteInsideWord extends EditorAction {
|
|
|
415
415
|
super({
|
|
416
416
|
id: 'deleteInsideWord',
|
|
417
417
|
precondition: EditorContextKeys.writable,
|
|
418
|
-
label: ( localize(
|
|
418
|
+
label: ( localize(1459, "Delete Word")),
|
|
419
419
|
alias: 'Delete Word'
|
|
420
420
|
});
|
|
421
421
|
}
|
|
@@ -22,9 +22,9 @@ import '../../theme/common/colors/minimapColors.js';
|
|
|
22
22
|
import '../../theme/common/colors/miscColors.js';
|
|
23
23
|
import '../../theme/common/colors/quickpickColors.js';
|
|
24
24
|
import '../../theme/common/colors/searchColors.js';
|
|
25
|
-
registerColor('actionBar.toggledBackground', inputActiveOptionBackground, ( localize(
|
|
25
|
+
registerColor('actionBar.toggledBackground', inputActiveOptionBackground, ( localize(9969, 'Background color for toggled action items in action bar.')));
|
|
26
26
|
const ActionWidgetContextKeys = {
|
|
27
|
-
Visible: ( (new RawContextKey('codeActionMenuVisible', false, ( localize(
|
|
27
|
+
Visible: ( (new RawContextKey('codeActionMenuVisible', false, ( localize(9970, "Whether the action widget list is visible")))))
|
|
28
28
|
};
|
|
29
29
|
const IActionWidgetService = ( (createDecorator('actionWidgetService')));
|
|
30
30
|
let ActionWidgetService = class ActionWidgetService extends Disposable {
|
|
@@ -129,7 +129,7 @@ registerAction2(class extends Action2 {
|
|
|
129
129
|
constructor() {
|
|
130
130
|
super({
|
|
131
131
|
id: 'hideCodeActionWidget',
|
|
132
|
-
title: ( localize2(
|
|
132
|
+
title: ( localize2(9971, "Hide action widget")),
|
|
133
133
|
precondition: ActionWidgetContextKeys.Visible,
|
|
134
134
|
keybinding: {
|
|
135
135
|
weight,
|
|
@@ -146,7 +146,7 @@ registerAction2(class extends Action2 {
|
|
|
146
146
|
constructor() {
|
|
147
147
|
super({
|
|
148
148
|
id: 'selectPrevCodeAction',
|
|
149
|
-
title: ( localize2(
|
|
149
|
+
title: ( localize2(9972, "Select previous action")),
|
|
150
150
|
precondition: ActionWidgetContextKeys.Visible,
|
|
151
151
|
keybinding: {
|
|
152
152
|
weight,
|
|
@@ -167,7 +167,7 @@ registerAction2(class extends Action2 {
|
|
|
167
167
|
constructor() {
|
|
168
168
|
super({
|
|
169
169
|
id: 'selectNextCodeAction',
|
|
170
|
-
title: ( localize2(
|
|
170
|
+
title: ( localize2(9973, "Select next action")),
|
|
171
171
|
precondition: ActionWidgetContextKeys.Visible,
|
|
172
172
|
keybinding: {
|
|
173
173
|
weight,
|
|
@@ -188,7 +188,7 @@ registerAction2(class extends Action2 {
|
|
|
188
188
|
constructor() {
|
|
189
189
|
super({
|
|
190
190
|
id: acceptSelectedActionCommand,
|
|
191
|
-
title: ( localize2(
|
|
191
|
+
title: ( localize2(9974, "Accept selected action")),
|
|
192
192
|
precondition: ActionWidgetContextKeys.Visible,
|
|
193
193
|
keybinding: {
|
|
194
194
|
weight,
|
|
@@ -208,7 +208,7 @@ registerAction2(class extends Action2 {
|
|
|
208
208
|
constructor() {
|
|
209
209
|
super({
|
|
210
210
|
id: previewSelectedActionCommand,
|
|
211
|
-
title: ( localize2(
|
|
211
|
+
title: ( localize2(9975, "Preview selected action")),
|
|
212
212
|
precondition: ActionWidgetContextKeys.Visible,
|
|
213
213
|
keybinding: {
|
|
214
214
|
weight,
|
|
@@ -87,7 +87,7 @@ let WorkbenchButtonBar = class WorkbenchButtonBar extends ButtonBar {
|
|
|
87
87
|
const kb = this._keybindingService.lookupKeybinding(action.id);
|
|
88
88
|
let tooltip;
|
|
89
89
|
if (kb) {
|
|
90
|
-
tooltip = ( localize(
|
|
90
|
+
tooltip = ( localize(11470, "{0} ({1})", action.label, kb.getLabel()));
|
|
91
91
|
}
|
|
92
92
|
else {
|
|
93
93
|
tooltip = action.label;
|
|
@@ -100,12 +100,12 @@ let WorkbenchButtonBar = class WorkbenchButtonBar extends ButtonBar {
|
|
|
100
100
|
if (secondary.length > 0) {
|
|
101
101
|
const btn = this.addButton({
|
|
102
102
|
secondary: true,
|
|
103
|
-
ariaLabel: ( localize(
|
|
103
|
+
ariaLabel: ( localize(11471, "More Actions"))
|
|
104
104
|
});
|
|
105
105
|
btn.icon = Codicon.dropDownButton;
|
|
106
106
|
btn.element.classList.add('default-colors', 'monaco-text-button');
|
|
107
107
|
btn.enabled = true;
|
|
108
|
-
this._updateStore.add(this._hoverService.setupManagedHover(hoverDelegate, btn.element, ( localize(
|
|
108
|
+
this._updateStore.add(this._hoverService.setupManagedHover(hoverDelegate, btn.element, ( localize(11471, "More Actions"))));
|
|
109
109
|
this._updateStore.add(btn.onDidClick(async () => {
|
|
110
110
|
this._contextMenuService.showContextMenu({
|
|
111
111
|
getAnchor: () => btn.element,
|
|
@@ -193,17 +193,17 @@ let MenuEntryActionViewItem = class MenuEntryActionViewItem extends ActionViewIt
|
|
|
193
193
|
const keybindingLabel = keybinding && keybinding.getLabel();
|
|
194
194
|
const tooltip = this._commandAction.tooltip || this._commandAction.label;
|
|
195
195
|
let title = keybindingLabel
|
|
196
|
-
? ( localize(
|
|
196
|
+
? ( localize(5228, "{0} ({1})", tooltip, keybindingLabel))
|
|
197
197
|
: tooltip;
|
|
198
198
|
if (!this._wantsAltCommand && this._menuItemAction.alt?.enabled) {
|
|
199
199
|
const altTooltip = this._menuItemAction.alt.tooltip || this._menuItemAction.alt.label;
|
|
200
200
|
const altKeybinding = this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id, this._contextKeyService);
|
|
201
201
|
const altKeybindingLabel = altKeybinding && altKeybinding.getLabel();
|
|
202
202
|
const altTitleSection = altKeybindingLabel
|
|
203
|
-
? ( localize(
|
|
203
|
+
? ( localize(5228, "{0} ({1})", altTooltip, altKeybindingLabel))
|
|
204
204
|
: altTooltip;
|
|
205
205
|
title = ( localize(
|
|
206
|
-
|
|
206
|
+
5229,
|
|
207
207
|
"{0}\n[{1}] {2}",
|
|
208
208
|
title,
|
|
209
209
|
UILabelProvider.modifierLabels[OS].altKey,
|
|
@@ -279,10 +279,10 @@ class TextOnlyMenuEntryActionViewItem extends MenuEntryActionViewItem {
|
|
|
279
279
|
if (this.label) {
|
|
280
280
|
const kb2 = TextOnlyMenuEntryActionViewItem._symbolPrintEnter(kb);
|
|
281
281
|
if (this._options?.conversational) {
|
|
282
|
-
this.label.textContent = ( localize(
|
|
282
|
+
this.label.textContent = ( localize(5230, '{1} to {0}', this._action.label, kb2));
|
|
283
283
|
}
|
|
284
284
|
else {
|
|
285
|
-
this.label.textContent = ( localize(
|
|
285
|
+
this.label.textContent = ( localize(5231, '{0} ({1})', this._action.label, kb2));
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
}
|