Skip to content

Commit 975ea9a

Browse files
committed
Update protocol documentation
1 parent dcb1e41 commit 975ea9a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/dev/PROTOCOL.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,13 @@ Returns either:
355355

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

361+
When the scope is set to `renaming`, all usages of all the related definitions
362+
corresponding to an identifier will be returned. When scope is `project` only
363+
the usages of the current definition will be returned.
364+
361365
### `outline`
362366

363367

0 commit comments

Comments
 (0)