Adding Haskell Language Support to Visual Studio 2015 Update 1

After announcing language editor support for a number of new languages in Visual Studio 2015 Update 1, several people asked about when we were going to add Haskell.

Incidentally, it's great to see the upswing of interest in Haskell: I first encountered it over twenty years ago when I was an undergraduate at the University of Nottingham, studying under Mark P. Jones. I'd forgotten the little I learned, but there are plenty of tutorials, including an introductory one on even the Haskell homepage.

It's easy enough to add Haskell support to Visual Studio 2015, thanks to the new TextMate bundle support. As well as the bundles that we include out of the box (CMake, Go, Groovy, Java, Javadoc, Lua, Makefiles, Markdown, Perl, R, Ruby, shell scripts, Swift and YAML), you can install your own bundles.

For Haskell, simply git clone this:

https://github.com/timsneath/haskell.tmbundle  

into the following location: %USERPROFILE%\.vs\Extensions.

(%USERPROFILE% is typically C:\Users\username.)

Afterwards, simply restart Visual Studio and open a file with an .hs or .lhs extension, and you should be up and running:
Editing a Haskell file in Visual Studio