Skip to content
IntelliJ IDEA plugin for Haskell
Branch: master
Clone or download
Latest commit a9be4e8 Aug 15, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea cleanup code May 8, 2017
data
generator cleanup code May 8, 2017
jps-plugin Fix build Mar 30, 2017
lib remove Kotlin from repo May 8, 2017
plugin
tools Add operators support Jun 5, 2014
.gitignore Moved 'data' dir to the test resrouces, now loading via classloader Jan 8, 2015
LICENSE Initial commit Sep 13, 2013
README.md
build.xml Update IDEA download URL Aug 15, 2017
haskell-idea.iml Fix build Mar 30, 2017

README.md

haskell-idea-plugin

IntelliJ IDEA plugin for Haskell, based on ideah.

Build

http://plugins.jetbrains.com/plugin/7453?pr=idea

You can download the latest build manually from BuildServer:

http://teamcity.jetbrains.com/viewType.html?buildTypeId=Haskell_Build&guest=1

At this point the plugin provides these basic features:

  • Haskell syntax highlight
  • Cabal syntax highlight
  • Error checking with ghc-modi.
  • Simple completion based on ghc-modi
  • Show type of symbol (Ctrl + Shift + T, or ⌘ + Shift + T on mac)
  • Build of cabal projects
  • Installation of cabal packages
  • Graphical debugger
  • REPL

Plans

  • add the ability to jump to hackage libraries source code.
  • support of other products based on the IntelliJ platform.
  • GHCi support

Installation

You can install the plugin from idea by going to Preferences -> Plugins and pressing Browse repositories....

For it to work normally you will need these plugins:

  • Haskell platform
  • cabal must be in PATH
  • cabal package ghc-mod
  • cabal package remote-debugger - if you want to use debugger

Source compilation

To compile you will need:

  • IDEA 13.1
  • Kotlin plugin
  • JDK 6
  • IntelliJ IDEA Plugin SDK

Acknowledgments

I thank the following people for their help:

  • Vladislav Polyansky, Marat Habibullin for development of debugger support.
  • Anna Yaveyn for development of cabal support.
You can’t perform that action at this time.