Is there a way to make Eclipse show all instances of an interface?
That is: If I have an interface named IMyInterface
, I want Eclipse to show me all objects that are of type IMyInterface
in my workspace. I want to learn all instances of an interface, e.g. all lines that start with IMyInterface iMyInterfaceInstance = ...
.
You just need to press F4 (or Ctrl+T) when the cursor is on the interface name. This will open the "Type Hierarchy" tab where you'll be able to see all types of IMyInterface
.
If you need to see all references of the interface inside your workspace, you can press Ctrl+Shift+G when the cursor in on the interface name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With