A language server for OCaml and Reason
OverviewThe OCaml Language Server is an implementation of the Language Server Protocol (LSP) for OCaml, Reason, and related tooling, including support for BuckleScript.
The OCaml Language Server works by providing a standardized JSON-RPC interface (via the LSP) to existing OCaml and Reason tooling. This makes it much easier to provide a uniform development experience across the different editors without duplication of effort.
The OCaml Language Server is not intended to be a replacement for existing OCaml and Reason language tooling. It is intended to make existing language toolingâmuch of which is excellent and has been developed with great effortâeasier to integrate into editors and more accessible to users without requiring extensive configuration effort.
FeaturesThe OCaml Language Server supports the following LSP capabilities and custom features:
The following editor plugins are configured to work with the OCaml Language Server:
InstallationSublime Text (requires server installation)
(Neo)Vim (requires server installation)
Some clients (noted above) do not ship the server and require it to be installed separately:
npm install -g ocaml-language-server
Launching
Manually launching the server should only be necessary if you are using a custom configuration or an LSP client that is not already configured for the OCaml Language Server. In that case, the server can be started with one of the following commands:
Contributingocaml-language-server --node-ipc         Â
ocaml-language-server --socket={number}  Â
ocaml-language-server --stdio            Â
Contributions are welcome and encouraged. Please see the following documents:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4