ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Brittany

Format Haskell with Brittany in SublimeText

Labels format, haskell

Details

Installs

  • Total 202
  • Win 105
  • Mac 54
  • Linux 43
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Brittany Sublime Text 3 Package

Use brittany to format a document or selection(s) containing Haskell source code.

Install

Package Control

  • See here for instructions on installation of Package Control
  • In Sublime Text, search for package 'Brittany'

Manual

Clone this repository into Sublime Text 3/Packages using OS-appropriate location:

OSX:

git clone git://github.com/eddiejessup/Brittany.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Brittany

Windows:

git clone git://github.com/eddiejessup/Brittany.git "%APPDATA%\Sublime Text 3\Packages\Brittany"

Linux:

git clone git://github.com/eddiejessup/Brittany.git ~/.config/sublime-text-3/Packages/Brittany

Usage

Access commands via:

  • Right-click menu item Brittany
  • Menu item Tools -> Brittany
  • Default keyboard shortcuts:
    • Format: ⌘+k, t (OSX) or ctrl+k, t (Linux and Windows)

The commands work on a selection, multiple selections or if nothing is selected, the whole document.

Requirements

The command brittany should be available from the terminal. Here are installation instructions for brittany itself.

Author & Contributors

License

MIT License