Skip to content

Commit

Permalink
Merge pull request #21 from isfopo:issue/Add-icons-to-tree-items
Browse files Browse the repository at this point in the history
Issue/Add-icons-to-tree-items
  • Loading branch information
isfopo authored Jul 11, 2024
2 parents a81cf1b + 1bc255d commit 3098369
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/EnvironmentTreeviewProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ export class EnvironmentTreeviewProvider
);

fileData = files.map(
(file, index) =>
([path], index) =>
new EnvironmentFileTreeItem(
file[0],
path,
fileUris[index],
parseEnvironmentContent(fileContentStrings[index])
)
Expand Down Expand Up @@ -146,5 +146,6 @@ export class EnvironmentFileTreeItem extends vscode.TreeItem {
this.contextValue = "file";
this.uri = uri;
this.tooltip = this.uri.fsPath;
this.iconPath = vscode.ThemeIcon.File;
}
}

0 comments on commit 3098369

Please sign in to comment.