When i right click Main.hs in my hello world program i only get options for GHCi and Hugs 98 session, but not "Run as Haskell application".
The executable is available in the file system and shows up in the Executables tab of my .cabal file (no context menu when i right click on the executable here; i saw this should be possible in a different thread).
There is no run configuration configured for "Haskell application"
I made a fresh install of eclipse and EclipseFP with a new workspace.
If i start with GHCi everything works fine.
Should i define my own run configuration (i tried and failed, btw)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
EclipseFP looks for the executable built via cabal in the following location: ${project}/.dist-buildwrapper/dist/build/${exename} . Ensure it's there, ensure your project can build properly and you don't have any errors.
And yes, right clicking on the executable under the cabal file in the Project Explorer should give you an option to run the executable as well. However, the run as haskell application option is on the project, not Main.hs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When i right click Main.hs in my hello world program i only get options for GHCi and Hugs 98 session, but not "Run as Haskell application".
The executable is available in the file system and shows up in the Executables tab of my .cabal file (no context menu when i right click on the executable here; i saw this should be possible in a different thread).
There is no run configuration configured for "Haskell application"
I made a fresh install of eclipse and EclipseFP with a new workspace.
If i start with GHCi everything works fine.
Should i define my own run configuration (i tried and failed, btw)?
EclipseFP looks for the executable built via cabal in the following location: ${project}/.dist-buildwrapper/dist/build/${exename} . Ensure it's there, ensure your project can build properly and you don't have any errors.
And yes, right clicking on the executable under the cabal file in the Project Explorer should give you an option to run the executable as well. However, the run as haskell application option is on the project, not Main.hs.