Skip to main content

FileIconRegistry

MS Code Extension API


MS Code Extension API / core/extensionAPI/registry/FileIconRegistry

core/extensionAPI/registry/FileIconRegistry

Interfaces

IconThemeMap

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:8

Interface definition for configuration schemas mapping structural workspace targets to unique string asset identification labels. Fully mirrors VS Code's material icon map structure.

Properties

basePath?

optional basePath?: string

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:30

Relative or absolute root network address prefix path used to mount image nodes

extensions?

optional extensions?: Record<string, string>

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:14

Secondary or alternative design specification container tracking file suffix strings

file?

optional file?: string

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:22

Generic baseline symbol key assigned to file elements failing distinct lookups

fileExtensions?

optional fileExtensions?: Record<string, string>

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:12

Primary map binding localized explicit file syntax identifiers to internal symbol keys

fileNames?

optional fileNames?: Record<string, string>

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:16

High-precedence matching dictionary indexing standalone unique files (e.g., '.gitignore', 'package.json')

folder?

optional folder?: string

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:24

Generic baseline symbol key assigned to collection directories failing distinct lookups

folderExpanded?

optional folderExpanded?: string

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:26

Generic baseline symbol key assigned to active open directories failing distinct lookups

folderNames?

optional folderNames?: Record<string, string>

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:18

Folder categorization indices matching exact collection directory names

folderNamesExpanded?

optional folderNamesExpanded?: Record<string, string>

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:20

Alternate collection labels mapping state transformations across expanded paths

iconDefinitions?

optional iconDefinitions?: Record<string, { iconPath: string; }>

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:10

Root catalog mapping abstract symbol identifiers to clear filesystem asset locations

languageIds?

optional languageIds?: Record<string, string>

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:28

Explicit dictionary mapping engine-level language strings back to target icon keys


ResolvedIcon

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:37

Resolved icon payload contract dispatched downstream to render components. Specifies whether a target identifier should generate a font style class string or mount an external source image.

Properties

type

type: "image" | "class"

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:38

value

value: string

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:39

Variables

fileIconRegistry

const fileIconRegistry: IconThemeRegistry

Defined in: core/extensionAPI/registry/FileIconRegistry.ts:191

Global singleton access provider managing application-wide workspace file tree visual iconography.