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

ormolu

sjurmillidahl

|
3,490 installs
| (0) | Free
VS Code extension for Haskell code formatting based on ormolu tool
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ormolu-vscode

VS Code extension for Haskell code formatting based on ormolu tool

Usage

  1. Install https://github.com/tweag/ormolu
  2. Use VS Code's built-in format or format selection commands.

Extension settings

Example

{
    "ormolu.path": "~/ormolu-Linux/ormolu",
    "ormolu.args": [
        "--no-cabal"
    ],
}

Credits

Code and configuration for the Extension is based on https://github.com/sergey-kintsel/hfmt-vscode by Sergey Kintsel

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft