403
votes

I'm switching over from Eclipse to IntelliJ. In Eclipse, if you do Ctrl+O in the editor, it will show a hover popup that allows you to search for a method in the class you're editing.

What is the equivalent shortcut for that in IntelliJ?

10
Just realized this is a dup: stackoverflow.com/questions/1945213/…Glide
You can also have the exact same keymap with Eclipce in IntelliJ.Koray Tugay
If you are used to Eclipse, you can directly use the eclipse shortcuts : press Ctrl + Shift + A , Search Keymap and select Eclipse. All IntelliJ shortcuts will be transformed to Eclipse shortcuts. Now do a Ctrl + O :)Abhishek Bedi

10 Answers

651
votes

Use Navigate (View in older versions) | File Structure Popup (Ctrl+F12 on Windows, +F12 on OS X). Start typing method/symbol name to either narrow down the list or highlight the desired element. Press Enter to navigate to the selected element.

84
votes

I prefer to use the Structure view. To open it, use the menu: View/Tools Window/Structure. The hotkey on Windows is Alt+7

22
votes

Do Cmd+F12+Fn Key on mac in IntelliJ if clicking Cmd+F12 starts.

6
votes

On linux distributions (@least on Debian with plasma) the default shortcut is

Ctrl + 0

4
votes

If you are running on Linux (I tested in Ubuntu 10.04), the shortcut is Ctrl + F12 (same of Windows)

2
votes

command+fn+F12 is correct. Lacking of button fn the F12 is used adjust the volume.

1
votes

By default, most of distribution uses Ctrl+F12.

Some OS distribution (in my case Xubuntu) which uses Xcfe, overrides Ctrl+F12 to "Workspace 12" switch.

0
votes

For Mac Users if command + fn + f12 or command + f12 is not working, then your key map is not selected as "Mac Os X". To select key map follow the below steps.

Android Studio -> Preferences -> Keymap -> From the drop down Select "Mac OS X" -> Click Apply -> OK.
-2
votes

Ashkan Kh. Nazary you can use

Ctrl+N or Ctrl+Shift+N

source IntelliJIDEA_ReferenceCard

-3
votes

You can type "this." and wait a second, a popup with methods and properties will display.

Not a shortcut, but it works for me.

PS: if you are in a static method, type the class name.