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
Markdown preview editor shows icon even though I disabled file icons #84962
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesmarkdown-extThe Markdown extension: language features and previewverifiedVerification succeeded
@misolori, Martin Aeschlimann (@aeschli), SteVen Batten (@sbatten) Webview use the show-file-icons css class to toggle the icons. Was the behavior around this class changed recently? I now see that is always set, even when file icons are disabled?
I believe it used to only be set if there was an active fileIcon theme. Is there some other css property we should be looking for instead?
Matt Bierner (@mjbvz) I think the class is always there but as a user I have selected the file icon theme "none" and thus would not expect any icons. However I see the the markdown extension simply adds an icon to the editor here:
So possibly this icon is just there independent of my file icon choice. I think we need to improve this and possibly not have icons in custom editors / web view editors if the user has no file icon theme enabled.
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesmarkdown-extThe Markdown extension: language features and previewverifiedVerification succeeded
Activity
DiamondYuan commentedon Nov 17, 2019
I can fix this issue.And i want to ask a question.
Configuration properties of disabled file icons is 'workbench.editor.showIcons' ?
DiamondYuan commentedon Nov 17, 2019
This issue fixed in 1.40.1 ?
mjbvz commentedon Nov 18, 2019
Still repos for me in current insiders builds:
DiamondYuan commentedon Nov 19, 2019
I still can't repeat it。
DiamondYuan commentedon Nov 19, 2019
mjbvz commentedon Nov 20, 2019
@misolori, Martin Aeschlimann (@aeschli), SteVen Batten (@sbatten) Webview use the
show-file-iconscss class to toggle the icons. Was the behavior around this class changed recently? I now see that is always set, even when file icons are disabled?I believe it used to only be set if there was an active fileIcon theme. Is there some other css property we should be looking for instead?
miguelsolorio commentedon Nov 20, 2019
I haven't updated any file icon classes
bpasero commentedon Nov 20, 2019
Matt Bierner (@mjbvz) I think the class is always there but as a user I have selected the file icon theme "none" and thus would not expect any icons. However I see the the markdown extension simply adds an icon to the editor here:
vscode/extensions/markdown-language-features/src/features/preview.ts
Line 515 in 6505027
So possibly this icon is just there independent of my file icon choice. I think we need to improve this and possibly not have icons in custom editors / web view editors if the user has no file icon theme enabled.
dvrylc commentedon Jan 14, 2020
Hi can I take this issue?
mjbvz commentedon Jan 14, 2020
Daryl Chan (@dvrylc) sure