diff --git a/utils/index.d.ts b/utils/index.d.ts index cfac3b37ea..dd0bd0535e 100644 --- a/utils/index.d.ts +++ b/utils/index.d.ts @@ -491,6 +491,7 @@ export interface IGenericTreeItemOptions { iconPath?: TreeItemIconPath; commandId?: string; contextValue: string; + tooltip?: string; /** * If true, the tree item picker will execute `commandId`, refresh the tree, and re-prompt at the same level of the tree. diff --git a/utils/package.json b/utils/package.json index b7cf792db9..7eeb62f335 100644 --- a/utils/package.json +++ b/utils/package.json @@ -1,7 +1,7 @@ { "name": "@microsoft/vscode-azext-utils", "author": "Microsoft Corporation", - "version": "2.5.13", + "version": "2.5.14", "description": "Common UI tools for developing Azure extensions for VS Code", "tags": [ "azure", diff --git a/utils/src/tree/GenericTreeItem.ts b/utils/src/tree/GenericTreeItem.ts index a350a82c6c..ff708b6997 100644 --- a/utils/src/tree/GenericTreeItem.ts +++ b/utils/src/tree/GenericTreeItem.ts @@ -22,6 +22,7 @@ export class GenericTreeItem extends AzExtTreeItem implements types.GenericTreeI this.commandId = options.commandId; this.iconPath = options.iconPath; this.description = options.description; + this.tooltip = options.tooltip; this._includeInTreeItemPicker = !!options.includeInTreeItemPicker; }