Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
unreleased
==========

+ merlin binary
- Fix occurrences not working when the definition comes from a hidden source
file (#1865)
- Use new 5.3 features to improve locate behavior in some cases. Merlin no
longer confuses uids from interfaces and implementations. (#1857)
- Perform less merges in the indexer (#1881)
- Add initial support for project-wide renaming: occurrences can now return
all usages of all related definitions. (#1877)
- Fix issues with ident validation and Lid comparison for occurrences (#1924)
+ ocaml-index
- Bump magic number after index file format change. Index can now be read lazilly (#1886)

merlin 5.2
==========
Thu Sep 26 18:48:42 CEST 2024
Expand Down
6 changes: 5 additions & 1 deletion doc/dev/PROTOCOL.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,13 @@ Returns either:

Returns a list of locations `{'start': position, 'end': position}` of all
occurrences in current buffer of the entity at the specified position. If scope
is set to `project` the returned locations will also contain a field `file`:
is set to `project` or `renaming`‡ the returned locations will also contain a field `file`:
`{'file': string, 'start': position, 'end': position}`.

When the scope is set to `renaming`, all usages of all the related definitions
corresponding to an identifier will be returned. When scope is `project` only
the usages of the current definition will be returned.

### `outline`


Expand Down
Loading
Loading