I am not able to get PyCharm's "Find Usages" command to return any results for me. I have opened up the Find Usages page and tried different scopes - All Places, Project Files, Project and Libraries, etc. - but it's not able to find anything. Even for functions that I know are used many times. When I go to my project directory and
git grep my_func * I get lots of results. I've tried this for many different functions.
I imagine it's related to this second issue. Many times when I try to find usages I get an error that says: "Cannot search for usages. Position to an element to find usages for, and try again." So the time I define it, it says no other cases and the other cases it gives me an error. I invalidated my caches and restarted the program but that didn't help.