Closed XiXiaPdx closed 2 months ago
Does the mix.exs in the called_here project declare the defined here as a dependency? The Find Usage respects declared dependencies and won't search sibling projects that aren't dependencies.
Oh I see, that totally fixed it for my repro example! I wonder why my work project doesn't work 🤔
I double checked my work project and the dependencies between the two apps are declared. However, the Find Usage doesn't pick it up.
In my repro, I see that purple elixir liquid icon on the called_here
and defined_here
directories. But my work project doesn't have that icon.
Looking at the repro app Project Structure UI, I think I'm making some surface connections.
My work app has 15+ umbrella apps and only one module is visible when I select "module". The one module is lacking the purple elixir icon as well...I'm guessing my project had a funky import.
I'm going to try to see if I can figure this out. Thank you again
Describe the bug Find usage does not appear to find usages across umbrella apps.
I have an umbrella app with 2 apps,
called_here
anddefined_here
. There is one module in each app.In
defined_here
, there is a public functionhello()
In
called_here
, I'm callingDefinedHere.hello()
.Using Find Usage for
hello()
indefined_here
, I see one usage in the test directory. I would have expected to also see the usage incalled_here
.To Reproduce Steps to reproduce the behavior:
Use mix to create a new umbrella app and create two apps in it.
Expected behavior
I would have expected Find Usage to show the usage of
hello()
incalled_here
module.I appreciate all the time and work you have put into this plugin!! Because of this, I was able to keep using Intellij when I started Elixir development. I'm relatively new to it so I might be missing some key setup for Find Usage to work properly.