I want to search for a list of references on one method or class in IntelliJ. Is there any shortcut like Ctrl + Shift + G in Eclipse?
Ctrl + Shift + G in Eclipse is supposed to do a search for references, but instead it does a Google search in Firefox.
Shift shift The ultimate shortcut is search everywhere. Double pressing the shift key opens a search box that lets us look for anything. Like find action, we can use it for changing settings. By default, the search box shows the recent files, so we can use this instead of ⌘E / Ctrl+E.
IntelliJ IDEA includes several predefined keymaps and lets you customize frequently used shortcuts. To view the keymap configuration, open the Settings/Preferences dialog Ctrl+Alt+S and select Keymap. IntelliJ IDEA automatically suggests a predefined keymap based on your environment.
I would say that Ctrl+Alt+F7 is my favorite key combination for finding usages as it gives you a nice popup with good interaction.
Otherwise you can use Alt+F7 that will show you the same information in a tool window at the bottom that will stay there.
Look at the the Default Keymap Reference in the Help menu for all the built-in shortcuts:
for searching name of methods in whole project use:
Ctrl+Shift+F
for searching classes (Files)
Shift+F6
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