Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.38 KB

editor-plugins.md

File metadata and controls

28 lines (20 loc) · 1.38 KB
title
Editor Plugins

Reason's nature lends itself to great editor support. Most of our editor plugins provides at minimum:

  • Types display.
  • Programmatic code formatting through refmt.
  • Errors & warnings display.
  • Syntax highlighting.
  • Type-driven autocomplete.
  • Jump to definition.

And other features.

Editor Plugins & Language Server

The OCaml Platform provides support for Reason and integrates with editors such as VSCode, Vim, or Emacs.

  • For VSCode, we recommend using the vscode-ocaml-platform plugin, which offers OCaml & Reason support out of the box.
  • For other editors, we recommend using a language server client plugin of your choice, and pairing it with the ocaml-lsp. Check out the respective README's to get started.

Other: