IntelliJ-Haskell

Compatible with IntelliJ IDEA
21.04.2017
6 509
Haskell support. Please README

Download plugin

Recent change notes

1.0.0-beta8

  • Various (performance) improvements and fixes

1.0.0-beta7

  • Various improvements and fixes

1.0.0-beta6

  • Various improvements and fixes
  • Performance improvements

1.0.0-beta5

  • Various improvements and fixes
  • Fixed issue with looping file index process
  • Support for navigation to instance declaration (called `Navigate`/`Instance declaration` in IntelliJ menu)
  • Added completion for package names in Cabal file (@zjhmale)

1.0.0-beta4

  • Various improvements and fixes
  • BREAKING CHANGE: Haskell Stack SDK has to be created by selecting Stack binary itself instead of containing folder
  • Switched from file index to stub index for navigation. If after upgrading plugin IntelliJ indexing hangs, you have to choose `Invalidate Caches/Restart...` in `File`-menu
  • Added Hoogle action
  • Added navigation powered by Hoogle
  • Support for Hindent formatting of selection
  • Add and remove parens around expression (@zjhmale)
  • Improved Cabal file support (@zjhmale)
  • Support for Stack 1.3
  • Added dialog in `Help` menu which shows all Haskell tools used by plugin

1.0.0-beta3

  • Various improvements and fixes
  • Intero, HLint, Haskell-docs and Apply-refact are automatically build to prevent incompatibility issues.
  • Added Hindent formatter
  • Added Stylish-haskell formatter
  • Added formatter which uses Hindent and then Stylish-haskell
  • Enabled HLint inspection by default
  • Improved application of HLint suggestions by using Refactor tool(package is apply-refact)

1.0.0-beta2

  • Attempt to fix issue #49

1.0.0-beta

  • Replaced ghc-mod by Stack and Intero
  • Big rewrite/refactor of code
  • Support for IntelliJ 2016.*

0.93

  • Replaced ghc-mod legacy-interactive `check` by `ghc-mod check`

0.92

  • Replaced Cabal by Stack
  • Improvements
  • Bug fixes (especially for OSX)

0.91

  • Support for IntelliJ 15 and 2016.1
  • Replaced usage of ghc-modi by ghc-mod legacy-interactive
  • Improvements

0.9

  • Added feature to automatically download sources of project dependencies and add them as source libraries to module
  • Support for renaming Haskell module
  • Bug fixes
  • Improvements

0.81

  • Support for IntelliJ 14.1

0.8

  • Bug fixes
  • Improvements
  • Support for upcoming version of ghc-mod with Cabal-helper

0.7

  • Improved parser and formatting

0.6

  • Bug fixes
  • (Performance) improvements
  • Improved syntax highlighting
  • Added Haskell module
  • Support for qualified identifiers
  • Optimize imports

0.5

  • Support for IntelliJ 14. IntelliJ 13.x is not supported since this version
  • Improved rename by setting scope automatically. Also local rename does not force preview anymore
  • Improved Find Usages

0.4

  • Improved communication with ghc-modi by increasing timeout
  • Minor improvements

0.3

  • Support for exact search in navigate to declaration and identifier by putting space at the end
  • Intention actions for adding language extension pragma and type signature to code
  • Minor improvements in formatting

0.2

  • Inspection by HLint
  • Quick fixes for HLint suggestions
  • View error, action to view formatted message from ghc-mod. Especially useful in case message consists of multiple lines (Ctrl-F10, Meta-F10 on Mac OSX)
  • Haskell GHC SDK. I noticed that setting GHC SDK for existing Haskell project gave warning about corrupt SDK. In that case: close project, remove idea files and open project again.
  • Removed ghcOsxPath setting in favour of GHC SDK home path
  • ghc-modi process is started on request, not automatically anymore when project is opened
  • Improvements

0.1

  • Initial version

See for more information: https://github.com/rikvdkleij/intellij-haskell/blob/master/README.md

Any feedback is welcome!

General usage instructions

See README.