typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

findAllReferences inital port

Open iisaduan opened this issue 7 months ago • 0 comments

This port focuses on the logic needed to resolving symbols within a single file.

Todos after this PR:

  • Search for references through module resolving
  • Search for references through imported and exported symbol resolving
    • Some imported and global symbols return references, but it is hard to test with the current lstestutil capabilities.
  • Jsdoc references (not sure how much of the currently un-ported parts will be needed, since @sandersn has been working to simplify jsdoc checking)
  • Special cases for object literals
  • Special cases for classes and keywords
  • String references

iisaduan avatar May 20 '25 07:05 iisaduan