microsoft / microsoft/TypeScript
Ensure find-all-refs works on unresolved locals
Open
@ahejlsberg is already working on this.
Since Sep 13, 2021.
Domain: LS: Symbol Navigation
Experimentation Needed
In Discussion
Rescheduled
Suggestion
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
Spoke with @amcasey about this one.
Given the following
blah.yadda.yadda
blah will be an unresolved and should be an error, but we still want find-all-references on this symbol to work reasonably well. This is especially important in the mode described in #37713, where TypeScript won't have access to symbols in the global scope.
This can potentially be achieved by creating an "error scope" whose symbol table contents are progressively populated every time resolution fails.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.