fix(update-icons): added command for update icons

This commit is contained in:
LasaleFamine 2018-04-21 18:16:16 +02:00
parent a261f64673
commit 3d111910c7

View file

@ -33,6 +33,15 @@ export function getCurrentThemeIconsID(): string {
return vscode.workspace.getConfiguration().get<string>('workbench.iconTheme');
}
/**
* Set a specific id for icons
* @export
* @returns {Thenable}
*/
export function setIconsID(id: string): Thenable<void> {
return vscode.workspace.getConfiguration().update('workbench.iconTheme', id, true);
}
/**
* Reloads current vscode window.
* @export