monaco-editor-core 0.56.0-dev-20251217 → 0.56.0-dev-20251218
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 +4 -2
- package/esm/vs/base/browser/ui/actionbar/actionViewItems.js.map +1 -1
- package/esm/vs/base/browser/ui/findinput/findInput.js +6 -1
- package/esm/vs/base/browser/ui/findinput/findInput.js.map +1 -1
- package/esm/vs/base/browser/ui/inputbox/inputBox.js +17 -1
- package/esm/vs/base/browser/ui/inputbox/inputBox.js.map +1 -1
- package/esm/vs/base/browser/ui/toggle/toggle.js +78 -6
- package/esm/vs/base/browser/ui/toggle/toggle.js.map +1 -1
- package/esm/vs/editor/browser/services/editorWorkerService.js +6 -2
- package/esm/vs/editor/browser/services/editorWorkerService.js.map +1 -1
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +49 -47
- package/esm/vs/editor/common/config/editorConfigurationSchema.js.map +1 -1
- package/esm/vs/editor/common/config/editorOptions.js +410 -410
- package/esm/vs/editor/common/core/editorColorRegistry.js +69 -69
- package/esm/vs/editor/common/editorContextKeys.js +47 -47
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +56 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +11 -11
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- 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 +4 -4
- 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/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +2 -2
- 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/inlineEditsViews/inlineEditsWordReplacementView.js +3 -3
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/esm/vs/editor/contrib/links/browser/links.js +10 -10
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +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 +25 -27
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js.map +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/esm/vs/editor/contrib/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 +9 -9
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- 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 +24 -24
- 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 +3 -3
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/hover/browser/hoverWidget.js +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 +8 -8
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/media/quickInput.css +38 -4
- package/esm/vs/platform/quickinput/browser/quickInput.js +42 -14
- package/esm/vs/platform/quickinput/browser/quickInput.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputBox.js +13 -1
- package/esm/vs/platform/quickinput/browser/quickInputBox.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputController.js +22 -12
- package/esm/vs/platform/quickinput/browser/quickInputController.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputList.js +17 -12
- package/esm/vs/platform/quickinput/browser/quickInputList.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +36 -8
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js +3 -3
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +8 -4
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js.map +1 -1
- package/esm/vs/platform/quickinput/common/quickInput.js.map +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +18 -18
- 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
|
@@ -9,76 +9,76 @@ import { registerThemingParticipant } from '../../../platform/theme/common/theme
|
|
|
9
9
|
/**
|
|
10
10
|
* Definition of the editor colors
|
|
11
11
|
*/
|
|
12
|
-
export const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, nls.localize(
|
|
13
|
-
export const editorInactiveLineHighlight = registerColor('editor.inactiveLineHighlightBackground', editorLineHighlight, nls.localize(
|
|
14
|
-
export const editorLineHighlightBorder = registerColor('editor.lineHighlightBorder', { dark: '#282828', light: '#eeeeee', hcDark: '#f38518', hcLight: contrastBorder }, nls.localize(
|
|
15
|
-
export const editorRangeHighlight = registerColor('editor.rangeHighlightBackground', { dark: '#ffffff0b', light: '#fdff0033', hcDark: null, hcLight: null }, nls.localize(
|
|
16
|
-
export const editorRangeHighlightBorder = registerColor('editor.rangeHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(
|
|
17
|
-
export const editorSymbolHighlight = registerColor('editor.symbolHighlightBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, nls.localize(
|
|
18
|
-
export const editorSymbolHighlightBorder = registerColor('editor.symbolHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(
|
|
19
|
-
export const editorCursorForeground = registerColor('editorCursor.foreground', { dark: '#AEAFAD', light: Color.black, hcDark: Color.white, hcLight: '#0F4A85' }, nls.localize(
|
|
20
|
-
export const editorCursorBackground = registerColor('editorCursor.background', null, nls.localize(
|
|
21
|
-
export const editorMultiCursorPrimaryForeground = registerColor('editorMultiCursor.primary.foreground', editorCursorForeground, nls.localize(
|
|
22
|
-
export const editorMultiCursorPrimaryBackground = registerColor('editorMultiCursor.primary.background', editorCursorBackground, nls.localize(
|
|
23
|
-
export const editorMultiCursorSecondaryForeground = registerColor('editorMultiCursor.secondary.foreground', editorCursorForeground, nls.localize(
|
|
24
|
-
export const editorMultiCursorSecondaryBackground = registerColor('editorMultiCursor.secondary.background', editorCursorBackground, nls.localize(
|
|
25
|
-
export const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, nls.localize(
|
|
26
|
-
export const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, nls.localize(
|
|
27
|
-
export const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, nls.localize(
|
|
28
|
-
export const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, nls.localize(
|
|
29
|
-
export const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, nls.localize(
|
|
30
|
-
export const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', nls.localize(
|
|
31
|
-
export const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', nls.localize(
|
|
32
|
-
export const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', nls.localize(
|
|
33
|
-
export const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', nls.localize(
|
|
34
|
-
export const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', nls.localize(
|
|
35
|
-
export const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, nls.localize(
|
|
36
|
-
export const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', nls.localize(
|
|
37
|
-
export const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', nls.localize(
|
|
38
|
-
export const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', nls.localize(
|
|
39
|
-
export const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', nls.localize(
|
|
40
|
-
export const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', nls.localize(
|
|
41
|
-
const deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(
|
|
42
|
-
export const editorActiveLineNumber = registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, nls.localize(
|
|
43
|
-
export const editorDimmedLineNumber = registerColor('editorLineNumber.dimmedForeground', null, nls.localize(
|
|
44
|
-
export const editorRuler = registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hcDark: Color.white, hcLight: '#292929' }, nls.localize(
|
|
45
|
-
export const editorCodeLensForeground = registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#919191', hcDark: '#999999', hcLight: '#292929' }, nls.localize(
|
|
46
|
-
export const editorBracketMatchBackground = registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#0064001a', hcDark: '#0064001a', hcLight: '#0000' }, nls.localize(
|
|
47
|
-
export const editorBracketMatchBorder = registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(
|
|
48
|
-
export const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, nls.localize(
|
|
49
|
-
export const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, nls.localize(
|
|
50
|
-
export const editorGutter = registerColor('editorGutter.background', editorBackground, nls.localize(
|
|
51
|
-
export const editorUnnecessaryCodeBorder = registerColor('editorUnnecessaryCode.border', { dark: null, light: null, hcDark: Color.fromHex('#fff').transparent(0.8), hcLight: contrastBorder }, nls.localize(
|
|
52
|
-
export const editorUnnecessaryCodeOpacity = registerColor('editorUnnecessaryCode.opacity', { dark: Color.fromHex('#000a'), light: Color.fromHex('#0007'), hcDark: null, hcLight: null }, nls.localize(
|
|
53
|
-
export const ghostTextBorder = registerColor('editorGhostText.border', { dark: null, light: null, hcDark: Color.fromHex('#fff').transparent(0.8), hcLight: Color.fromHex('#292929').transparent(0.8) }, nls.localize(
|
|
54
|
-
export const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: Color.fromHex('#ffffff56'), light: Color.fromHex('#0007'), hcDark: null, hcLight: null }, nls.localize(
|
|
55
|
-
export const ghostTextBackground = registerColor('editorGhostText.background', null, nls.localize(
|
|
12
|
+
export const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, nls.localize(615, 'Background color for the highlight of line at the cursor position.'));
|
|
13
|
+
export const editorInactiveLineHighlight = registerColor('editor.inactiveLineHighlightBackground', editorLineHighlight, nls.localize(616, 'Background color for the highlight of line at the cursor position when the editor is not focused.'));
|
|
14
|
+
export const editorLineHighlightBorder = registerColor('editor.lineHighlightBorder', { dark: '#282828', light: '#eeeeee', hcDark: '#f38518', hcLight: contrastBorder }, nls.localize(617, 'Background color for the border around the line at the cursor position.'));
|
|
15
|
+
export const editorRangeHighlight = registerColor('editor.rangeHighlightBackground', { dark: '#ffffff0b', light: '#fdff0033', hcDark: null, hcLight: null }, nls.localize(618, 'Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
16
|
+
export const editorRangeHighlightBorder = registerColor('editor.rangeHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(619, 'Background color of the border around highlighted ranges.'));
|
|
17
|
+
export const editorSymbolHighlight = registerColor('editor.symbolHighlightBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, nls.localize(620, 'Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
18
|
+
export const editorSymbolHighlightBorder = registerColor('editor.symbolHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(621, 'Background color of the border around highlighted symbols.'));
|
|
19
|
+
export const editorCursorForeground = registerColor('editorCursor.foreground', { dark: '#AEAFAD', light: Color.black, hcDark: Color.white, hcLight: '#0F4A85' }, nls.localize(622, 'Color of the editor cursor.'));
|
|
20
|
+
export const editorCursorBackground = registerColor('editorCursor.background', null, nls.localize(623, 'The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.'));
|
|
21
|
+
export const editorMultiCursorPrimaryForeground = registerColor('editorMultiCursor.primary.foreground', editorCursorForeground, nls.localize(624, 'Color of the primary editor cursor when multiple cursors are present.'));
|
|
22
|
+
export const editorMultiCursorPrimaryBackground = registerColor('editorMultiCursor.primary.background', editorCursorBackground, nls.localize(625, 'The background color of the primary editor cursor when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'));
|
|
23
|
+
export const editorMultiCursorSecondaryForeground = registerColor('editorMultiCursor.secondary.foreground', editorCursorForeground, nls.localize(626, 'Color of secondary editor cursors when multiple cursors are present.'));
|
|
24
|
+
export const editorMultiCursorSecondaryBackground = registerColor('editorMultiCursor.secondary.background', editorCursorBackground, nls.localize(627, 'The background color of secondary editor cursors when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'));
|
|
25
|
+
export const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, nls.localize(628, 'Color of whitespace characters in the editor.'));
|
|
26
|
+
export const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, nls.localize(629, 'Color of editor line numbers.'));
|
|
27
|
+
export const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, nls.localize(630, 'Color of the editor indentation guides.'), false, nls.localize(631, '\'editorIndentGuide.background\' is deprecated. Use \'editorIndentGuide.background1\' instead.'));
|
|
28
|
+
export const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, nls.localize(632, 'Color of the active editor indentation guides.'), false, nls.localize(633, '\'editorIndentGuide.activeBackground\' is deprecated. Use \'editorIndentGuide.activeBackground1\' instead.'));
|
|
29
|
+
export const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, nls.localize(634, 'Color of the editor indentation guides (1).'));
|
|
30
|
+
export const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', nls.localize(635, 'Color of the editor indentation guides (2).'));
|
|
31
|
+
export const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', nls.localize(636, 'Color of the editor indentation guides (3).'));
|
|
32
|
+
export const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', nls.localize(637, 'Color of the editor indentation guides (4).'));
|
|
33
|
+
export const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', nls.localize(638, 'Color of the editor indentation guides (5).'));
|
|
34
|
+
export const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', nls.localize(639, 'Color of the editor indentation guides (6).'));
|
|
35
|
+
export const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, nls.localize(640, 'Color of the active editor indentation guides (1).'));
|
|
36
|
+
export const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', nls.localize(641, 'Color of the active editor indentation guides (2).'));
|
|
37
|
+
export const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', nls.localize(642, 'Color of the active editor indentation guides (3).'));
|
|
38
|
+
export const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', nls.localize(643, 'Color of the active editor indentation guides (4).'));
|
|
39
|
+
export const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', nls.localize(644, 'Color of the active editor indentation guides (5).'));
|
|
40
|
+
export const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', nls.localize(645, 'Color of the active editor indentation guides (6).'));
|
|
41
|
+
const deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, nls.localize(646, 'Color of editor active line number'), false, nls.localize(647, 'Id is deprecated. Use \'editorLineNumber.activeForeground\' instead.'));
|
|
42
|
+
export const editorActiveLineNumber = registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, nls.localize(648, 'Color of editor active line number'));
|
|
43
|
+
export const editorDimmedLineNumber = registerColor('editorLineNumber.dimmedForeground', null, nls.localize(649, 'Color of the final editor line when editor.renderFinalNewline is set to dimmed.'));
|
|
44
|
+
export const editorRuler = registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hcDark: Color.white, hcLight: '#292929' }, nls.localize(650, 'Color of the editor rulers.'));
|
|
45
|
+
export const editorCodeLensForeground = registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#919191', hcDark: '#999999', hcLight: '#292929' }, nls.localize(651, 'Foreground color of editor CodeLens'));
|
|
46
|
+
export const editorBracketMatchBackground = registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#0064001a', hcDark: '#0064001a', hcLight: '#0000' }, nls.localize(652, 'Background color behind matching brackets'));
|
|
47
|
+
export const editorBracketMatchBorder = registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, nls.localize(653, 'Color for matching brackets boxes'));
|
|
48
|
+
export const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, nls.localize(654, 'Color of the overview ruler border.'));
|
|
49
|
+
export const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, nls.localize(655, 'Background color of the editor overview ruler.'));
|
|
50
|
+
export const editorGutter = registerColor('editorGutter.background', editorBackground, nls.localize(656, 'Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.'));
|
|
51
|
+
export const editorUnnecessaryCodeBorder = registerColor('editorUnnecessaryCode.border', { dark: null, light: null, hcDark: Color.fromHex('#fff').transparent(0.8), hcLight: contrastBorder }, nls.localize(657, 'Border color of unnecessary (unused) source code in the editor.'));
|
|
52
|
+
export const editorUnnecessaryCodeOpacity = registerColor('editorUnnecessaryCode.opacity', { dark: Color.fromHex('#000a'), light: Color.fromHex('#0007'), hcDark: null, hcLight: null }, nls.localize(658, 'Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the \'editorUnnecessaryCode.border\' theme color to underline unnecessary code instead of fading it out.'));
|
|
53
|
+
export const ghostTextBorder = registerColor('editorGhostText.border', { dark: null, light: null, hcDark: Color.fromHex('#fff').transparent(0.8), hcLight: Color.fromHex('#292929').transparent(0.8) }, nls.localize(659, 'Border color of ghost text in the editor.'));
|
|
54
|
+
export const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: Color.fromHex('#ffffff56'), light: Color.fromHex('#0007'), hcDark: null, hcLight: null }, nls.localize(660, 'Foreground color of the ghost text in the editor.'));
|
|
55
|
+
export const ghostTextBackground = registerColor('editorGhostText.background', null, nls.localize(661, 'Background color of the ghost text in the editor.'));
|
|
56
56
|
const rulerRangeDefault = new Color(new RGBA(0, 122, 204, 0.6));
|
|
57
|
-
export const overviewRulerRangeHighlight = registerColor('editorOverviewRuler.rangeHighlightForeground', rulerRangeDefault, nls.localize(
|
|
58
|
-
export const overviewRulerError = registerColor('editorOverviewRuler.errorForeground', { dark: new Color(new RGBA(255, 18, 18, 0.7)), light: new Color(new RGBA(255, 18, 18, 0.7)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize(
|
|
59
|
-
export const overviewRulerWarning = registerColor('editorOverviewRuler.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, nls.localize(
|
|
60
|
-
export const overviewRulerInfo = registerColor('editorOverviewRuler.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, nls.localize(
|
|
61
|
-
export const editorBracketHighlightingForeground1 = registerColor('editorBracketHighlight.foreground1', { dark: '#FFD700', light: '#0431FAFF', hcDark: '#FFD700', hcLight: '#0431FAFF' }, nls.localize(
|
|
62
|
-
export const editorBracketHighlightingForeground2 = registerColor('editorBracketHighlight.foreground2', { dark: '#DA70D6', light: '#319331FF', hcDark: '#DA70D6', hcLight: '#319331FF' }, nls.localize(
|
|
63
|
-
export const editorBracketHighlightingForeground3 = registerColor('editorBracketHighlight.foreground3', { dark: '#179FFF', light: '#7B3814FF', hcDark: '#87CEFA', hcLight: '#7B3814FF' }, nls.localize(
|
|
64
|
-
export const editorBracketHighlightingForeground4 = registerColor('editorBracketHighlight.foreground4', '#00000000', nls.localize(
|
|
65
|
-
export const editorBracketHighlightingForeground5 = registerColor('editorBracketHighlight.foreground5', '#00000000', nls.localize(
|
|
66
|
-
export const editorBracketHighlightingForeground6 = registerColor('editorBracketHighlight.foreground6', '#00000000', nls.localize(
|
|
67
|
-
export const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: new Color(new RGBA(255, 18, 18, 0.8)), light: new Color(new RGBA(255, 18, 18, 0.8)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize(
|
|
68
|
-
export const editorBracketPairGuideBackground1 = registerColor('editorBracketPairGuide.background1', '#00000000', nls.localize(
|
|
69
|
-
export const editorBracketPairGuideBackground2 = registerColor('editorBracketPairGuide.background2', '#00000000', nls.localize(
|
|
70
|
-
export const editorBracketPairGuideBackground3 = registerColor('editorBracketPairGuide.background3', '#00000000', nls.localize(
|
|
71
|
-
export const editorBracketPairGuideBackground4 = registerColor('editorBracketPairGuide.background4', '#00000000', nls.localize(
|
|
72
|
-
export const editorBracketPairGuideBackground5 = registerColor('editorBracketPairGuide.background5', '#00000000', nls.localize(
|
|
73
|
-
export const editorBracketPairGuideBackground6 = registerColor('editorBracketPairGuide.background6', '#00000000', nls.localize(
|
|
74
|
-
export const editorBracketPairGuideActiveBackground1 = registerColor('editorBracketPairGuide.activeBackground1', '#00000000', nls.localize(
|
|
75
|
-
export const editorBracketPairGuideActiveBackground2 = registerColor('editorBracketPairGuide.activeBackground2', '#00000000', nls.localize(
|
|
76
|
-
export const editorBracketPairGuideActiveBackground3 = registerColor('editorBracketPairGuide.activeBackground3', '#00000000', nls.localize(
|
|
77
|
-
export const editorBracketPairGuideActiveBackground4 = registerColor('editorBracketPairGuide.activeBackground4', '#00000000', nls.localize(
|
|
78
|
-
export const editorBracketPairGuideActiveBackground5 = registerColor('editorBracketPairGuide.activeBackground5', '#00000000', nls.localize(
|
|
79
|
-
export const editorBracketPairGuideActiveBackground6 = registerColor('editorBracketPairGuide.activeBackground6', '#00000000', nls.localize(
|
|
80
|
-
export const editorUnicodeHighlightBorder = registerColor('editorUnicodeHighlight.border', editorWarningForeground, nls.localize(
|
|
81
|
-
export const editorUnicodeHighlightBackground = registerColor('editorUnicodeHighlight.background', editorWarningBackground, nls.localize(
|
|
57
|
+
export const overviewRulerRangeHighlight = registerColor('editorOverviewRuler.rangeHighlightForeground', rulerRangeDefault, nls.localize(662, 'Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
58
|
+
export const overviewRulerError = registerColor('editorOverviewRuler.errorForeground', { dark: new Color(new RGBA(255, 18, 18, 0.7)), light: new Color(new RGBA(255, 18, 18, 0.7)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize(663, 'Overview ruler marker color for errors.'));
|
|
59
|
+
export const overviewRulerWarning = registerColor('editorOverviewRuler.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, nls.localize(664, 'Overview ruler marker color for warnings.'));
|
|
60
|
+
export const overviewRulerInfo = registerColor('editorOverviewRuler.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, nls.localize(665, 'Overview ruler marker color for infos.'));
|
|
61
|
+
export const editorBracketHighlightingForeground1 = registerColor('editorBracketHighlight.foreground1', { dark: '#FFD700', light: '#0431FAFF', hcDark: '#FFD700', hcLight: '#0431FAFF' }, nls.localize(666, 'Foreground color of brackets (1). Requires enabling bracket pair colorization.'));
|
|
62
|
+
export const editorBracketHighlightingForeground2 = registerColor('editorBracketHighlight.foreground2', { dark: '#DA70D6', light: '#319331FF', hcDark: '#DA70D6', hcLight: '#319331FF' }, nls.localize(667, 'Foreground color of brackets (2). Requires enabling bracket pair colorization.'));
|
|
63
|
+
export const editorBracketHighlightingForeground3 = registerColor('editorBracketHighlight.foreground3', { dark: '#179FFF', light: '#7B3814FF', hcDark: '#87CEFA', hcLight: '#7B3814FF' }, nls.localize(668, 'Foreground color of brackets (3). Requires enabling bracket pair colorization.'));
|
|
64
|
+
export const editorBracketHighlightingForeground4 = registerColor('editorBracketHighlight.foreground4', '#00000000', nls.localize(669, 'Foreground color of brackets (4). Requires enabling bracket pair colorization.'));
|
|
65
|
+
export const editorBracketHighlightingForeground5 = registerColor('editorBracketHighlight.foreground5', '#00000000', nls.localize(670, 'Foreground color of brackets (5). Requires enabling bracket pair colorization.'));
|
|
66
|
+
export const editorBracketHighlightingForeground6 = registerColor('editorBracketHighlight.foreground6', '#00000000', nls.localize(671, 'Foreground color of brackets (6). Requires enabling bracket pair colorization.'));
|
|
67
|
+
export const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: new Color(new RGBA(255, 18, 18, 0.8)), light: new Color(new RGBA(255, 18, 18, 0.8)), hcDark: new Color(new RGBA(255, 50, 50, 1)), hcLight: '#B5200D' }, nls.localize(672, 'Foreground color of unexpected brackets.'));
|
|
68
|
+
export const editorBracketPairGuideBackground1 = registerColor('editorBracketPairGuide.background1', '#00000000', nls.localize(673, 'Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.'));
|
|
69
|
+
export const editorBracketPairGuideBackground2 = registerColor('editorBracketPairGuide.background2', '#00000000', nls.localize(674, 'Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.'));
|
|
70
|
+
export const editorBracketPairGuideBackground3 = registerColor('editorBracketPairGuide.background3', '#00000000', nls.localize(675, 'Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.'));
|
|
71
|
+
export const editorBracketPairGuideBackground4 = registerColor('editorBracketPairGuide.background4', '#00000000', nls.localize(676, 'Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.'));
|
|
72
|
+
export const editorBracketPairGuideBackground5 = registerColor('editorBracketPairGuide.background5', '#00000000', nls.localize(677, 'Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.'));
|
|
73
|
+
export const editorBracketPairGuideBackground6 = registerColor('editorBracketPairGuide.background6', '#00000000', nls.localize(678, 'Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.'));
|
|
74
|
+
export const editorBracketPairGuideActiveBackground1 = registerColor('editorBracketPairGuide.activeBackground1', '#00000000', nls.localize(679, 'Background color of active bracket pair guides (1). Requires enabling bracket pair guides.'));
|
|
75
|
+
export const editorBracketPairGuideActiveBackground2 = registerColor('editorBracketPairGuide.activeBackground2', '#00000000', nls.localize(680, 'Background color of active bracket pair guides (2). Requires enabling bracket pair guides.'));
|
|
76
|
+
export const editorBracketPairGuideActiveBackground3 = registerColor('editorBracketPairGuide.activeBackground3', '#00000000', nls.localize(681, 'Background color of active bracket pair guides (3). Requires enabling bracket pair guides.'));
|
|
77
|
+
export const editorBracketPairGuideActiveBackground4 = registerColor('editorBracketPairGuide.activeBackground4', '#00000000', nls.localize(682, 'Background color of active bracket pair guides (4). Requires enabling bracket pair guides.'));
|
|
78
|
+
export const editorBracketPairGuideActiveBackground5 = registerColor('editorBracketPairGuide.activeBackground5', '#00000000', nls.localize(683, 'Background color of active bracket pair guides (5). Requires enabling bracket pair guides.'));
|
|
79
|
+
export const editorBracketPairGuideActiveBackground6 = registerColor('editorBracketPairGuide.activeBackground6', '#00000000', nls.localize(684, 'Background color of active bracket pair guides (6). Requires enabling bracket pair guides.'));
|
|
80
|
+
export const editorUnicodeHighlightBorder = registerColor('editorUnicodeHighlight.border', editorWarningForeground, nls.localize(685, 'Border color used to highlight unicode characters.'));
|
|
81
|
+
export const editorUnicodeHighlightBackground = registerColor('editorUnicodeHighlight.background', editorWarningBackground, nls.localize(686, 'Background color used to highlight unicode characters.'));
|
|
82
82
|
// contains all color rules that used to defined in editor/browser/widget/editor.css
|
|
83
83
|
registerThemingParticipant((theme, collector) => {
|
|
84
84
|
const background = theme.getColor(editorBackground);
|
|
@@ -11,72 +11,72 @@ export var EditorContextKeys;
|
|
|
11
11
|
* A context key that is set when the editor's text has focus (cursor is blinking).
|
|
12
12
|
* Is false when focus is in simple editor widgets (repl input, scm commit input).
|
|
13
13
|
*/
|
|
14
|
-
EditorContextKeys.editorTextFocus = new RawContextKey('editorTextFocus', false, nls.localize(
|
|
14
|
+
EditorContextKeys.editorTextFocus = new RawContextKey('editorTextFocus', false, nls.localize(687, "Whether the editor text has focus (cursor is blinking)"));
|
|
15
15
|
/**
|
|
16
16
|
* A context key that is set when the editor's text or an editor's widget has focus.
|
|
17
17
|
*/
|
|
18
|
-
EditorContextKeys.focus = new RawContextKey('editorFocus', false, nls.localize(
|
|
18
|
+
EditorContextKeys.focus = new RawContextKey('editorFocus', false, nls.localize(688, "Whether the editor or an editor widget has focus (e.g. focus is in the find widget)"));
|
|
19
19
|
/**
|
|
20
20
|
* A context key that is set when any editor input has focus (regular editor, repl input...).
|
|
21
21
|
*/
|
|
22
|
-
EditorContextKeys.textInputFocus = new RawContextKey('textInputFocus', false, nls.localize(
|
|
23
|
-
EditorContextKeys.readOnly = new RawContextKey('editorReadonly', false, nls.localize(
|
|
24
|
-
EditorContextKeys.inDiffEditor = new RawContextKey('inDiffEditor', false, nls.localize(
|
|
25
|
-
EditorContextKeys.isEmbeddedDiffEditor = new RawContextKey('isEmbeddedDiffEditor', false, nls.localize(
|
|
26
|
-
EditorContextKeys.inMultiDiffEditor = new RawContextKey('inMultiDiffEditor', false, nls.localize(
|
|
27
|
-
EditorContextKeys.multiDiffEditorAllCollapsed = new RawContextKey('multiDiffEditorAllCollapsed', undefined, nls.localize(
|
|
28
|
-
EditorContextKeys.hasChanges = new RawContextKey('diffEditorHasChanges', false, nls.localize(
|
|
29
|
-
EditorContextKeys.comparingMovedCode = new RawContextKey('comparingMovedCode', false, nls.localize(
|
|
30
|
-
EditorContextKeys.accessibleDiffViewerVisible = new RawContextKey('accessibleDiffViewerVisible', false, nls.localize(
|
|
31
|
-
EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = new RawContextKey('diffEditorRenderSideBySideInlineBreakpointReached', false, nls.localize(
|
|
32
|
-
EditorContextKeys.diffEditorInlineMode = new RawContextKey('diffEditorInlineMode', false, nls.localize(
|
|
33
|
-
EditorContextKeys.diffEditorOriginalWritable = new RawContextKey('diffEditorOriginalWritable', false, nls.localize(
|
|
34
|
-
EditorContextKeys.diffEditorModifiedWritable = new RawContextKey('diffEditorModifiedWritable', false, nls.localize(
|
|
35
|
-
EditorContextKeys.diffEditorOriginalUri = new RawContextKey('diffEditorOriginalUri', '', nls.localize(
|
|
36
|
-
EditorContextKeys.diffEditorModifiedUri = new RawContextKey('diffEditorModifiedUri', '', nls.localize(
|
|
37
|
-
EditorContextKeys.columnSelection = new RawContextKey('editorColumnSelection', false, nls.localize(
|
|
22
|
+
EditorContextKeys.textInputFocus = new RawContextKey('textInputFocus', false, nls.localize(689, "Whether an editor or a rich text input has focus (cursor is blinking)"));
|
|
23
|
+
EditorContextKeys.readOnly = new RawContextKey('editorReadonly', false, nls.localize(690, "Whether the editor is read-only"));
|
|
24
|
+
EditorContextKeys.inDiffEditor = new RawContextKey('inDiffEditor', false, nls.localize(691, "Whether the context is a diff editor"));
|
|
25
|
+
EditorContextKeys.isEmbeddedDiffEditor = new RawContextKey('isEmbeddedDiffEditor', false, nls.localize(692, "Whether the context is an embedded diff editor"));
|
|
26
|
+
EditorContextKeys.inMultiDiffEditor = new RawContextKey('inMultiDiffEditor', false, nls.localize(693, "Whether the context is a multi diff editor"));
|
|
27
|
+
EditorContextKeys.multiDiffEditorAllCollapsed = new RawContextKey('multiDiffEditorAllCollapsed', undefined, nls.localize(694, "Whether all files in multi diff editor are collapsed"));
|
|
28
|
+
EditorContextKeys.hasChanges = new RawContextKey('diffEditorHasChanges', false, nls.localize(695, "Whether the diff editor has changes"));
|
|
29
|
+
EditorContextKeys.comparingMovedCode = new RawContextKey('comparingMovedCode', false, nls.localize(696, "Whether a moved code block is selected for comparison"));
|
|
30
|
+
EditorContextKeys.accessibleDiffViewerVisible = new RawContextKey('accessibleDiffViewerVisible', false, nls.localize(697, "Whether the accessible diff viewer is visible"));
|
|
31
|
+
EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached = new RawContextKey('diffEditorRenderSideBySideInlineBreakpointReached', false, nls.localize(698, "Whether the diff editor render side by side inline breakpoint is reached"));
|
|
32
|
+
EditorContextKeys.diffEditorInlineMode = new RawContextKey('diffEditorInlineMode', false, nls.localize(699, "Whether inline mode is active"));
|
|
33
|
+
EditorContextKeys.diffEditorOriginalWritable = new RawContextKey('diffEditorOriginalWritable', false, nls.localize(700, "Whether modified is writable in the diff editor"));
|
|
34
|
+
EditorContextKeys.diffEditorModifiedWritable = new RawContextKey('diffEditorModifiedWritable', false, nls.localize(701, "Whether modified is writable in the diff editor"));
|
|
35
|
+
EditorContextKeys.diffEditorOriginalUri = new RawContextKey('diffEditorOriginalUri', '', nls.localize(702, "The uri of the original document"));
|
|
36
|
+
EditorContextKeys.diffEditorModifiedUri = new RawContextKey('diffEditorModifiedUri', '', nls.localize(703, "The uri of the modified document"));
|
|
37
|
+
EditorContextKeys.columnSelection = new RawContextKey('editorColumnSelection', false, nls.localize(704, "Whether `editor.columnSelection` is enabled"));
|
|
38
38
|
EditorContextKeys.writable = EditorContextKeys.readOnly.toNegated();
|
|
39
|
-
EditorContextKeys.hasNonEmptySelection = new RawContextKey('editorHasSelection', false, nls.localize(
|
|
39
|
+
EditorContextKeys.hasNonEmptySelection = new RawContextKey('editorHasSelection', false, nls.localize(705, "Whether the editor has text selected"));
|
|
40
40
|
EditorContextKeys.hasOnlyEmptySelection = EditorContextKeys.hasNonEmptySelection.toNegated();
|
|
41
|
-
EditorContextKeys.hasMultipleSelections = new RawContextKey('editorHasMultipleSelections', false, nls.localize(
|
|
41
|
+
EditorContextKeys.hasMultipleSelections = new RawContextKey('editorHasMultipleSelections', false, nls.localize(706, "Whether the editor has multiple selections"));
|
|
42
42
|
EditorContextKeys.hasSingleSelection = EditorContextKeys.hasMultipleSelections.toNegated();
|
|
43
|
-
EditorContextKeys.tabMovesFocus = new RawContextKey('editorTabMovesFocus', false, nls.localize(
|
|
43
|
+
EditorContextKeys.tabMovesFocus = new RawContextKey('editorTabMovesFocus', false, nls.localize(707, "Whether `Tab` will move focus out of the editor"));
|
|
44
44
|
EditorContextKeys.tabDoesNotMoveFocus = EditorContextKeys.tabMovesFocus.toNegated();
|
|
45
45
|
EditorContextKeys.isInEmbeddedEditor = new RawContextKey('isInEmbeddedEditor', false, true);
|
|
46
46
|
EditorContextKeys.canUndo = new RawContextKey('canUndo', false, true);
|
|
47
47
|
EditorContextKeys.canRedo = new RawContextKey('canRedo', false, true);
|
|
48
|
-
EditorContextKeys.hoverVisible = new RawContextKey('editorHoverVisible', false, nls.localize(
|
|
49
|
-
EditorContextKeys.hoverFocused = new RawContextKey('editorHoverFocused', false, nls.localize(
|
|
50
|
-
EditorContextKeys.stickyScrollFocused = new RawContextKey('stickyScrollFocused', false, nls.localize(
|
|
51
|
-
EditorContextKeys.stickyScrollVisible = new RawContextKey('stickyScrollVisible', false, nls.localize(
|
|
52
|
-
EditorContextKeys.standaloneColorPickerVisible = new RawContextKey('standaloneColorPickerVisible', false, nls.localize(
|
|
53
|
-
EditorContextKeys.standaloneColorPickerFocused = new RawContextKey('standaloneColorPickerFocused', false, nls.localize(
|
|
48
|
+
EditorContextKeys.hoverVisible = new RawContextKey('editorHoverVisible', false, nls.localize(708, "Whether the editor hover is visible"));
|
|
49
|
+
EditorContextKeys.hoverFocused = new RawContextKey('editorHoverFocused', false, nls.localize(709, "Whether the editor hover is focused"));
|
|
50
|
+
EditorContextKeys.stickyScrollFocused = new RawContextKey('stickyScrollFocused', false, nls.localize(710, "Whether the sticky scroll is focused"));
|
|
51
|
+
EditorContextKeys.stickyScrollVisible = new RawContextKey('stickyScrollVisible', false, nls.localize(711, "Whether the sticky scroll is visible"));
|
|
52
|
+
EditorContextKeys.standaloneColorPickerVisible = new RawContextKey('standaloneColorPickerVisible', false, nls.localize(712, "Whether the standalone color picker is visible"));
|
|
53
|
+
EditorContextKeys.standaloneColorPickerFocused = new RawContextKey('standaloneColorPickerFocused', false, nls.localize(713, "Whether the standalone color picker is focused"));
|
|
54
54
|
/**
|
|
55
55
|
* A context key that is set when an editor is part of a larger editor, like notebooks or
|
|
56
56
|
* (future) a diff editor
|
|
57
57
|
*/
|
|
58
|
-
EditorContextKeys.inCompositeEditor = new RawContextKey('inCompositeEditor', undefined, nls.localize(
|
|
58
|
+
EditorContextKeys.inCompositeEditor = new RawContextKey('inCompositeEditor', undefined, nls.localize(714, "Whether the editor is part of a larger editor (e.g. notebooks)"));
|
|
59
59
|
EditorContextKeys.notInCompositeEditor = EditorContextKeys.inCompositeEditor.toNegated();
|
|
60
60
|
// -- mode context keys
|
|
61
|
-
EditorContextKeys.languageId = new RawContextKey('editorLangId', '', nls.localize(
|
|
62
|
-
EditorContextKeys.hasCompletionItemProvider = new RawContextKey('editorHasCompletionItemProvider', false, nls.localize(
|
|
63
|
-
EditorContextKeys.hasCodeActionsProvider = new RawContextKey('editorHasCodeActionsProvider', false, nls.localize(
|
|
64
|
-
EditorContextKeys.hasCodeLensProvider = new RawContextKey('editorHasCodeLensProvider', false, nls.localize(
|
|
65
|
-
EditorContextKeys.hasDefinitionProvider = new RawContextKey('editorHasDefinitionProvider', false, nls.localize(
|
|
66
|
-
EditorContextKeys.hasDeclarationProvider = new RawContextKey('editorHasDeclarationProvider', false, nls.localize(
|
|
67
|
-
EditorContextKeys.hasImplementationProvider = new RawContextKey('editorHasImplementationProvider', false, nls.localize(
|
|
68
|
-
EditorContextKeys.hasTypeDefinitionProvider = new RawContextKey('editorHasTypeDefinitionProvider', false, nls.localize(
|
|
69
|
-
EditorContextKeys.hasHoverProvider = new RawContextKey('editorHasHoverProvider', false, nls.localize(
|
|
70
|
-
EditorContextKeys.hasDocumentHighlightProvider = new RawContextKey('editorHasDocumentHighlightProvider', false, nls.localize(
|
|
71
|
-
EditorContextKeys.hasDocumentSymbolProvider = new RawContextKey('editorHasDocumentSymbolProvider', false, nls.localize(
|
|
72
|
-
EditorContextKeys.hasReferenceProvider = new RawContextKey('editorHasReferenceProvider', false, nls.localize(
|
|
73
|
-
EditorContextKeys.hasRenameProvider = new RawContextKey('editorHasRenameProvider', false, nls.localize(
|
|
74
|
-
EditorContextKeys.hasSignatureHelpProvider = new RawContextKey('editorHasSignatureHelpProvider', false, nls.localize(
|
|
75
|
-
EditorContextKeys.hasInlayHintsProvider = new RawContextKey('editorHasInlayHintsProvider', false, nls.localize(
|
|
61
|
+
EditorContextKeys.languageId = new RawContextKey('editorLangId', '', nls.localize(715, "The language identifier of the editor"));
|
|
62
|
+
EditorContextKeys.hasCompletionItemProvider = new RawContextKey('editorHasCompletionItemProvider', false, nls.localize(716, "Whether the editor has a completion item provider"));
|
|
63
|
+
EditorContextKeys.hasCodeActionsProvider = new RawContextKey('editorHasCodeActionsProvider', false, nls.localize(717, "Whether the editor has a code actions provider"));
|
|
64
|
+
EditorContextKeys.hasCodeLensProvider = new RawContextKey('editorHasCodeLensProvider', false, nls.localize(718, "Whether the editor has a code lens provider"));
|
|
65
|
+
EditorContextKeys.hasDefinitionProvider = new RawContextKey('editorHasDefinitionProvider', false, nls.localize(719, "Whether the editor has a definition provider"));
|
|
66
|
+
EditorContextKeys.hasDeclarationProvider = new RawContextKey('editorHasDeclarationProvider', false, nls.localize(720, "Whether the editor has a declaration provider"));
|
|
67
|
+
EditorContextKeys.hasImplementationProvider = new RawContextKey('editorHasImplementationProvider', false, nls.localize(721, "Whether the editor has an implementation provider"));
|
|
68
|
+
EditorContextKeys.hasTypeDefinitionProvider = new RawContextKey('editorHasTypeDefinitionProvider', false, nls.localize(722, "Whether the editor has a type definition provider"));
|
|
69
|
+
EditorContextKeys.hasHoverProvider = new RawContextKey('editorHasHoverProvider', false, nls.localize(723, "Whether the editor has a hover provider"));
|
|
70
|
+
EditorContextKeys.hasDocumentHighlightProvider = new RawContextKey('editorHasDocumentHighlightProvider', false, nls.localize(724, "Whether the editor has a document highlight provider"));
|
|
71
|
+
EditorContextKeys.hasDocumentSymbolProvider = new RawContextKey('editorHasDocumentSymbolProvider', false, nls.localize(725, "Whether the editor has a document symbol provider"));
|
|
72
|
+
EditorContextKeys.hasReferenceProvider = new RawContextKey('editorHasReferenceProvider', false, nls.localize(726, "Whether the editor has a reference provider"));
|
|
73
|
+
EditorContextKeys.hasRenameProvider = new RawContextKey('editorHasRenameProvider', false, nls.localize(727, "Whether the editor has a rename provider"));
|
|
74
|
+
EditorContextKeys.hasSignatureHelpProvider = new RawContextKey('editorHasSignatureHelpProvider', false, nls.localize(728, "Whether the editor has a signature help provider"));
|
|
75
|
+
EditorContextKeys.hasInlayHintsProvider = new RawContextKey('editorHasInlayHintsProvider', false, nls.localize(729, "Whether the editor has an inline hints provider"));
|
|
76
76
|
// -- mode context keys: formatting
|
|
77
|
-
EditorContextKeys.hasDocumentFormattingProvider = new RawContextKey('editorHasDocumentFormattingProvider', false, nls.localize(
|
|
78
|
-
EditorContextKeys.hasDocumentSelectionFormattingProvider = new RawContextKey('editorHasDocumentSelectionFormattingProvider', false, nls.localize(
|
|
79
|
-
EditorContextKeys.hasMultipleDocumentFormattingProvider = new RawContextKey('editorHasMultipleDocumentFormattingProvider', false, nls.localize(
|
|
80
|
-
EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = new RawContextKey('editorHasMultipleDocumentSelectionFormattingProvider', false, nls.localize(
|
|
77
|
+
EditorContextKeys.hasDocumentFormattingProvider = new RawContextKey('editorHasDocumentFormattingProvider', false, nls.localize(730, "Whether the editor has a document formatting provider"));
|
|
78
|
+
EditorContextKeys.hasDocumentSelectionFormattingProvider = new RawContextKey('editorHasDocumentSelectionFormattingProvider', false, nls.localize(731, "Whether the editor has a document selection formatting provider"));
|
|
79
|
+
EditorContextKeys.hasMultipleDocumentFormattingProvider = new RawContextKey('editorHasMultipleDocumentFormattingProvider', false, nls.localize(732, "Whether the editor has multiple document formatting providers"));
|
|
80
|
+
EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider = new RawContextKey('editorHasMultipleDocumentSelectionFormattingProvider', false, nls.localize(733, "Whether the editor has multiple document selection formatting providers"));
|
|
81
81
|
})(EditorContextKeys || (EditorContextKeys = {}));
|
|
82
82
|
//# sourceMappingURL=editorContextKeys.js.map
|
|
@@ -44,7 +44,7 @@ export const PLAINTEXT_EXTENSION = '.txt';
|
|
|
44
44
|
ModesRegistry.registerLanguage({
|
|
45
45
|
id: PLAINTEXT_LANGUAGE_ID,
|
|
46
46
|
extensions: [PLAINTEXT_EXTENSION],
|
|
47
|
-
aliases: [nls.localize(
|
|
47
|
+
aliases: [nls.localize(790, "Plain Text"), 'text'],
|
|
48
48
|
mimetypes: [Mimes.text]
|
|
49
49
|
});
|
|
50
50
|
Registry.as(ConfigurationExtensions.Configuration)
|
|
@@ -106,35 +106,35 @@ export var CompletionItemKinds;
|
|
|
106
106
|
*/
|
|
107
107
|
function toLabel(kind) {
|
|
108
108
|
switch (kind) {
|
|
109
|
-
case 0 /* CompletionItemKind.Method */: return localize(
|
|
110
|
-
case 1 /* CompletionItemKind.Function */: return localize(
|
|
111
|
-
case 2 /* CompletionItemKind.Constructor */: return localize(
|
|
112
|
-
case 3 /* CompletionItemKind.Field */: return localize(
|
|
113
|
-
case 4 /* CompletionItemKind.Variable */: return localize(
|
|
114
|
-
case 5 /* CompletionItemKind.Class */: return localize(
|
|
115
|
-
case 6 /* CompletionItemKind.Struct */: return localize(
|
|
116
|
-
case 7 /* CompletionItemKind.Interface */: return localize(
|
|
117
|
-
case 8 /* CompletionItemKind.Module */: return localize(
|
|
118
|
-
case 9 /* CompletionItemKind.Property */: return localize(
|
|
119
|
-
case 10 /* CompletionItemKind.Event */: return localize(
|
|
120
|
-
case 11 /* CompletionItemKind.Operator */: return localize(
|
|
121
|
-
case 12 /* CompletionItemKind.Unit */: return localize(
|
|
122
|
-
case 13 /* CompletionItemKind.Value */: return localize(
|
|
123
|
-
case 14 /* CompletionItemKind.Constant */: return localize(
|
|
124
|
-
case 15 /* CompletionItemKind.Enum */: return localize(
|
|
125
|
-
case 16 /* CompletionItemKind.EnumMember */: return localize(
|
|
126
|
-
case 17 /* CompletionItemKind.Keyword */: return localize(
|
|
127
|
-
case 18 /* CompletionItemKind.Text */: return localize(
|
|
128
|
-
case 19 /* CompletionItemKind.Color */: return localize(
|
|
129
|
-
case 20 /* CompletionItemKind.File */: return localize(
|
|
130
|
-
case 21 /* CompletionItemKind.Reference */: return localize(
|
|
131
|
-
case 22 /* CompletionItemKind.Customcolor */: return localize(
|
|
132
|
-
case 23 /* CompletionItemKind.Folder */: return localize(
|
|
133
|
-
case 24 /* CompletionItemKind.TypeParameter */: return localize(
|
|
134
|
-
case 25 /* CompletionItemKind.User */: return localize(
|
|
135
|
-
case 26 /* CompletionItemKind.Issue */: return localize(
|
|
136
|
-
case 27 /* CompletionItemKind.Tool */: return localize(
|
|
137
|
-
case 28 /* CompletionItemKind.Snippet */: return localize(
|
|
109
|
+
case 0 /* CompletionItemKind.Method */: return localize(734, 'Method');
|
|
110
|
+
case 1 /* CompletionItemKind.Function */: return localize(735, 'Function');
|
|
111
|
+
case 2 /* CompletionItemKind.Constructor */: return localize(736, 'Constructor');
|
|
112
|
+
case 3 /* CompletionItemKind.Field */: return localize(737, 'Field');
|
|
113
|
+
case 4 /* CompletionItemKind.Variable */: return localize(738, 'Variable');
|
|
114
|
+
case 5 /* CompletionItemKind.Class */: return localize(739, 'Class');
|
|
115
|
+
case 6 /* CompletionItemKind.Struct */: return localize(740, 'Struct');
|
|
116
|
+
case 7 /* CompletionItemKind.Interface */: return localize(741, 'Interface');
|
|
117
|
+
case 8 /* CompletionItemKind.Module */: return localize(742, 'Module');
|
|
118
|
+
case 9 /* CompletionItemKind.Property */: return localize(743, 'Property');
|
|
119
|
+
case 10 /* CompletionItemKind.Event */: return localize(744, 'Event');
|
|
120
|
+
case 11 /* CompletionItemKind.Operator */: return localize(745, 'Operator');
|
|
121
|
+
case 12 /* CompletionItemKind.Unit */: return localize(746, 'Unit');
|
|
122
|
+
case 13 /* CompletionItemKind.Value */: return localize(747, 'Value');
|
|
123
|
+
case 14 /* CompletionItemKind.Constant */: return localize(748, 'Constant');
|
|
124
|
+
case 15 /* CompletionItemKind.Enum */: return localize(749, 'Enum');
|
|
125
|
+
case 16 /* CompletionItemKind.EnumMember */: return localize(750, 'Enum Member');
|
|
126
|
+
case 17 /* CompletionItemKind.Keyword */: return localize(751, 'Keyword');
|
|
127
|
+
case 18 /* CompletionItemKind.Text */: return localize(752, 'Text');
|
|
128
|
+
case 19 /* CompletionItemKind.Color */: return localize(753, 'Color');
|
|
129
|
+
case 20 /* CompletionItemKind.File */: return localize(754, 'File');
|
|
130
|
+
case 21 /* CompletionItemKind.Reference */: return localize(755, 'Reference');
|
|
131
|
+
case 22 /* CompletionItemKind.Customcolor */: return localize(756, 'Custom Color');
|
|
132
|
+
case 23 /* CompletionItemKind.Folder */: return localize(757, 'Folder');
|
|
133
|
+
case 24 /* CompletionItemKind.TypeParameter */: return localize(758, 'Type Parameter');
|
|
134
|
+
case 25 /* CompletionItemKind.User */: return localize(759, 'User');
|
|
135
|
+
case 26 /* CompletionItemKind.Issue */: return localize(760, 'Issue');
|
|
136
|
+
case 27 /* CompletionItemKind.Tool */: return localize(761, 'Tool');
|
|
137
|
+
case 28 /* CompletionItemKind.Snippet */: return localize(762, 'Snippet');
|
|
138
138
|
default: return '';
|
|
139
139
|
}
|
|
140
140
|
}
|
|
@@ -316,38 +316,38 @@ export function isLocationLink(thing) {
|
|
|
316
316
|
* @internal
|
|
317
317
|
*/
|
|
318
318
|
export const symbolKindNames = {
|
|
319
|
-
[17 /* SymbolKind.Array */]: localize(
|
|
320
|
-
[16 /* SymbolKind.Boolean */]: localize(
|
|
321
|
-
[4 /* SymbolKind.Class */]: localize(
|
|
322
|
-
[13 /* SymbolKind.Constant */]: localize(
|
|
323
|
-
[8 /* SymbolKind.Constructor */]: localize(
|
|
324
|
-
[9 /* SymbolKind.Enum */]: localize(
|
|
325
|
-
[21 /* SymbolKind.EnumMember */]: localize(
|
|
326
|
-
[23 /* SymbolKind.Event */]: localize(
|
|
327
|
-
[7 /* SymbolKind.Field */]: localize(
|
|
328
|
-
[0 /* SymbolKind.File */]: localize(
|
|
329
|
-
[11 /* SymbolKind.Function */]: localize(
|
|
330
|
-
[10 /* SymbolKind.Interface */]: localize(
|
|
331
|
-
[19 /* SymbolKind.Key */]: localize(
|
|
332
|
-
[5 /* SymbolKind.Method */]: localize(
|
|
333
|
-
[1 /* SymbolKind.Module */]: localize(
|
|
334
|
-
[2 /* SymbolKind.Namespace */]: localize(
|
|
335
|
-
[20 /* SymbolKind.Null */]: localize(
|
|
336
|
-
[15 /* SymbolKind.Number */]: localize(
|
|
337
|
-
[18 /* SymbolKind.Object */]: localize(
|
|
338
|
-
[24 /* SymbolKind.Operator */]: localize(
|
|
339
|
-
[3 /* SymbolKind.Package */]: localize(
|
|
340
|
-
[6 /* SymbolKind.Property */]: localize(
|
|
341
|
-
[14 /* SymbolKind.String */]: localize(
|
|
342
|
-
[22 /* SymbolKind.Struct */]: localize(
|
|
343
|
-
[25 /* SymbolKind.TypeParameter */]: localize(
|
|
344
|
-
[12 /* SymbolKind.Variable */]: localize(
|
|
319
|
+
[17 /* SymbolKind.Array */]: localize(763, "array"),
|
|
320
|
+
[16 /* SymbolKind.Boolean */]: localize(764, "boolean"),
|
|
321
|
+
[4 /* SymbolKind.Class */]: localize(765, "class"),
|
|
322
|
+
[13 /* SymbolKind.Constant */]: localize(766, "constant"),
|
|
323
|
+
[8 /* SymbolKind.Constructor */]: localize(767, "constructor"),
|
|
324
|
+
[9 /* SymbolKind.Enum */]: localize(768, "enumeration"),
|
|
325
|
+
[21 /* SymbolKind.EnumMember */]: localize(769, "enumeration member"),
|
|
326
|
+
[23 /* SymbolKind.Event */]: localize(770, "event"),
|
|
327
|
+
[7 /* SymbolKind.Field */]: localize(771, "field"),
|
|
328
|
+
[0 /* SymbolKind.File */]: localize(772, "file"),
|
|
329
|
+
[11 /* SymbolKind.Function */]: localize(773, "function"),
|
|
330
|
+
[10 /* SymbolKind.Interface */]: localize(774, "interface"),
|
|
331
|
+
[19 /* SymbolKind.Key */]: localize(775, "key"),
|
|
332
|
+
[5 /* SymbolKind.Method */]: localize(776, "method"),
|
|
333
|
+
[1 /* SymbolKind.Module */]: localize(777, "module"),
|
|
334
|
+
[2 /* SymbolKind.Namespace */]: localize(778, "namespace"),
|
|
335
|
+
[20 /* SymbolKind.Null */]: localize(779, "null"),
|
|
336
|
+
[15 /* SymbolKind.Number */]: localize(780, "number"),
|
|
337
|
+
[18 /* SymbolKind.Object */]: localize(781, "object"),
|
|
338
|
+
[24 /* SymbolKind.Operator */]: localize(782, "operator"),
|
|
339
|
+
[3 /* SymbolKind.Package */]: localize(783, "package"),
|
|
340
|
+
[6 /* SymbolKind.Property */]: localize(784, "property"),
|
|
341
|
+
[14 /* SymbolKind.String */]: localize(785, "string"),
|
|
342
|
+
[22 /* SymbolKind.Struct */]: localize(786, "struct"),
|
|
343
|
+
[25 /* SymbolKind.TypeParameter */]: localize(787, "type parameter"),
|
|
344
|
+
[12 /* SymbolKind.Variable */]: localize(788, "variable"),
|
|
345
345
|
};
|
|
346
346
|
/**
|
|
347
347
|
* @internal
|
|
348
348
|
*/
|
|
349
349
|
export function getAriaLabelForSymbol(symbolName, kind) {
|
|
350
|
-
return localize(
|
|
350
|
+
return localize(789, '{0} ({1})', symbolName, symbolKindNames[kind]);
|
|
351
351
|
}
|
|
352
352
|
/**
|
|
353
353
|
* @internal
|
|
@@ -325,7 +325,7 @@ export class EditStack {
|
|
|
325
325
|
if (isEditStackElement(lastElement) && lastElement.canAppend(this._model)) {
|
|
326
326
|
return lastElement;
|
|
327
327
|
}
|
|
328
|
-
const newElement = new SingleModelEditStackElement(nls.localize(
|
|
328
|
+
const newElement = new SingleModelEditStackElement(nls.localize(791, "Typing"), 'undoredo.textBufferEdit', this._model, beforeCursorState);
|
|
329
329
|
this._undoRedoService.pushElement(newElement, group);
|
|
330
330
|
return newElement;
|
|
331
331
|
}
|
|
@@ -5,37 +5,37 @@
|
|
|
5
5
|
import * as nls from '../../nls.js';
|
|
6
6
|
export var InspectTokensNLS;
|
|
7
7
|
(function (InspectTokensNLS) {
|
|
8
|
-
InspectTokensNLS.inspectTokensAction = nls.localize(
|
|
8
|
+
InspectTokensNLS.inspectTokensAction = nls.localize(792, "Developer: Inspect Tokens");
|
|
9
9
|
})(InspectTokensNLS || (InspectTokensNLS = {}));
|
|
10
10
|
export var GoToLineNLS;
|
|
11
11
|
(function (GoToLineNLS) {
|
|
12
|
-
GoToLineNLS.gotoLineActionLabel = nls.localize(
|
|
13
|
-
GoToLineNLS.gotoOffsetActionLabel = nls.localize(
|
|
12
|
+
GoToLineNLS.gotoLineActionLabel = nls.localize(793, "Go to Line/Column...");
|
|
13
|
+
GoToLineNLS.gotoOffsetActionLabel = nls.localize(794, "Go to Offset...");
|
|
14
14
|
})(GoToLineNLS || (GoToLineNLS = {}));
|
|
15
15
|
export var QuickHelpNLS;
|
|
16
16
|
(function (QuickHelpNLS) {
|
|
17
|
-
QuickHelpNLS.helpQuickAccessActionLabel = nls.localize(
|
|
17
|
+
QuickHelpNLS.helpQuickAccessActionLabel = nls.localize(795, "Show all Quick Access Providers");
|
|
18
18
|
})(QuickHelpNLS || (QuickHelpNLS = {}));
|
|
19
19
|
export var QuickCommandNLS;
|
|
20
20
|
(function (QuickCommandNLS) {
|
|
21
|
-
QuickCommandNLS.quickCommandActionLabel = nls.localize(
|
|
22
|
-
QuickCommandNLS.quickCommandHelp = nls.localize(
|
|
21
|
+
QuickCommandNLS.quickCommandActionLabel = nls.localize(796, "Command Palette");
|
|
22
|
+
QuickCommandNLS.quickCommandHelp = nls.localize(797, "Show And Run Commands");
|
|
23
23
|
})(QuickCommandNLS || (QuickCommandNLS = {}));
|
|
24
24
|
export var QuickOutlineNLS;
|
|
25
25
|
(function (QuickOutlineNLS) {
|
|
26
|
-
QuickOutlineNLS.quickOutlineActionLabel = nls.localize(
|
|
27
|
-
QuickOutlineNLS.quickOutlineByCategoryActionLabel = nls.localize(
|
|
26
|
+
QuickOutlineNLS.quickOutlineActionLabel = nls.localize(798, "Go to Symbol...");
|
|
27
|
+
QuickOutlineNLS.quickOutlineByCategoryActionLabel = nls.localize(799, "Go to Symbol by Category...");
|
|
28
28
|
})(QuickOutlineNLS || (QuickOutlineNLS = {}));
|
|
29
29
|
export var StandaloneCodeEditorNLS;
|
|
30
30
|
(function (StandaloneCodeEditorNLS) {
|
|
31
|
-
StandaloneCodeEditorNLS.editorViewAccessibleLabel = nls.localize(
|
|
31
|
+
StandaloneCodeEditorNLS.editorViewAccessibleLabel = nls.localize(800, "Editor content");
|
|
32
32
|
})(StandaloneCodeEditorNLS || (StandaloneCodeEditorNLS = {}));
|
|
33
33
|
export var ToggleHighContrastNLS;
|
|
34
34
|
(function (ToggleHighContrastNLS) {
|
|
35
|
-
ToggleHighContrastNLS.toggleHighContrast = nls.localize(
|
|
35
|
+
ToggleHighContrastNLS.toggleHighContrast = nls.localize(801, "Toggle High Contrast Theme");
|
|
36
36
|
})(ToggleHighContrastNLS || (ToggleHighContrastNLS = {}));
|
|
37
37
|
export var StandaloneServicesNLS;
|
|
38
38
|
(function (StandaloneServicesNLS) {
|
|
39
|
-
StandaloneServicesNLS.bulkEditServiceSummary = nls.localize(
|
|
39
|
+
StandaloneServicesNLS.bulkEditServiceSummary = nls.localize(802, "Made {0} edits in {1} files");
|
|
40
40
|
})(StandaloneServicesNLS || (StandaloneServicesNLS = {}));
|
|
41
41
|
//# sourceMappingURL=standaloneStrings.js.map
|
|
@@ -925,7 +925,7 @@ function _renderLine(input, sb) {
|
|
|
925
925
|
}
|
|
926
926
|
if (isOverflowing) {
|
|
927
927
|
sb.appendString('<span class="mtkoverflow">');
|
|
928
|
-
sb.appendString(nls.localize(
|
|
928
|
+
sb.appendString(nls.localize(803, "Show more ({0})", renderOverflowingCharCount(overflowingCharCount)));
|
|
929
929
|
sb.appendString('</span>');
|
|
930
930
|
}
|
|
931
931
|
sb.appendString('</span>');
|
|
@@ -936,7 +936,7 @@ function to4CharHex(n) {
|
|
|
936
936
|
}
|
|
937
937
|
function renderOverflowingCharCount(n) {
|
|
938
938
|
if (n < 1024) {
|
|
939
|
-
return nls.localize(
|
|
939
|
+
return nls.localize(804, "{0} chars", n);
|
|
940
940
|
}
|
|
941
941
|
if (n < 1024 * 1024) {
|
|
942
942
|
return `${(n / 1024).toFixed(1)} KB`;
|