Truong Ha
Truong Ha

Reputation: 10964

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?

Upvotes: 10

Views: 12587

Answers (3)

Super Hornet
Super Hornet

Reputation: 2907

for searching name of methods in whole project use:

Ctrl+Shift+F

for searching classes (Files)

Shift+F6

Upvotes: 1

NIMISHAN
NIMISHAN

Reputation: 1265

Ctrl + F7 Find usages in file that is, to find all places where a particular class, method or variable is used in the whole project in intellij IDEA

Upvotes: 0

maba
maba

Reputation: 48105

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

Upvotes: 13

Related Questions