As part of his introduction to Sublime Text 2 plugins, he added several new features and bugfixes to SublimeHaskell. The author is still busy, so pull request in a suspended state, you can pick up on the
githaba .

Changes
Cabal-dev support
Now you can collect not only cabal'om, but cabal-dev'om, specifying the sandbox in the settings. Automatic assembly uses what is specified in the settings, the command can be called explicitly. With the command "Switch Cabal / Cabal-Dev" you can switch the default assembly.
Several sandboxes are supported.
The clean / configure / build / rebuild / install commands are added, where rebuild runs clean + configure + build.
Added SublimeHaskell: Run command, which allows to run the assembled executable file with output to output.
')
Significantly improved completion
Completion now loads information about all installed packages and takes into account the import of the current module. Those. added Data.List - got zipWith4 and so on in the list.
If the name is qualified, it shows in the absence of import.
Works for all folders opened in Sublime.
Also can understand qualified names, i.e. for
Data.Text. will show only the contents of the module of the same name.

It also understands aliases (import as).

Check + Lint
Added ghcmod check and ghcmod lint commands to show errors and tips. You can call both separately and both at once (check and lint), then the messages from lint will be presented as hints, so as not to mix with errors.
By default, when saving a file, check and lint is called.

Stylish
Added the Stylish command (stylish-haskell). It works both on the file and on the selected part of the code.


Go to declaration
The Go To Declaration command has been added (ctrl + shift + r), passing to the declaration of the current identifier. It works not only inside the file, but also on all open files and cabal projects.
The Go To Any Declaration command has also been added, listing all available declarations with their type and the module in which they are defined and the ability to go to them.

Browse declarations
Added command to list all available ads from cabal. Inserts the selected id.

Fixes
Fixed errors with reading settings from another thread, which led to the actual inoperability under Windows. Now the plugin works correctly.
The idea of ​​Check + Lint and Stylish is taken from the HaskellBuddy plugin with the permission of its author.