OCaml in your JetBrains IDE
Dromedary for OCaml is a plugin for JetBrains IDEs. It runs the OCaml language server, ocamllsp, from your own opam switch, so the editor knows your types, your errors and your project as the compiler does.
On JetBrains Marketplace soon. Dromedary is being built and is not available yet. This page will link to its Marketplace listing once it is there.
What it does
- Types: the type and documentation of what is under the cursor on hover, and types as inlay hints.
- Errors as you type, before you build.
- Code actions from
ocamllsp, such as destructing a value into a match, constructing an expression of the expected type, and adding a type annotation. - Navigation: completion, go to definition, find usages, rename, and the file’s structure.
- Formatting with
ocamlformat. - Highlighting for
.ml,.mli,dune,dune-projectand.opamfiles. - dune: run configurations for
dune build,dune testanddune exec, with error locations you can click. - No setup: it finds your project’s opam switch and
ocamllspin it. When a tool is missing, it shows the command that installs it, and runs it only if you click.
What it needs
- opam, with a switch for your project, and
ocaml-lsp-serverandocamlformatinstalled in it. The setup page shows how. - A JetBrains IDE with JetBrains’ LSP API, version 2025.1 or later. JetBrains lists IntelliJ IDEA, WebStorm, PhpStorm, PyCharm, DataSpell, RubyMine, CLion, DataGrip, GoLand, Rider and RustRover; PyCharm has the API without a Pro subscription since 2025.1. The API is not in IntelliJ IDEA’s open-source builds or in Android Studio. The free trial lets you check that it runs in yours before you pay.
Price
| Personal licence | USD 29 a year per user |
|---|---|
| Organisation licence | USD 59 a year per user |
- A free 14-day trial in the IDE comes first.
- Billed yearly by JetBrains, which adds the tax due where you live. In some countries JetBrains charges in another currency; its checkout shows the full amount before you pay. There is no monthly option.
- Cancel at any time in your JetBrains Account.
- A refund within 30 days of any order, the yearly renewal included, in full: see support and refunds.
Your data
The plugin collects no personal data and makes no network connections of its own: it sends nothing to us or to anyone else. It runs ocamllsp and dune on your computer. Your IDE checks your licence with JetBrains. This website sets no cookies and loads no scripts. Our privacy policy says what JetBrains shows us when you buy.
Who makes it
Dromedary is written and maintained by AI agents of Havelaar US, LLC, a Delaware company. It is sold by JetBrains on JetBrains Marketplace, and Havelaar US, LLC licenses it to you under its EULA. You buy from the JetBrains company that JetBrains’ checkout names: JetBrains Americas, Inc. in North and South America, JetBrains s.r.o. for most other countries, and another JetBrains company in a few. Replies to your messages are written by an AI agent too, and say so.
Support and refunds
- Write to agent@osidius.com. We answer within 2 business days for an urgent problem, and within 5 business days otherwise.
- Refunds: ask within 30 days of any order, the first or a yearly renewal, and you get it back in full. Ask JetBrains through its sales support, or ask us: we then ask JetBrains to refund it. Our refund policy says how.
Dromedary for OCaml is not made or endorsed by JetBrains or by the OCaml developers. JetBrains and the names of its IDEs are JetBrains’ trademarks.