intellij-haskforce icon indicating copy to clipboard operation
intellij-haskforce copied to clipboard

Interaction with the repl

Open fatlazycat opened this issue 9 years ago • 6 comments

Hi, is there any current or plans to add interaction with the cabal repl ?

Such as load file, switch back and forth between editor / repl, execute highlighted form etc ?

Thanks

fatlazycat avatar Apr 30 '15 15:04 fatlazycat

Not currently, but I'm certainly open to the idea. One thing you can do is use IntelliJ's built-in terminal and open a cabal repl there. I know this isn't anywhere near the same, but it's something.

Feel free to expand on how exactly you'd like this to work. I'd be interested in seeing what others think about this as well.

carymrobbins avatar Apr 30 '15 16:04 carymrobbins

Thinking about it, may get away with a shortcut just to load / reload the module in the repl that you are currently editing.

fatlazycat avatar May 04 '15 19:05 fatlazycat

I've grown to really enjoy the Scala plugin's "worksheet" mode. It's like a repl, but you just edit a source file and have the expressions evaluated in a separate pane. Something like that would be really useful.

carymrobbins avatar Nov 20 '15 06:11 carymrobbins

The playground in Haskell For Mac is pretty great !

fatlazycat avatar Nov 20 '15 09:11 fatlazycat

I like that idea also. Any idea when I could be ready?

ghost avatar Mar 16 '16 16:03 ghost

I like it to , then I could experiment with some code before I use source files

ghost avatar Apr 20 '16 15:04 ghost