Skip to content

OCaml development environment for VSCode

License

Notifications You must be signed in to change notification settings

hiroyaonoe/ocaml-devcontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCaml DevContainer

This repo can be used to launch an OCaml development environment using Docker and VSCode. It's based on the ocaml/opam2 Docker image, and uses the VSCode devcontainers feature. The environment comes with some commmon opam packages preinstalled.

Features

  • Common IDE features (autocomplete, syntax highlighting, jump-to-definition, etc.) provided by the ocaml-lsp language server.
  • Code formatting on save using ocamlformat and the ocamllabs.ocaml-platform extension.
  • A fully functional Debian environment that can be accessed through the VSCode integrated terminal or using docker exec....
  • Easy to adapt to your use case.

Requirements

Usage

  1. Clone this repo.
  2. Start VSCode
  3. Run the Remote-Containers: Open Folder in Container command.
  4. Select this folder.

Included Opam Packages

  • base
  • core_kernel
  • ounit2
  • qcheck
  • dune
  • ocamlformat

About

OCaml development environment for VSCode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published