Skip to content
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

file icon #2

Open
AnnyCaroline opened this issue Jan 30, 2019 · 1 comment
Open

file icon #2

AnnyCaroline opened this issue Jan 30, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@AnnyCaroline
Copy link
Owner

No description provided.

@AnnyCaroline AnnyCaroline added the enhancement New feature or request label Jan 30, 2019
@AnnyCaroline AnnyCaroline self-assigned this Jan 30, 2019
@AnnyCaroline
Copy link
Owner Author

AnnyCaroline commented Jan 31, 2019

There are two kind of icons that can be specified by a language extensions:

  • extension icon
  • file icons

Extension icon (implemented at 8a561d0)

This 128 png icon is defined at package.json file, on icon property.

"icon": "icons/star_128.png",

Since it is used at VSCode Marketplace, it should be available for the ones who not have the extension installed yet, i.e., don't have the icon locally. So, VSCode requeries that the icon is in the extension repository, and, of course, that the repository is specified at package.json file.

File icons (not supported by VSCode)

This icons are the ones that appear next to files (fig 1), at "Language Mode" selector (fig 2) and that can appear at file explorer (fig 3).

  • fig 1:
    image
  • fig 2:
    image
  • fig 3:
    image

But, add a new icon using an extension is not currently supported by VSCode (link).

There's an open feature request here:
#14662 - [file icons] Support for extending the file icon theme from an extension

@AnnyCaroline AnnyCaroline removed their assignment Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant