Content-Length: 289438 | pFad | https://github.com/microsoft/TypeScript/issues/38836

18 Ensure find-all-refs works on unresolved locals · Issue #38836 · microsoft/TypeScript · GitHub
Skip to content

Ensure find-all-refs works on unresolved locals #38836

Open
@DanielRosenwasser

Description

@DanielRosenwasser

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.

Metadata

Metadata

Assignees

Labels

Domain: Symbol NavigationRelates to go-to-definition, find-all-references, highlighting/occurrences.Experimentation NeededSomeone needs to try this out to see what happensIn DiscussionNot yet reached consensusRescheduledThis issue was previously scheduled to an earlier milestoneSuggestionAn idea for TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/microsoft/TypeScript/issues/38836

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy