reason-refmt

(Re)format Reason code with refmt

reasonml-editor

3,048

4

0.3.3

MIT

GitHub

This package provides the following services:

reason-refmt

Use refmt to format your Reason code in Atom.

Features

Usage

No default keybindings are provided, but they can be configured in your keymap.

Command Description
reason-refmt:format Format the active Reason file
reason-refmt:convert-file Convert a file from Reason to OCaml and vice versa
reason-refmt:convert-to-reason Convert the selection from OCaml to Reason
reason-refmt:convert-to-ocaml Convert the selection from Reason to OCaml

Installation

This package requires language-reason and refmt. For autocompletion, linting and other features, ocaml-merlin is recommended.

apm install language-reason reason-refmt ocaml-merlin linter