Search for ide-reason
package in Atom, or via apm
:
apm install ide-reason
bsb
as diagnostic tool & to generate interface files. Both, global & local installations are supported, local is recommended.You can add configuration per project by adding .atom/ide-reason.json
, which can be generated via command ide-reason:generate-config
. Custom configuration will be merged with global one.
The usual editor features all work; see here for the default keyboard shortcuts. In addition, we provide an interface files generator.
You can generate interface files (rei
& mli
) right from your editor.
.re
/.ml
file -> Generate Reason/OCaml interface
.re
/.ml
file in tree view -> Generate Reason/OCaml interface
ide-reason:generate-interface
No default keybinding is set, but it can be configured in your keymap.
'atom-workspace atom-text-editor:not([mini])':
'ctrl-alt-g': 'ide-reason:generate-interface'