Haskell IDE for Windows?

Viewed 35885

I really searched on this one. (E/TextMate is the closest I found in this topic, but it doesn't seem to be that big of deal)

I tried emacs, but I don't seem to find a Haskell Mode for Windows.. VisualHaskell doesn't seem to follow the new VisualStudio updates...

I could try VIM, but does the Haskell Mode works for Windows there?

Sigh... All the time the 'close but no cigare' feeling.

Is there actually so out there programming Haskell under Windows?

11 Answers

Another option is Sublime Text, which is easily the best general-purpose code editor I've encountered. It generally fills the same niche as Vi/Vim or EMACS, but generally follows modern interface standards, and has some really useful features that I haven't seen in any other editors, such as the minimap and multi-selection (hit ctrl-d with some text selected, and it will select the next instance of the same text, while still keeping the old selection intact, essentially putting your input cursor in two places, so you can edit them both in tandem).

The standard download comes with basic Haskell syntax highlighting. If you want more functionality, there is a plug-in called SublimeHaskell that adds Cabal support for much smarter auto-completion and limited linting. To install that, you first want to install Sublime Package Control (very easy to do, just copy a string from their Installation section into Sublime's internal command-line), restart Sublime, and use the package control to install SublimeHaskell (hit ctrl-shift-p, type "package", select "Package Control: Install Package", then type "haskell" and select "SublimeHaskell", then restart Sublime).

It even has the ability to build from within the editor (Tools -> Build, or ctrl-b). This feature only supports a limited set of languages, but fortunately Haskell is one of them.

Emacs works fine on Windows. I used it when I worked with Haskell on Windows. So, that's my recommendation.

Visual Haskell works fine for me.

Leksah is not bad, install haskell platform, then download the latest Leksah, you're all set. it's not as robust as VS, but it has other qualities which make me enjoy using it, including ease of creating cabal packages, syntax highlighting, auto-completion of function names (they should extend this to syntax as well), function search, etc.

I did some Haskell back at varsity and I must admit that I used notepad. There wasn't an IDE back then.

Related