Open bstaletic opened 4 months ago
I think this is closely related to what I observed in https://github.com/eclipse-jdtls/eclipse.jdt.ls/pull/1824#issuecomment-914607015 .
@rgrunber That seems like the same problem indeed. I am using fromRanges
to construct some internal location type.
I am experiencing this as well.
I am able to de-dupe them by keying on the range
of the CallHierarchyItem
and resolving them in a map, but if I try to do the same de-duping for other LSP servers, the results aren't the same. If I key on selectionRange
for those other servers, they all work - only JDTLS works with range
to de-dupe.
https://github.com/eclipse-jdtls/eclipse.jdt.ls/issues/3184 probably explains why I can't de-dupe consistently.
Requesting outgoing calls on the constructor returns 2 items, each containing 2 call sites.
Prepare call hierarchies request:
Prepare call hierarchies response:
Outgoing calls request:
Outgoing calls response:
Entire message exchange, from the client's side:
JDT log
JDT stderr: