ormolu-vscode
VS Code extension for Haskell code formatting based on ormolu tool
Usage
- Install https://github.com/tweag/ormolu
- 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