OcamlJ is an embeded Ocaml terminal / console in IntelliJ, it also allows file reading and executing with one click. This plugin does not highlight syntax yet, it is recommended to download another plugin for that.
I suggest ReasonML Plugin for syntax highlighting, for now.
Full functionnalities description here.