atom-haskell / ide-haskell-repl

GHCi REPL in Atom
https://atom.io/packages/ide-haskell-repl
MIT License
26 stars 8 forks source link

I can't type anything in the REPL #52

Closed etorreborre closed 7 years ago

etorreborre commented 7 years ago

Hi, I don't know what I did wrong (I'm new to Atom) but I can't seem to be able to edit anything with the REPL:

image

The panel is greyed out which I think means it's not fully initialized?

And the REPL messages in ide-haskell show:

Did not find .cabal file for hjsonpointer-1.2.0 with Git SHA of 42588498219488475d395388fd77b42a1539098d
specs-0.1.0.0: unregistering (local file changes: src/Streaming/Producer.hs test/Test/Streaming/Producer.hs)
specs-0.1.0.0: configure (lib + exe)
Configuring specs-0.1.0.0...
specs-0.1.0.0: initial-build-steps (lib + exe)
Configuring GHCi with the following packages: specs
Using main module: 1. Package `specs' component test:specs-test with main-is file: /Users/etorreborre/projects/haskell/specs/test/test.hs

I wonder if the first message is problematic or not.

Thanks for your help!

PS: I'm using the most recent version of everything + stack as my builder

lierdakil commented 7 years ago

Uh... You seem to be under the impression that you can type something in the main window. This is not the case. The input field is below the prompt. image ^--- here Then you use ide-haskell-repl:exec-command to send whatever you typed to execution (shift+enter by default on Windows and Linux, cmd+enter on OSX).

etorreborre commented 7 years ago

Silly me, I was just not typing in the right place, thanks for the fast answer!

jxsv commented 6 years ago

Is there any way to activate the input line without mouse? When switching to REPL pane using keyboard shortcuts the input line is not active, which should be by default in my opinion ...