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

Occassional error when trying to use "Find Usages" on a function #3672

Open
ja-b opened this issue Jan 14, 2025 · 1 comment
Open

Occassional error when trying to use "Find Usages" on a function #3672

ja-b opened this issue Jan 14, 2025 · 1 comment

Comments

@ja-b
Copy link

ja-b commented Jan 14, 2025

Describe the bug
Occasionally when I try to use "Find Usages" on an elixir function in my project I'll get a usages not found message with
the following description

Usages of NameArityInterval(name=def, arityInterval=ArityInterval(2, 2)) Nothing found in 'All Places'

That is, my function doesn't have this name -- it seems be using a general placeholder for searching for the method I'm using.

To Reproduce
Steps to reproduce the behavior:

  1. Load up an elixir project
  2. Right click on a function after loading
  3. In the dropdown, select "Find Usages" -- around 30% of functions (that have actual usages) clicked will arrive with this message and fail to find any usages.
  4. Occasionally, you can get this to work for a given function if you constantly try a bunch of other functions in succession, and come back to the failing function later.

Expected behavior
Find usages window should pop up with the usages or the same message should be displayed but with the actual function name.

Screenshots
Screenshot 2025-01-14 at 7 51 44 PM

Desktop:

  • OS: macOS
  • Version 14.7.1

Erlang:

  • Installer ASDF
  • Version 26.2
    Elixir:
  • Installer ASDF
  • Version 1.16.3

Plugin:

  • Version 20.0.1

Additional context
Add any other context about the problem here.

@the-destro
Copy link

I also see this. If I restart intellij it will start working again for a bit before the error resurfaces

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

2 participants