Thicket thicket
ocaml
REPOS 1

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W51.2024 · 16–22 Decocaml/merlin

Fixes

  • Merlin (PR #1857): Merged 2024-12-20. Uses OCaml 5.3 cmt uid source information to resolve identifiers to the correct file and return occurrences in both .mli and .ml. Fixes #1848.

  • Merlin (PR #1876): Merged 2024-12-20. Re-applies Printtyp changes; resolves some test failures while introducing others. Labeled no-changelog.

Features

  • Merlin (PR #1877): Opened 2024-12-17. Adds project-wide renaming by aggregating linked declarations via union-find during indexing, then returning all usages and definitions for a selected identifier. Based on #1857.

  • Merlin Emacs (issue #1878): Opened 2024-12-18. Requests a second locate shortcut that flips merlin-locate-preference to target the interface file by default.

Compatibility and Releases

  • Merlin configuration (issue #1869): Updated 2024-12-18. Subprojects with their own dune-project spawn separate dune ocaml-merlin processes, overriding the root .merlin. A maintainer suggests a flag to restrict configuration readers.

  • Merlin PPX paths (issue #1871): Updated 2024-12-18. Location.input_name passed to PPXes contains only the basename, not the full path. A maintainer confirms the full path should be used and invites a PR.

  • Merlin configuration (PR #1870): Updated 2024-12-21. Proposes a .merlin.skip-if-not-cwd marker file to skip .merlin and dune-project in subdirectories, mitigating #1869.