Difference between revisions of "EclipseOn Mac OS X"

From HaskellWiki
Jump to navigation Jump to search
m
m
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
[http://eclipsefp.github.com/ Eclipse] 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 doesn't work on 2.2 (feb 2012). If you actually manage to get scion-browser and build wrapper compiled, then your code will probably stop compiling in the IDE. So just live without those features for now or you can burn a lot of time.
   
  +
In the meantime, you get good edit/compile/build with EclipseFP 2.2.2.
Build them from the command line with cabal.
 
   
<code>
 
cabal install scion-browser<br>
 
cabal install buildwrapper
 
</code>
 
   
 
These instructions are applicable to EclipseFp 2.2.2 and Lion, and probably apply to other versions of OS X and EclipseFP.
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.
 
   
  +
[[Category:Tools]]
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.
 
  +
[[Category:OS]]
 
  +
[[Category:Stub articles]]
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.
 

Latest revision as of 04:11, 14 August 2021

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 doesn't work on 2.2 (feb 2012). If you actually manage to get scion-browser and build wrapper compiled, then your code will probably stop compiling in the IDE. So just live without those features for now or you can burn a lot of time.

In the meantime, you get good edit/compile/build with EclipseFP 2.2.2.


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