- Download https://github.com/Microsoft/vscode/files/242099/icons.zip
- Extract Icons to
<vs install path>/resources/app/out/vs/workbench/parts/files/browser/media
which is%programfiles(x86)%\Microsoft VS Code\resources\app\out\vs\workbench\parts\files\browser\media
- patch
workbench.main.css
(as seen below)
Last active
June 13, 2016 15:44
-
-
Save JohannesHoppe/b2f24e8ca34e446043ac3fe659689b58 to your computer and use it in GitHub Desktop.
VSCode: Add file icons support in the explorer
ext install vscode-icons
(https://marketplace.visualstudio.com/items?itemName=robertohuertasm.vscode-icons)- Windows users: Start VSCode as admin
- F1 > Icons Enable
- Restart (or F1 > Window Reload)
- extract the ZIP by hand if icons are missing: https://github.com/robertohuertasm/vscode-icons/raw/master/icons.zip into ``%programfiles(x86)%\Microsoft VS Code\resources\app\out\vs\workbench\parts\files\browser\media`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* <vs install path>/resources/app/out/vs/workbench/workbench.main.css */ | |
.monaco-tree-row .content .sub-content .explorer-item.folder-icon { | |
padding-left: 22px; | |
background: url(./parts/files/browser/media/Folder_inverse.svg) 1px 4px no-repeat; | |
} | |
.monaco-tree-row.expanded .content .sub-content .explorer-item.folder-icon { | |
padding-left: 22px; | |
background: url(./parts/files/browser/media/Folder_opened.svg) 1px 4px no-repeat; | |
background-size: 16px; | |
} | |
.explorer-item.text-file-icon { | |
padding-left: 22px; | |
background: url(./parts/files/browser/media/File.svg) 1px 3px no-repeat; | |
background-size: 16px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment