• This repository has been archived on 23/Jul/2021
  • Stars
    star
    165
  • Rank 221,871 (Top 5 %)
  • Language
    Dockerfile
  • License
    MIT License
  • Created over 4 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A DevContainer for VSCode, for installing GHC 8.6.5, HIE (Haskell IDE Engine) and the required plugins

Update: there is now an official DevContainer image for HIE, please use it instead! πŸ™

DevContainer for HIE (Haskell IDE Engine)

What is this?

This is a DevContainer environment for Visual Studio Code, allowing automatically installing the Haskell compiler (GHC), HIE (Haskell IDE Engine), and the necessary Visual Studio Code extensions to set up a Haskell development environment with zero additional effort.

How to use this?

Follow the Getting Started instructions to configure your Visual Studio Code and Docker to use with DevContainers.

Place the .devcontainer directory in the root of your project, and the next time you load the project, Visual Studio Code will prompt to re-open the project in a container:

image

Note: building the container might take a few minutes until all dependencies have finished downloading.

How does it work?

Visual Studio Code supports Developing inside a Container - using a Docker image as a development environment. It automates the process of creating the container image, as well as installing additional required extensions into the editor.

Pressing Reopen in Container will perform the automated steps to launch the container, and set up the environment.

For more information and setup, read the official documentation: https://code.visualstudio.com/docs/remote/containers

What's in the box?

The Dockerfile contains the following:

  1. An image, based on hmemcpy/hie, an Alpine image that contains the Nix package manager, as well as the following:
    • Configuration for Cachix - a binary cache for Nix
    • Glasgow Haskell Compiler (GHC) version 8.6.5
    • HIE (haskell-ide-engine) for GHC 8.6.5
  2. A script to install some additional tools (such as git), as well as configuring a special user vscode to allow access from VSCode.

The devcontainer.json has some additional configuration for VSCode, in particular, the required extensions that have to be installed, and the name of the remote user (must match the one in the Dockerfile).

This is based on the Alpine devcontainer from Microsoft.

More Repositories

1

milewski-ctfp-pdf

Bartosz Milewski's 'Category Theory for Programmers' unofficial PDF and LaTeX source
TeX
10,785
star
2

AgentMulder

** THIS PLUGIN IS NO LONGER MAINTAINED. PLEASE FOLLOW ERNICOMMUNITY FOR UPDATES **
C#
151
star
3

zio-clippy

A Scala compiler plugin for better ZIO type mismatch errors.
Scala
79
star
4

cv

My CV / Resume
TeX
72
star
5

Nancy.ReSharper

Nancy plugin for ReSharper adds navigation and intellisense support for NancyFx in ReSharper, for super-duper-happy-path web development!
C#
53
star
6

SnagitImgur

A plugin ("accessory") for Snagit that allows sending the currently captured image to imgur.com
C#
51
star
7

ChromeRegJump

Chrome extension to open any selected Windows Registry path in Regedit using Sysinternals RegJump
JavaScript
35
star
8

SlimVS

Experiments in putting Visual Studio on a diet!
PowerShell
28
star
9

xkcd-slackbot

An /xkcd command for Slack!
C#
27
star
10

rediz

A toy redis client implementation in Scala
Scala
23
star
11

dotPeek.Deobfuscator

A plugin for JetBrains dotPeek Decompiler to deobfuscate assemblies, using de4dot deobfuscator.
23
star
12

VSIXPowerToys

Windows Shell Extensions (and other utilities) to work with Visual Studio Extensions (vsix) files.
C#
20
star
13

ReSharper.ReMoji

Enables support for EmojiVS extension (https://github.com/jbevain/EmojiVS) in ReSharper
C#
20
star
14

AnyScriptCs

A Visual Studio "15" extension that enables debugging scriptcs (http://scriptcs.net/) files via "Open Folder" (File > Open Folder)
C#
14
star
15

journey-to-fp

Slides and code from the talk "Journey to Functional Programming", given at Wix Engineering Conference
Scala
11
star
16

teamcity-vsix-gallery

A plugin for JetBrains TeamCity that turns it into a Visual Studio Extensions (vsix) Gallery
Kotlin
10
star
17

dnTrace

Trace any method in any assembly in any (live) .NET process!
C#
10
star
18

Gisthub

Makes clicking the top left logo on gist.github.com take to github home, when clicked on the 'Github' part.
JavaScript
10
star
19

Sledgehammer

Enable non-virtual/static methods mocking with your favorite mocking framework!
C#
7
star
20

SDP2016

Slides and demos from SDP2016 (Sela Developer Practice)
C#
6
star
21

kindleanpub

Fixes garbled image rendering on (older) Kindle devices of PDFs purchased on Leanpub.
Shell
6
star
22

Mvid.Fody

An addin for Fody that allows specifying an assembly MVID (Module Version Id)
C#
5
star
23

intellij-plugin-demo

Source code for my Scala in the City talk on Building IntelliJ plugins with Scala
Scala
5
star
24

ReSharper.AnnotationsPack

A collection of External Annotations for ReSharper for popular 3rd party frameworks!
Shell
5
star
25

scala-heapview

An IntelliJ plugin that highlights non-obvious boxing, closure, and function allocations in Scala.
Scala
4
star
26

docker-hie

A docker image that installs GHC 8.6.5 with a matching HIE (haskell-ide-engine) to be used as a base for the HIE-DevContainer
Dockerfile
3
star
27

hmemcpy.com

Source code for my blog (powered by Hexo.io)
Stylus
2
star
28

intellij-metals

Experiments in Metallurgy
Scala
1
star
29

zftp

A ZIO wrapper for jsch-powered sftp client for Scala
Scala
1
star
30

ReSharper.LocateFileInSolutionExplorer

Locate a file or a folder in the Solution Explorer, but without navigating to it.
C#
1
star
31

intellij-flix

The Flix programming language support for IntelliJ IDEA
Kotlin
1
star