This is deprecated. Please use https://github.com/reasonml-editor/atom-ide-reason instead
Use refmt to format your Reason code in Atom.
- Format on save
- Report formatting and syntax errors on the fly with linter
- Convert between Reason and Ocaml code
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 |
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
To start hacking on this package, run:
$ apm dev reason-refmt
This clones the git repo into ~/.atom/dev/packages/reason-refmt
, and installs it as as packge into Atom as a Development Package. To begin development, start editing the package code:
$ atom ~/.atom/dev/packages/reason-refmt
When you make changes, be sure to call up the Command Palette and reload the editor to see your changes with Window: Reload
.