Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>STDIO Mix FormatterNew to Visual Studio Code? Get it now.
STDIO Mix Formatter

STDIO Mix Formatter

Tun Cham Roeun

|
2,697 installs
| (0) | Free
run `mix format -` in your project
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

mix-format README

reimplement of https://github.com/animus-coop/vscode-elixir-formatter.git

run mix format for elixir

Features

Help running mix format - to format file

Requirements

1 - Installed elixir

Configuration

.vscode/settings.json

{
  "elixirLS.suggestSpecs": false,
  "elixirLS.dialyzerEnabled": true,
  "elixirLS.signatureAfterComplete": false,
  "elixirLS.fetchDeps": false,
  "editor.formatOnSave": true,
  "files.associations": {
    "*.heex": "phoenix-heex"
  },

  "files.exclude": {
    "**/_build": true,
    "**/deps": true,
    "**/priv/static": true,
    "**/.elixir_ls": true
  },

  "[elixir]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "tunchamroeun.mix-format"
  },

  "[phoenix-heex]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "tunchamroeun.mix-format"
  },

  "emmet.includeLanguages": {
    "elixir": "html",
    "phoenix-heex": "html"
  },
  "emmet.triggerExpansionOnTab": true
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft