haskell-idea-plugin
haskell-idea-plugin copied to clipboard
REPL in webstorm
Possibly my bad, but I can't seem to start REPL. Gives me "Error:Invalid SDK Home path set. Please set your SDK path correctly." However everything is seem to be set correctly. Unless I don't understand what SDK is. Webstorm 10.0.4, MacOs X 10.10.2
This is a problem with plugin. I primarily support the Intellij Idea, and some features not so good tested in other products.
Ok, thank you
I'm new to haskell, and I received the same error. Here are the steps I took to fix it:
Make sure you have created a haskell project. First Steps File -> Project Structure Under Platform Settings, click on SDKs tab Click the green "plus" sign to add an SDK. Select GHC from the drop down choices. Navigate to the proper directory. For me, it was C:\Program Files\Haskell Platform\8.0.1 Click OK
Second Steps File -> Project Structure Under Project Settings, click on Project tab In the Project SDK dropdown, select the SDK you just created in "First Steps" above. Click OK or Apply
That should fix your problem.
perrytew, this is a solution for the Intellij IDEA (thanks for them), but not for WebStorm. I have set cabal, (ghc-mod, ghc-modi) but when I try to start Haskell REPL, got the same problem with the invalid SDK path.
I have WebStorm as well. I'll have a look.
I don't think this plugin, in its current form, will work with WebStorm. WebStorm has no ability to handle SDKs. The external libraries for WebStorm are javascript only.
Thank you for your help. I will try Idea. I'm starting with a Haskell and looking for some editor/IDE.
The Intellij community edition is free, and should provide the exact same experience as the enterprise edition with respect to Haskell.
So JetBrains should filter out or mark plugins that are not supported in Webstorm for a better customer experience. I could swear it worked a few years ago. Wasted an hour+