FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Support find-all-references for a module specifier · Pull Request #15737 · microsoft/TypeScript · GitHub

Support find-all-references for a module specifier - #15737

Merged
2 commits merged into
masterfrom
findAllRefs_module
May 19, 2017
Merged

Support find-all-references for a module specifier#15737
2 commits merged into
masterfrom
findAllRefs_module

Conversation

Deleted user (ghost) commented May 10, 2017
edited by ghost
Loading

Copy link
Copy Markdown

Fixes #14780

The basic fix is relatively simple if not for /// <reference paths> directives.
There was previously no exposed way to find what file it pointed to. Added a method on Program to do that. tryResolveScriptReference was unreliable as it didn't handle extensions.
This also changes the range for a reference comment to be just the text of the module identifier.
We also now need to pass the Program to findAllReferences instead of just the checker.

Does not yet solve #15736.

ghost merged commit 38ece3b into master May 19, 2017
ghost deleted the findAllRefs_module branch May 19, 2017 15:12
Microsoft (microsoft) locked and limited conversation to collaborators Jun 14, 2018
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Find All References" For Required File

2 participants


Back | FazBrowse Home | New Git URL