Skip to main content

modules/window/fileDecorations

Interfaces

FileDecoration

Defined in: modules/window/fileDecorations.d.ts:10

Metadata configuration schema representing visual decorations applied onto Tree Nodes. Used extensively by File Trees and Explorer Custom Views to append status metrics (e.g., Git Modifications 'M', New Untracked files 'U', Linting/Syntax Errors '!', or warnings).

Properties

badge

badge: string

Defined in: modules/window/fileDecorations.d.ts:15

Short text badge displayed trailing or adjacent to the node label.

Example
'M' for Modified, 'U' for Untracked, '!' for Compilation Errors.
color

color: string

Defined in: modules/window/fileDecorations.d.ts:22

CSS-compliant color declaration token or design system CSS variable. Applied dynamically onto the node item's string label and badge foreground.

Example
'var(--ms-git-modified-color)' or '#f1c40f'
propagate?

optional propagate?: boolean

Defined in: modules/window/fileDecorations.d.ts:32

Hierarchical propagation control toggle. If flagged true, parent directories/containers wrapping this target node will bubble up and inherit ambient dot markers or partial tint overlays inside the Tree layout.

tooltip?

optional tooltip?: string

Defined in: modules/window/fileDecorations.d.ts:25

Optional descriptive text string popped up whenever the cursor hovers atop the node row.

References

ActivityBarItemOptions

Re-exports ActivityBarItemOptions


app

Re-exports app


authentication

Re-exports authentication


BookmarkFolder

Re-exports BookmarkFolder


CommandMetadata

Re-exports CommandMetadata


commands

Re-exports commands


CommitOptions

Re-exports CommitOptions


ConfigurationProperty

Re-exports ConfigurationProperty


CopyOptions

Re-exports CopyOptions


Diagnostic

Re-exports Diagnostic


DiagnosticCollection

Re-exports DiagnosticCollection


DiagnosticSeverity

Re-exports DiagnosticSeverity


Disposable

Re-exports Disposable


DocumentSymbol

Re-exports DocumentSymbol


ExtensionContext

Re-exports ExtensionContext


ExtensionInfo

Re-exports ExtensionInfo


extensions

Re-exports extensions


FileFilter

Re-exports FileFilter


FileStat

Re-exports FileStat


FileSystemAPI

Re-exports FileSystemAPI


FindOptions

Re-exports FindOptions


fs

Re-exports fs


git

Re-exports git


GitBranch

Re-exports GitBranch


GitChangedFile

Re-exports GitChangedFile


GitCommit

Re-exports GitCommit


GitFileStatus

Re-exports GitFileStatus


GitHubUser

Re-exports GitHubUser


GitRepository

Re-exports GitRepository


GitSortMode

Re-exports GitSortMode


GitStash

Re-exports GitStash


IConfigurationSection

Re-exports IConfigurationSection


IconThemeDefinition

Re-exports IconThemeDefinition


IconThemeMap

Re-exports IconThemeMap


InputBoxOptions

Re-exports InputBoxOptions


languages

Re-exports languages


lsp

Re-exports lsp


LspServerConfig

Re-exports LspServerConfig


Re-exports MenuItem


Re-exports menus


ModalOptions

Re-exports ModalOptions


MSCodeUIColors

Re-exports MSCodeUIColors


MultiPickerOptions

Re-exports MultiPickerOptions


NotificationAction

Re-exports NotificationAction


OutputChannel

Re-exports OutputChannel


PickerOptions

Re-exports PickerOptions


Position

Re-exports Position


ProgressNotification

Re-exports ProgressNotification


QuickPickItem

Re-exports QuickPickItem


QuickPickOptions

Re-exports QuickPickOptions


RecentWorkspace

Re-exports RecentWorkspace


ReplaceOptions

Re-exports ReplaceOptions


ResolvedIcon

Re-exports ResolvedIcon


Re-exports search


SearchFileResult

Re-exports SearchFileResult


SearchMatch

Re-exports SearchMatch


Selection

Re-exports Selection


SettingOption

Re-exports SettingOption


SettingType

Re-exports SettingType


SidebarPanelDef

Re-exports SidebarPanelDef


SidebarPanelHeader

Re-exports SidebarPanelHeader


SidebarSectionContent

Re-exports SidebarSectionContent


SidebarSectionContext

Re-exports SidebarSectionContext


SidebarSectionDef

Re-exports SidebarSectionDef


SidebarState

Re-exports SidebarState


SilentSearchOptions

Re-exports SilentSearchOptions


StashOptions

Re-exports StashOptions


StatusBarAlignment

Re-exports StatusBarAlignment


StatusBarItemController

Re-exports StatusBarItemController


StatusBarItemOptions

Re-exports StatusBarItemOptions


SymbolKind

Re-exports SymbolKind


SymbolProvider

Re-exports SymbolProvider


Tab

Re-exports Tab


TabDiffData

Re-exports TabDiffData


TabOptions

Re-exports TabOptions


TabType

Re-exports TabType


TaskExecution

Re-exports TaskExecution


TaskOptions

Re-exports TaskOptions


tasks

Re-exports tasks


Terminal

Re-exports Terminal


TerminalExitStatus

Re-exports TerminalExitStatus


TerminalOptions

Re-exports TerminalOptions


termis

Re-exports termis


TermisView

Re-exports TermisView


TextDocument

Re-exports TextDocument


TextEditor

Re-exports TextEditor


TextEditorEdit

Re-exports TextEditorEdit


TextEditorOptions

Re-exports TextEditorOptions


ThemeDefinition

Re-exports ThemeDefinition


themes

Re-exports themes


TokenColor

Re-exports TokenColor


TreeDataProvider

Re-exports TreeDataProvider


TreeItem

Re-exports TreeItem


TreeView

Re-exports TreeView


TreeViewOptions

Re-exports TreeViewOptions


window

Re-exports window


workspace

Re-exports workspace


WorkspaceConfiguration

Re-exports WorkspaceConfiguration


WorkspaceFolder

Re-exports WorkspaceFolder


WriteOptions

Re-exports WriteOptions