![]() The default codicon ID describes which icon from the codicon library is used by default, and the preview shows what that icon looks like. The ID of the icon identifies the location where the icon is used. Icon Listingīelow is a listing of the built-in product icons by identifier. Product icon themes can redefine the icon (if they know about the icon ID). You can also embed text and use multiple icons: $ ( eye ) $ ( heart ) $ ( mark - github ) GitHub The syntax for adding an icon in Markdown is $(iconIdentifier): $ ( alert ) Icons can be used in Markdown labels in hovers, in the StatusBarItem text and QuickPickItem label API. The association of icon identifier to an actual icon font glyph happens the product icon theme. The icon identifier is what's used in UI components in labels ( $(pencil)), in the API as ThemeIcon and in contributions when icons are needed. In order to allow this, all product icons are identified by an ID. Extensions can provide new Product Icon Themes to redefine these icons and give VS Code a new appearance. The product icons that ship with VS Code are contained in the Codicon icon font and form the default product icon theme. These icons are product icons as opposed to file icons, which are used next to file names throughout the UI. Visual Studio Code contains a set of built-in icons that are used in views and the editor, but can also be used in hovers, the status bar, and by extensions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |