Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Haskell Runner 2New to Visual Studio Code? Get it now.
Haskell Runner 2

Haskell Runner 2

Malcolm Law

|
4,963 installs
| (0) | Free
Shortcut for GHCi and Stack
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Haskell Runner 2

Rewrite of the original Haskell Runner.

Features

A simple extension to run Haskell:

  • Load Haskell file/project to repl (GHCi)
  • Build, Test or Run inside a stack or cabal project
  • Send selected Haskell code to GHCi (ctrl+alt+right)

Requirements

Required: ghc, cabal and stack.

Extension Settings

The following configurations are available:

  • runner2.ghciPath: path for GHCi (default ghci)
  • runner2.stackPath: path for stack executable (default stack)
  • runner2.cabalPath: path for cabal executable (default cabal)
  • runner2.replTool: by default, it use ghci in single file and use stack repl (or cabal repl) in stack project. This can be overridden by choosing other options (ghci for ghci only, and stack (or cabal) for stack/cabal repl only)
  • runner2.showRunButton: show "Stack/Cabal Run" button, reload required (default false)

Release Notes

Please refer to ChangeLog.

Issues

Please report issues on Github Issues.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft