Skip to content

Commit

Permalink
Update protocol documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Jan 10, 2025
1 parent dcb1e41 commit 975ea9a
Showing 1 changed file with 5 additions and 1 deletion.
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

0 comments on commit 975ea9a

Please sign in to comment.