ocaml / ocaml/dune

Jump to definition inside installed libraries

Open
#6,397 5 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement merlin
Dominant language
OCaml
Stars
1.9k
Forks
500
Avg merge
15h 17m
Merged PRs (30d)
287

Description

A while ago I discussed jumping to definition inside installed libraries, which would have required installing .merlin files alongside the libraries (https://github.com/ocaml/merlin/issues/863#issuecomment-428142595). Now that this is no longer a requirement since dune and Merlin can communicate directly without .merlin files, can this feature request be revisited? It seems the work here is on dune's side.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked Merlin discussion and reviewing how Dune and Merlin communicate without .merlin files. Trace the existing installed-library handling and determine what entry point or tests cover jump-to-definition; done means definitions inside installed libraries can be reached through the supported Dune/Merlin integration.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.