Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>U:Bodigat Code FormatterNew to Visual Studio Code? Get it now.
U:Bodigat Code Formatter

U:Bodigat Code Formatter

U:Bodigat

|
3 installs
| (0) | Free
A modern code formatter for HTML, CSS and JavaScript, based on Lonefy's original JS-CSS-HTML Formatter.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🧩 Code Formatter – by U:Bodigat

Ein moderner, sicherer und blitzschneller Code-Formatter für HTML, CSS, JS, JSON & SCSS.
Basierend auf js-beautify – vollständig überarbeitet mit neuem Sicherheits-Layer und sauberem TypeScript-Code.


✨ Features

✅ Formatierung über Tastenkürzel
✅ Auto-Format beim Speichern
✅ Eigene lokale formatter.json pro Projekt
✅ Unterstützung für HTML, CSS, JS, JSON & SCSS
✅ Sichere JSON5-Konfiguration (keine Codeausführung)
✅ Erweiterte js-beautify Defaults für moderne JS-Syntax


⚙️ Verwendung

1️⃣ Manuell formatieren:
Alt + Shift + F oder F1 → „Beautify Document“

2️⃣ Automatisch beim Speichern:
Im Config-File onSave: true aktivieren

3️⃣ Eigene Konfiguration:
F1 → „Create Local Config“
→ Datei .vscode/formatter.json wird erstellt


🛠️ Beispiel-Konfiguration (formatter.json)

{
  "onSave": true,
  "html": {
    "indent_size": 2,
    "max_preserve_newlines": 2
  },
  "css": {
    "indent_size": 2,
    "newline_between_rules": true
  },
  "javascript": {
    "indent_size": 2,
    "preserve_newlines": true
  }
}

License and Credits

This project is based on the original JS-CSS-HTML Formatter by Lonefy, licensed under the MIT License.

Modified and updated for 2025 by U:Bodigat.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft