Zum Hauptinhalt springen
•
Podcasts & Audio BriefingsChrome for Developers: 95: Updates to View Transitions(07.10.2026 um 00:36 Uhr)
••
Sicherheitslücken (CVE)USN-8892-1: Ubuntu Pro for WSL vulnerability(06.10.2026 um 22:11 Uhr)
••••••••
Podcasts & Audio BriefingsChrome for Developers: 95: Updates to View Transitions(07.10.2026 um 00:36 Uhr)
••
Sicherheitslücken (CVE)USN-8892-1: Ubuntu Pro for WSL vulnerability(06.10.2026 um 22:11 Uhr)
•••••••
Intelligence View
⚡ tsecurity.de Intelligence

How to Disable SVG Preview Mode

In this guide, you'll learn three quick ways to open SVG files in text mode by default instead of preview mode in Visual Studio Code. Method 1: Set Text Editor…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!

In this guide, you'll learn three quick ways to open SVG files in text mode by default instead of preview mode in Visual Studio Code.



Featured Image









Method 1: Set Text Editor via File Context Menu






1. Choose an SVG file



Selecting an SVG file in the file manager interface






2. Right-click the file and select "Open With..."



Right-clicking the SVG file to open the context menu






3. Click on "Configure default editor for '*.svg'..."



Accessing the option to configure the default editor for SVG files






4. Click on "Text Editor" to set it as the default



Selecting









Method 2: Edit the settings.json file






2.1 Click the gear icon in the bottom-left corner to open Manage



Opening the VSCode gear menu in the bottom-left corner






2.2 Open Settings



Clicking on the Settings option from the gear menu






2.3 Click the file icon in the top-right corner to open the settings.json file



Accessing settings.json via the file icon in the top-right corner






2.4 Paste the following code snippet to set the text editor as the default:



JSON snippet inserted to associate .svg with the default text editor




"workbench.editorAssociations": {
"*.svg": "default"
}












Method 3: Set Association via GUI






3.1 Click the gear icon in the bottom-left corner to open Manage



Opening the VSCode gear menu in the bottom-left corner






3.2 Open Settings



Clicking on Settings from the gear menu






3.3 Search for "Workbench.EditorAssociation"



Searching for Workbench.EditorAssociation in the Settings search bar




Workbench.EditorAssociation









3.4 Click on "Add Item"



Adding a new item to the editor associations list






3.5 Type "*.svg" in the Item box



Entering '.svg' in the item input field




*.svg









3.6 Type "default" in the Value box



Entering 'default' in the value input field




default









3.7 Click "OK" to confirm and set the text editor as the default



Confirming the new editor association by clicking OK









Contact











Articles











Upcoming Articles




  • How to Change the Size of an SVG with CSS


  • More SVG tips coming soon...










References



🔍 CTI & Forensik

Cyber Threat Intelligence & Forensik

ATT&CK-Navigator · IoC-Radar · Exploit-Belege
IoC Intelligence
1 Indikatoren · Defanged · STIX 2.1
dev[.]to
CTI Threat Relationship Graph
Akteure · Techniken · Beziehungen
2 Knoten · 1 Relationen
CVE / Incident Threat Actor Software MITRE ATT&CK CWE Weakness IoC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten How to Disable SVG Preview Mode

Thematisch verwandte Begriffe: Disable, Preview, Mode · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Nächster Beitrag