Refactor findAllReferences. Now supports renamed exports and imports.#14001
Conversation
0f57e97 to
231cfbc
Compare
c7f473e to
5cb2800
Compare
5cb2800 to
151023c
Compare
…indReferencedSymbols and getImplementationsAtPosition to return different results
|
Some comments:
|
709483f to
28a3604
Compare
… at every possible position.
|
Should be in 28a3604 |
Don't think there was an issue for this but was mentioned here: #13643 (comment).
Fixes #13663.
Update: Now also fixes #10894.
Update: Fixes #14103.
We now use an algorithm to search for imports of a given export. This is in the new
importTracker.ts. Previously we would just globally search for identifiers with the same name.Note: This breaks find-all-refs for untyped modules since we want to match the symbol and not just the name. See #14002.