-
-
Notifications
You must be signed in to change notification settings - Fork 94
Some problem with stack repl #47
Comments
It looks like you hit this bug: I have created workaround for this issue but apparently it does not work for you. In the meantime it is fixed in master. |
@rikvdkleij The same problem. My Stack Version 1.2.1, Git revision 7e31cd80e2394811ab62bf11295bfdfcf2d7c4d7 x86_64 hpack-0.14.1 and I use latest version of EAP of IDEA 2016 |
Can you show me complete Event log? Did you reconfigure path to Stack? So you are sure latest version of Stack is used by IntelliJ. Also check Intero is on your path. |
@rikvdkleij What do u mean about? |
About |
@rikvdkleij This is full log in my IDEA
|
I mean before importing Haskell project you have to set path to folder where stack is installed. If your project is already imported, take a look to module settings and |
This means Intero is build with other GHC version as project. See .5 of Remarks in Readme. |
@rikvdkleij I found problem! I have several versions of ghc. And for my case I need install |
@rikvdkleij Oh man! I like this plugin! This is first plugin which works with stack! |
Great! Or better, in root folder of project I do not know how to make this robust. It's also issue for haskell-docs. |
Thanks! |
Maybe solution is when importing/starting project to build intero and haskell-docs so they are always compatible with GHC-version of your project. |
@rikvdkleij Do u have some plan to port some features like here http://haskforce.com/ ? For example |
It's already there, an intention action, ctrl + enter |
@rikvdkleij ok, but what is on Mac? |
ctrl + enter is just smart split. |
Sorry, it's alt + enter |
I've been unable to get it to add a type signature. Intero REPL is started successfully, IntelliJ IDEA 2016.2.5 |
The type signature is extracted from compiler warning. Can you give me the type signature that is spit out by Repl? |
Sure. Hitting alt-enter on a line
|
"The type signature is extracted from compiler warning." — after rereading that a forehead smack is appropriate. GHC warnings have been turned off. Added |
On my PC (Debian Jessie) I had to 'sudo apt-get install libtinfo-dev' and re-import the project. After that the repl was running successfully :) |
I ran into this, too. Had to 'sudo apt-get install ncurses-dev' then did 'stack build terminfo' and 'stack build intero', in the root of the project, then opened up IntelliJ to find everything working. This was after I did a: 'stack upgrade --git' as suggested earlier. |
@overdeliver So plugin works? |
Hello @rikvdkleij I got this log
I don't understand why. In my terminal
stack repl
is availableThe text was updated successfully, but these errors were encountered: