monaco-editor-core 0.54.0-dev-20250910 → 0.54.0-dev-20250912
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.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.ru.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 +8 -2
- package/esm/vs/base/browser/domSanitize.js +32 -21
- package/esm/vs/base/browser/domSanitize.js.map +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/menu/menu.js +2 -0
- package/esm/vs/base/browser/ui/menu/menu.js.map +1 -1
- package/esm/vs/base/common/codiconsLibrary.js +2 -0
- package/esm/vs/base/common/codiconsLibrary.js.map +1 -1
- package/esm/vs/base/common/observableInternal/index.js +3 -0
- package/esm/vs/base/common/observableInternal/index.js.map +1 -1
- package/esm/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +71 -0
- package/esm/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js.map +1 -0
- package/esm/vs/base/common/observableInternal/observables/baseObservable.js +4 -0
- package/esm/vs/base/common/observableInternal/observables/baseObservable.js.map +1 -1
- package/esm/vs/base/common/observableInternal/observables/derivedImpl.js +10 -0
- package/esm/vs/base/common/observableInternal/observables/derivedImpl.js.map +1 -1
- package/esm/vs/base/common/observableInternal/observables/observableFromEvent.js +3 -0
- package/esm/vs/base/common/observableInternal/observables/observableFromEvent.js.map +1 -1
- package/esm/vs/base/common/observableInternal/reactions/autorunImpl.js +9 -0
- package/esm/vs/base/common/observableInternal/reactions/autorunImpl.js.map +1 -1
- package/esm/vs/editor/browser/config/editorConfiguration.js +1 -1
- package/esm/vs/editor/browser/controller/dragScrolling.js +4 -4
- package/esm/vs/editor/browser/controller/editContext/native/nativeEditContext.js +3 -3
- package/esm/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +3 -3
- package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +6 -6
- package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +9 -9
- package/esm/vs/editor/browser/controller/mouseHandler.js +6 -6
- package/esm/vs/editor/browser/controller/mouseTarget.js +3 -3
- package/esm/vs/editor/browser/coreCommands.js +2 -2
- package/esm/vs/editor/browser/gpu/rectangleRenderer.js +1 -1
- package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/esm/vs/editor/browser/observableCodeEditor.js +1 -1
- package/esm/vs/editor/browser/view/viewController.js +2 -2
- package/esm/vs/editor/browser/view/viewLayer.js +1 -1
- package/esm/vs/editor/browser/view/viewOverlays.js +4 -4
- package/esm/vs/editor/browser/view.js +5 -5
- package/esm/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
- package/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +3 -3
- package/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +6 -6
- package/esm/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +8 -8
- package/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +2 -2
- package/esm/vs/editor/browser/viewParts/indentGuides/indentGuides.js +2 -2
- package/esm/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +2 -2
- package/esm/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -2
- package/esm/vs/editor/browser/viewParts/margin/margin.js +2 -2
- package/esm/vs/editor/browser/viewParts/minimap/minimap.js +5 -5
- package/esm/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
- package/esm/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +4 -4
- package/esm/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +3 -3
- package/esm/vs/editor/browser/viewParts/rulers/rulers.js +2 -2
- package/esm/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +1 -1
- package/esm/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +3 -3
- package/esm/vs/editor/browser/viewParts/selections/selections.js +2 -2
- package/esm/vs/editor/browser/viewParts/viewCursors/viewCursor.js +2 -2
- package/esm/vs/editor/browser/viewParts/viewCursors/viewCursors.js +6 -6
- package/esm/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +4 -4
- package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +11 -11
- package/esm/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +1 -1
- package/esm/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
- package/esm/vs/editor/browser/viewParts/whitespace/whitespace.js +4 -4
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +12 -12
- package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -1
- package/esm/vs/editor/browser/widget/diffEditor/commands.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +4 -4
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +3 -3
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +25 -0
- package/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js.map +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
- package/esm/vs/editor/common/config/editorOptions.js +155 -154
- package/esm/vs/editor/common/config/editorOptions.js.map +1 -1
- package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
- package/esm/vs/editor/common/core/ranges/lineRange.js +3 -0
- package/esm/vs/editor/common/core/ranges/lineRange.js.map +1 -1
- package/esm/vs/editor/common/cursorCommon.js +19 -19
- package/esm/vs/editor/common/editorContextKeys.js +46 -46
- 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/standalone/standaloneEnums.js +86 -85
- package/esm/vs/editor/common/standalone/standaloneEnums.js.map +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +10 -10
- package/esm/vs/editor/common/viewLayout/viewLayout.js +15 -15
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +1 -1
- package/esm/vs/editor/common/viewModel/viewModelImpl.js +14 -14
- 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 +20 -20
- 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/codeActionModel.js +1 -1
- 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/colorDetector.js +3 -3
- 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/hoverColorPickerContribution.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +1 -1
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +12 -12
- 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 +12 -12
- 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 +17 -17
- package/esm/vs/editor/contrib/find/browser/findModel.js +6 -6
- package/esm/vs/editor/contrib/find/browser/findWidget.js +32 -32
- package/esm/vs/editor/contrib/folding/browser/folding.js +23 -23
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js.map +1 -1
- 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/clickLinkGesture.js +21 -11
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js.map +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +2 -2
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +4 -4
- 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/markdownHoverParticipant.js +10 -10
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -6
- 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/inlayHintsController.js +5 -5
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +4 -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/inlineEditsView.js +2 -0
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +1 -0
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js.map +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +22 -21
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js.map +1 -1
- 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 +32 -32
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +4 -4
- package/esm/vs/editor/contrib/links/browser/links.js +11 -11
- package/esm/vs/editor/contrib/links/browser/links.js.map +1 -1
- package/esm/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.js +1 -1
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/middleScroll/browser/middleScrollController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +36 -36
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +3 -3
- 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/placeholderText/browser/placeholderTextContribution.js +1 -1
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js.map +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -3
- 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 +5 -5
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetSession.js +2 -2
- 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/stickyScroll/browser/stickyScrollController.js +17 -24
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js.map +1 -1
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +1 -1
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +12 -3
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js.map +1 -1
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -5
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +14 -14
- package/esm/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestModel.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +23 -23
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +5 -5
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +5 -5
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +3 -3
- package/esm/vs/editor/contrib/suggest/browser/wordDistance.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 -27
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +7 -7
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +4 -4
- package/esm/vs/editor/editor.api.d.ts +93 -85
- package/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +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/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/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 +21 -13
- package/esm/vs/platform/quickinput/browser/quickInput.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +42 -8
- package/esm/vs/platform/quickinput/browser/quickInputActions.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputController.js +10 -64
- package/esm/vs/platform/quickinput/browser/quickInputController.js.map +1 -1
- 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/quickinput/browser/tree/quickInputTreeController.js +12 -0
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeController.js.map +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +11 -5
- 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 +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 +15 -15
- 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/monaco.d.ts +93 -85
- package/package.json +6 -2
- package/version.txt +1 -1
|
@@ -21,14 +21,14 @@ import { ILanguageFeaturesService } from '../../../common/services/languageFeatu
|
|
|
21
21
|
import { historyNavigationVisible } from '../../../../platform/history/browser/contextScopedHistoryWidget.js';
|
|
22
22
|
export const Context = {
|
|
23
23
|
Visible: historyNavigationVisible,
|
|
24
|
-
HasFocusedSuggestion: new RawContextKey('suggestWidgetHasFocusedSuggestion', false, localize(
|
|
25
|
-
DetailsVisible: new RawContextKey('suggestWidgetDetailsVisible', false, localize(
|
|
26
|
-
MultipleSuggestions: new RawContextKey('suggestWidgetMultipleSuggestions', false, localize(
|
|
27
|
-
MakesTextEdit: new RawContextKey('suggestionMakesTextEdit', true, localize(
|
|
28
|
-
AcceptSuggestionsOnEnter: new RawContextKey('acceptSuggestionOnEnter', true, localize(
|
|
29
|
-
HasInsertAndReplaceRange: new RawContextKey('suggestionHasInsertAndReplaceRange', false, localize(
|
|
30
|
-
InsertMode: new RawContextKey('suggestionInsertMode', undefined, { type: 'string', description: localize(
|
|
31
|
-
CanResolve: new RawContextKey('suggestionCanResolve', false, localize(
|
|
24
|
+
HasFocusedSuggestion: new RawContextKey('suggestWidgetHasFocusedSuggestion', false, localize(1438, "Whether any suggestion is focused")),
|
|
25
|
+
DetailsVisible: new RawContextKey('suggestWidgetDetailsVisible', false, localize(1439, "Whether suggestion details are visible")),
|
|
26
|
+
MultipleSuggestions: new RawContextKey('suggestWidgetMultipleSuggestions', false, localize(1440, "Whether there are multiple suggestions to pick from")),
|
|
27
|
+
MakesTextEdit: new RawContextKey('suggestionMakesTextEdit', true, localize(1441, "Whether inserting the current suggestion yields in a change or has everything already been typed")),
|
|
28
|
+
AcceptSuggestionsOnEnter: new RawContextKey('acceptSuggestionOnEnter', true, localize(1442, "Whether suggestions are inserted when pressing Enter")),
|
|
29
|
+
HasInsertAndReplaceRange: new RawContextKey('suggestionHasInsertAndReplaceRange', false, localize(1443, "Whether the current suggestion has insert and replace behaviour")),
|
|
30
|
+
InsertMode: new RawContextKey('suggestionInsertMode', undefined, { type: 'string', description: localize(1444, "Whether the default behaviour is to insert or replace") }),
|
|
31
|
+
CanResolve: new RawContextKey('suggestionCanResolve', false, localize(1445, "Whether the current suggestion supports to resolve further details")),
|
|
32
32
|
};
|
|
33
33
|
export const suggestWidgetStatusbarMenu = new MenuId('suggestWidgetStatusBar');
|
|
34
34
|
export class CompletionItem {
|
|
@@ -128,8 +128,8 @@ let SuggestController = class SuggestController {
|
|
|
128
128
|
});
|
|
129
129
|
// context key: update insert/replace mode
|
|
130
130
|
const ctxInsertMode = SuggestContext.InsertMode.bindTo(_contextKeyService);
|
|
131
|
-
ctxInsertMode.set(editor.getOption(
|
|
132
|
-
this._toDispose.add(this.model.onDidTrigger(() => ctxInsertMode.set(editor.getOption(
|
|
131
|
+
ctxInsertMode.set(editor.getOption(134 /* EditorOption.suggest */).insertMode);
|
|
132
|
+
this._toDispose.add(this.model.onDidTrigger(() => ctxInsertMode.set(editor.getOption(134 /* EditorOption.suggest */).insertMode)));
|
|
133
133
|
this.widget = this._toDispose.add(new WindowIdleValue(getWindow(editor.getDomNode()), () => {
|
|
134
134
|
const widget = this._instantiationService.createInstance(SuggestWidget, this.editor);
|
|
135
135
|
this._toDispose.add(widget);
|
|
@@ -222,7 +222,7 @@ let SuggestController = class SuggestController {
|
|
|
222
222
|
let noFocus = false;
|
|
223
223
|
if (e.triggerOptions.auto) {
|
|
224
224
|
// don't "focus" item when configured to do
|
|
225
|
-
const options = this.editor.getOption(
|
|
225
|
+
const options = this.editor.getOption(134 /* EditorOption.suggest */);
|
|
226
226
|
if (options.selectionMode === 'never' || options.selectionMode === 'always') {
|
|
227
227
|
// simple: always or never
|
|
228
228
|
noFocus = options.selectionMode === 'never';
|
|
@@ -467,7 +467,7 @@ let SuggestController = class SuggestController {
|
|
|
467
467
|
}
|
|
468
468
|
getOverwriteInfo(item, toggleMode) {
|
|
469
469
|
assertType(this.editor.hasModel());
|
|
470
|
-
let replace = this.editor.getOption(
|
|
470
|
+
let replace = this.editor.getOption(134 /* EditorOption.suggest */).insertMode === 'replace';
|
|
471
471
|
if (toggleMode) {
|
|
472
472
|
replace = !replace;
|
|
473
473
|
}
|
|
@@ -482,7 +482,7 @@ let SuggestController = class SuggestController {
|
|
|
482
482
|
}
|
|
483
483
|
_alertCompletionItem(item) {
|
|
484
484
|
if (isNonEmptyArray(item.completion.additionalTextEdits)) {
|
|
485
|
-
const msg = nls.localize(
|
|
485
|
+
const msg = nls.localize(1446, "Accepting '{0}' made {1} additional edits", item.textLabel, item.completion.additionalTextEdits.length);
|
|
486
486
|
alert(msg);
|
|
487
487
|
}
|
|
488
488
|
}
|
|
@@ -669,7 +669,7 @@ export class TriggerSuggestAction extends EditorAction {
|
|
|
669
669
|
constructor() {
|
|
670
670
|
super({
|
|
671
671
|
id: TriggerSuggestAction.id,
|
|
672
|
-
label: nls.localize2(
|
|
672
|
+
label: nls.localize2(1454, "Trigger Suggest"),
|
|
673
673
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasCompletionItemProvider, SuggestContext.Visible.toNegated()),
|
|
674
674
|
kbOpts: {
|
|
675
675
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -717,19 +717,19 @@ registerEditorCommand(new SuggestCommand({
|
|
|
717
717
|
}],
|
|
718
718
|
menuOpts: [{
|
|
719
719
|
menuId: suggestWidgetStatusbarMenu,
|
|
720
|
-
title: nls.localize(
|
|
720
|
+
title: nls.localize(1447, "Insert"),
|
|
721
721
|
group: 'left',
|
|
722
722
|
order: 1,
|
|
723
723
|
when: SuggestContext.HasInsertAndReplaceRange.toNegated()
|
|
724
724
|
}, {
|
|
725
725
|
menuId: suggestWidgetStatusbarMenu,
|
|
726
|
-
title: nls.localize(
|
|
726
|
+
title: nls.localize(1448, "Insert"),
|
|
727
727
|
group: 'left',
|
|
728
728
|
order: 1,
|
|
729
729
|
when: ContextKeyExpr.and(SuggestContext.HasInsertAndReplaceRange, SuggestContext.InsertMode.isEqualTo('insert'))
|
|
730
730
|
}, {
|
|
731
731
|
menuId: suggestWidgetStatusbarMenu,
|
|
732
|
-
title: nls.localize(
|
|
732
|
+
title: nls.localize(1449, "Replace"),
|
|
733
733
|
group: 'left',
|
|
734
734
|
order: 1,
|
|
735
735
|
when: ContextKeyExpr.and(SuggestContext.HasInsertAndReplaceRange, SuggestContext.InsertMode.isEqualTo('replace'))
|
|
@@ -752,13 +752,13 @@ registerEditorCommand(new SuggestCommand({
|
|
|
752
752
|
group: 'left',
|
|
753
753
|
order: 2,
|
|
754
754
|
when: ContextKeyExpr.and(SuggestContext.HasInsertAndReplaceRange, SuggestContext.InsertMode.isEqualTo('insert')),
|
|
755
|
-
title: nls.localize(
|
|
755
|
+
title: nls.localize(1450, "Replace")
|
|
756
756
|
}, {
|
|
757
757
|
menuId: suggestWidgetStatusbarMenu,
|
|
758
758
|
group: 'left',
|
|
759
759
|
order: 2,
|
|
760
760
|
when: ContextKeyExpr.and(SuggestContext.HasInsertAndReplaceRange, SuggestContext.InsertMode.isEqualTo('replace')),
|
|
761
|
-
title: nls.localize(
|
|
761
|
+
title: nls.localize(1451, "Insert")
|
|
762
762
|
}]
|
|
763
763
|
}));
|
|
764
764
|
// continue to support the old command
|
|
@@ -866,13 +866,13 @@ registerEditorCommand(new SuggestCommand({
|
|
|
866
866
|
group: 'right',
|
|
867
867
|
order: 1,
|
|
868
868
|
when: ContextKeyExpr.and(SuggestContext.DetailsVisible, SuggestContext.CanResolve),
|
|
869
|
-
title: nls.localize(
|
|
869
|
+
title: nls.localize(1452, "Show Less")
|
|
870
870
|
}, {
|
|
871
871
|
menuId: suggestWidgetStatusbarMenu,
|
|
872
872
|
group: 'right',
|
|
873
873
|
order: 1,
|
|
874
874
|
when: ContextKeyExpr.and(SuggestContext.DetailsVisible.toNegated(), SuggestContext.CanResolve),
|
|
875
|
-
title: nls.localize(
|
|
875
|
+
title: nls.localize(1453, "Show More")
|
|
876
876
|
}]
|
|
877
877
|
}));
|
|
878
878
|
registerEditorCommand(new SuggestCommand({
|
|
@@ -931,7 +931,7 @@ registerEditorAction(class extends EditorAction {
|
|
|
931
931
|
constructor() {
|
|
932
932
|
super({
|
|
933
933
|
id: 'editor.action.resetSuggestSize',
|
|
934
|
-
label: nls.localize2(
|
|
934
|
+
label: nls.localize2(1455, "Reset Suggest Widget Size"),
|
|
935
935
|
precondition: undefined
|
|
936
936
|
});
|
|
937
937
|
}
|
|
@@ -106,7 +106,7 @@ let SuggestInlineCompletions = class SuggestInlineCompletions extends Disposable
|
|
|
106
106
|
if (!editor) {
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
const config = editor.getOption(
|
|
109
|
+
const config = editor.getOption(102 /* EditorOption.quickSuggestions */);
|
|
110
110
|
if (QuickSuggestionsOptions.isAllOff(config)) {
|
|
111
111
|
// quick suggest is off (for this model/language)
|
|
112
112
|
return;
|
|
@@ -155,7 +155,7 @@ let SuggestInlineCompletions = class SuggestInlineCompletions extends Disposable
|
|
|
155
155
|
if (completions.needsClipboard) {
|
|
156
156
|
clipboardText = await this._clipboardService.readText();
|
|
157
157
|
}
|
|
158
|
-
const completionModel = new CompletionModel(completions.items, position.column, new LineContext(leadingLineContents, 0), WordDistance.None, editor.getOption(
|
|
158
|
+
const completionModel = new CompletionModel(completions.items, position.column, new LineContext(leadingLineContents, 0), WordDistance.None, editor.getOption(134 /* EditorOption.suggest */), editor.getOption(128 /* EditorOption.snippetSuggestions */), { boostFullMatch: false, firstMatchCanBeWeak: false }, clipboardText);
|
|
159
159
|
result = new InlineCompletionResults(model, position.lineNumber, wordInfo, completionModel, completions, this._suggestMemoryService);
|
|
160
160
|
}
|
|
161
161
|
this._lastResult = result;
|
|
@@ -157,9 +157,9 @@ let SuggestModel = SuggestModel_1 = class SuggestModel {
|
|
|
157
157
|
}
|
|
158
158
|
_updateTriggerCharacters() {
|
|
159
159
|
this._triggerCharacterListener.clear();
|
|
160
|
-
if (this._editor.getOption(
|
|
160
|
+
if (this._editor.getOption(104 /* EditorOption.readOnly */)
|
|
161
161
|
|| !this._editor.hasModel()
|
|
162
|
-
|| !this._editor.getOption(
|
|
162
|
+
|| !this._editor.getOption(137 /* EditorOption.suggestOnTriggerCharacters */)) {
|
|
163
163
|
return;
|
|
164
164
|
}
|
|
165
165
|
const supportsByTriggerCharacter = new Map();
|
|
@@ -297,11 +297,11 @@ let SuggestModel = SuggestModel_1 = class SuggestModel {
|
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
_doTriggerQuickSuggest() {
|
|
300
|
-
if (QuickSuggestionsOptions.isAllOff(this._editor.getOption(
|
|
300
|
+
if (QuickSuggestionsOptions.isAllOff(this._editor.getOption(102 /* EditorOption.quickSuggestions */))) {
|
|
301
301
|
// not enabled
|
|
302
302
|
return;
|
|
303
303
|
}
|
|
304
|
-
if (this._editor.getOption(
|
|
304
|
+
if (this._editor.getOption(134 /* EditorOption.suggest */).snippetsPreventQuickSuggestions && SnippetController2.get(this._editor)?.isInSnippet()) {
|
|
305
305
|
// no quick suggestion when in snippet mode
|
|
306
306
|
return;
|
|
307
307
|
}
|
|
@@ -319,7 +319,7 @@ let SuggestModel = SuggestModel_1 = class SuggestModel {
|
|
|
319
319
|
const model = this._editor.getModel();
|
|
320
320
|
const pos = this._editor.getPosition();
|
|
321
321
|
// validate enabled now
|
|
322
|
-
const config = this._editor.getOption(
|
|
322
|
+
const config = this._editor.getOption(102 /* EditorOption.quickSuggestions */);
|
|
323
323
|
if (QuickSuggestionsOptions.isAllOff(config)) {
|
|
324
324
|
return;
|
|
325
325
|
}
|
|
@@ -341,7 +341,7 @@ let SuggestModel = SuggestModel_1 = class SuggestModel {
|
|
|
341
341
|
}
|
|
342
342
|
// we made it till here -> trigger now
|
|
343
343
|
this.trigger({ auto: true });
|
|
344
|
-
}, this._editor.getOption(
|
|
344
|
+
}, this._editor.getOption(103 /* EditorOption.quickSuggestionsDelay */));
|
|
345
345
|
}
|
|
346
346
|
_refilterCompletionItems() {
|
|
347
347
|
assertType(this._editor.hasModel());
|
|
@@ -373,7 +373,7 @@ let SuggestModel = SuggestModel_1 = class SuggestModel {
|
|
|
373
373
|
}
|
|
374
374
|
this._requestToken = new CancellationTokenSource();
|
|
375
375
|
// kind filter and snippet sort rules
|
|
376
|
-
const snippetSuggestions = this._editor.getOption(
|
|
376
|
+
const snippetSuggestions = this._editor.getOption(128 /* EditorOption.snippetSuggestions */);
|
|
377
377
|
let snippetSortOrder = 1 /* SnippetSortOrder.Inline */;
|
|
378
378
|
switch (snippetSuggestions) {
|
|
379
379
|
case 'top':
|
|
@@ -414,12 +414,12 @@ let SuggestModel = SuggestModel_1 = class SuggestModel {
|
|
|
414
414
|
const ctx = new LineContext(model, this._editor.getPosition(), options);
|
|
415
415
|
const fuzzySearchOptions = {
|
|
416
416
|
...FuzzyScoreOptions.default,
|
|
417
|
-
firstMatchCanBeWeak: !this._editor.getOption(
|
|
417
|
+
firstMatchCanBeWeak: !this._editor.getOption(134 /* EditorOption.suggest */).matchOnWordStartOnly
|
|
418
418
|
};
|
|
419
419
|
this._completionModel = new CompletionModel(completions.items, this._context.column, {
|
|
420
420
|
leadingLineContent: ctx.leadingLineContent,
|
|
421
421
|
characterCountDelta: ctx.column - this._context.column
|
|
422
|
-
}, wordDistance, this._editor.getOption(
|
|
422
|
+
}, wordDistance, this._editor.getOption(134 /* EditorOption.suggest */), this._editor.getOption(128 /* EditorOption.snippetSuggestions */), fuzzySearchOptions, clipboardText);
|
|
423
423
|
// store containers so that they can be disposed later
|
|
424
424
|
this._completionDisposables.add(completions.disposable);
|
|
425
425
|
this._onNewContext(ctx);
|
|
@@ -452,12 +452,12 @@ let SuggestModel = SuggestModel_1 = class SuggestModel {
|
|
|
452
452
|
// kind filter and snippet sort rules
|
|
453
453
|
const result = new Set();
|
|
454
454
|
// snippet setting
|
|
455
|
-
const snippetSuggestions = editor.getOption(
|
|
455
|
+
const snippetSuggestions = editor.getOption(128 /* EditorOption.snippetSuggestions */);
|
|
456
456
|
if (snippetSuggestions === 'none') {
|
|
457
457
|
result.add(28 /* CompletionItemKind.Snippet */);
|
|
458
458
|
}
|
|
459
459
|
// type setting
|
|
460
|
-
const suggestOptions = editor.getOption(
|
|
460
|
+
const suggestOptions = editor.getOption(134 /* EditorOption.suggest */);
|
|
461
461
|
if (!suggestOptions.showMethods) {
|
|
462
462
|
result.add(0 /* CompletionItemKind.Method */);
|
|
463
463
|
}
|
|
@@ -43,15 +43,15 @@ import { isWindows } from '../../../../base/common/platform.js';
|
|
|
43
43
|
/**
|
|
44
44
|
* Suggest widget colors
|
|
45
45
|
*/
|
|
46
|
-
registerColor('editorSuggestWidget.background', editorWidgetBackground, nls.localize(
|
|
47
|
-
registerColor('editorSuggestWidget.border', editorWidgetBorder, nls.localize(
|
|
48
|
-
export const editorSuggestWidgetForeground = registerColor('editorSuggestWidget.foreground', editorForeground, nls.localize(
|
|
49
|
-
registerColor('editorSuggestWidget.selectedForeground', quickInputListFocusForeground, nls.localize(
|
|
50
|
-
registerColor('editorSuggestWidget.selectedIconForeground', quickInputListFocusIconForeground, nls.localize(
|
|
51
|
-
export const editorSuggestWidgetSelectedBackground = registerColor('editorSuggestWidget.selectedBackground', quickInputListFocusBackground, nls.localize(
|
|
52
|
-
registerColor('editorSuggestWidget.highlightForeground', listHighlightForeground, nls.localize(
|
|
53
|
-
registerColor('editorSuggestWidget.focusHighlightForeground', listFocusHighlightForeground, nls.localize(
|
|
54
|
-
registerColor('editorSuggestWidgetStatus.foreground', transparent(editorSuggestWidgetForeground, .5), nls.localize(
|
|
46
|
+
registerColor('editorSuggestWidget.background', editorWidgetBackground, nls.localize(1456, 'Background color of the suggest widget.'));
|
|
47
|
+
registerColor('editorSuggestWidget.border', editorWidgetBorder, nls.localize(1457, 'Border color of the suggest widget.'));
|
|
48
|
+
export const editorSuggestWidgetForeground = registerColor('editorSuggestWidget.foreground', editorForeground, nls.localize(1458, 'Foreground color of the suggest widget.'));
|
|
49
|
+
registerColor('editorSuggestWidget.selectedForeground', quickInputListFocusForeground, nls.localize(1459, 'Foreground color of the selected entry in the suggest widget.'));
|
|
50
|
+
registerColor('editorSuggestWidget.selectedIconForeground', quickInputListFocusIconForeground, nls.localize(1460, 'Icon foreground color of the selected entry in the suggest widget.'));
|
|
51
|
+
export const editorSuggestWidgetSelectedBackground = registerColor('editorSuggestWidget.selectedBackground', quickInputListFocusBackground, nls.localize(1461, 'Background color of the selected entry in the suggest widget.'));
|
|
52
|
+
registerColor('editorSuggestWidget.highlightForeground', listHighlightForeground, nls.localize(1462, 'Color of the match highlights in the suggest widget.'));
|
|
53
|
+
registerColor('editorSuggestWidget.focusHighlightForeground', listFocusHighlightForeground, nls.localize(1463, 'Color of the match highlights in the suggest widget when an item is focused.'));
|
|
54
|
+
registerColor('editorSuggestWidgetStatus.foreground', transparent(editorSuggestWidgetForeground, .5), nls.localize(1464, 'Foreground color of the suggest widget status.'));
|
|
55
55
|
class PersistedWidgetSize {
|
|
56
56
|
constructor(_service, editor) {
|
|
57
57
|
this._service = _service;
|
|
@@ -79,8 +79,8 @@ class PersistedWidgetSize {
|
|
|
79
79
|
}
|
|
80
80
|
let SuggestWidget = class SuggestWidget {
|
|
81
81
|
static { SuggestWidget_1 = this; }
|
|
82
|
-
static { this.LOADING_MESSAGE = nls.localize(
|
|
83
|
-
static { this.NO_SUGGESTIONS_MESSAGE = nls.localize(
|
|
82
|
+
static { this.LOADING_MESSAGE = nls.localize(1465, "Loading..."); }
|
|
83
|
+
static { this.NO_SUGGESTIONS_MESSAGE = nls.localize(1466, "No suggestions."); }
|
|
84
84
|
constructor(editor, _storageService, _contextKeyService, _themeService, instantiationService) {
|
|
85
85
|
this.editor = editor;
|
|
86
86
|
this._storageService = _storageService;
|
|
@@ -152,7 +152,7 @@ let SuggestWidget = class SuggestWidget {
|
|
|
152
152
|
const details = this._disposables.add(instantiationService.createInstance(SuggestDetailsWidget, this.editor));
|
|
153
153
|
details.onDidClose(() => this.toggleDetails(), this, this._disposables);
|
|
154
154
|
this._details = new SuggestDetailsOverlay(details, this.editor);
|
|
155
|
-
const applyIconStyle = () => this.element.domNode.classList.toggle('no-icons', !this.editor.getOption(
|
|
155
|
+
const applyIconStyle = () => this.element.domNode.classList.toggle('no-icons', !this.editor.getOption(134 /* EditorOption.suggest */).showIcons);
|
|
156
156
|
applyIconStyle();
|
|
157
157
|
const renderer = instantiationService.createInstance(ItemRenderer, this.editor);
|
|
158
158
|
this._disposables.add(renderer);
|
|
@@ -167,7 +167,7 @@ let SuggestWidget = class SuggestWidget {
|
|
|
167
167
|
multipleSelectionSupport: false,
|
|
168
168
|
accessibilityProvider: {
|
|
169
169
|
getRole: () => isWindows ? 'listitem' : 'option',
|
|
170
|
-
getWidgetAriaLabel: () => nls.localize(
|
|
170
|
+
getWidgetAriaLabel: () => nls.localize(1467, "Suggest"),
|
|
171
171
|
getWidgetRole: () => 'listbox',
|
|
172
172
|
getAriaLabel: (item) => {
|
|
173
173
|
let label = item.textLabel;
|
|
@@ -175,24 +175,24 @@ let SuggestWidget = class SuggestWidget {
|
|
|
175
175
|
if (typeof item.completion.label !== 'string') {
|
|
176
176
|
const { detail, description } = item.completion.label;
|
|
177
177
|
if (detail && description) {
|
|
178
|
-
label = nls.localize(
|
|
178
|
+
label = nls.localize(1468, '{0} {1}, {2}, {3}', label, detail, description, kindLabel);
|
|
179
179
|
}
|
|
180
180
|
else if (detail) {
|
|
181
|
-
label = nls.localize(
|
|
181
|
+
label = nls.localize(1469, '{0} {1}, {2}', label, detail, kindLabel);
|
|
182
182
|
}
|
|
183
183
|
else if (description) {
|
|
184
|
-
label = nls.localize(
|
|
184
|
+
label = nls.localize(1470, '{0}, {1}, {2}', label, description, kindLabel);
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
else {
|
|
188
|
-
label = nls.localize(
|
|
188
|
+
label = nls.localize(1471, '{0}, {1}', label, kindLabel);
|
|
189
189
|
}
|
|
190
190
|
if (!item.isResolved || !this._isDetailsVisible()) {
|
|
191
191
|
return label;
|
|
192
192
|
}
|
|
193
193
|
const { documentation, detail } = item.completion;
|
|
194
194
|
const docs = strings.format('{0}{1}', detail || '', documentation ? (typeof documentation === 'string' ? documentation : documentation.value) : '');
|
|
195
|
-
return nls.localize(
|
|
195
|
+
return nls.localize(1472, "{0}, docs: {1}", label, docs);
|
|
196
196
|
},
|
|
197
197
|
}
|
|
198
198
|
});
|
|
@@ -201,7 +201,7 @@ let SuggestWidget = class SuggestWidget {
|
|
|
201
201
|
listInactiveFocusOutline: activeContrastBorder
|
|
202
202
|
}));
|
|
203
203
|
this._status = instantiationService.createInstance(SuggestWidgetStatus, this.element.domNode, suggestWidgetStatusbarMenu);
|
|
204
|
-
const applyStatusBarStyle = () => this.element.domNode.classList.toggle('with-status-bar', this.editor.getOption(
|
|
204
|
+
const applyStatusBarStyle = () => this.element.domNode.classList.toggle('with-status-bar', this.editor.getOption(134 /* EditorOption.suggest */).showStatusBar);
|
|
205
205
|
applyStatusBarStyle();
|
|
206
206
|
this._disposables.add(_themeService.onDidColorThemeChange(t => this._onThemeChange(t)));
|
|
207
207
|
this._onThemeChange(_themeService.getColorTheme());
|
|
@@ -211,11 +211,11 @@ let SuggestWidget = class SuggestWidget {
|
|
|
211
211
|
this._disposables.add(this._list.onDidChangeFocus(e => this._onListFocus(e)));
|
|
212
212
|
this._disposables.add(this.editor.onDidChangeCursorSelection(() => this._onCursorSelectionChanged()));
|
|
213
213
|
this._disposables.add(this.editor.onDidChangeConfiguration(e => {
|
|
214
|
-
if (e.hasChanged(
|
|
214
|
+
if (e.hasChanged(134 /* EditorOption.suggest */)) {
|
|
215
215
|
applyStatusBarStyle();
|
|
216
216
|
applyIconStyle();
|
|
217
217
|
}
|
|
218
|
-
if (this._completionModel && (e.hasChanged(59 /* EditorOption.fontInfo */) || e.hasChanged(
|
|
218
|
+
if (this._completionModel && (e.hasChanged(59 /* EditorOption.fontInfo */) || e.hasChanged(135 /* EditorOption.suggestFontSize */) || e.hasChanged(136 /* EditorOption.suggestLineHeight */))) {
|
|
219
219
|
this._list.splice(0, this._list.length, this._completionModel.items);
|
|
220
220
|
}
|
|
221
221
|
}));
|
|
@@ -773,8 +773,8 @@ let SuggestWidget = class SuggestWidget {
|
|
|
773
773
|
}
|
|
774
774
|
getLayoutInfo() {
|
|
775
775
|
const fontInfo = this.editor.getOption(59 /* EditorOption.fontInfo */);
|
|
776
|
-
const itemHeight = clamp(this.editor.getOption(
|
|
777
|
-
const statusBarHeight = !this.editor.getOption(
|
|
776
|
+
const itemHeight = clamp(this.editor.getOption(136 /* EditorOption.suggestLineHeight */) || fontInfo.lineHeight, 8, 1000);
|
|
777
|
+
const statusBarHeight = !this.editor.getOption(134 /* EditorOption.suggest */).showStatusBar || this._state === 2 /* State.Empty */ || this._state === 1 /* State.Loading */ ? 0 : itemHeight;
|
|
778
778
|
const borderWidth = this._details.widget.borderWidth;
|
|
779
779
|
const borderHeight = 2 * borderWidth;
|
|
780
780
|
return {
|
|
@@ -47,7 +47,7 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
|
|
|
47
47
|
this._disposables.add(this._scrollbar);
|
|
48
48
|
this._header = dom.append(this._body, dom.$('.header'));
|
|
49
49
|
this._close = dom.append(this._header, dom.$('span' + ThemeIcon.asCSSSelector(Codicon.close)));
|
|
50
|
-
this._close.title = nls.localize(
|
|
50
|
+
this._close.title = nls.localize(1473, "Close");
|
|
51
51
|
this._close.role = 'button';
|
|
52
52
|
this._close.tabIndex = -1;
|
|
53
53
|
this._type = dom.append(this._header, dom.$('p.type'));
|
|
@@ -67,8 +67,8 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
|
|
|
67
67
|
const options = this._editor.getOptions();
|
|
68
68
|
const fontInfo = options.get(59 /* EditorOption.fontInfo */);
|
|
69
69
|
const fontFamily = fontInfo.getMassagedFontFamily();
|
|
70
|
-
const fontSize = options.get(
|
|
71
|
-
const lineHeight = options.get(
|
|
70
|
+
const fontSize = options.get(135 /* EditorOption.suggestFontSize */) || fontInfo.fontSize;
|
|
71
|
+
const lineHeight = options.get(136 /* EditorOption.suggestLineHeight */) || fontInfo.lineHeight;
|
|
72
72
|
const fontWeight = fontInfo.fontWeight;
|
|
73
73
|
const fontSizePx = `${fontSize}px`;
|
|
74
74
|
const lineHeightPx = `${lineHeight}px`;
|
|
@@ -81,7 +81,7 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
|
|
|
81
81
|
this._close.style.width = lineHeightPx;
|
|
82
82
|
}
|
|
83
83
|
getLayoutInfo() {
|
|
84
|
-
const lineHeight = this._editor.getOption(
|
|
84
|
+
const lineHeight = this._editor.getOption(136 /* EditorOption.suggestLineHeight */) || this._editor.getOption(59 /* EditorOption.fontInfo */).lineHeight;
|
|
85
85
|
const borderWidth = this._borderWidth;
|
|
86
86
|
const borderHeight = borderWidth * 2;
|
|
87
87
|
return {
|
|
@@ -93,7 +93,7 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
renderLoading() {
|
|
96
|
-
this._type.textContent = nls.localize(
|
|
96
|
+
this._type.textContent = nls.localize(1474, "Loading...");
|
|
97
97
|
this._docs.textContent = '';
|
|
98
98
|
this.domNode.classList.remove('no-docs', 'no-type');
|
|
99
99
|
this.layout(this.size.width, this.getLayoutInfo().lineHeight * 2);
|
|
@@ -28,7 +28,7 @@ import { FileKind } from '../../../../platform/files/common/files.js';
|
|
|
28
28
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
29
29
|
import { IThemeService } from '../../../../platform/theme/common/themeService.js';
|
|
30
30
|
import { canExpandCompletionItem } from './suggestWidgetDetails.js';
|
|
31
|
-
const suggestMoreInfoIcon = registerIcon('suggest-more-info', Codicon.chevronRight, nls.localize(
|
|
31
|
+
const suggestMoreInfoIcon = registerIcon('suggest-more-info', Codicon.chevronRight, nls.localize(1475, 'Icon for more information in the suggest widget.'));
|
|
32
32
|
const _completionItemColor = new class ColorExtractor {
|
|
33
33
|
static { this._regexRelaxed = /(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/; }
|
|
34
34
|
static { this._regexStrict = new RegExp(`^${ColorExtractor._regexRelaxed.source}$`, 'i'); }
|
|
@@ -84,15 +84,15 @@ let ItemRenderer = class ItemRenderer {
|
|
|
84
84
|
const qualifierLabel = append(left, $('span.qualifier-label'));
|
|
85
85
|
const detailsLabel = append(right, $('span.details-label'));
|
|
86
86
|
const readMore = append(right, $('span.readMore' + ThemeIcon.asCSSSelector(suggestMoreInfoIcon)));
|
|
87
|
-
readMore.title = nls.localize(
|
|
87
|
+
readMore.title = nls.localize(1476, "Read More");
|
|
88
88
|
const configureFont = () => {
|
|
89
89
|
const options = this._editor.getOptions();
|
|
90
90
|
const fontInfo = options.get(59 /* EditorOption.fontInfo */);
|
|
91
91
|
const fontFamily = fontInfo.getMassagedFontFamily();
|
|
92
92
|
const fontFeatureSettings = fontInfo.fontFeatureSettings;
|
|
93
93
|
const fontVariationSettings = fontInfo.fontVariationSettings;
|
|
94
|
-
const fontSize = options.get(
|
|
95
|
-
const lineHeight = options.get(
|
|
94
|
+
const fontSize = options.get(135 /* EditorOption.suggestFontSize */) || fontInfo.fontSize;
|
|
95
|
+
const lineHeight = options.get(136 /* EditorOption.suggestLineHeight */) || fontInfo.lineHeight;
|
|
96
96
|
const fontWeight = fontInfo.fontWeight;
|
|
97
97
|
const letterSpacing = fontInfo.letterSpacing;
|
|
98
98
|
const fontSizePx = `${fontSize}px`;
|
|
@@ -165,7 +165,7 @@ let ItemRenderer = class ItemRenderer {
|
|
|
165
165
|
data.detailsLabel.textContent = stripNewLines(completion.label.description || '');
|
|
166
166
|
data.root.classList.remove('string-label');
|
|
167
167
|
}
|
|
168
|
-
if (this._editor.getOption(
|
|
168
|
+
if (this._editor.getOption(134 /* EditorOption.suggest */).showInlineDetails) {
|
|
169
169
|
show(data.detailsLabel);
|
|
170
170
|
}
|
|
171
171
|
else {
|
|
@@ -16,12 +16,12 @@ 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(1477, "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;
|
|
23
23
|
this._ckAtEnd = WordContextKey_1.AtEnd.bindTo(contextKeyService);
|
|
24
|
-
this._configListener = this._editor.onDidChangeConfiguration(e => e.hasChanged(
|
|
24
|
+
this._configListener = this._editor.onDidChangeConfiguration(e => e.hasChanged(139 /* EditorOption.tabCompletion */) && this._update());
|
|
25
25
|
this._update();
|
|
26
26
|
}
|
|
27
27
|
dispose() {
|
|
@@ -31,7 +31,7 @@ let WordContextKey = class WordContextKey {
|
|
|
31
31
|
}
|
|
32
32
|
_update() {
|
|
33
33
|
// only update this when tab completions are enabled
|
|
34
|
-
const enabled = this._editor.getOption(
|
|
34
|
+
const enabled = this._editor.getOption(139 /* EditorOption.tabCompletion */) === 'on';
|
|
35
35
|
if (this._enabled === enabled) {
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
@@ -10,7 +10,7 @@ export class WordDistance {
|
|
|
10
10
|
distance() { return 0; }
|
|
11
11
|
}; }
|
|
12
12
|
static async create(service, editor) {
|
|
13
|
-
if (!editor.getOption(
|
|
13
|
+
if (!editor.getOption(134 /* EditorOption.suggest */).localityBonus) {
|
|
14
14
|
return WordDistance.None;
|
|
15
15
|
}
|
|
16
16
|
if (!editor.hasModel()) {
|
|
@@ -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(1478, '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(1479, '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(1480, '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(1481, '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(1482, '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(1483, '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(1484, '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(1485, '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(1486, '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(1487, '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(1488, '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(1489, '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(1490, '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(1491, '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(1492, '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(1493, '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(1494, '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(1495, '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(1496, '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(1497, '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(1498, '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(1499, '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(1500, '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(1501, '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(1502, '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(1503, '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(1504, '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(1505, '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(1506, '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(1507, '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(1508, '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(1509, '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(1510, 'The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
91
91
|
//# sourceMappingURL=symbolIcons.js.map
|