monaco-editor-core 0.55.0-dev-20251028 → 0.55.0-dev-20251030
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/nls.keys.json +1 -1
- package/esm/nls.messages.cs.js +2 -2
- package/esm/nls.messages.de.js +2 -2
- package/esm/nls.messages.es.js +2 -2
- package/esm/nls.messages.fr.js +2 -2
- package/esm/nls.messages.it.js +2 -2
- package/esm/nls.messages.ja.js +2 -2
- package/esm/nls.messages.js +1 -1
- package/esm/nls.messages.json +1 -1
- package/esm/nls.messages.ko.js +2 -2
- package/esm/nls.messages.pl.js +2 -2
- package/esm/nls.messages.pt-br.js +2 -2
- package/esm/nls.messages.ru.js +2 -2
- package/esm/nls.messages.tr.js +2 -2
- package/esm/nls.messages.zh-cn.js +2 -2
- package/esm/nls.messages.zh-tw.js +2 -2
- package/esm/nls.metadata.json +14 -0
- package/esm/vs/base/browser/markdownRenderer.js +53 -1
- package/esm/vs/base/browser/markdownRenderer.js.map +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/common/codiconsLibrary.js +6 -3
- package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
- package/esm/vs/base/common/glob.js +41 -31
- package/esm/vs/base/common/glob.js.map +1 -1
- package/esm/vs/base/common/htmlContent.js +5 -1
- package/esm/vs/base/common/htmlContent.js.map +1 -1
- package/esm/vs/base/common/network.js +2 -6
- package/esm/vs/base/common/network.js.map +1 -1
- package/esm/vs/base/common/strings.js +8 -6
- package/esm/vs/base/common/strings.js.map +1 -1
- package/esm/vs/editor/browser/editorExtensions.js +5 -0
- package/esm/vs/editor/browser/editorExtensions.js.map +1 -1
- package/esm/vs/editor/browser/triggerInlineEditCommandsRegistry.js +17 -0
- package/esm/vs/editor/browser/triggerInlineEditCommandsRegistry.js.map +1 -0
- package/esm/vs/editor/common/textModelEditSource.js +1 -0
- package/esm/vs/editor/common/textModelEditSource.js.map +1 -1
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +2 -1
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js.map +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +4 -0
- package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js.map +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/comment/browser/comment.js +16 -12
- package/esm/vs/editor/contrib/comment/browser/comment.js.map +1 -1
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +7 -5
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js.map +1 -1
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/esm/vs/editor/contrib/folding/browser/folding.js.map +1 -1
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/esm/vs/editor/contrib/hover/browser/contentHoverRendered.js +17 -6
- package/esm/vs/editor/contrib/hover/browser/contentHoverRendered.js.map +1 -1
- package/esm/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +6 -3
- package/esm/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js.map +1 -1
- package/esm/vs/editor/contrib/hover/browser/hover.css +36 -0
- package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js +51 -0
- package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js.map +1 -0
- package/esm/vs/editor/contrib/hover/browser/hoverTypes.js.map +1 -1
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +25 -9
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js.map +1 -1
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +8 -5
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js.map +1 -1
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +29 -27
- package/esm/vs/editor/contrib/indentation/browser/indentation.js.map +1 -1
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +20 -20
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +3 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +4 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +87 -62
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js.map +1 -1
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/esm/vs/editor/contrib/links/browser/links.js +10 -10
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +8 -8
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/esm/vs/editor/contrib/rename/browser/rename.js +13 -12
- package/esm/vs/editor/contrib/rename/browser/rename.js.map +1 -1
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +27 -24
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js.map +1 -1
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +9 -9
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js.map +1 -1
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/actions.js +2 -0
- package/esm/vs/platform/actions/common/actions.js.map +1 -1
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/hover/browser/hoverWidget.js +2 -2
- package/esm/vs/platform/hover/browser/hoverWidget.js.map +1 -1
- package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/package.json +2 -2
|
@@ -16,7 +16,7 @@ import { IContextKeyService, RawContextKey } from '../../../../platform/contextk
|
|
|
16
16
|
import { localize } from '../../../../nls.js';
|
|
17
17
|
let WordContextKey = class WordContextKey {
|
|
18
18
|
static { WordContextKey_1 = this; }
|
|
19
|
-
static { this.AtEnd = new RawContextKey('atEndOfWord', false, { type: 'boolean', description: localize(
|
|
19
|
+
static { this.AtEnd = new RawContextKey('atEndOfWord', false, { type: 'boolean', description: localize(1491, "A context key that is true when at the end of a word. Note that this is only defined when tab-completions are enabled") }); }
|
|
20
20
|
constructor(_editor, contextKeyService) {
|
|
21
21
|
this._editor = _editor;
|
|
22
22
|
this._enabled = false;
|
|
@@ -5,87 +5,87 @@
|
|
|
5
5
|
import './symbolIcons.css';
|
|
6
6
|
import { localize } from '../../../../nls.js';
|
|
7
7
|
import { foreground, registerColor } from '../../../../platform/theme/common/colorRegistry.js';
|
|
8
|
-
export const SYMBOL_ICON_ARRAY_FOREGROUND = registerColor('symbolIcon.arrayForeground', foreground, localize(
|
|
9
|
-
export const SYMBOL_ICON_BOOLEAN_FOREGROUND = registerColor('symbolIcon.booleanForeground', foreground, localize(
|
|
8
|
+
export const SYMBOL_ICON_ARRAY_FOREGROUND = registerColor('symbolIcon.arrayForeground', foreground, localize(1492, 'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
9
|
+
export const SYMBOL_ICON_BOOLEAN_FOREGROUND = registerColor('symbolIcon.booleanForeground', foreground, localize(1493, 'The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
10
10
|
export const SYMBOL_ICON_CLASS_FOREGROUND = registerColor('symbolIcon.classForeground', {
|
|
11
11
|
dark: '#EE9D28',
|
|
12
12
|
light: '#D67E00',
|
|
13
13
|
hcDark: '#EE9D28',
|
|
14
14
|
hcLight: '#D67E00'
|
|
15
|
-
}, localize(
|
|
16
|
-
export const SYMBOL_ICON_COLOR_FOREGROUND = registerColor('symbolIcon.colorForeground', foreground, localize(
|
|
17
|
-
export const SYMBOL_ICON_CONSTANT_FOREGROUND = registerColor('symbolIcon.constantForeground', foreground, localize(
|
|
15
|
+
}, localize(1494, 'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
16
|
+
export const SYMBOL_ICON_COLOR_FOREGROUND = registerColor('symbolIcon.colorForeground', foreground, localize(1495, 'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
17
|
+
export const SYMBOL_ICON_CONSTANT_FOREGROUND = registerColor('symbolIcon.constantForeground', foreground, localize(1496, 'The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
18
18
|
export const SYMBOL_ICON_CONSTRUCTOR_FOREGROUND = registerColor('symbolIcon.constructorForeground', {
|
|
19
19
|
dark: '#B180D7',
|
|
20
20
|
light: '#652D90',
|
|
21
21
|
hcDark: '#B180D7',
|
|
22
22
|
hcLight: '#652D90'
|
|
23
|
-
}, localize(
|
|
23
|
+
}, localize(1497, 'The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
24
24
|
export const SYMBOL_ICON_ENUMERATOR_FOREGROUND = registerColor('symbolIcon.enumeratorForeground', {
|
|
25
25
|
dark: '#EE9D28',
|
|
26
26
|
light: '#D67E00',
|
|
27
27
|
hcDark: '#EE9D28',
|
|
28
28
|
hcLight: '#D67E00'
|
|
29
|
-
}, localize(
|
|
29
|
+
}, localize(1498, 'The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
30
30
|
export const SYMBOL_ICON_ENUMERATOR_MEMBER_FOREGROUND = registerColor('symbolIcon.enumeratorMemberForeground', {
|
|
31
31
|
dark: '#75BEFF',
|
|
32
32
|
light: '#007ACC',
|
|
33
33
|
hcDark: '#75BEFF',
|
|
34
34
|
hcLight: '#007ACC'
|
|
35
|
-
}, localize(
|
|
35
|
+
}, localize(1499, 'The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
36
36
|
export const SYMBOL_ICON_EVENT_FOREGROUND = registerColor('symbolIcon.eventForeground', {
|
|
37
37
|
dark: '#EE9D28',
|
|
38
38
|
light: '#D67E00',
|
|
39
39
|
hcDark: '#EE9D28',
|
|
40
40
|
hcLight: '#D67E00'
|
|
41
|
-
}, localize(
|
|
41
|
+
}, localize(1500, 'The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
42
42
|
export const SYMBOL_ICON_FIELD_FOREGROUND = registerColor('symbolIcon.fieldForeground', {
|
|
43
43
|
dark: '#75BEFF',
|
|
44
44
|
light: '#007ACC',
|
|
45
45
|
hcDark: '#75BEFF',
|
|
46
46
|
hcLight: '#007ACC'
|
|
47
|
-
}, localize(
|
|
48
|
-
export const SYMBOL_ICON_FILE_FOREGROUND = registerColor('symbolIcon.fileForeground', foreground, localize(
|
|
49
|
-
export const SYMBOL_ICON_FOLDER_FOREGROUND = registerColor('symbolIcon.folderForeground', foreground, localize(
|
|
47
|
+
}, localize(1501, 'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
48
|
+
export const SYMBOL_ICON_FILE_FOREGROUND = registerColor('symbolIcon.fileForeground', foreground, localize(1502, 'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
49
|
+
export const SYMBOL_ICON_FOLDER_FOREGROUND = registerColor('symbolIcon.folderForeground', foreground, localize(1503, 'The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
50
50
|
export const SYMBOL_ICON_FUNCTION_FOREGROUND = registerColor('symbolIcon.functionForeground', {
|
|
51
51
|
dark: '#B180D7',
|
|
52
52
|
light: '#652D90',
|
|
53
53
|
hcDark: '#B180D7',
|
|
54
54
|
hcLight: '#652D90'
|
|
55
|
-
}, localize(
|
|
55
|
+
}, localize(1504, 'The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
56
56
|
export const SYMBOL_ICON_INTERFACE_FOREGROUND = registerColor('symbolIcon.interfaceForeground', {
|
|
57
57
|
dark: '#75BEFF',
|
|
58
58
|
light: '#007ACC',
|
|
59
59
|
hcDark: '#75BEFF',
|
|
60
60
|
hcLight: '#007ACC'
|
|
61
|
-
}, localize(
|
|
62
|
-
export const SYMBOL_ICON_KEY_FOREGROUND = registerColor('symbolIcon.keyForeground', foreground, localize(
|
|
63
|
-
export const SYMBOL_ICON_KEYWORD_FOREGROUND = registerColor('symbolIcon.keywordForeground', foreground, localize(
|
|
61
|
+
}, localize(1505, 'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
62
|
+
export const SYMBOL_ICON_KEY_FOREGROUND = registerColor('symbolIcon.keyForeground', foreground, localize(1506, 'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
63
|
+
export const SYMBOL_ICON_KEYWORD_FOREGROUND = registerColor('symbolIcon.keywordForeground', foreground, localize(1507, 'The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
64
64
|
export const SYMBOL_ICON_METHOD_FOREGROUND = registerColor('symbolIcon.methodForeground', {
|
|
65
65
|
dark: '#B180D7',
|
|
66
66
|
light: '#652D90',
|
|
67
67
|
hcDark: '#B180D7',
|
|
68
68
|
hcLight: '#652D90'
|
|
69
|
-
}, localize(
|
|
70
|
-
export const SYMBOL_ICON_MODULE_FOREGROUND = registerColor('symbolIcon.moduleForeground', foreground, localize(
|
|
71
|
-
export const SYMBOL_ICON_NAMESPACE_FOREGROUND = registerColor('symbolIcon.namespaceForeground', foreground, localize(
|
|
72
|
-
export const SYMBOL_ICON_NULL_FOREGROUND = registerColor('symbolIcon.nullForeground', foreground, localize(
|
|
73
|
-
export const SYMBOL_ICON_NUMBER_FOREGROUND = registerColor('symbolIcon.numberForeground', foreground, localize(
|
|
74
|
-
export const SYMBOL_ICON_OBJECT_FOREGROUND = registerColor('symbolIcon.objectForeground', foreground, localize(
|
|
75
|
-
export const SYMBOL_ICON_OPERATOR_FOREGROUND = registerColor('symbolIcon.operatorForeground', foreground, localize(
|
|
76
|
-
export const SYMBOL_ICON_PACKAGE_FOREGROUND = registerColor('symbolIcon.packageForeground', foreground, localize(
|
|
77
|
-
export const SYMBOL_ICON_PROPERTY_FOREGROUND = registerColor('symbolIcon.propertyForeground', foreground, localize(
|
|
78
|
-
export const SYMBOL_ICON_REFERENCE_FOREGROUND = registerColor('symbolIcon.referenceForeground', foreground, localize(
|
|
79
|
-
export const SYMBOL_ICON_SNIPPET_FOREGROUND = registerColor('symbolIcon.snippetForeground', foreground, localize(
|
|
80
|
-
export const SYMBOL_ICON_STRING_FOREGROUND = registerColor('symbolIcon.stringForeground', foreground, localize(
|
|
81
|
-
export const SYMBOL_ICON_STRUCT_FOREGROUND = registerColor('symbolIcon.structForeground', foreground, localize(
|
|
82
|
-
export const SYMBOL_ICON_TEXT_FOREGROUND = registerColor('symbolIcon.textForeground', foreground, localize(
|
|
83
|
-
export const SYMBOL_ICON_TYPEPARAMETER_FOREGROUND = registerColor('symbolIcon.typeParameterForeground', foreground, localize(
|
|
84
|
-
export const SYMBOL_ICON_UNIT_FOREGROUND = registerColor('symbolIcon.unitForeground', foreground, localize(
|
|
69
|
+
}, localize(1508, 'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
70
|
+
export const SYMBOL_ICON_MODULE_FOREGROUND = registerColor('symbolIcon.moduleForeground', foreground, localize(1509, 'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
71
|
+
export const SYMBOL_ICON_NAMESPACE_FOREGROUND = registerColor('symbolIcon.namespaceForeground', foreground, localize(1510, 'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
72
|
+
export const SYMBOL_ICON_NULL_FOREGROUND = registerColor('symbolIcon.nullForeground', foreground, localize(1511, 'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
73
|
+
export const SYMBOL_ICON_NUMBER_FOREGROUND = registerColor('symbolIcon.numberForeground', foreground, localize(1512, 'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
74
|
+
export const SYMBOL_ICON_OBJECT_FOREGROUND = registerColor('symbolIcon.objectForeground', foreground, localize(1513, 'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
75
|
+
export const SYMBOL_ICON_OPERATOR_FOREGROUND = registerColor('symbolIcon.operatorForeground', foreground, localize(1514, 'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
76
|
+
export const SYMBOL_ICON_PACKAGE_FOREGROUND = registerColor('symbolIcon.packageForeground', foreground, localize(1515, 'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
77
|
+
export const SYMBOL_ICON_PROPERTY_FOREGROUND = registerColor('symbolIcon.propertyForeground', foreground, localize(1516, 'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
78
|
+
export const SYMBOL_ICON_REFERENCE_FOREGROUND = registerColor('symbolIcon.referenceForeground', foreground, localize(1517, 'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
79
|
+
export const SYMBOL_ICON_SNIPPET_FOREGROUND = registerColor('symbolIcon.snippetForeground', foreground, localize(1518, 'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
80
|
+
export const SYMBOL_ICON_STRING_FOREGROUND = registerColor('symbolIcon.stringForeground', foreground, localize(1519, 'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
81
|
+
export const SYMBOL_ICON_STRUCT_FOREGROUND = registerColor('symbolIcon.structForeground', foreground, localize(1520, 'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
82
|
+
export const SYMBOL_ICON_TEXT_FOREGROUND = registerColor('symbolIcon.textForeground', foreground, localize(1521, 'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
83
|
+
export const SYMBOL_ICON_TYPEPARAMETER_FOREGROUND = registerColor('symbolIcon.typeParameterForeground', foreground, localize(1522, 'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
84
|
+
export const SYMBOL_ICON_UNIT_FOREGROUND = registerColor('symbolIcon.unitForeground', foreground, localize(1523, 'The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
85
85
|
export const SYMBOL_ICON_VARIABLE_FOREGROUND = registerColor('symbolIcon.variableForeground', {
|
|
86
86
|
dark: '#75BEFF',
|
|
87
87
|
light: '#007ACC',
|
|
88
88
|
hcDark: '#75BEFF',
|
|
89
89
|
hcLight: '#007ACC',
|
|
90
|
-
}, localize(
|
|
90
|
+
}, localize(1524, 'The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
91
91
|
//# sourceMappingURL=symbolIcons.js.map
|
|
@@ -11,7 +11,7 @@ export class ToggleTabFocusModeAction extends Action2 {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
super({
|
|
13
13
|
id: ToggleTabFocusModeAction.ID,
|
|
14
|
-
title: nls.localize2(
|
|
14
|
+
title: nls.localize2(1527, 'Toggle Tab Key Moves Focus'),
|
|
15
15
|
precondition: undefined,
|
|
16
16
|
keybinding: {
|
|
17
17
|
primary: 2048 /* KeyMod.CtrlCmd */ | 43 /* KeyCode.KeyM */,
|
|
@@ -19,7 +19,7 @@ export class ToggleTabFocusModeAction extends Action2 {
|
|
|
19
19
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
20
20
|
},
|
|
21
21
|
metadata: {
|
|
22
|
-
description: nls.localize2(
|
|
22
|
+
description: nls.localize2(1528, "Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode."),
|
|
23
23
|
},
|
|
24
24
|
f1: true
|
|
25
25
|
});
|
|
@@ -29,10 +29,10 @@ export class ToggleTabFocusModeAction extends Action2 {
|
|
|
29
29
|
const newValue = !oldValue;
|
|
30
30
|
TabFocus.setTabFocusMode(newValue);
|
|
31
31
|
if (newValue) {
|
|
32
|
-
alert(nls.localize(
|
|
32
|
+
alert(nls.localize(1525, "Pressing Tab will now move focus to the next focusable element"));
|
|
33
33
|
}
|
|
34
34
|
else {
|
|
35
|
-
alert(nls.localize(
|
|
35
|
+
alert(nls.localize(1526, "Pressing Tab will now insert the tab character"));
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -9,7 +9,7 @@ class ForceRetokenizeAction extends EditorAction {
|
|
|
9
9
|
constructor() {
|
|
10
10
|
super({
|
|
11
11
|
id: 'editor.action.forceRetokenize',
|
|
12
|
-
label: nls.localize2(
|
|
12
|
+
label: nls.localize2(1529, "Developer: Force Retokenize"),
|
|
13
13
|
precondition: undefined
|
|
14
14
|
});
|
|
15
15
|
}
|
|
@@ -106,7 +106,7 @@ let Banner = class Banner extends Disposable {
|
|
|
106
106
|
// Action
|
|
107
107
|
const actionBarContainer = append(this.element, $('div.action-container'));
|
|
108
108
|
this.actionBar = this._register(new ActionBar(actionBarContainer));
|
|
109
|
-
this.actionBar.push(this._register(new Action('banner.close', localize(
|
|
109
|
+
this.actionBar.push(this._register(new Action('banner.close', localize(1530, "Close Banner"), ThemeIcon.asClassName(widgetClose), true, () => {
|
|
110
110
|
if (typeof item.onClose === 'function') {
|
|
111
111
|
item.onClose();
|
|
112
112
|
}
|
|
@@ -36,7 +36,7 @@ import { Action2, registerAction2 } from '../../../../platform/actions/common/ac
|
|
|
36
36
|
import { safeIntl } from '../../../../base/common/date.js';
|
|
37
37
|
import { isModelDecorationInComment, isModelDecorationInString, isModelDecorationVisible } from '../../../common/viewModel/viewModelDecoration.js';
|
|
38
38
|
import { IMarkdownRendererService } from '../../../../platform/markdown/browser/markdownRenderer.js';
|
|
39
|
-
export const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, nls.localize(
|
|
39
|
+
export const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, nls.localize(1531, 'Icon shown with a warning message in the extensions editor.'));
|
|
40
40
|
let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
41
41
|
static { this.ID = 'editor.contrib.unicodeHighlighter'; }
|
|
42
42
|
constructor(_editor, _editorWorkerService, _workspaceTrustService, instantiationService) {
|
|
@@ -56,19 +56,19 @@ let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
|
56
56
|
let data;
|
|
57
57
|
if (state.nonBasicAsciiCharacterCount >= max) {
|
|
58
58
|
data = {
|
|
59
|
-
message: nls.localize(
|
|
59
|
+
message: nls.localize(1532, 'This document contains many non-basic ASCII unicode characters'),
|
|
60
60
|
command: new DisableHighlightingOfNonBasicAsciiCharactersAction(),
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
else if (state.ambiguousCharacterCount >= max) {
|
|
64
64
|
data = {
|
|
65
|
-
message: nls.localize(
|
|
65
|
+
message: nls.localize(1533, 'This document contains many ambiguous unicode characters'),
|
|
66
66
|
command: new DisableHighlightingOfAmbiguousCharactersAction(),
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
else if (state.invisibleCharacterCount >= max) {
|
|
70
70
|
data = {
|
|
71
|
-
message: nls.localize(
|
|
71
|
+
message: nls.localize(1534, 'This document contains many invisible unicode characters'),
|
|
72
72
|
command: new DisableHighlightingOfInvisibleCharactersAction(),
|
|
73
73
|
};
|
|
74
74
|
}
|
|
@@ -337,7 +337,7 @@ class ViewportUnicodeHighlighter extends Disposable {
|
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
const configureUnicodeHighlightOptionsStr = nls.localize(
|
|
340
|
+
const configureUnicodeHighlightOptionsStr = nls.localize(1535, 'Configure Unicode Highlight Options');
|
|
341
341
|
let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipant {
|
|
342
342
|
constructor(_editor, _markdownRendererService) {
|
|
343
343
|
this._editor = _editor;
|
|
@@ -369,18 +369,18 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
369
369
|
switch (highlightInfo.reason.kind) {
|
|
370
370
|
case 0 /* UnicodeHighlighterReasonKind.Ambiguous */: {
|
|
371
371
|
if (isBasicASCII(highlightInfo.reason.confusableWith)) {
|
|
372
|
-
reason = nls.localize(
|
|
372
|
+
reason = nls.localize(1536, 'The character {0} could be confused with the ASCII character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
|
|
373
373
|
}
|
|
374
374
|
else {
|
|
375
|
-
reason = nls.localize(
|
|
375
|
+
reason = nls.localize(1537, 'The character {0} could be confused with the character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
|
|
376
376
|
}
|
|
377
377
|
break;
|
|
378
378
|
}
|
|
379
379
|
case 1 /* UnicodeHighlighterReasonKind.Invisible */:
|
|
380
|
-
reason = nls.localize(
|
|
380
|
+
reason = nls.localize(1538, 'The character {0} is invisible.', codePointStr);
|
|
381
381
|
break;
|
|
382
382
|
case 2 /* UnicodeHighlighterReasonKind.NonBasicAscii */:
|
|
383
|
-
reason = nls.localize(
|
|
383
|
+
reason = nls.localize(1539, 'The character {0} is not a basic ASCII character.', codePointStr);
|
|
384
384
|
break;
|
|
385
385
|
}
|
|
386
386
|
if (existedReason.has(reason)) {
|
|
@@ -393,7 +393,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
393
393
|
inComment: highlightInfo.inComment,
|
|
394
394
|
inString: highlightInfo.inString,
|
|
395
395
|
};
|
|
396
|
-
const adjustSettings = nls.localize(
|
|
396
|
+
const adjustSettings = nls.localize(1540, 'Adjust settings');
|
|
397
397
|
const uri = createCommandUri(ShowExcludeOptions.ID, adjustSettingsArgs);
|
|
398
398
|
const markdown = new MarkdownString('', true)
|
|
399
399
|
.appendMarkdown(reason)
|
|
@@ -406,6 +406,9 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
406
406
|
renderHoverParts(context, hoverParts) {
|
|
407
407
|
return renderMarkdownHovers(context, hoverParts, this._editor, this._markdownRendererService);
|
|
408
408
|
}
|
|
409
|
+
getAccessibleContent(hoverPart) {
|
|
410
|
+
return hoverPart.contents.map(c => c.value).join('\n');
|
|
411
|
+
}
|
|
409
412
|
};
|
|
410
413
|
UnicodeHighlighterHoverParticipant = __decorate([
|
|
411
414
|
__param(1, IMarkdownRendererService)
|
|
@@ -462,10 +465,10 @@ export class DisableHighlightingInCommentsAction extends EditorAction {
|
|
|
462
465
|
constructor() {
|
|
463
466
|
super({
|
|
464
467
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
465
|
-
label: nls.localize2(
|
|
468
|
+
label: nls.localize2(1549, "Disable highlighting of characters in comments"),
|
|
466
469
|
precondition: undefined
|
|
467
470
|
});
|
|
468
|
-
this.shortLabel = nls.localize(
|
|
471
|
+
this.shortLabel = nls.localize(1541, 'Disable Highlight In Comments');
|
|
469
472
|
}
|
|
470
473
|
async run(accessor, editor, args) {
|
|
471
474
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -481,10 +484,10 @@ export class DisableHighlightingInStringsAction extends EditorAction {
|
|
|
481
484
|
constructor() {
|
|
482
485
|
super({
|
|
483
486
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
484
|
-
label: nls.localize2(
|
|
487
|
+
label: nls.localize2(1550, "Disable highlighting of characters in strings"),
|
|
485
488
|
precondition: undefined
|
|
486
489
|
});
|
|
487
|
-
this.shortLabel = nls.localize(
|
|
490
|
+
this.shortLabel = nls.localize(1542, 'Disable Highlight In Strings');
|
|
488
491
|
}
|
|
489
492
|
async run(accessor, editor, args) {
|
|
490
493
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -501,11 +504,11 @@ export class DisableHighlightingOfAmbiguousCharactersAction extends Action2 {
|
|
|
501
504
|
constructor() {
|
|
502
505
|
super({
|
|
503
506
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
504
|
-
title: nls.localize2(
|
|
507
|
+
title: nls.localize2(1551, "Disable highlighting of ambiguous characters"),
|
|
505
508
|
precondition: undefined,
|
|
506
509
|
f1: false,
|
|
507
510
|
});
|
|
508
|
-
this.shortLabel = nls.localize(
|
|
511
|
+
this.shortLabel = nls.localize(1543, 'Disable Ambiguous Highlight');
|
|
509
512
|
}
|
|
510
513
|
async run(accessor, editor, args) {
|
|
511
514
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -522,11 +525,11 @@ export class DisableHighlightingOfInvisibleCharactersAction extends Action2 {
|
|
|
522
525
|
constructor() {
|
|
523
526
|
super({
|
|
524
527
|
id: DisableHighlightingOfInvisibleCharactersAction.ID,
|
|
525
|
-
title: nls.localize2(
|
|
528
|
+
title: nls.localize2(1552, "Disable highlighting of invisible characters"),
|
|
526
529
|
precondition: undefined,
|
|
527
530
|
f1: false,
|
|
528
531
|
});
|
|
529
|
-
this.shortLabel = nls.localize(
|
|
532
|
+
this.shortLabel = nls.localize(1544, 'Disable Invisible Highlight');
|
|
530
533
|
}
|
|
531
534
|
async run(accessor, editor, args) {
|
|
532
535
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -543,11 +546,11 @@ export class DisableHighlightingOfNonBasicAsciiCharactersAction extends Action2
|
|
|
543
546
|
constructor() {
|
|
544
547
|
super({
|
|
545
548
|
id: DisableHighlightingOfNonBasicAsciiCharactersAction.ID,
|
|
546
|
-
title: nls.localize2(
|
|
549
|
+
title: nls.localize2(1553, "Disable highlighting of non basic ASCII characters"),
|
|
547
550
|
precondition: undefined,
|
|
548
551
|
f1: false,
|
|
549
552
|
});
|
|
550
|
-
this.shortLabel = nls.localize(
|
|
553
|
+
this.shortLabel = nls.localize(1545, 'Disable Non ASCII Highlight');
|
|
551
554
|
}
|
|
552
555
|
async run(accessor, editor, args) {
|
|
553
556
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -564,7 +567,7 @@ export class ShowExcludeOptions extends Action2 {
|
|
|
564
567
|
constructor() {
|
|
565
568
|
super({
|
|
566
569
|
id: ShowExcludeOptions.ID,
|
|
567
|
-
title: nls.localize2(
|
|
570
|
+
title: nls.localize2(1554, "Show Exclude Options"),
|
|
568
571
|
precondition: undefined,
|
|
569
572
|
f1: false,
|
|
570
573
|
});
|
|
@@ -576,15 +579,15 @@ export class ShowExcludeOptions extends Action2 {
|
|
|
576
579
|
const configurationService = accessor.get(IConfigurationService);
|
|
577
580
|
function getExcludeCharFromBeingHighlightedLabel(codePoint) {
|
|
578
581
|
if (InvisibleCharacters.isInvisibleCharacter(codePoint)) {
|
|
579
|
-
return nls.localize(
|
|
582
|
+
return nls.localize(1546, 'Exclude {0} (invisible character) from being highlighted', codePointToHex(codePoint));
|
|
580
583
|
}
|
|
581
|
-
return nls.localize(
|
|
584
|
+
return nls.localize(1547, 'Exclude {0} from being highlighted', `${codePointToHex(codePoint)} "${char}"`);
|
|
582
585
|
}
|
|
583
586
|
const options = [];
|
|
584
587
|
if (reason.kind === 0 /* UnicodeHighlighterReasonKind.Ambiguous */) {
|
|
585
588
|
for (const locale of reason.notAmbiguousInLocales) {
|
|
586
589
|
options.push({
|
|
587
|
-
label: nls.localize(
|
|
590
|
+
label: nls.localize(1548, "Allow unicode characters that are more common in the language \"{0}\".", locale),
|
|
588
591
|
run: async () => {
|
|
589
592
|
excludeLocaleFromBeingHighlighted(configurationService, [locale]);
|
|
590
593
|
},
|