Product Icon Reference | Visual Studio Code Extension API
AI agents: See llms.txt for documentation discovery and navigation. Documentation articles are also available as Markdown by appending .md to the article URL. 🎬 Watch The Story of VS Code! VS Code is now on Instagram, follow @vscode.ig for updates, tips, and more. Rewatch GitHub Copilot Day. Product Icon Reference View as Markdown Ask in VS Code Ask in VS Code Insiders 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.
These icons are product icons as opposed to file icons , which are used next to file names throughout the UI. The product icons that ship with VS Code are contained in the Codicon icon font and form the default product icon theme. Extensions can provide new Product Icon Themes to redefine these icons and give VS Code a new appearance. In order to allow this, all product icons are identified by an ID. 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.
The association of icon identifier to an actual icon font glyph happens the product icon theme. Icons in labels Icons can be used in Markdown labels in hovers, in the StatusBarItem text and QuickPickItem label API. The syntax for adding an icon in Markdown is $(iconIdentifier) : $ ( alert ); You can also embed text and use multiple icons: $ ( eye ) $ ( heart ) $ ( mark - github ) GitHub To place a literal ${...} text inside a label, escape the $ with a backslash: \ $ ( eye ) Animation You can apply a spinning animation to the following icons by appending ~spin to the icon name: sync loading gear $ ( sync ~ spin ) Icon contribution point The icon contribution point allow extensions to define additional icons by ID, along with a default icon.
The icon ID can then be used by the extension (or any other extensions that depend on the extension) in labels ( $(iconId) ) or at all places where a ThemeIcon can be used ( new ThemeIcon("iconId") ). "contributes" : { "icons" : { "distro-ubuntu" : { "description" : "Ubuntu icon" , "default" : { "fontPath" : "./distroicons.woff" , "fontCharacter" : " \\ E001" } }, "distro-fedora" : { "description" : "Ubuntu icon" , "default" : { "fontPath" : "./distroicons.woff" , "fontCharacter" : " \\ E002" } } } } Product icon themes can redefine the icon (if they know about the icon ID).
Icon Listing Below is a listing of the built-in product icons by identifier. The ID of the icon identifies the location where the icon is used. The default codicon ID describes which icon from the codicon library is used by default, and the preview shows what that icon looks like. Product Icon Themes can replace each icon individually, as well as all icons from the codicon library. preview identifier default codicon ID description accounts-view-bar-icon account Accounts icon in the view bar. breakpoints-activate activate-breakpoints Icon for the activate action in the breakpoints view. breakpoints-remove-all close-all Icon for the Remove All action in the breakpoints view. breakpoints-view-icon debug-alt View icon of the breakpoints view. callhierarchy-incoming call-incoming Icon for incoming calls in the call hierarchy view. callhierarchy-outgoing call-outgoing Icon for outgoing calls in the call hierarchy view. callstack-view-icon debug-alt View icon of the call stack view. callstack-view-session bug Icon for the session icon in the call stack view. chat-editor-label-icon comment-discussion Icon of the chat editor label. comments-view-icon comment-discussion View icon of the comments view. debug-breakpoint debug-breakpoint Icon for breakpoints. debug-breakpoint-conditional debug-breakpoint-conditional Icon for conditional breakpoints. debug-breakpoint-conditional-disabled debug-breakpoint-conditional-disabled Icon for disabled conditional breakpoints. debug-breakpoint-conditional-unverified debug-breakpoint-conditional-unverified Icon for unverified conditional breakpoints. debug-breakpoint-data debug-breakpoint-data Icon for data breakpoints. debug-breakpoint-data-disabled debug-breakpoint-data-disabled Icon for disabled data breakpoints. debug-breakpoint-data-unverified debug-breakpoint-data-unverified Icon for unverified data breakpoints. debug-breakpoint-disabled debug-breakpoint-disabled Icon for disabled breakpoints. debug-breakpoint-function debug-breakpoint-function Icon for function breakpoints. debug-breakpoint-function-disabled debug-breakpoint-function-disabled Icon for disabled function breakpoints. debug-breakpoint-function-unverified debug-breakpoint-function-unverified Icon for unverified function breakpoints. debug-breakpoint-log debug-breakpoint-log Icon for log breakpoints. debug-breakpoint-log-disabled debug-breakpoint-log-disabled Icon for disabled log breakpoint. debug-breakpoint-log-unverified debug-breakpoint-log-unverified Icon for unverified log breakpoints. debug-breakpoint-unsupported debug-breakpoint-unsupported Icon for unsupported breakpoints. debug-breakpoint-unverified debug-breakpoint-unverified Icon for unverified breakpoints. debug-collapse-all collapse-all Icon for the collapse all action in the debug views. debug-configure gear Icon for the debug configure action. debug-console debug-console Icon for the debug console open action. debug-console-clear-all clear-all Icon for the clear all action in the debug console. debug-console-evaluation-input arrow-small-right Icon for the debug evaluation input marker. debug-console-evaluation-prompt chevron-right Icon for the debug evaluation prompt. debug-console-view-icon debug-console View icon of the debug console view. debug-continue debug-continue Icon for the debug continue action. debug-disconnect debug-disconnect Icon for the debug disconnect action. debug-gripper gripper Icon for the debug bar gripper. debug-hint debug-hint Icon for breakpoint hints shown on hover in editor glyph margin. debug-pause debug-pause Icon for the debug pause action. debug-restart debug-restart Icon for the debug restart action. debug-restart-frame debug-restart-frame Icon for the debug restart frame action. debug-reverse-continue debug-reverse-continue Icon for the debug reverse continue action. debug-stackframe debug-stackframe Icon for a stackframe shown in the editor glyph margin. debug-stackframe-focused debug-stackframe-focused Icon for a focused stackframe shown in the editor glyph margin. debug-start debug-start Icon for the debug start action. debug-step-back debug-step-back Icon for the debug step back action. debug-step-into debug-step-into Icon for the debug step into action. debug-step-out debug-step-out Icon for the debug step out action. debug-step-over debug-step-over Icon for the debug step over action. debug-stop debug-stop Icon for the debug stop action. default-view-icon window Default view icon. diff-editor-next-change arrow-down Icon for the next change action in the diff editor. diff-editor-previous-change arrow-up Icon for the previous change action in the diff editor. diff-editor-toggle-whitespace whitespace Icon for the toggle whitespace action in the diff editor. diff-insert add Line decoration for inserts in the diff editor. diff-remove remove Line decoration for removals in the diff editor. diff-review-close close Icon for 'Close' in diff review. diff-review-insert add Icon for 'Insert' in diff review. diff-review-remove remove Icon for 'Remove' in diff review. disassembly-editor-label-icon debug Icon of the disassembly editor label. explorer-view-icon files View icon of the explorer view. extensions-clear-search-results clear-all Icon for the 'Clear Search Result' action in the extensions view. extensions-configure-recommended pencil Icon for the 'Configure Recommended Extensions' action in the extensions view. extensions-editor-label-icon extensions Icon of the extension editor label. extensions-filter filter Icon for the 'Filter' action in the extensions view. extensions-info-message i
The rest of this page is on the live site.