src/vs/base/common/codicons.ts
66 LOC · 66 covered · 0 uncovered · 3 ranges · 6399 concepts · 2 introducers · 3220 tests
File neighbourhood
The centred file is linked to every concept that introduces one of its ranges, every test that runs code from the file, and the gray connector concepts standing between those tests and the file's own introducer concepts. Undirected links join concepts to every file where they introduce source and concepts to the tests they introduce; arrows show specialization between the displayed concepts and bridge only concepts omitted from this view. Concept colors match the source ranges below; connector concepts have no source color and are shown in gray.
Focused file, its introducer and connector concepts, their introduced files, and tests that run code from the file
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the related-file, concept, and source links on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the related-file, concept, and source links on this page while the interactive map is unavailable.
/*---------------------------------------------------------------------------------------------
codicons.ts ×2
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { ThemeIcon } from './themables.js';
import { register } from './codiconsUtil.js';
import { codiconsLibrary } from './codiconsLibrary.js';
/**
* Only to be used by the iconRegistry.
*/
export function getAllCodicons(): ThemeIcon[] {
}
/**
* Derived icons, that could become separate icons.
* These mappings should be moved into the mapping file in the vscode-codicons repo at some point.
*/
export const codiconsDerived = {
dialogError: register('dialog-error', 'error'),
dialogWarning: register('dialog-warning', 'warning'),
dialogInfo: register('dialog-info', 'info'),
dialogClose: register('dialog-close', 'close'),
treeItemExpanded: register('tree-item-expanded', 'chevron-down'), // collapsed is done with rotation
treeFilterOnTypeOn: register('tree-filter-on-type-on', 'list-filter'),
treeFilterOnTypeOff: register('tree-filter-on-type-off', 'list-selection'),
treeFilterClear: register('tree-filter-clear', 'close'),
treeItemLoading: register('tree-item-loading', 'loading'),
menuSelection: register('menu-selection', 'check'),
menuSubmenu: register('menu-submenu', 'chevron-right'),
menuBarMore: register('menubar-more', 'more'),
scrollbarButtonLeft: register('scrollbar-button-left', 'triangle-left'),
scrollbarButtonRight: register('scrollbar-button-right', 'triangle-right'),
scrollbarButtonUp: register('scrollbar-button-up', 'triangle-up'),
scrollbarButtonDown: register('scrollbar-button-down', 'triangle-down'),
toolBarMore: register('toolbar-more', 'more'),
quickInputBack: register('quick-input-back', 'arrow-left'),
dropDownButton: register('drop-down-button', 0xeab4),
symbolCustomColor: register('symbol-customcolor', 0xeb5c),
exportIcon: register('export', 0xebac),
workspaceUnspecified: register('workspace-unspecified', 0xebc3),
newLine: register('newline', 0xebea),
thumbsDownFilled: register('thumbsdown-filled', 0xec13),
thumbsUpFilled: register('thumbsup-filled', 0xec14),
gitFetch: register('git-fetch', 0xec1d),
lightbulbSparkleAutofix: register('lightbulb-sparkle-autofix', 0xec1f),
debugBreakpointPending: register('debug-breakpoint-pending', 0xebd9),
chatImport: register('chat-import', 0xec86),
chatExport: register('chat-export', 0xec87),
} as const;
/**
* The Codicon library is a set of default icons that are built-in in VS Code.
*
* In the product (outside of base) Codicons should only be used as defaults. In order to have all icons in VS Code
* themeable, component should define new, UI component specific icons using `iconRegistry.registerIcon`.
* In that call a Codicon can be named as default.
*/
export const Codicon = {
...codiconsLibrary,
...codiconsDerived
} as const;