11
4
I just installed the EclipseFP plugin into my Eclipse setup (on Windows 7 32bit, if that matters), following the instructions. Then I followed the directions in the Eclipse help docs to create a Hello World
project successfully.
However, I'm fairly certain something is wrong, though I cannot figure out what. First of all, there's no syntax highlighting, even if I explicitly open files with the Haskell Editor. Secondly, hitting run launches the GHCi console in the Console tab. This is actually fairly useful, but does not sound right, since it doesn't run the file, only compile and load it. Additionally, the Outline view is empty, even when I open a moderately large Haskell file.
Last but not least, the project initially reported there was no Haskell implementation configured. I went into the preferences (though this is not described as being necessary anywhere) and manually added a GHC implementation, pointed to the bin directory of my Haskell Platform installation. As best I can tell, however, this has had no effect.
@dimo - I just had "Could not locate the executable to launch" on run and I set the GHCI and I set the run configuration to "Haskell Application" and working directory as my project folder. It still does that on WIndows. On Ubuntu it did that at first and then I closed Eclipse and opened it and made a new project and it magically worked. But on Windows I am f*cked. – Sacha T Red – 2016-02-11T02:45:20.813
I'd guess you missed a step. Did you install Cabal and build the Scion server? If you followed all the steps here and it's not working, I'd suggest starting a new thread on the EclipseFP mailing list and linking to this post. – dimo414 – 2016-02-11T11:56:09.580
In step 4, you said "while you are waiting"; does it refer to step 3? i.e. does it mean step 4 can be carried out while step 3 is in progress? – None – 2016-07-06T19:30:34.940
@FleetCommand yes, cabal can be updated while EclipseFP is being installed - it's only needed once you try to run the plugin. – dimo414 – 2016-07-06T22:42:04.447