IntelliJ shortcut to show a popup of methods in a

2019-01-16 00:16发布

问题:

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?

回答1:

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.



回答2:

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



回答3:

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



回答4:

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



回答5:

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



回答6:

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

Ctrl + 0



回答7:

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.