Skip to content

VSCode syntax coloring for Dune/Jbuilder, the OCaml/Reason build system

License

Notifications You must be signed in to change notification settings

maelvls/vscode-dune

Repository files navigation

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.

About

VSCode syntax coloring for Dune/Jbuilder, the OCaml/Reason build system

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published