The first thing you need to do is add a “Class Files” folder to the “Project 1” directory. You can do this via the File menu option. Once you are done, your Eclipse screen will look something like that below. Drag the file to the “Class Files” folder you just created in Eclipse.
Under Navigate->Open Resource the shortcut Ctrl + Shift + R is shown.
To get started, open the "Preferences" window in Eclipse. Navigate to "Java » Build Path » User Libraries" on the left-hand side and click the "New" button. Enter the library name and click the "OK" button (leave the "System library" checkbox alone).
Put the mouse cursor/caret on the class or method name in source code and hit Ctrl+Shift+G.
References -> Project
(or the other options, if they fit your case better)Just a follow up since I was looking for all references for ALL public methods of a class in Eclipse:
This gives call hierarchy results for each method you selected. Hope this helps!
Edit: used the actual LIST item formatter
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