Skip to content

ocaml-lang/vscode-ocaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSCode OCaml Platform

Visual Studio Code extension for OCaml and relevant tools.

This plugin is alpha quality. Use at your own risk and please report any bugs you encounter.

Quick start

  1. Install opam (OCaml Package Manager)
  2. Install this extension from the VSCode Marketplace (or by entering ext install ocamllabs.ocaml-platform at the command palette Ctrl+P)
  3. Install ocaml-lsp
  4. Open a OCaml/ReasonML project (File > Add Folder to Workspace...)

Features

  • Syntax highlighting
    • OCaml
    • ReasonML
    • dune
    • menhir
    • merlin
    • ocamlbuild
    • OCamlFormat
    • ocamllex
    • opam
  • Indentation rules
  • Snippets

Configuration

This extension provides options in VSCode's configuration settings. You can find the settings under File > Preferences > Settings.

  • ocaml.lsp.path (optional) - specifies the PATH to ocamllsp (from ocaml-lsp).

Requirements

About

Visual Studio Code extension for OCaml

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • OCaml 83.5%
  • JavaScript 10.3%
  • Nix 3.6%
  • CSS 2.1%
  • Makefile 0.3%
  • Standard ML 0.2%