431

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?

Vadim Kotov
  • 7,766
  • 8
  • 46
  • 61
Glide
  • 18,765
  • 23
  • 75
  • 124
  • 6
    Just realized this is a dup: http://stackoverflow.com/questions/1945213/what-is-eclipses-ctrlo-shortcut-equivalent-in-intellij-idea – Glide Oct 21 '10 at 18:37
  • You can also have the exact same keymap with Eclipce in IntelliJ. – Koray Tugay Sep 09 '13 at 16:45
  • 5
    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 Dec 21 '15 at 05:09
  • 1
    Possible duplicate of [What is Eclipse's Ctrl+O (Show Outline) shortcut equivalent in IntelliJ IDEA?](https://stackoverflow.com/questions/1945213/what-is-eclipses-ctrlo-show-outline-shortcut-equivalent-in-intellij-idea) – Chaoz Sep 24 '17 at 13:34

10 Answers10

683

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.

Paul Verest
  • 55,983
  • 44
  • 191
  • 313
CrazyCoder
  • 371,688
  • 155
  • 943
  • 850
104

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

Paul Verest
  • 55,983
  • 44
  • 191
  • 313
wryan
  • 1,241
  • 1
  • 9
  • 4
22

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

hopper
  • 12,640
  • 7
  • 49
  • 52
7

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

Ctrl + 0

Pipo
  • 4,013
  • 36
  • 39
4

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

2

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

1

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.

Rifqi
  • 43
  • 7
0

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.

JonasCz
  • 11,660
  • 6
  • 43
  • 64
Telcontar
  • 4,733
  • 7
  • 29
  • 39
  • 3
    I like your approach :) – Stefan Michev Mar 12 '16 at 12:34
  • 7
    I really don't understand the negatives. My method is the only one who works on every IntelliJ version, computer or customization. Think about that – Telcontar May 26 '16 at 10:58
  • 1
    @Telcontar: I guess that people gave you the downvotes because the original question was "What is the equivalent shortcut for **that** in IntelliJ" where **that** was described quite precisely :) Your "answer" is rather a comment. – Honza Zidek Feb 15 '17 at 12:16
  • 3
    I don't understand why there are so many down votes. "this." is a good alternative. I do that often. I was also an Eclipse user before moving to intellij and I did the same on Eclipse too. – Harish Mar 25 '19 at 18:35
0

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.
Saleh Enam Shohag
  • 863
  • 10
  • 23
-2

Ashkan Kh. Nazary you can use

Ctrl+N or Ctrl+Shift+N

source IntelliJIDEA_ReferenceCard

MedMahmoud
  • 105
  • 1
  • 12