Extracted functions suffixed with *Usage (i.e. References) from gotodef package and moved them into gotoref package, and hooked them up to go-to-references CodeProvider.
Enabled the LSP references API to invoke the above mentioned go-to-references CodeProvider.
Added a test function goToReferencesForAll, which increases coverage on existing tests by testing all "Find All References" cases.
This PR looks big only because functions suffixed with *Usage have been moved from package gotodef to gotoref and also due to renaming. The actual changes are minimal.
*Usage
(i.e. References) fromgotodef
package and moved them intogotoref
package, and hooked them up to go-to-referencesCodeProvider
.references
API to invoke the above mentioned go-to-referencesCodeProvider
.goToReferencesForAll
, which increases coverage on existing tests by testing all "Find All References" cases.This PR looks big only because functions suffixed with
*Usage
have been moved from packagegotodef
togotoref
and also due to renaming. The actual changes are minimal.