sidharthkuruvila / ocaml-ide

Ocaml plugin for IntelliJ IDEA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ocaml IDE

Build Status

An Ocaml language plugin for IntelliJ IDEA. It uses merlin for most of it's heavy lifting.

Features

  • Syntax highlighting.
  • Autocompletion.
  • Got to declaration of value.

The merlin based features require a .merlin file to work.

Install the plugin

Install merlin

opam switch 4.04.0
opam install merlin

Generate the parser and lexer code

./gradlew generateOcamlLexer
./gradlew generateOcamlPsiAndParser

Run the plugin from gradle

./gradlew runIdea

Build the plugin

./gradlew buildPlugin

The plugin will be located at build/distributions/ocaml-idea-0.0.1-SNAPSHOT.zip

It should be possible to install the plugin on IntelliJ IDEA versions 2016.1 and later.

About

Ocaml plugin for IntelliJ IDEA


Languages

Language:Kotlin 76.4%Language:Python 12.2%Language:Lex 8.7%Language:OCaml 2.5%Language:Common Lisp 0.2%