What is Eclipse's Ctrl+O (Show Outline) shortcut equivalent in IntelliJ IDEA?
I like to use Eclipse's shortcut Ctrl + O which outlines the current source. Is there an equivalent shortcut in IntelliJ IDEA?
It opens a dialog which allows for quick search of methods and fields in a class.
Solution 1:
I haven't used Eclipse for years, so I'm not that familiar with the behaviour you're after - but I believe Ctrl + F12 may do what you want: it is the shortcut for the File structure Popup in the default mapping.
For macOS fn + cmd + F12
Solution 2:
Shortcuts:
- Mac: ⌘+F12
- Windows: Ctrl+F12
- Ubuntu/CentOS: Ctrl+F12
Above works on IntelliJ versions 14 to 2020.
Solution 3:
Windows : ctrl + F12
MacOS : cmd + F12
Above commands will show the functions/methods in the current class.
Press SHIFT TWO times if you want to search both class and method in the whole project.
Solution 4:
On MacOSX 10.8.5, CmdF12 did not work for me. I had to use FnCmdF12
Solution 5:
Ctrl + F3 in Idea is the equivalent of Ctrl + O in Eclipse.
The thread is old. Just thought might be useful for someone lookin for the same answer...