diff --git a/extensions/helpers/vscode.ts b/extensions/helpers/vscode.ts index 8ae4cc7..2f38245 100644 --- a/extensions/helpers/vscode.ts +++ b/extensions/helpers/vscode.ts @@ -33,6 +33,15 @@ export function getCurrentThemeIconsID(): string { return vscode.workspace.getConfiguration().get('workbench.iconTheme'); } +/** + * Set a specific id for icons + * @export + * @returns {Thenable} + */ +export function setIconsID(id: string): Thenable { + return vscode.workspace.getConfiguration().update('workbench.iconTheme', id, true); +} + /** * Reloads current vscode window. * @export