@codingame/monaco-vscode-api 15.0.0 → 15.0.2
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/missing-services.js +53 -4
- package/package.json +8 -8
- package/services.js +5 -5
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +2 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +125 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +2 -3
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.js +2 -3
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +2 -3
- package/vscode/src/vs/editor/common/services/semanticTokensStylingService.js +2 -3
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.d.ts +15 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +93 -0
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +2 -3
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +4 -4
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.d.ts +45 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +215 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.service.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +178 -0
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- 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 +24 -24
- 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/inlayHintsController.js +1 -2
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.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/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/indicatorView.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +18 -18
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- 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.d.ts +6 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +21 -22
- 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/suggestMemory.d.ts +67 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.js +232 -0
- 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/suggest/browser/wordContextKey.js +1 -1
- 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/editor/standalone/browser/standaloneServices.js +12 -8
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +54 -54
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +255 -13
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +26 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +230 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- 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/configuration/common/configurationRegistry.js +10 -10
- 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/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- 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 +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/request/common/request.js +18 -18
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +94 -94
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- 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/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +22 -23
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- 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/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/editorOptions.d.ts +3 -0
- package/vscode/src/vs/workbench/common/editor/editorOptions.js +52 -0
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +160 -160
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +141 -141
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- 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/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.d.ts +13 -0
- package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +87 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +83 -83
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -12
|
@@ -14,11 +14,11 @@ import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
|
14
14
|
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
15
15
|
|
|
16
16
|
registerColor('symbolIcon.arrayForeground', foreground, ( localize(
|
|
17
|
-
|
|
17
|
+
1511,
|
|
18
18
|
'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
19
19
|
)));
|
|
20
20
|
registerColor('symbolIcon.booleanForeground', foreground, ( localize(
|
|
21
|
-
|
|
21
|
+
1512,
|
|
22
22
|
'The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
23
23
|
)));
|
|
24
24
|
registerColor('symbolIcon.classForeground', {
|
|
@@ -27,15 +27,15 @@ registerColor('symbolIcon.classForeground', {
|
|
|
27
27
|
hcDark: '#EE9D28',
|
|
28
28
|
hcLight: '#D67E00'
|
|
29
29
|
}, ( localize(
|
|
30
|
-
|
|
30
|
+
1513,
|
|
31
31
|
'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
32
32
|
)));
|
|
33
33
|
registerColor('symbolIcon.colorForeground', foreground, ( localize(
|
|
34
|
-
|
|
34
|
+
1514,
|
|
35
35
|
'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
36
36
|
)));
|
|
37
37
|
registerColor('symbolIcon.constantForeground', foreground, ( localize(
|
|
38
|
-
|
|
38
|
+
1515,
|
|
39
39
|
'The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
40
40
|
)));
|
|
41
41
|
registerColor('symbolIcon.constructorForeground', {
|
|
@@ -44,7 +44,7 @@ registerColor('symbolIcon.constructorForeground', {
|
|
|
44
44
|
hcDark: '#B180D7',
|
|
45
45
|
hcLight: '#652D90'
|
|
46
46
|
}, ( localize(
|
|
47
|
-
|
|
47
|
+
1516,
|
|
48
48
|
'The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
49
49
|
)));
|
|
50
50
|
const SYMBOL_ICON_ENUMERATOR_FOREGROUND = registerColor('symbolIcon.enumeratorForeground', {
|
|
@@ -53,7 +53,7 @@ const SYMBOL_ICON_ENUMERATOR_FOREGROUND = registerColor('symbolIcon.enumeratorFo
|
|
|
53
53
|
hcDark: '#EE9D28',
|
|
54
54
|
hcLight: '#D67E00'
|
|
55
55
|
}, ( localize(
|
|
56
|
-
|
|
56
|
+
1517,
|
|
57
57
|
'The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
58
58
|
)));
|
|
59
59
|
registerColor('symbolIcon.enumeratorMemberForeground', {
|
|
@@ -62,7 +62,7 @@ registerColor('symbolIcon.enumeratorMemberForeground', {
|
|
|
62
62
|
hcDark: '#75BEFF',
|
|
63
63
|
hcLight: '#007ACC'
|
|
64
64
|
}, ( localize(
|
|
65
|
-
|
|
65
|
+
1518,
|
|
66
66
|
'The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
67
67
|
)));
|
|
68
68
|
registerColor('symbolIcon.eventForeground', {
|
|
@@ -71,7 +71,7 @@ registerColor('symbolIcon.eventForeground', {
|
|
|
71
71
|
hcDark: '#EE9D28',
|
|
72
72
|
hcLight: '#D67E00'
|
|
73
73
|
}, ( localize(
|
|
74
|
-
|
|
74
|
+
1519,
|
|
75
75
|
'The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
76
76
|
)));
|
|
77
77
|
registerColor('symbolIcon.fieldForeground', {
|
|
@@ -80,15 +80,15 @@ registerColor('symbolIcon.fieldForeground', {
|
|
|
80
80
|
hcDark: '#75BEFF',
|
|
81
81
|
hcLight: '#007ACC'
|
|
82
82
|
}, ( localize(
|
|
83
|
-
|
|
83
|
+
1520,
|
|
84
84
|
'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
85
85
|
)));
|
|
86
86
|
registerColor('symbolIcon.fileForeground', foreground, ( localize(
|
|
87
|
-
|
|
87
|
+
1521,
|
|
88
88
|
'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
89
89
|
)));
|
|
90
90
|
registerColor('symbolIcon.folderForeground', foreground, ( localize(
|
|
91
|
-
|
|
91
|
+
1522,
|
|
92
92
|
'The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
93
93
|
)));
|
|
94
94
|
registerColor('symbolIcon.functionForeground', {
|
|
@@ -97,7 +97,7 @@ registerColor('symbolIcon.functionForeground', {
|
|
|
97
97
|
hcDark: '#B180D7',
|
|
98
98
|
hcLight: '#652D90'
|
|
99
99
|
}, ( localize(
|
|
100
|
-
|
|
100
|
+
1523,
|
|
101
101
|
'The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
102
102
|
)));
|
|
103
103
|
registerColor('symbolIcon.interfaceForeground', {
|
|
@@ -106,15 +106,15 @@ registerColor('symbolIcon.interfaceForeground', {
|
|
|
106
106
|
hcDark: '#75BEFF',
|
|
107
107
|
hcLight: '#007ACC'
|
|
108
108
|
}, ( localize(
|
|
109
|
-
|
|
109
|
+
1524,
|
|
110
110
|
'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
111
111
|
)));
|
|
112
112
|
registerColor('symbolIcon.keyForeground', foreground, ( localize(
|
|
113
|
-
|
|
113
|
+
1525,
|
|
114
114
|
'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
115
115
|
)));
|
|
116
116
|
registerColor('symbolIcon.keywordForeground', foreground, ( localize(
|
|
117
|
-
|
|
117
|
+
1526,
|
|
118
118
|
'The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
119
119
|
)));
|
|
120
120
|
const SYMBOL_ICON_METHOD_FOREGROUND = registerColor('symbolIcon.methodForeground', {
|
|
@@ -123,67 +123,67 @@ const SYMBOL_ICON_METHOD_FOREGROUND = registerColor('symbolIcon.methodForeground
|
|
|
123
123
|
hcDark: '#B180D7',
|
|
124
124
|
hcLight: '#652D90'
|
|
125
125
|
}, ( localize(
|
|
126
|
-
|
|
126
|
+
1527,
|
|
127
127
|
'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
128
128
|
)));
|
|
129
129
|
registerColor('symbolIcon.moduleForeground', foreground, ( localize(
|
|
130
|
-
|
|
130
|
+
1528,
|
|
131
131
|
'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
132
132
|
)));
|
|
133
133
|
registerColor('symbolIcon.namespaceForeground', foreground, ( localize(
|
|
134
|
-
|
|
134
|
+
1529,
|
|
135
135
|
'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
136
136
|
)));
|
|
137
137
|
registerColor('symbolIcon.nullForeground', foreground, ( localize(
|
|
138
|
-
|
|
138
|
+
1530,
|
|
139
139
|
'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
140
140
|
)));
|
|
141
141
|
registerColor('symbolIcon.numberForeground', foreground, ( localize(
|
|
142
|
-
|
|
142
|
+
1531,
|
|
143
143
|
'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
144
144
|
)));
|
|
145
145
|
registerColor('symbolIcon.objectForeground', foreground, ( localize(
|
|
146
|
-
|
|
146
|
+
1532,
|
|
147
147
|
'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
148
148
|
)));
|
|
149
149
|
registerColor('symbolIcon.operatorForeground', foreground, ( localize(
|
|
150
|
-
|
|
150
|
+
1533,
|
|
151
151
|
'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
152
152
|
)));
|
|
153
153
|
registerColor('symbolIcon.packageForeground', foreground, ( localize(
|
|
154
|
-
|
|
154
|
+
1534,
|
|
155
155
|
'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
156
156
|
)));
|
|
157
157
|
registerColor('symbolIcon.propertyForeground', foreground, ( localize(
|
|
158
|
-
|
|
158
|
+
1535,
|
|
159
159
|
'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
160
160
|
)));
|
|
161
161
|
registerColor('symbolIcon.referenceForeground', foreground, ( localize(
|
|
162
|
-
|
|
162
|
+
1536,
|
|
163
163
|
'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
164
164
|
)));
|
|
165
165
|
registerColor('symbolIcon.snippetForeground', foreground, ( localize(
|
|
166
|
-
|
|
166
|
+
1537,
|
|
167
167
|
'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
168
168
|
)));
|
|
169
169
|
registerColor('symbolIcon.stringForeground', foreground, ( localize(
|
|
170
|
-
|
|
170
|
+
1538,
|
|
171
171
|
'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
172
172
|
)));
|
|
173
173
|
registerColor('symbolIcon.structForeground', foreground, ( localize(
|
|
174
|
-
|
|
174
|
+
1539,
|
|
175
175
|
'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
176
176
|
)));
|
|
177
177
|
registerColor('symbolIcon.textForeground', foreground, ( localize(
|
|
178
|
-
|
|
178
|
+
1540,
|
|
179
179
|
'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
180
180
|
)));
|
|
181
181
|
registerColor('symbolIcon.typeParameterForeground', foreground, ( localize(
|
|
182
|
-
|
|
182
|
+
1541,
|
|
183
183
|
'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
184
184
|
)));
|
|
185
185
|
registerColor('symbolIcon.unitForeground', foreground, ( localize(
|
|
186
|
-
|
|
186
|
+
1542,
|
|
187
187
|
'The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
188
188
|
)));
|
|
189
189
|
registerColor('symbolIcon.variableForeground', {
|
|
@@ -192,7 +192,7 @@ registerColor('symbolIcon.variableForeground', {
|
|
|
192
192
|
hcDark: '#75BEFF',
|
|
193
193
|
hcLight: '#007ACC',
|
|
194
194
|
}, ( localize(
|
|
195
|
-
|
|
195
|
+
1543,
|
|
196
196
|
'The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
197
197
|
)));
|
|
198
198
|
|
|
@@ -11,7 +11,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
super({
|
|
13
13
|
id: ToggleTabFocusModeAction.ID,
|
|
14
|
-
title: ( localize2(
|
|
14
|
+
title: ( localize2(1544, 'Toggle Tab Key Moves Focus')),
|
|
15
15
|
precondition: undefined,
|
|
16
16
|
keybinding: {
|
|
17
17
|
primary: KeyMod$1.CtrlCmd | KeyCode.KeyM,
|
|
@@ -20,7 +20,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
20
20
|
},
|
|
21
21
|
metadata: {
|
|
22
22
|
description: ( localize2(
|
|
23
|
-
|
|
23
|
+
1545,
|
|
24
24
|
"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."
|
|
25
25
|
)),
|
|
26
26
|
},
|
|
@@ -32,10 +32,10 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
32
32
|
const newValue = !oldValue;
|
|
33
33
|
TabFocus.setTabFocusMode(newValue);
|
|
34
34
|
if (newValue) {
|
|
35
|
-
alert(( localize(
|
|
35
|
+
alert(( localize(1546, "Pressing Tab will now move focus to the next focusable element")));
|
|
36
36
|
}
|
|
37
37
|
else {
|
|
38
|
-
alert(( localize(
|
|
38
|
+
alert(( localize(1547, "Pressing Tab will now insert the tab character")));
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -7,7 +7,7 @@ class ForceRetokenizeAction extends EditorAction {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super({
|
|
9
9
|
id: 'editor.action.forceRetokenize',
|
|
10
|
-
label: ( localize2(
|
|
10
|
+
label: ( localize2(1548, "Developer: Force Retokenize")),
|
|
11
11
|
precondition: undefined
|
|
12
12
|
});
|
|
13
13
|
}
|
|
@@ -28,7 +28,7 @@ import { IQuickInputService } from '../../../../platform/quickinput/common/quick
|
|
|
28
28
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
29
29
|
import { IWorkspaceTrustManagementService } from '../../../../platform/workspace/common/workspaceTrust.service.js';
|
|
30
30
|
|
|
31
|
-
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(
|
|
31
|
+
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(1549, 'Icon shown with a warning message in the extensions editor.')));
|
|
32
32
|
let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
33
33
|
static { this.ID = 'editor.contrib.unicodeHighlighter'; }
|
|
34
34
|
constructor(_editor, _editorWorkerService, _workspaceTrustService, instantiationService) {
|
|
@@ -47,19 +47,19 @@ let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
|
47
47
|
let data;
|
|
48
48
|
if (state.nonBasicAsciiCharacterCount >= max) {
|
|
49
49
|
data = {
|
|
50
|
-
message: ( localize(
|
|
50
|
+
message: ( localize(1550, 'This document contains many non-basic ASCII unicode characters')),
|
|
51
51
|
command: ( new DisableHighlightingOfNonBasicAsciiCharactersAction()),
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
else if (state.ambiguousCharacterCount >= max) {
|
|
55
55
|
data = {
|
|
56
|
-
message: ( localize(
|
|
56
|
+
message: ( localize(1551, 'This document contains many ambiguous unicode characters')),
|
|
57
57
|
command: ( new DisableHighlightingOfAmbiguousCharactersAction()),
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
else if (state.invisibleCharacterCount >= max) {
|
|
61
61
|
data = {
|
|
62
|
-
message: ( localize(
|
|
62
|
+
message: ( localize(1552, 'This document contains many invisible unicode characters')),
|
|
63
63
|
command: ( new DisableHighlightingOfInvisibleCharactersAction()),
|
|
64
64
|
};
|
|
65
65
|
}
|
|
@@ -326,7 +326,7 @@ class ViewportUnicodeHighlighter extends Disposable {
|
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
const configureUnicodeHighlightOptionsStr = ( localize(
|
|
329
|
+
const configureUnicodeHighlightOptionsStr = ( localize(1553, 'Configure Unicode Highlight Options'));
|
|
330
330
|
let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipant {
|
|
331
331
|
constructor(_editor, _languageService, _openerService) {
|
|
332
332
|
this._editor = _editor;
|
|
@@ -359,7 +359,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
359
359
|
case UnicodeHighlighterReasonKind.Ambiguous: {
|
|
360
360
|
if (isBasicASCII(highlightInfo.reason.confusableWith)) {
|
|
361
361
|
reason = ( localize(
|
|
362
|
-
|
|
362
|
+
1554,
|
|
363
363
|
'The character {0} could be confused with the ASCII character {1}, which is more common in source code.',
|
|
364
364
|
codePointStr,
|
|
365
365
|
formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0))
|
|
@@ -367,7 +367,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
367
367
|
}
|
|
368
368
|
else {
|
|
369
369
|
reason = ( localize(
|
|
370
|
-
|
|
370
|
+
1555,
|
|
371
371
|
'The character {0} could be confused with the character {1}, which is more common in source code.',
|
|
372
372
|
codePointStr,
|
|
373
373
|
formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0))
|
|
@@ -376,10 +376,10 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
376
376
|
break;
|
|
377
377
|
}
|
|
378
378
|
case UnicodeHighlighterReasonKind.Invisible:
|
|
379
|
-
reason = ( localize(
|
|
379
|
+
reason = ( localize(1556, 'The character {0} is invisible.', codePointStr));
|
|
380
380
|
break;
|
|
381
381
|
case UnicodeHighlighterReasonKind.NonBasicAscii:
|
|
382
|
-
reason = ( localize(
|
|
382
|
+
reason = ( localize(1557, 'The character {0} is not a basic ASCII character.', codePointStr));
|
|
383
383
|
break;
|
|
384
384
|
}
|
|
385
385
|
if (( existedReason.has(reason))) {
|
|
@@ -392,7 +392,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
392
392
|
inComment: highlightInfo.inComment,
|
|
393
393
|
inString: highlightInfo.inString,
|
|
394
394
|
};
|
|
395
|
-
const adjustSettings = ( localize(
|
|
395
|
+
const adjustSettings = ( localize(1558, 'Adjust settings'));
|
|
396
396
|
const uri = `command:${ShowExcludeOptions.ID}?${encodeURIComponent(JSON.stringify(adjustSettingsArgs))}`;
|
|
397
397
|
const markdown = ( new MarkdownString('', true))
|
|
398
398
|
.appendMarkdown(reason)
|
|
@@ -464,10 +464,10 @@ class DisableHighlightingInCommentsAction extends EditorAction {
|
|
|
464
464
|
constructor() {
|
|
465
465
|
super({
|
|
466
466
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
467
|
-
label: ( localize2(
|
|
467
|
+
label: ( localize2(1559, "Disable highlighting of characters in comments")),
|
|
468
468
|
precondition: undefined
|
|
469
469
|
});
|
|
470
|
-
this.shortLabel = ( localize(
|
|
470
|
+
this.shortLabel = ( localize(1560, 'Disable Highlight In Comments'));
|
|
471
471
|
}
|
|
472
472
|
async run(accessor, editor, args) {
|
|
473
473
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -484,10 +484,10 @@ class DisableHighlightingInStringsAction extends EditorAction {
|
|
|
484
484
|
constructor() {
|
|
485
485
|
super({
|
|
486
486
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
487
|
-
label: ( localize2(
|
|
487
|
+
label: ( localize2(1561, "Disable highlighting of characters in strings")),
|
|
488
488
|
precondition: undefined
|
|
489
489
|
});
|
|
490
|
-
this.shortLabel = ( localize(
|
|
490
|
+
this.shortLabel = ( localize(1562, 'Disable Highlight In Strings'));
|
|
491
491
|
}
|
|
492
492
|
async run(accessor, editor, args) {
|
|
493
493
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -504,10 +504,10 @@ class DisableHighlightingOfAmbiguousCharactersAction extends EditorAction {
|
|
|
504
504
|
constructor() {
|
|
505
505
|
super({
|
|
506
506
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
507
|
-
label: ( localize2(
|
|
507
|
+
label: ( localize2(1563, "Disable highlighting of ambiguous characters")),
|
|
508
508
|
precondition: undefined
|
|
509
509
|
});
|
|
510
|
-
this.shortLabel = ( localize(
|
|
510
|
+
this.shortLabel = ( localize(1564, 'Disable Ambiguous Highlight'));
|
|
511
511
|
}
|
|
512
512
|
async run(accessor, editor, args) {
|
|
513
513
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -524,10 +524,10 @@ class DisableHighlightingOfInvisibleCharactersAction extends EditorAction {
|
|
|
524
524
|
constructor() {
|
|
525
525
|
super({
|
|
526
526
|
id: DisableHighlightingOfInvisibleCharactersAction.ID,
|
|
527
|
-
label: ( localize2(
|
|
527
|
+
label: ( localize2(1565, "Disable highlighting of invisible characters")),
|
|
528
528
|
precondition: undefined
|
|
529
529
|
});
|
|
530
|
-
this.shortLabel = ( localize(
|
|
530
|
+
this.shortLabel = ( localize(1566, 'Disable Invisible Highlight'));
|
|
531
531
|
}
|
|
532
532
|
async run(accessor, editor, args) {
|
|
533
533
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -544,10 +544,10 @@ class DisableHighlightingOfNonBasicAsciiCharactersAction extends EditorAction {
|
|
|
544
544
|
constructor() {
|
|
545
545
|
super({
|
|
546
546
|
id: DisableHighlightingOfNonBasicAsciiCharactersAction.ID,
|
|
547
|
-
label: ( localize2(
|
|
547
|
+
label: ( localize2(1567, "Disable highlighting of non basic ASCII characters")),
|
|
548
548
|
precondition: undefined
|
|
549
549
|
});
|
|
550
|
-
this.shortLabel = ( localize(
|
|
550
|
+
this.shortLabel = ( localize(1568, '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: ( localize2(
|
|
567
|
+
label: ( localize2(1569, "Show Exclude Options")),
|
|
568
568
|
precondition: undefined
|
|
569
569
|
});
|
|
570
570
|
}
|
|
@@ -576,13 +576,13 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
576
576
|
function getExcludeCharFromBeingHighlightedLabel(codePoint) {
|
|
577
577
|
if (InvisibleCharacters.isInvisibleCharacter(codePoint)) {
|
|
578
578
|
return localize(
|
|
579
|
-
|
|
579
|
+
1570,
|
|
580
580
|
'Exclude {0} (invisible character) from being highlighted',
|
|
581
581
|
codePointToHex(codePoint)
|
|
582
582
|
);
|
|
583
583
|
}
|
|
584
584
|
return localize(
|
|
585
|
-
|
|
585
|
+
1571,
|
|
586
586
|
'Exclude {0} from being highlighted',
|
|
587
587
|
`${codePointToHex(codePoint)} "${char}"`
|
|
588
588
|
);
|
|
@@ -592,7 +592,7 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
592
592
|
for (const locale of reason.notAmbiguousInLocales) {
|
|
593
593
|
options.push({
|
|
594
594
|
label: ( localize(
|
|
595
|
-
|
|
595
|
+
1572,
|
|
596
596
|
"Allow unicode characters that are more common in the language \"{0}\".",
|
|
597
597
|
locale
|
|
598
598
|
)),
|
package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js
CHANGED
|
@@ -70,15 +70,15 @@ let UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extend
|
|
|
70
70
|
try {
|
|
71
71
|
this._isPresentingDialog = true;
|
|
72
72
|
result = await this._dialogService.confirm({
|
|
73
|
-
title: ( localize(
|
|
74
|
-
message: ( localize(
|
|
73
|
+
title: ( localize(1573, "Unusual Line Terminators")),
|
|
74
|
+
message: ( localize(1574, "Detected unusual line terminators")),
|
|
75
75
|
detail: ( localize(
|
|
76
|
-
|
|
76
|
+
1575,
|
|
77
77
|
"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`.",
|
|
78
78
|
basename(model.uri)
|
|
79
79
|
)),
|
|
80
|
-
primaryButton: ( localize(
|
|
81
|
-
cancelButton: ( localize(
|
|
80
|
+
primaryButton: ( localize(1576, "&&Remove Unusual Line Terminators")),
|
|
81
|
+
cancelButton: ( localize(1577, "Ignore"))
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
finally {
|
|
@@ -18,36 +18,36 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
18
18
|
import { themeColorFromId, registerThemingParticipant } from '../../../../platform/theme/common/themeService.js';
|
|
19
19
|
|
|
20
20
|
const wordHighlightBackground = registerColor('editor.wordHighlightBackground', { dark: '#575757B8', light: '#57575740', hcDark: null, hcLight: null }, ( localize(
|
|
21
|
-
|
|
21
|
+
1578,
|
|
22
22
|
'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.'
|
|
23
23
|
)), true);
|
|
24
24
|
registerColor('editor.wordHighlightStrongBackground', { dark: '#004972B8', light: '#0e639c40', hcDark: null, hcLight: null }, ( localize(
|
|
25
|
-
|
|
25
|
+
1579,
|
|
26
26
|
'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.'
|
|
27
27
|
)), true);
|
|
28
28
|
registerColor('editor.wordHighlightTextBackground', wordHighlightBackground, ( localize(
|
|
29
|
-
|
|
29
|
+
1580,
|
|
30
30
|
'Background color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'
|
|
31
31
|
)), true);
|
|
32
32
|
const wordHighlightBorder = registerColor('editor.wordHighlightBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
33
|
-
|
|
33
|
+
1581,
|
|
34
34
|
'Border color of a symbol during read-access, like reading a variable.'
|
|
35
35
|
)));
|
|
36
36
|
registerColor('editor.wordHighlightStrongBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
37
|
-
|
|
37
|
+
1582,
|
|
38
38
|
'Border color of a symbol during write-access, like writing to a variable.'
|
|
39
39
|
)));
|
|
40
|
-
registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, ( localize(
|
|
40
|
+
registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, ( localize(1583, "Border color of a textual occurrence for a symbol.")));
|
|
41
41
|
const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', '#A0A0A0CC', ( localize(
|
|
42
|
-
|
|
42
|
+
1584,
|
|
43
43
|
'Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations.'
|
|
44
44
|
)), true);
|
|
45
45
|
const overviewRulerWordHighlightStrongForeground = registerColor('editorOverviewRuler.wordHighlightStrongForeground', '#C0A0C0CC', ( localize(
|
|
46
|
-
|
|
46
|
+
1585,
|
|
47
47
|
'Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations.'
|
|
48
48
|
)), true);
|
|
49
49
|
const overviewRulerWordHighlightTextForeground = registerColor('editorOverviewRuler.wordHighlightTextForeground', overviewRulerSelectionHighlightForeground, ( localize(
|
|
50
|
-
|
|
50
|
+
1586,
|
|
51
51
|
'Overview ruler marker color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'
|
|
52
52
|
)), true);
|
|
53
53
|
const _WRITE_OPTIONS = ModelDecorationOptions.register({
|
|
@@ -715,7 +715,7 @@ class NextWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
715
715
|
constructor() {
|
|
716
716
|
super(true, {
|
|
717
717
|
id: 'editor.action.wordHighlight.next',
|
|
718
|
-
label: ( localize2(
|
|
718
|
+
label: ( localize2(1587, "Go to Next Symbol Highlight")),
|
|
719
719
|
precondition: ctxHasWordHighlights,
|
|
720
720
|
kbOpts: {
|
|
721
721
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -729,7 +729,7 @@ class PrevWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
729
729
|
constructor() {
|
|
730
730
|
super(false, {
|
|
731
731
|
id: 'editor.action.wordHighlight.prev',
|
|
732
|
-
label: ( localize2(
|
|
732
|
+
label: ( localize2(1588, "Go to Previous Symbol Highlight")),
|
|
733
733
|
precondition: ctxHasWordHighlights,
|
|
734
734
|
kbOpts: {
|
|
735
735
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -743,7 +743,7 @@ class TriggerWordHighlightAction extends EditorAction {
|
|
|
743
743
|
constructor() {
|
|
744
744
|
super({
|
|
745
745
|
id: 'editor.action.wordHighlight.trigger',
|
|
746
|
-
label: ( localize2(
|
|
746
|
+
label: ( localize2(1589, "Trigger Symbol Highlight")),
|
|
747
747
|
precondition: undefined,
|
|
748
748
|
kbOpts: {
|
|
749
749
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -399,7 +399,7 @@ class DeleteInsideWord extends EditorAction {
|
|
|
399
399
|
super({
|
|
400
400
|
id: 'deleteInsideWord',
|
|
401
401
|
precondition: EditorContextKeys.writable,
|
|
402
|
-
label: ( localize2(
|
|
402
|
+
label: ( localize2(1590, "Delete Word")),
|
|
403
403
|
});
|
|
404
404
|
}
|
|
405
405
|
run(accessor, editor, args) {
|
|
@@ -5,15 +5,22 @@ import './standaloneLayoutService.js';
|
|
|
5
5
|
import '../../../platform/undoRedo/common/undoRedoService.js';
|
|
6
6
|
import '../../common/services/languageFeatureDebounce.js';
|
|
7
7
|
import '../../common/services/semanticTokensStylingService.js';
|
|
8
|
-
import '
|
|
9
|
-
import '
|
|
8
|
+
import { Emitter, Event, ValueWithChangeEvent } from '../../../base/common/event.js';
|
|
9
|
+
import { ImmortalReference, Disposable, DisposableStore, combinedDisposable, toDisposable } from '../../../base/common/lifecycle.js';
|
|
10
|
+
import '../../common/model.js';
|
|
11
|
+
import '../../../base/common/arrays.js';
|
|
12
|
+
import '../../../base/common/async.js';
|
|
13
|
+
import '../../../base/common/charCode.js';
|
|
14
|
+
import '../../../base/common/path.js';
|
|
15
|
+
import { OS, isLinux, isMacintosh } from '../../../base/common/platform.js';
|
|
10
16
|
import { format } from '../../../base/common/strings.js';
|
|
17
|
+
import { ResourceMap } from '../../../base/common/map.js';
|
|
18
|
+
import { ILanguageFeaturesService } from '../../common/services/languageFeatures.service.js';
|
|
19
|
+
import { registerSingleton, InstantiationType, getSingletonServiceDescriptors } from '../../../platform/instantiation/common/extensions.js';
|
|
20
|
+
import '../../browser/services/hoverService/hoverService.js';
|
|
11
21
|
import { addDisposableListener, EventType } from '../../../base/browser/dom.js';
|
|
12
22
|
import { StandardKeyboardEvent } from '../../../base/browser/keyboardEvent.js';
|
|
13
|
-
import { Emitter, Event, ValueWithChangeEvent } from '../../../base/common/event.js';
|
|
14
23
|
import { decodeKeybinding, KeyCodeChord } from '../../../base/common/keybindings.js';
|
|
15
|
-
import { ImmortalReference, Disposable, DisposableStore, combinedDisposable, toDisposable } from '../../../base/common/lifecycle.js';
|
|
16
|
-
import { OS, isLinux, isMacintosh } from '../../../base/common/platform.js';
|
|
17
24
|
import Severity$1 from '../../../base/common/severity.js';
|
|
18
25
|
import { URI } from '../../../base/common/uri.js';
|
|
19
26
|
import { ResourceEdit, ResourceTextEdit } from '../../browser/services/bulkEditService.js';
|
|
@@ -59,7 +66,6 @@ import { IContextViewService, IContextMenuService } from '../../../platform/cont
|
|
|
59
66
|
import { ContextViewService } from '../../../platform/contextview/browser/contextViewService.js';
|
|
60
67
|
import { LanguageService } from '../../common/services/languageService.js';
|
|
61
68
|
import { ContextMenuService } from '../../../platform/contextview/browser/contextMenuService.js';
|
|
62
|
-
import { registerSingleton, InstantiationType, getSingletonServiceDescriptors } from '../../../platform/instantiation/common/extensions.js';
|
|
63
69
|
import { OpenerService } from '../../browser/services/openerService.js';
|
|
64
70
|
import { IEditorWorkerService } from '../../common/services/editorWorker.service.js';
|
|
65
71
|
import { EditorWorkerService } from '../../browser/services/editorWorkerService.js';
|
|
@@ -90,12 +96,10 @@ import { InMemoryStorageService } from '../../../platform/storage/common/storage
|
|
|
90
96
|
import { IStorageService } from '../../../platform/storage/common/storage.service.js';
|
|
91
97
|
import { DefaultConfiguration as DefaultConfiguration$1 } from '../../../platform/configuration/common/configurations.js';
|
|
92
98
|
import { IAccessibilitySignalService } from '../../../platform/accessibilitySignal/browser/accessibilitySignalService.service.js';
|
|
93
|
-
import { ILanguageFeaturesService } from '../../common/services/languageFeatures.service.js';
|
|
94
99
|
import { ILanguageConfigurationService } from '../../common/languages/languageConfigurationRegistry.service.js';
|
|
95
100
|
import { LogService } from '../../../platform/log/common/logService.js';
|
|
96
101
|
import { IEnvironmentService } from '../../../platform/environment/common/environment.service.js';
|
|
97
102
|
import { mainWindow } from '../../../base/browser/window.js';
|
|
98
|
-
import { ResourceMap } from '../../../base/common/map.js';
|
|
99
103
|
import { ITreeSitterParserService } from '../../common/services/treeSitterParserService.service.js';
|
|
100
104
|
import { StandaloneTreeSitterParserService } from './standaloneTreeSitterService.js';
|
|
101
105
|
|