Skip to content

Commit c7c9025

Browse files
committed
fix: move env manager description to tooltip
1 parent 9c8ca45 commit c7c9025

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/features/views/treeViewItems.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ export class EnvManagerTreeItem implements EnvTreeItem {
3131
constructor(public readonly manager: InternalEnvironmentManager) {
3232
const item = new TreeItem(manager.displayName, TreeItemCollapsibleState.Collapsed);
3333
item.contextValue = this.getContextValue();
34-
item.description = manager.description;
35-
item.tooltip = manager.tooltip;
34+
// Descriptions were a bit too visually noisy
35+
// https://github.com/microsoft/vscode-python-environments/issues/167
36+
item.description = undefined;
37+
item.tooltip = manager.tooltip ?? manager.description;
3638
item.iconPath = manager.iconPath;
3739
this.treeItem = item;
3840
}

0 commit comments

Comments
 (0)