This tool lets you visualize and explore all icons used in the Visual Studio Code codebase.
- The generator scripts (
icon-inventory-gen.jsand.cjs) are designed to be run inside a VS Code source repository. They scan the repo for icon files and usage, then generate theicon-inventory.jsdata file. - The HTML UI (
icon-inventory.html) references the icon files by their relative paths, so it must be opened in a context where those files exist (typically inside the VS Code repo, or with the icons copied alongside).
- Copy the icon inventory tool (this repo or just the needed files) into the root of your VS Code repo.
- Run the generator script:
This will scan the VS Code repo and generate up-to-date icon data in
node icon-inventory-gen.js # or node icon-inventory-gen.cjsicon-inventory.js. - Open
icon-inventory.htmlin your browser to view the inventory.
- VSCode codebase
- Node.js (for running the generator scripts)
- Web browser (for viewing the inventory)