$(filter) shows wrong icon in TreeView #2908
Answered
by
alefragnani
ArturoDent
asked this question in
Extension Development QnA
-
|
Weird, I am using "view/title": [
{
"command": "symbolsTree.filterTree",
"when": "view == symbolsTree",
"group": "navigation@3",
"icon": "$(filter)"
}
] |
Beta Was this translation helpful? Give feedback.
Answered by
alefragnani
Nov 9, 2025
Replies: 1 comment 1 reply
-
|
Hi @ArturoDent , I can confirm it is showing the wrong icon, even tho the icon itself seems ok in the codicon repo (https://github.com/microsoft/vscode-codicons/blob/main/src/icons/filter.svg). So, it seems a bug in VS Code itself. I would suggest you to open an issue in the VS Code repo. BTW, I'm not entirely sure Hope this helps |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ArturoDent
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @ArturoDent ,
I can confirm it is showing the wrong icon, even tho the icon itself seems ok in the codicon repo (https://github.com/microsoft/vscode-codicons/blob/main/src/icons/filter.svg). So, it seems a bug in VS Code itself. I would suggest you to open an issue in the VS Code repo.
BTW, I'm not entirely sure
view/titledoes supporticonproperties, but even if you put theiconin thecommanddefinition, the error still occurs.Hope this helps