Skip to content

Create an extension with simple icons support #10600

Closed

Description

Using attached set:
Simple.Explorer.Icons.zip

Looking at vscode-icons, they

  • set a CSS class in the form of <language-id>-file-icon on the file label (e.g. dockerfile-file-icon)
  • set a CSS class of default-file-icon if the language ID cannot be resolved
  • override some CSS for the case of folder-icon to show a folder icon and also add some CSS for when the parent row is expanded to support the expanded folder icon. maybe we want to make this more explicit and introduce expanded-folder-icon and collapsed-folder-icon?
  • when showing an icon, the CSS properties to show it are padding-left: 22px; and background-size: 16px !important;. we could make this a convention and ask our icon providers to provide good versions for 16px dimensions. this would work for SVG and PNG.
  • we need to account for light, dark and hc theme

Activity

  1. added
    feature-request
    on Aug 17, 2016
  2. rmunn commented on Aug 17, 2016

    @rmunn
    Contributor
  3. aeschli commented on Aug 17, 2016

    @aeschli
    Contributor

    vscode-icons patches the VSCode source code. We'd like to create an 'official' API/contribution point that vscode-icons (and others) can use instead.

  4. bpasero commented on Aug 17, 2016

    @bpasero
    ContributorAuthor

    Robin Munn (@rmunn) we are in the process of allowing an extension like vscode-icons to add icons without patching our sources. We would also like to provide an extension that uses the simple icon set designed by us so that users have the choice once we release for August.

  5. bpasero commented on Aug 17, 2016

    @bpasero
    ContributorAuthor

    Martin Aeschlimann (@aeschli) updated the description with my findings from vscode-icons

  6. robertohuertasm commented on Aug 22, 2016

    @robertohuertasm
    Contributor

    Hi, have you already deployed new changes regarding icon integration in the new Insiders update? It would be great to know how the new API will work in order to change vscode-icons accordingly and cause no pain to the current users. 😀

  7. aeschli commented on Aug 22, 2016

    @aeschli
    Contributor

    Hi Roberto Huertas (@robertohuertasm), I'm working on the documentation in #10804.
    You also want to check out the built-in standard icons.

  8. aeschli commented on Aug 29, 2016

    @aeschli
    Contributor

    New contribution point got added and is available in the latest insider builds.
    See #10804 for the documenatation

  9. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions