Skip to content

resolveFileIcon

resolveFileIcon(filename, isFolder?, languageId?): ResolvedIcon

Defined in: src/widgets/media/seti/seti-loader.ts:306

Resolves a filename, extension, or language ID to its Seti icon name and VS Code color, and lazily registers that single icon in the icon registry.

The theme JSON is loaded on the first call; the WOFF font is parsed only when the first icon is actually needed — keeping startup fast.

string

boolean

string

ResolvedIcon