Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS code icons disappeared

File icons in my VS Code disappeared when I installed Material icon theme and disabled it but now when I'm enabling this extension or reinstalling it, icons are not appearing. Even the default VS code file icons which were there before installing the extension have somehow disappeared as well.

enter image description here

enter image description here

like image 679
Abdul Rafay Avatar asked Aug 16 '18 12:08

Abdul Rafay


4 Answers

In VS Code, Go to extensions Ctrl + Shift + X .

Under installed extensions, select the vscode-icons extension. And Click on Set File Icon Theme, as shown in figure below, then press Enter enter image description here

like image 172
Mwiza Avatar answered Nov 15 '22 03:11

Mwiza


Based on my own experience, the theme was being deselected due to some reason (e.g installed a new theme, application update and etc) may also cause this issue, you can fix it by re-select the icon theme:

Open VS Code, go to File > Preferences > File icon theme > [Theme name] and choose your icon theme.

like image 33
Jason Avatar answered Nov 15 '22 02:11

Jason


You need to set “workbench.iconTheme“: “material-icon-theme“.
Then reloading the window should fix it.

like image 21
HaaLeo Avatar answered Nov 15 '22 01:11

HaaLeo


I had to install the extension again. I am on Mac, so I had to go to Preferences -> Extensions, and searched for Material Icon Theme, installed it and relaunched the IDE. enter image description here

like image 1
John Avatar answered Nov 15 '22 02:11

John