Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shortcut in IntelliJ equivalent to Ctrl + Shift + G

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?

like image 703
Truong Ha Avatar asked Aug 21 '13 03:08

Truong Ha


People also ask

What is Ctrl Shift G?

Ctrl + Shift + G in Eclipse is supposed to do a search for references, but instead it does a Google search in Firefox.

What does Shift Shift do in IntelliJ?

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.

How do I find my shortcuts in IntelliJ?

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.


2 Answers

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:

enter image description here

like image 136
maba Avatar answered Nov 11 '22 17:11

maba


for searching name of methods in whole project use:

Ctrl+Shift+F

for searching classes (Files)

Shift+F6

like image 24
Super Hornet Avatar answered Nov 11 '22 15:11

Super Hornet