Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference counts are incorrect in TS code lenses #51564

Open
vscodenpa opened this issue Jul 30, 2024 · 0 comments
Open

Reference counts are incorrect in TS code lenses #51564

vscodenpa opened this issue Jul 30, 2024 · 0 comments

Comments

@vscodenpa
Copy link
Owner

In TypeScript, the reference counts shown in codelenses are incorrect

  • open async.ts and go to first
  • observe the code lens shows 7 references
  • in reality, there are only 4 references, 3 of those locations are imports which are an artefact of the real references, they should not be counted as references.
  • this dillutes a lot the value of having a number in the code lens and makes it difficult to understand

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant