Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

How are 'navigate to declaration' or 'quick definition' supposed to work when multiple libraries include the same class?

$
0
0

I have two intellij libraries that include a certain class.

One of them has the source attached to it whilst the second one doesn't.

When I attach the one that does have the source, I can use the features like 'go to quick definition' as I would expect.

But if I want to the use the second library, 'quick definition' will point to the one that does not have the source attached to it!

 

 

As far as I am concerned, I can attach the source to the second library.

 

Granted that it will be difficult for Intellij to figure out the user's intention, I expected it to at least navigate to the actual source.

Or if there are multiple options, maybe a popup should be shown to allow the user to choose where to go?

 

 

What do you guys think?

Can I create a ticket for this?


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>