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.
- Install opam (OCaml Package Manager)
- Install this extension from
the VSCode Marketplace
(or by entering
ext install ocamllabs.ocaml-platform
at the command palette Ctrl+P) - Install ocaml-lsp
- Open a OCaml/ReasonML project (
File > Add Folder to Workspace...
)
- Syntax highlighting
- OCaml
- ReasonML
- dune
- menhir
- merlin
- ocamlbuild
- OCamlFormat
- ocamllex
- opam
- Indentation rules
- Snippets
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 toocamllsp
(from ocaml-lsp).