Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>OmniFormatterNew to Visual Studio Code? Get it now.
OmniFormatter

OmniFormatter

Abdu1-Ahd

|
87 installs
| (0) | Free
Universal code formatter — single WASM binary, 80+ languages, zero config migration
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

One extension. Every language. Zero configuration.

Build
Rust WebAssembly Registry

Github


🚀 Why OmniFormatter?

Stop installing 10 different formatters (Prettier, ESLint, Black, rustfmt, clang-format, gofmt...) that constantly conflict with each other.

OmniFormatter eliminates the chaos. It provides a single, blazing-fast WASM core that formats everything seamlessly.

⚡
Blazing Fast
📦
Zero Config
🛡️
Secure
🌍
Universal
WASM core activates in under 5ms with zero-copy infinite file size scaling. Automatically detects and reads native configurations (.prettierrc, pyproject.toml). Runs in a strict WASM Sandbox. All modules are cryptographically signed. Supports 70+ languages out-of-the-box via the GitHub Pages registry.

🛠️ Supported Languages

OmniFormatter downloads the tiny language modules you need on-the-fly and caches them forever.

  • 🌐 Frontend: JavaScript, TypeScript, JSX, TSX, Vue, Svelte, Astro, HTML, CSS, SCSS, Sass, Less
  • ⚙️ Systems: Rust, C, C++, Objective-C, Go, Zig, Nim, D
  • ☕ JVM & .NET: Java, Kotlin, Scala, Groovy, C#, F#
  • 🐍 Scripting: Python, Ruby, PHP, Perl, R, Julia, Lua
  • 📱 Mobile: Swift, Dart
  • 📝 Markup & Data: JSON, YAML, TOML, XML, INI, Markdown, LaTeX
  • 📊 DevOps & DB: Dockerfile, Terraform, Nix, Makefile, SQL, GraphQL
  • 🧩 And More: Haskell, Elixir, Erlang, OCaml, Clojure, Lisp, Scheme, Solidity, GDScript, AutoHotkey, Cobol, Fortran, Assembly, Jinja, Liquid, EJS, Handlebars, Twig...

💻 Quick Start

Set OmniFormatter as your default formatter in your settings.json:

{
  "editor.defaultFormatter": "Abdu1-Ahd.omni-formatter"
}

That's it. Keep using your existing configuration files (e.g., .prettierrc, rustfmt.toml), and OmniFormatter will adapt automatically.

Pro Tip: You do NOT need to enable "editor.formatOnSave". OmniFormatter natively formats your code whenever you manually save (Ctrl+S / Cmd+S) and intelligently ignores VS Code's Auto Save (e.g., onFocusChange) to prevent disrupting your incomplete code!


🏗️ Architecture

┌───────────────────────────────────┐
│       🔌 VS Code Extension        │
│           (TypeScript)            │
└─────────────────┬─────────────────┘
                  │
          [ Zero-Copy IPC ]
                  │
                  ▼
┌───────────────────────────────────┐
│          ⚡ Worker Pool           │
│             (Node.js)             │
└─────────────────┬─────────────────┘
                  │
         [ Fast WASM Call ]
                  │
                  ▼
┌───────────────────────────────────┐
│           ⚙️ WASM Core            │
│              (Rust)               │
└────────┬─────────────────┬────────┘
         │                 │
[ Loads on Demand ] [ Reads Configs ]
         │                 │
         ▼                 ▼
 ┌───────────────┐ ┌───────────────┐
 │📦 Lang Modules│ │🛠️ Config Adpt│
 │ (.wasm binary)│ │(Native Format)│
 └───────┬───────┘ └───────────────┘
         │
[ Fetched & Cached]
         │
         ▼
 ┌───────────────┐
 │ ☁️ Registry   │
 │(GitHub Pages) │
 └───────────────┘

🤝 Contributing

Contributions are welcome! If you encounter any issues or formatting errors with the extension, please report them so we can fix them. We also deeply appreciate any feedback or feature requests.

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