Find usages returning no results

Answered

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.

3 comments
Comment actions Permalink

Please upload your renamed idea.log file from Help | Show Log in... after reproducing the problem to https://uploads.services.jetbrains.com/ and let me know the name of that file.

0
Comment actions Permalink

Is there a way to remove all the personal and company information from the file before I do this?

0
Comment actions Permalink

Only if you do it manually (could use some regex). But we can assure you that we guarantee its privacy if you are worried about other users seeing your file.

0

Please sign in to leave a comment.