Skip to content

GHCi/repl support? #450

Closed
Closed
@goldfirere

Description

@goldfirere

Apologies if I've just missed a piece of documentation, but I'm wondering if there's a way to load an open file into GHCi.

Context: I'm switching to VSCode from emacs, where my usual workflow involves loading into GHCi several times every minute. With HLS giving me quick feedback, this isn't so necessary in VSCode, but it's still sometimes nice. (Example: sometimes I might want to see an error with -fprint-explicit-kinds enabled.)

I can, of course, open a terminal and run GHCi there. But this is still not quite as convenient as I'd like. Now, to load, I have to save my file, switch to the terminal window, reload, and then (perhaps) switch back to my file.

Is there a better way? If not, can this be a feature request to add one?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementAn enhancement to an already existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions