Vscode: [themes] change the file icon or theme in API

Created on 17 Sep 2016  路  5Comments  路  Source: microsoft/vscode

Themes :

  1. Where does code store current applied theme ?
  2. Where does code store all installed themes ?
  3. How to get them via API in extension ?

File Icons :

  1. Where does code store current applied file icon ?
  2. Where does code store all installed file icons ?
  3. How to get them via API in extension ?

_P.S : I need it for my Code Settings Sync extension_

feature-request themes

Most helpful comment

ok thanks, i hope its in backlog to allow extensions to change the Icons or themes

All 5 comments

There's current no API for extensions to find out the current icon or color theme.

ok thanks, i hope its in backlog to allow extensions to change the Icons or themes

+1

There are above 150 votes for this feature.
Any update when it will be done, i wish to have this on March milestone

7358 will solve your problem. You can already try it in the insiders build.

To get a list of all installed theme, iterate over the packageJSON of all extensions (vscode.extension.all.forEach(e => e.packageJSON.contributes ....)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shanalikhan picture shanalikhan  路  3Comments

trstringer picture trstringer  路  3Comments

vsccarl picture vsccarl  路  3Comments

philipgiuliani picture philipgiuliani  路  3Comments

biij5698 picture biij5698  路  3Comments