We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 728c86b commit 39111adCopy full SHA for 39111ad
extension/src/fileSystem/tree.ts
@@ -1,6 +1,7 @@
1
import { relative } from 'path'
2
import {
3
Event,
4
+ ThemeIcon,
5
TreeDataProvider,
6
TreeItem,
7
TreeItemCollapsibleState,
@@ -93,8 +94,8 @@ export class TrackedExplorerTree
93
94
? TreeItemCollapsibleState.Collapsed
95
: TreeItemCollapsibleState.None
96
)
-
97
treeItem.contextValue = this.getContextValue(resourceUri, isDirectory)
98
+ treeItem.iconPath = isDirectory ? ThemeIcon.Folder : ThemeIcon.File
99
100
if (!isDirectory && treeItem.contextValue !== 'virtual') {
101
treeItem.command = {
0 commit comments