Debian Codegraph @

doc/howto/configure-editors-with-package-management.md

raw symbols SCIP
1 How to Configure Editors with Package Management
2 ================================================
3
4 This document aims to help people set up their editors for use with Dune
5 package management. Different configurations are required than when using opam
6 to manage dependencies.
7
8 :::{note}
9 This list is not exhaustive. If you have a configuration for your editor that
10 is not included here, we would welcome a [pull request to the Dune
11 repository](https://github.com/ocaml/dune/pulls) documenting the configuration.
12 :::
13
14 Emacs
15 -----
16
17 For Emacs, we recommend using `ocaml-eglot` mode with Dune package management.
18 Follow the [instructions in the OCaml-eglot
19 repository](https://github.com/tarides/ocaml-eglot?tab=readme-ov-file#usage-with-dune-pkg).
20
21 Neovim
22 ------
23
24 The instructions on how to configure `ocaml.nvim`, the OCaml plugin for Neovim
25 can be found [in the `ocaml.nvim`
26 repository](https://github.com/tarides/ocaml.nvim?tab=readme-ov-file#using-dune).
27
28
29 Visual Studio Code
30 ------------------
31
32 The configuration for the VSCode OCaml Platform extension is [described in the
33 vscode-ocaml-platform
34 repository](https://github.com/ocamllabs/vscode-ocaml-platform?tab=readme-ov-file#dune-package-management-dpm).
35
36 More information
37 ----------------
38
39 For general information on editor set up for OCaml (not including configuration
40 specific to dune package management) check out [the community documentation on
41 OCaml.org](https://ocaml.org/docs/set-up-editor).