Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>wasm fmtNew to Visual Studio Code? Get it now.
wasm fmt

wasm fmt

wasm-fmt

|
2,485 installs
| (0) | Free
Code Formatter powered by WebAssembly
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

wasm-fmt logo

wasm fmt - Visual Studio Code Extension

wasm fmt is a multi-language code formatting tool with the following advantages:

  1. It eliminates the need for a language runtime environment.
  2. Powered by WebAssembly, it operates swiftly and reliably across all VSCode environments, including VSCode Desktop, vscode.dev, and github.dev.

Supported languages

  • ruff_fmt

    • [x] Python
  • gofmt

    • [x] Golang
  • web_fmt

    • [x] JavaScript / TypeScript / JSX / TSX
    • [x] JSON / JSONC
    • [x] CSS / SCSS / SASS / LESS
    • [x] HTML / Vue / Svelte / Astro / Jinja / Twig
  • clang-format

    • [x] C / C++
    • [x] Objective-C / Objective-C++
    • [x] C#
    • [x] Java
    • [ ] JavaScript / TypeScript [^1]
    • [ ] JSON / JSONC [^1]
    • [x] Protobuf
  • dart_fmt

    • [x] Dart
  • zig_fmt

    • [x] Zig
  • lua_fmt

    • [x] Lua
  • sql_fmt

    • [x] SQL
  • yamlfmt

    • [x] YAML
    • [x] GitHub Actions Workflow

[^1]: JavaScript / TypeScrip / JSON / JSONC are supported by clang-format as well, but web_fmt is used for better output.

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