fix(update-icons): added command for update icons
This commit is contained in:
parent
a261f64673
commit
3d111910c7
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue