Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REPL in webstorm #112

Open
alexeygolev opened this issue Jul 20, 2015 · 9 comments
Open

REPL in webstorm #112

alexeygolev opened this issue Jul 20, 2015 · 9 comments

Comments

@alexeygolev
Copy link

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

@atsky
Copy link
Owner

atsky commented Jul 22, 2015

This is a problem with plugin. I primarily support the Intellij Idea, and some features not so good tested in other products.

@alexeygolev
Copy link
Author

Ok, thank you

@atsky atsky reopened this Jul 24, 2015
@perrytew
Copy link

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.
haskell_intellij_sdk_1

haskell_intellij_sdk_2

@koalixCZ
Copy link

koalixCZ commented Sep 6, 2016

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.

@perrytew
Copy link

perrytew commented Sep 6, 2016

I have WebStorm as well. I'll have a look.

@perrytew
Copy link

perrytew commented Sep 7, 2016

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.

@koalixCZ
Copy link

koalixCZ commented Sep 7, 2016

Thank you for your help. I will try Idea. I'm starting with a Haskell and looking for some editor/IDE.

@perrytew
Copy link

perrytew commented Sep 7, 2016

The Intellij community edition is free, and should provide the exact same experience as the enterprise edition with respect to Haskell.

@greg-murray-volusion
Copy link

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+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants