Skip to content

An opinionated pre-built Dev Container for Haskell (which includes HLS, Cabal, Stack, a debugger, local Hoogle and useful extensions).

License

Notifications You must be signed in to change notification settings

marijnvanwezel/haskell-dev-env

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A development container for Haskell

This is an opinionated pre-built Dev Container for Haskell (GHC 9.4.8).

Using with Visual Studio Code

Follow the steps below to use the Dev Container with Visual Studio Code:

  1. Follow the Getting Started instructions to configure Visual Studio Code and Docker for use with Dev Containers;
  2. Copy the .devcontainer folder in this repository to the root of your project;
  3. Reload the project by opening the command palette (Ctrl + Shift + P or Cmd + Shift + P) and executing the command >Reload Window or by closing and re-opening Visual Studio Code;
  4. Click Reopen in Container when Visual Studio Code prompts you (see image below), or by opening the command palette (Ctrl + Shift + P or Cmd + Shift + P) and executing the command >Dev Containers: Reopen in Container;
  5. (Optional) Copy the .ghci file in this repository to the root of your project.

image

How does it work

Visual Studio Code supports Dev Containers (i.e. using a Docker image as a development environment). It automates the hassle of setting up a proper development environment.

What's in the box

The container comes with the following (relevant) software pre-installed:

Following VSCode extensions are automatically installed after container is started:

About

An opinionated pre-built Dev Container for Haskell (which includes HLS, Cabal, Stack, a debugger, local Hoogle and useful extensions).

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Dockerfile 100.0%