From f5e95460111dc9026dba5ce59fa10e6ab51dc821 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 20 May 2025 21:16:11 +0000 Subject: [PATCH 1/2] Initial plan for issue From 5f127f4a002755de268a10d0b390614d0d3e03b1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 20 May 2025 21:25:22 +0000 Subject: [PATCH 2/2] Remove file icon from Python projects that are single files Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com> --- src/features/views/treeViewItems.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/views/treeViewItems.ts b/src/features/views/treeViewItems.ts index 8a966aa8..fc18a046 100644 --- a/src/features/views/treeViewItems.ts +++ b/src/features/views/treeViewItems.ts @@ -232,7 +232,7 @@ export class ProjectItem implements ProjectTreeItem { item.description = this.project.description; item.tooltip = this.project.tooltip; item.resourceUri = project.uri.fsPath.endsWith('.py') ? this.project.uri : undefined; - item.iconPath = this.project.iconPath ?? (project.uri.fsPath.endsWith('.py') ? ThemeIcon.File : undefined); + item.iconPath = this.project.iconPath; this.treeItem = item; }