Skip to content

Commit

Permalink
utils: Add tooltips to generic tree/elements (#1884)
Browse files Browse the repository at this point in the history
* Remove linux from stage

* Add tooltips to generic tree/elements
  • Loading branch information
nturinski authored Feb 10, 2025
1 parent c8735ff commit f3e952d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions utils/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion utils/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
1 change: 1 addition & 0 deletions utils/src/tree/GenericTreeItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f3e952d

Please sign in to comment.