Difference between revisions of "EclipseOn Mac OS X"

From HaskellWiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
[[EclipseFp]] seems to work ok on [[Mac_OS_X]], but it doesn't seem like there is much testing on OS X. Installing per instructions will get you editing and building pretty quickly.
+
[[EclipseFP]] seems to work ok on [[Mac_OS_X]], but it doesn't seem like there is much testing on OS X. Installing per instructions will get you editing and building pretty quickly.
   
 
However, getting syntax highlighting working requires a little work. The "scion-browser" and "buildwrapper" don't seem to install correctly, probably something to do with permissions. You will see errors whenever your try and let Eclipse install and build them, or just ignore the fact they are missing.
 
However, getting syntax highlighting working requires a little work. The "scion-browser" and "buildwrapper" don't seem to install correctly, probably something to do with permissions. You will see errors whenever your try and let Eclipse install and build them, or just ignore the fact they are missing.

Revision as of 02:11, 12 February 2012

EclipseFP seems to work ok on Mac_OS_X, but it doesn't seem like there is much testing on OS X. Installing per instructions will get you editing and building pretty quickly.

However, getting syntax highlighting working requires a little work. The "scion-browser" and "buildwrapper" don't seem to install correctly, probably something to do with permissions. You will see errors whenever your try and let Eclipse install and build them, or just ignore the fact they are missing.

Even if you skip the work for getting syntax highlighting working, EclipseFp is currently (early 2012) the easiest tool to get working for reliable edit/compile on Mac OS X, so it is a good choice for beginners.

Build them from the command line with cabal.

cabal install scion-browser
cabal install buildwrapper

The executables you need will likely be in a hidden directory "Library/Haskell/bin" of your home directory. i.e. if your user id is "foo" then the path will be "/Users/foo/Library/Haskell/bin". That folder may not show in finder or spotlight.

In Eclipse, select preferences. Select Haskell in the menu and drill down to helper executables. Select the appropriately named executables for Build Wrapper and Browser Executable (for scion-browser). These are links in the bin directory, but eclipse will resolve them fine.

That should at least get syntax highlighting working.

You won't find this anywhere else on the web. If you do, replace this page with a suitable link.

These instructions are applicable to EclipseFp 2.2.2 and Lion, and probably apply to other versions of OS X and EclipseFP.