Skip to content

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

Open

Description

Spoke with Andrew Casey (@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.

Activity

  1. added
    Suggestion
    In Discussion
    Domain: LS: Symbol Navigation
    on May 28, 2020
  2. sheetalkamat commented on Jul 24, 2020

    @sheetalkamat
    Member

    Another option is to use results of navTo when symbol is not resolved instead of changing symbol tables?

  3. added
    Rescheduled
    on Aug 31, 2020
  4. 8 remaining items

  5. added
    Experimentation Needed
    on Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Domain: LS: Symbol NavigationExperimentation NeededIn DiscussionRescheduledSuggestion

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions