Creates a reference to a theme icon.
id of the icon. The available icons are listed in https://code.visualstudio.com/api/references/icons-in-labels#icon-listing.
optional ThemeColor
for the icon. The color is currently only used in TreeItem.
The optional ThemeColor of the icon. The color is currently only used in TreeItem.
The id of the icon. The available icons are listed in https://code.visualstudio.com/api/references/icons-in-labels#icon-listing.
Reference to a icon representing a file. The icon is taken from the current file icon theme or a placeholder icon.
Reference to a icon representing a folder. The icon is taken from the current file icon theme or a placeholder icon.
A reference to a named icon. Currently only File and Folder are supported. Using a theme icon is preferred over a custom icon as it gives theme authors the possibility to change the icons.