Reputation: 3792
The documentation https://code.visualstudio.com/docs/extensionAPI/vscode-api says that icon-name can be taken from the octicon, is it possible to insert icon that is not an octicon?
Upvotes: 1
Views: 2584
Reputation: 31
You can add your custom icon. https://glyphter.com/ add your 5 X 5 svg logo here in section A, then Download the font.
in vscode's package.json
"contributes": {
"icons": {
"custom-icon-id": {
"description": "custom descr",
"default": {
"fontPath": "./customicon.woff", //woff file
"fontCharacter": "\\41" //you added svg logo in section A
}
}}
Upvotes: 2
Reputation: 3178
No, you can't, at least, not yet.
There is an open issue asking to support more icons, but no Milestone defined.
Upvotes: 2