Skip to content
ReasonML/OCaml language support for Atom-IDE, using ocaml-language-server under the hood.
JavaScript TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
keymaps
lib
menus
rls rls-1.6.1 Jun 10, 2019
src
tools
.gitignore
.npmignore First commit Jul 16, 2017
CHANGELOG.md
LICENSE.md
README.md Support language-ocaml-fix Feb 15, 2019
package.json Prepare 1.1.11 release Jun 11, 2019
package.json.d.ts Add rls update script Oct 9, 2018
tsconfig.json
yarn.lock Fix cursor position after format on save (fix #39) Jan 3, 2019

README.md

Atom Support for Reason

This Plugin's Installation

Search for ide-reason package in Atom, or via apm:

apm install ide-reason

Other Required Installations

Custom configuration per project

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.

Usage

The usual editor features all work; see here for the default keyboard shortcuts. In addition, we provide an interface files generator.

Interface files generator

You can generate interface files (rei & mli) right from your editor.

Via context menu

  • right click in buffer with .re/.ml file -> Generate Reason/OCaml interface
  • right click on .re/.ml file in tree view -> Generate Reason/OCaml interface
    You must click exactly on filename, not on the file's row.

Via command

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'
You can’t perform that action at this time.