-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Observe that there's a reference with no highlighted range
This range is from the synthetic .apply()
constructor. We should extend scip-java to ensure that we only emit a single usage in this situation (which is a very common situation). I'm leaning towards making the occurrence always go to the case class constructor since I almost never want to navigate to the companion object in cases like these.
I propose we fix this issue by consolidating the following two occurrences into a single occurrence to the apply()
symbol
One way to implement this fix is to extend the code path where we generate occurrences for synthetics https://github.com/sourcegraph/scip-java/blob/main/scip-semanticdb/src/main/java/com/sourcegraph/scip_semanticdb/ScipTextDocument.java#L71
Activity