ThemeIcon

constructor(id: String, color: ThemeColor = definedExternally)(source)

Creates a reference to a theme icon.

Parameters

id

id of the icon. The available icons are listed in https://code.visualstudio.com/api/references/icons-in-labels#icon-listing.

color

optional ThemeColor for the icon. The color is currently only used in TreeItem.

Online Documentation