-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[themes] Add product icon themes #92791
Comments
Do you have a build task to generate the product icon font |
For the sample I used an online tool, https://icomoon.io/app/#/select, but a build task would be great. I created microsoft/vscode-extension-samples#303 |
@aeschli A quick question: can we customize icons in completion list? |
@HaoboGu yes, these icons are prefixed with "symbol-string": {
"fontCharacter": "\\EA46"
},
"symbol-module": {
"fontCharacter": "\\EA47"
},
"symbol-namespace": {
"fontCharacter": "\\EA47"
},
"symbol-package": {
"fontCharacter": "\\EA47"
},
"symbol-object": {
"fontCharacter": "\\EA47"
} |
You can also reference our product icon documentation for the list of the icons and names. It's worth noting that we don't have full support for product icon theming yet, which is what this issue is tracking. |
@PKief Thanks a lot! |
+1 one for me, I'd love to be able to change a single icon, as in the above issue #110240 |
What if I want to add a new icon instead of overwriting an existing one, just to use it in my own extension? |
Would it even be possible to manually merge multiple extension icons into 1 Frankenstein extension? |
Yes, an extension can define any number of product icon themes. It's the same as with file icons. Check out the product icon sample: https://github.com/microsoft/vscode-extension-samples/tree/master/product-icon-theme-sample |
I was looking for tools to merge |
I just pushed to insiders that product icon themes are now official API |
Closing this issue. #114942 is for the icon contribution point |
I still don't quite get how I would use this to add an icon to certain file types or languages. |
@Hezkore Product icon themes are not built to change the icons of files or languages. I think what you mean are the file icon themes. |
Yes, but that would replace ALL icons. Multiple issues and a few pull requests regarding this was closed and redirected to this fix. |
@Hezkore See #14662 (comment). Let's discuss it in that issue. |
Fixes #79130
productIconThemes
workbench.productIconTheme
Test Product Icons
example invscode-colorize-tests
glyphMargin.collapedRange
, not the chosen representation (chevron-right
). However we want to keepchevron-right
as these can be accessed in Markdown or labels using `$(chevron-right)The text was updated successfully, but these errors were encountered: