VS Code Scopes & Settings Guide

November 22, 2025 (Today)

VS Code Scopes & Settings Guide

VS Code Scopes & Settings Guide

This document provides a comprehensive reference for all the customizable scopes and settings available in Laeyrd. It is directly based on the extension's source configuration.

IDE Layout Overview

To effectively customize your environment, it's crucial to know the correct terminology for each part of the interface.

VS Code Interface Diagram

  • Activity Bar: The narrow strip on the far left containing icons for Explorer, Search, Git, etc.
  • Side Bar: The panel that appears next to the activity bar (e.g., the File Explorer tree).
  • Editor Group: The main container for your open files.
  • Gutter: The area to the left of the code containing line numbers and folding icons.
  • Status Bar: The bottom strip showing branch name, cursor position, language, etc.
  • Title Bar: The top window bar.
  • Panel: The bottom area containing Terminal, Output, Debug Console.
  • Minimap: The code overview on the right side of the editor.

Color Scopes

These settings control the colors of the UI elements.

Base

Core colors that affect the general appearance.

ScopeDisplay NameDescription
foregroundForegroundDefault UI text color
disabledForegroundDisabled TextDimmed UI text color
descriptionForegroundDescription TextSupplementary text color
errorForegroundError TextError messages text color
icon.foregroundIcon ColorDefault icon color
focusBorderFocus BorderBoundaries on focused elements
contrastBorderContrast BorderHigh contrast element border
contrastActiveBorderActive Contrast BorderActive item high contrast
widget.borderWidget BorderBorder around widgets
widget.shadowWidget ShadowWidget drop shadow
selection.backgroundGlobal SelectionWorkbench selection background
scrollbar.shadowScrollbar ShadowShadow behind scrollbar
scrollbarSlider.backgroundScrollbar ThumbThumb background
scrollbarSlider.hoverBackgroundScrollbar HoverThumb hover background
scrollbarSlider.activeBackgroundScrollbar ActiveThumb active background
sash.hoverBorderSash Hover BorderResizer hover border

Editor

Colors specific to the code editing area.

ScopeDisplay NameDescription
editor.backgroundEditor BackgroundEditor background color
editor.foregroundEditor TextDefault editor text color
editorGroup.borderGroup Border ColorEditor group tab border color
editorGroupHeader.tabsBackgroundGroup Tabs Background ColorEditor group tabs background color
editorGroupHeader.noTabsBackgroundGroup Header ColorEditor group no tabs background color
editorGroup.dropBackgroundGroup Drop ColorEditor group drop background color
editorLineNumber.foregroundLine NumbersColor of line numbers
editorLineNumber.activeForegroundActive Line NumberCurrent line number color
editorCursor.foregroundCursor ColorEditor cursor color
editor.selectionBackgroundSelection BackgroundText selection background
editor.selectionHighlightBackgroundSelection HighlightInactive selection highlight
editor.findMatchBackgroundFind MatchCurrent search match highlight
editor.findMatchHighlightBackgroundFind HighlightsOther search matches highlight
editor.findRangeHighlightBackgroundFind RangeSearch limit background
editorBracketMatch.backgroundBracket BackgroundBracket match background
editorBracketMatch.borderBracket BorderBracket match border
editorIndentGuide.backgroundIndent GuideInactive indent guides
editorIndentGuide.activeBackgroundActive Indent GuideActive indent guide color
editor.ruler.foregroundRuler LineColumn ruler color
editorOverviewRuler.borderOverview BorderOverview ruler border
editorOverviewRuler.findMatchForegroundOverview Find HighlightFind match in overview
editorWidget.backgroundWidget BackgroundInline widget background
editorWidget.borderWidget BorderInline widget border
editorSuggestWidget.backgroundSuggest Widget BGCompletion popup background
editorSuggestWidget.foregroundSuggest Widget TextCompletion popup text
editorSuggestWidget.selectedBackgroundSuggest HighlightSelected completion background
editorHoverWidget.backgroundHover Tooltip BGHover tooltip background
editorHoverWidget.borderHover Tooltip BorderTooltip border color
editorGutter.backgroundGutter BackgroundGutter background color
editorGutter.addedBackgroundGutter AddedAdded line marker background
editorGutter.deletedBackgroundGutter DeletedDeleted line marker background
editorGutter.modifiedBackgroundGutter ModifiedModified line marker background
diffEditor.insertedTextBackgroundInserted Text BGInserted diff background
diffEditor.removedTextBackgroundRemoved Text BGRemoved diff background
diffEditor.borderDiff Editor BorderBorder around diff editor

Workbench

Colors for the shell of the IDE (Sidebar, Activity Bar, Panels, etc.).

ScopeDisplay NameDescription
tab.activeBackgroundActive Tab BGBackground of active tab
tab.activeForegroundActive Tab TextText of active tab
tab.inactiveBackgroundInactive Tab BGBackground of inactive tabs
tab.inactiveForegroundInactive Tab TextText of inactive tabs
tab.borderTab BorderBorder between tabs
tab.hoverBackgroundTab Hover BGBackground on tab hover
tab.hoverForegroundTab Hover TextText on tab hover
tab.activeModifiedBorderActive Modified BorderModification indicator on active tab
tab.inactiveModifiedBorderInactive Modified BorderModification indicator on inactive tab
sideBar.backgroundSidebar BackgroundBackground of sidebar
sideBar.foregroundSidebar TextText of sidebar items
sideBar.borderSidebar BorderBorder around sidebar
sideBarSectionHeader.backgroundSidebar Header BGSection header background
sideBarSectionHeader.foregroundSidebar Header TextSection header text
sideBarTitle.foregroundSidebar TitleSidebar title text color
activityBar.backgroundActivity Bar BGBackground of activity bar
activityBar.foregroundActivity TextText in activity bar
activityBar.borderActivity Bar BorderBorder of activity bar
activityBarBadge.backgroundBadge BackgroundBadge background color
activityBarBadge.foregroundBadge TextBadge text color
panel.backgroundPanel BackgroundBackground of panel
panel.borderPanel BorderPanel border color
panelTitle.activeForegroundActive Panel TitleTitle text of active panel
panelTitle.inactiveForegroundInactive Panel TitleTitle text of inactive panel
statusBar.backgroundStatus Bar BGBackground of status bar
statusBar.foregroundStatus Bar TextText color in status bar
statusBar.borderStatus Bar BorderTop border of status bar
statusBar.debuggingBackgroundDebugging BGStatus bar during debugging
statusBar.debuggingForegroundDebugging TextText during debugging
statusBar.debuggingBorderDebugging BorderBorder during debugging
titleBar.activeBackgroundTitle Bar BGActive window title bar background
titleBar.activeForegroundTitle Bar TextActive window title bar text
titleBar.inactiveBackgroundTitle Bar Inactive BGInactive window title bar background
titleBar.inactiveForegroundTitle Bar Inactive TextInactive window title bar text
titleBar.borderTitle Bar BorderBorder of title bar

Terminal

Colors for the integrated terminal.

ScopeDisplay NameDescription
terminal.backgroundTerminal BackgroundTerminal background color
terminal.foregroundTerminal TextTerminal text color
terminalCursor.foregroundTerminal CursorColor of terminal cursor
terminal.ansiBlackANSI BlackANSI black color
terminal.ansiRedANSI RedANSI red color
terminal.ansiGreenANSI GreenANSI green color
terminal.ansiYellowANSI YellowANSI yellow color
terminal.ansiBlueANSI BlueANSI blue color
terminal.ansiMagentaANSI MagentaANSI magenta color
terminal.ansiCyanANSI CyanANSI cyan color
terminal.ansiWhiteANSI WhiteANSI white color
terminal.ansiBrightBlackBright ANSI BlackBright ANSI black
terminal.ansiBrightRedBright ANSI RedBright ANSI red
terminal.ansiBrightGreenBright ANSI GreenBright ANSI green
terminal.ansiBrightYellowBright ANSI YellowBright ANSI yellow
terminal.ansiBrightBlueBright ANSI BlueBright ANSI blue
terminal.ansiBrightMagentaBright ANSI MagentaBright ANSI magenta
terminal.ansiBrightCyanBright ANSI CyanBright ANSI cyan
terminal.ansiBrightWhiteBright ANSI WhiteBright ANSI white

UI & Layout

Controls and input elements.

ScopeDisplay NameDescription
button.backgroundButton BackgroundBackground of buttons
button.foregroundButton TextText on buttons
button.hoverBackgroundButton Hover BGButton background on hover
dropdown.backgroundDropdown BackgroundDropdowns background
dropdown.borderDropdown BorderBorder around dropdowns
dropdown.foregroundDropdown TextDropdown text color
input.backgroundInput BackgroundBackground of input fields
input.borderInput BorderBorder of input fields
input.foregroundInput TextText in input fields
input.placeholderForegroundPlaceholder TextPlaceholder input text color
inputOption.activeBorderOption Active BorderActive option border
inputValidation.errorBackgroundError BGInput error background
inputValidation.errorBorderError BorderInput error border
badge.backgroundBadge BackgroundBadge background color
badge.foregroundBadge TextText on badges

Token Colors

These settings control the syntax highlighting of your code.

TokenDisplay NameDescription
commentCommentsColor for code comments
literalLiteralsColor for string literals
keywordKeywordsColor for keywords and control flow statements
variableVariablesColor for variable names
constantConstantsColor for constant variables
parameterParametersColor for function parameters
functionFunctionsColor for function and method names
classClassesColor for class names
interfaceInterfacesColor for interface names
enumEnumsColor for enumerations
typeTypesColor for type annotations and type names
numberNumbersColor for numeric literals
macroMacrosColor for macros
operatorOperatorsColor for operators
punctuationPunctuationColor for punctuation and delimiters
propertyPropertiesColor for object or class properties
annotationAnnotationsColor for decorators and annotations
builtinBuiltinsColor for built-in functions or objects
namespaceNamespaceColor for module or namespace names
tagTagsColor for HTML/XML tags
attributeAttributesColor for HTML/XML attributes
escapesequenceEscapeSequencesColor for escape characters within strings
invalidInvalidColor for invalid or erroneous code

Font & Layout Settings

Customize the typography and layout of the editor.

Editor Font

SettingDisplay NameDescriptionDefault
editor.fontFamilyFont FamilyControls the font family used in the editor."default"
editor.fontSizeFont SizeControls the font size in pixels.14
editor.fontLigaturesFont LigaturesEnable/disable font ligatures.false
editor.fontWeightFont WeightControls the font weight."normal"
editor.fontVariationsFont VariationsControls whether font-variation-settings are enabled.true

Editor Layout

SettingDisplay NameDescriptionDefault
editor.lineHeightLine HeightControls the line height. Use 0 for automatic.0
editor.letterSpacingLetter SpacingControls letter spacing in pixels.0
editor.lineNumbersLine NumbersControls the display of line numbers."on"
editor.wordWrapWord WrapControls how lines should wrap."off"
editor.rulersRulersRender vertical rulers after a certain number of characters.""
editor.glyphMarginGlyph MarginControls whether the glyph margin is shown.true
editor.stickyTabStopsSticky Tab StopsEmulate selection behavior of tab characters when using spaces.false
editor.padding.topEditor Padding TopControls the top padding of the editor in pixels.0
editor.padding.bottomEditor Padding BottomControls the bottom padding of the editor in pixels.0
editor.scrollBeyondLastLineScroll Beyond Last LineControls whether the editor will scroll beyond the last line.true
editor.scrollBeyondLastColumnScroll Beyond Last ColumnControls the number of extra characters beyond the last column.5
editor.wordWrapColumnWord Wrap ColumnControls the column at which to wrap lines.80

Cursor

SettingDisplay NameDescriptionDefault
editor.cursorStyleCursor StyleControls the style of the cursor."line"
editor.cursorBlinkingCursor BlinkingControls the cursor animation style."blink"
editor.cursorSmoothCaretAnimationSmooth Caret AnimationEnables smooth cursor animation.false
editor.cursorWidthCursor WidthControls the width of the cursor when style is line.0
editor.multiCursorModifierMulti-Cursor ModifierThe modifier key for adding multiple cursors with the mouse."alt"

Highlighting & Guides

SettingDisplay NameDescriptionDefault
editor.renderLineHighlightRender Line HighlightControls how the editor should highlight the current line."line"
editor.renderLineHighlightOnlyWhenFocusRender Line Highlight Only When FocusedControls visibility of line highlight based on focus.false
editor.guidesEditor GuidesControls the rendering of indentation and bracket guides."on"
editor.selectionHighlightSelection HighlightControls whether the editor should highlight matches similar to the selection.true
editor.occurrencesHighlightOccurrences HighlightControls whether the editor should highlight semantic symbol occurrences.true
editor.semanticHighlighting.enabledSemantic HighlightingControls whether semantic highlighting is enabled."configuredByTheme"
editor.highlightActiveIndentGuideHighlight Active Indent GuideControls whether to highlight the active indent guide.true
editor.guides.bracketPairsBracket Pair GuidesControls whether bracket pair guides are enabled.true
editor.guides.indentationIndentation GuidesControls whether indentation guides are enabled.true
editor.guides.highlightActiveIndentationHighlight Active IndentationControls whether the active indentation guide is highlighted.true
editor.renderIndentGuidesRender Indent GuidesControls whether the editor should render indent guides (legacy).true

Minimap

SettingDisplay NameDescriptionDefault
editor.minimap.enabledMinimap EnabledControls whether the minimap is shown.true
editor.minimap.sideMinimap SideControls the side where to render the minimap."right"
editor.minimap.sizeMinimap SizeControls the size of the minimap."proportional"
editor.minimap.showSliderMinimap SliderControls whether the minimap slider is shown."mouseover"
editor.minimap.renderCharactersRender Characters in MinimapRender the actual characters on the minimap.true
editor.minimap.scaleMinimap ScaleControls the scaling of the minimap.1
editor.overviewRulerLanesOverview Ruler LanesNumber of lanes for overview ruler.3
editor.overviewRulerBorderOverview Ruler BorderControls whether a border is drawn around the overview ruler.true

Scrollbar

SettingDisplay NameDescriptionDefault
editor.scrollbar.verticalVertical ScrollbarControls the visibility of the vertical scrollbar."auto"
editor.scrollbar.horizontalHorizontal ScrollbarControls the visibility of the horizontal scrollbar."auto"
editor.scrollbar.verticalScrollbarSizeVertical Scrollbar SizeControls the width of the vertical scrollbar in pixels.14
editor.scrollbar.horizontalScrollbarSizeHorizontal Scrollbar SizeControls the height of the horizontal scrollbar in pixels.14
editor.scrollbar.scrollByPageScroll By PageControls whether clicking in the scrollbar scrolls by page.false
editor.smoothScrollingSmooth ScrollingControls whether the editor animates scrolling.false

Workbench UI

SettingDisplay NameDescriptionDefault
workbench.activityBar.visibleShow Activity BarToggle activity bar visibilitytrue
workbench.activityBar.iconSizeActivity Bar Icon SizeSize of activity bar icons16
workbench.statusBar.visibleShow Status BarToggle status bar visibilitytrue
workbench.statusBar.fontSizeStatus Bar Font SizeFont size of status bar12
workbench.sideBar.locationSidebar LocationPosition of sidebar panel"left"
workbench.sideBar.visibleShow SidebarToggle sidebar visibilitytrue
workbench.editor.showTabsShow Editor TabsToggle editor tabs visibilitytrue
workbench.editor.tabSizingEditor Tab SizingSizing mode for editor tabs"fit"
workbench.panel.visibleShow PanelToggle panel visibilitytrue
workbench.panel.defaultLocationPanel LocationDefault panel position"bottom"
window.zoomLevelWindow Zoom LevelAdjust global window zoom level.0
window.titleBarStyleTitle Bar StyleCustomize native or custom title bar style."native"
breadcrumbs.enabledBreadcrumbsShow file path breadcrumbs above editor.true
explorer.compactFoldersCompact FoldersCompact multi-folder names in Explorer.true
workbench.editor.highlightModifiedTabsHighlight Modified TabsHighlight tabs with unsaved changes.true
workbench.editor.labelFormatTab Label FormatControl how editor tabs' labels are shown."default"
workbench.editor.wrapTabsWrap TabsWrap editor tabs to multiple rows when space is limited.false
workbench.editor.openPositioningOpen Tab PositioningControl where new tabs open."right"
Feedback & Support
Help us improve Laeyrd by sharing your thoughts or reporting issues.