Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>hindent-formatNew to Visual Studio Code? Get it now.
hindent-format

hindent-format

monofon

|
6,167 installs
| (1) | Free
Use hindent to format Haskell code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

hindent-format README

This extensions uses hindent to format Haskell source code. It supports the standard Format Document and Format Selection actions.

Features

The palette command Hindent: Format Document or Selection is provided. If multiple formatters are registered for Haskell documents, this command can be used to invoke this specific formatter.

Configuration

hindent can be moderately configured by placing a .hindent.yaml file in the workspace directory or the user's home directory. The default configuration is:

indent-size: 2
line-length: 80
force-trailing-newline: true

Requirements

This extension requires at least hindent version 5.2.3 to be installed.

Extension Settings

This extension contributes the following settings:

  • hindent-format.enable: enable/disable this extension (default: true)
  • hindent-format.command: set the path to the hindent executable, no arguments should be specified here (default: hindent)

Extension Command

This extension contributes the following command:

  • hindent-format.format: Hindent: Format Document or Selection
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft