intellij icon indicating copy to clipboard operation
intellij copied to clipboard

Incomplete results of "Find Usages" for Typescript

Open odisseus opened this issue 7 months ago • 2 comments

User report:

  • "Find Usages" doesn't return anything for this particular function, or returns only the test occurrence.
  • During "Find Usages", I can see in the status bar that the IDE is searching in the 4 files that use that function.
  • "Find in files" returns all occurrences, as expected.
  • Prior to this attempt, every step of "Repair IDE" had been performed, including invalidating caches.

Regression details:

  • 2024.1.4 with Bazel plugin 2024.11.05.0.3-api-version-241:
    • Opening the project root - find usage in TS code only appears to search in test files
    • Opening [project root]/web only - find usage correctly searches all files
  • 2025.1.1 RC with Bazel plugin 2025.04.15.0.1-api-version-251:
    • With both project root or [project root]/web only test files are searched
    • Disabling Bazel plugin on [project root]/web makes the search work as expected

More details:

https://jetbrains.slack.com/archives/C043NJ7K34H/p1746514055967099

odisseus avatar May 23 '25 15:05 odisseus

@ujohnny do you know who can check typescript related issues?

mai93 avatar May 26 '25 17:05 mai93

I think it's up to @odisseus and @sellophane

ujohnny avatar May 26 '25 20:05 ujohnny