- Hands-On Serverless Computing
- Kuldeep Chowhan
- 107字
- 2025-04-04 16:32:06
Why are some icons not appearing in the workbench and editor?
Visual Studio Code uses SVG icons and there have been instances where the .SVG file extension is associated with something other than image/svg+xml. Microsoft is looking at options to fix it, but for now here's a workaround:
Using the Command Prompt:
- Open an Administrator Command Prompt.
- Type REG ADD HKCR\.svg /f /v "Content Type" /t REG_SZ /d image/svg+xml.
Using the Registry Editor (regedit):
- Start regedit
- Open the HKEY_CLASSES_ROOT key
- Find the .svg key
- Set its Content Type Data value to image/svg+xml
- Exit regedit