You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TreeItems rendered with multiple icons in custom tree #113374
bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insiderstree-viewsExtension tree view issuesverifiedVerification succeeded
Set both resourceUri and iconPath attribute for a TreeItem in custom tree (iconPath is set with ThemeIcon instead of path)
Multiple icon will be displayed in custom tree, one is contributed by iconPath, the other is same as File Explorer's.
For example, if I set resourceUri to a Java file, and I also set class, interface, enum icons in order to distinguish main class type in a Java file, I would get:
I've already tried that if I set iconPath to a svg path, the TreeItem will be rendered correctly. But it's more consistent to use ThemeIcon.
Also, if I don't set resourceUri, it would also be correct, but in that case I can not benefit from VS Code's built in FileDecorator to display each files' source control status.
Does this issue occur when all extensions are disabled?: No
This bug has been fixed in to the latest release of VS Code Insiders!
Qinzhou Xu (@xqzlgy2), you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version a48ef56 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insiderstree-viewsExtension tree view issuesverifiedVerification succeeded
Activity
vscode-triage-bot commentedon Jan 5, 2021
This bug has been fixed in to the latest release of VS Code Insiders!
Qinzhou Xu (@xqzlgy2), you can help us out by commenting
/verifiedif things are now working as expected.If things still don't seem right, please ensure you're on version a48ef56 of Insiders (today's or later - you can use
Help: Aboutin the command palette to check), and leave a comment letting us know what isn't working as expected.Happy Coding!
xqzlgy2 commentedon Jan 6, 2021
/verified