This plugin can provide Octicons icon reference source for other VSCode plugins.
This is not the same thing as an icon theme; its specific function is described below.
According to VSCode official website, plugins can use the form such as $(iconId) to refer to icons in strings, which essence is iconfont.
The iconfont provided natively by the software is Codicon, and this plugin provides one named Octicons produced by GitHub.
Usage scenarios of this plugin:
You are a plugin developer, and you need to use a lot of Octicons icons in your plugins, you can install this plugin and ask your users to install too, and then you can refer to the Octicons icon in your plugins.
You are a plugin developer, if you just want to use individual icons, or don't want to use Octicons, you can make a font yourself, but the code of this plugin can also be used as a tool. [Note]
You are a plugin user, and some plugins you use provide setting items that allow you to fill in the icon name to customize the icon, but you find that Codicon is not enough while Octicons can meet your needs, then you can use this plugin.
Installation & Usage
Click the extension button on the left side of VSCode, search in the search box, and click [install].
Go to the Octicons' website given in the introduction, find the icon you need and its name (let's say iconId), then you can refer to it in the format $(octicons-iconId).
(For example, the reference to the icon alert-24 is $(octicons-alert-24))
The location of the plugin code is (Default path on Windows): C:/Users/<NAME>/.vscode/extensions/liangruliu.octicons-refsrc-<VER>
The code in the plugin is used only when I develop the plugin, and it doesn't need to be executed when the plugin is running.
That code is used to properly convert icons to a font and register them, which is what I mean by "useful as a tool for other developers".