DEV Community

vrauuss softwares
vrauuss softwares

Posted on

3

How to Disable SVG Preview Mode

3 ways to open SVG files as text instead of preview mode in Visual Studio Code.

Featured Image

Method 1: Set editor via context menu

  1. Locate any .svg file
  2. Right-click it and select Open With...
  3. Select Configure default editor for '*.svg'...
  4. Set **Text Editor" as the default

Method 2: Set editor via settings.json

  1. Open Manage menu from the gear icon (⚙️)
  2. Go to Settings
  3. Open settings.json from the file icon (📃)
  4. Add the following snippet:
"workbench.editorAssociations": {
  "*.svg": "default"
}
Enter fullscreen mode Exit fullscreen mode

Method 3: Set editor via GUI

  1. Open Manage from the gear icon (⚙️)
  2. Go to Settings
  3. Search for Workbench.EditorAssociation
  4. Click Add Item
  5. Enter *.svg in the Item field
  6. Enter default in the Value field
  7. Click OK to apply

Contact


Blog

Coming soon…


Article


References

AWS Q Developer image

Build your favorite retro game with Amazon Q Developer CLI in the Challenge & win a T-shirt!

Feeling nostalgic? Build Games Challenge is your chance to recreate your favorite retro arcade style game using Amazon Q Developer’s agentic coding experience in the command line interface, Q Developer CLI.

Participate Now

Top comments (0)

Dev Diairies image

User Feedback & The Pivot That Saved The Project

🔥 Check out Episode 3 of Dev Diairies, following a successful Hackathon project turned startup.

Watch full video 🎥

👋 Kindness is contagious

Explore this insightful write-up, celebrated by our thriving DEV Community. Developers everywhere are invited to contribute and elevate our shared expertise.

A simple "thank you" can brighten someone’s day—leave your appreciation in the comments!

On DEV, knowledge-sharing fuels our progress and strengthens our community ties. Found this useful? A quick thank you to the author makes all the difference.

Okay