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.
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.
All these answers are subjective, because they depend on your platform, keymap and IntelliJ version.
I believe the 'Structure' tool is what you're looking for. In Idea 13, View → Tool Windows → Structure will open the view, and along the way, the menu will show you the applicable keyboard shortcut for your setup.
Ctrl+F12 mimics the same functionality.
You can also use this link which gives Eclipse and corresponding IntelliJ IDEA shortcuts.
For some Linux kinds, and particularly for XFCE (like Xubuntu, Mint XFCE) a lot of default XWin keyboard layout mappings are not working.
This is because they overlap with assigned Window Manager -> Keyboard shortcuts. For the concrete question Ctrl+F12 is assigned to Workspace 12 which I doubt that many use at all.
The solution is to clear those Window manager assignments in Window Manager -> Keyboard tab. As a temporal workaround you may use IDEA actions via Find action Ctrl+Shift+A
There are other overlapping short keys. References:
I think here you can found out the most useful shortcuts for Idea as an Eclipse user... Eclipse "Quick outline" Ctrl+O (Windows) is an equivalent Idea "File Structure" Ctrl+F12!
As mentioned, I'm using XFCE from windows to remote Ubuntu and CTRL + F12 doesn't work. Since no one mentioned recombine, I'd like to share my solution.
Keymap
file structure
in search boxAdd Keyboard Shortcut
Now, you can use Ctrl + Shift + o to trigger the file structure.
For details about keymap rebinding, please refer to this thread.