Is it possible to extend an icon set with your extension? If so, how can I add this to my language extension?
I have an extension for our custom language, and I'd like to include icons for the supported file types.
No, this is currently not supported. There's an open feature request here:
#14662 - [file icons] Support for extending the file icon theme from an extension
#140047 - [api] finalize icon property of the language contribution point
Api has been finalised to use a png or svg icon in the language definition.
{
"contributes": {
"languages": [
{
"id": "latex",
// ...
"icon": {
"light": "./icons/latex-light.png",
"dark": "./icons/latex-dark.png"
}
}
]
...
}