flutter / flutter/flutter-intellij

Find Usages doesn't work well

Open
#6,346 11 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

If you press CTRL-ALT-F7 in a keyword that is used a lot, like a `toString()` declaration (in a large codebase), it will take **FOREVER** to finish. Actually I am not sure it would finish, I could never really wait enough to see it finish. I just see this:

![Searching](https://user-images.githubusercontent.com/13332110/194624662-5bb7122e-9a4d-46b6-885c-5776b3384fb4.jpg)

Why does it take so long? It should be fast, since it should simply find the usages of `toString()` on objects of that specific class and its subclasses, which are very few. Or, it's trying to find usages of the upmost base class? That seems wrong. If I wanted to find usages for the base class I could just go to the base class and find usages there.

**HOW TO REPRODUCE**

Open any large codebase, go to any `toString()` declaration, and press `CTRL-B` (in Windows).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.