Haskell plug-in for Eclipse

Note: I posted updated version with installation instructions for Windows XP and screencast tutorial.

I use Eclipse to all sort of development on C, Java and Haskell. It gives me uniform look and feel on every project. In this post I wold like to show steps necessary to run Haskell Eclipse plug-in.

First of all you need to have Eclipse installed. I will use Ubuntu 8.10 and the installation command is:

[code lang="bash"]
sudo apt-get install eclipse
[/code]

My Eclipse version is: Europa 3.2.2, Haskell plug-in version is: 0.10.0 and Java version “1.6.0_06″

When the installation finish run Eclipse and select “Workbench” from initial page.

  1. From menu on the top select: Help -> Software Updates -> Find and Install ….
  2. On “Install/Update” form select “Search for new features to Install”, click “Next”.
  3. On “Install” form click “New Remote Site …”
  4. On “Edit Remote Site” form enter:

    Name: Haskell Plug-in
    URL: http://eclipsefp.sf.net/updates

    - this is the location of Project that develops Functional Programming plug-in for Haskell and Ocaml. Click “OK”.
  5. On “Install” form select check-box near the “Haskell Plug-in” if it is not already selected and click “Finish”

After the Installation is complete it may be necessary to restart Eclipse.

  1. From menu go to: “Window”-> “Preferences…”
  2. On “Preferences” form select “Functional Programming” and set appropriate compiler and editor options for you system.
  3. On top right corner of Eclipse there is “Java perspective” that can be changed to “Haskell perspective”.

Enjoy happy programming.

Tags: ,

Comments are closed.