Closed fokot closed 7 years ago
Thanks for quick response. I get message window saying Could not determine type for
. But in the Event log is see
18:29 [project-stack-repl] command: :type-at /Users/Frantisek/haskell/schemeinterpreter/library/SchemeInterpreter/Parser.hs 64 1 64 8 oct2dig
18:29 [project-stack-repl] stdOut: oct2dig :: (Eq a, Num a) => String -> a
^IntellijHaskell^
18:29 [project-stack-repl] errOut:
18:29 [project-stack-repl] command: :loc-at /Users/Frantisek/haskell/schemeinterpreter/library/SchemeInterpreter/Parser.hs 64 1 64 7 oct2dig
18:29 [project-stack-repl] stdOut: /Users/Frantisek/haskell/schemeinterpreter/library/SchemeInterpreter/Parser.hs:(64,1)-(64,8)
^IntellijHaskell^
18:29 [project-stack-repl] errOut:
I also get Could not determine info for
. My event log shows errors like these:
[project-stack-repl] Stack repl is not yet available. Command was: :load /Users/robb/src/nv-statutes/app/Main.hs
Hi @fokot, I just downloaded your project but I can not reproduce your issue, Ctrl+Shift+P
still works fine on my side.
@zjhmale Do you know what the error log message Stack repl is not yet available
implies? I believe I've set the Stack executable correctly in the project structure.
Hi @dogweather, I think you should wait for the Stack REPL loading process finished, there should be a loading bar at the bottom of the IDE window. Or maybe you can remove the project from the project list and reimport it.
Thanks @zjhmale - the process seems to fail, and it attempts to restart. It never gets as far as showing a loading bar. Investigating...
@dogweather Did you read Getting started in Readme? Which version of Intellij do you use?
hi @rikvdkleij Yep, I followed the readme, and I'm running Intellij Community Edition 2016.3.4:
I've got Stack and homebrew updated to the latest, and I've only worked on one or two haskell projects, and always through Stack.
@dogweather Which stack resolver version is defined in stack.yaml?
Stack repl is available if Intero and your project are successfully build.
@rikvdkleij I think I might have found the problem: my global resolver settings vs. my project settings. I'm bumping everything up to lts-7.19
and recompiling & reinstalling.
Hi @fokot, can you give more details about this issue? e.g. code snippet and error log. I think
Ctrl+Shift+P
works fine for me, I'm also working with OSX.