TIL: Editing SVGs in VS Code
I use SVG a lot. By default VS Code displays SVGs as images rather than markup. If you'd prefer them as markup for editing etc. then here's how you do it:
- Go to Settings (MacOS: ⌘,)
- Search for
workbench.editorAssociations - Click the Add item button
- Set the key as
*.svgand the value asdefault - Click OK
Voila!
