Support additional syntax highlighting for few OCaml tools in Visual Studio Code.
Additionally, it provides few snippets for these same file types.
This extension requires the extension OCaml and Reason IDE for formatting Ocaml code.
This extension provides additional syntax highlighting for OCaml and related tools:
ocp-build
by OCaml PRO (.ocp)Ocamllex
(.mll)Ocamlyacc
(.mly)
Snippets for .ocp:
program
library
test
- .ocp Files:
begin
/end
block inside a list offiles
is not properly highlighted
- .mll Files:
- Comments not properly highlighted
- Top-Level curly brackets cannot be collapsed / expanded
- .mly Files:
- Comments strangely highlighted sometimes in the rules
The grammar syntaxes for .mll and .mly came from the deprecated extension vscode-ocaml, with some modifications for OCamlyacc (.mly).