Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Dune (deprecated)New to Visual Studio Code? Get it now.
Dune (deprecated)

Dune (deprecated)

maelvalais

|
749 installs
| (0) | Free
Dune, the OCaml & Reason build system (previously Jbuilder)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Dune for vscode

⚠️ Deprecated. Please use the official ocamllabs/vscode-ocaml-platform instead.

Syntax coloring and linting for Dune/Jbuilder files in vscode. It is inspired by the emacs, vim and atom plugins.

VS Code screenshot

This tmLanguage could also be used in other editors (textmate, sublime text) but I didn't write a package/extension specifically for them; feel free to pick the tmLanguage for any other editor! Github source is here.

Contribute

If you to fix the syntax file Dune.tmLanguage, you can use the Dune.YAML-tmLanguage file to do so and then go into build and run

npm install
npm start

to compile yaml into tmLanguage. The JSON-tmLanguage is also generated in case it can help for adding syntax support to an other editor.

To debug the syntax highlighting, you can use the command Developer Tools: Inspect TM Tokens.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft