score:355

Accepted answer

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

score:-8

ctrl + alt + l is the one you're looking for.

score:-3

the shortcuts are: ctrl+shift+n for files ctrl+n for classes

score:1

ctrl+f12 works, because it is for file structure popup, which is similar to showing code in eclipse.

score:1

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.

  • ctrl + alt + s` to open settings.
  • click keymap
  • input file structure in search box
  • right click the item and click add keyboard shortcut
  • press keyboard combination you like and i used ctrl + shift + o since i came from eclipse world. the ctrl + o has been bound already, so i used ctrl + shift + o instead

now, you can use ctrl + shift + o to trigger the file structure.

for details about keymap rebinding, please refer to this thread.

score:2

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!

score:2

it is possible to use eclipse keymap in intellij by clicking alt+ keymap. then select eclipse keymap.

score:3

ctrl+f12 mimics the same functionality.
you can also use this link which gives eclipse and corresponding intellij idea shortcuts.

score:3

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:

score:3

if you want a persistent/sticky/docked tool window instead of a temporary/transient dialog:

  • mac: +7

score:4

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, viewtool windowsstructure will open the view, and along the way, the menu will show you the applicable keyboard shortcut for your setup.

score:4

for me, ctrl + f12 works really well!

score:8

ctrl + f12 works for me. i'm using intellij idea ce 12 with default keymap.

score:9

ctrl + f12 or search "file structure" in keymap

score:10

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...

score:10

for intellij 13 on ubuntu the shortcut for the structure window is alt+7 (cmd+7 on mac). you can make the window floating to simulate the eclipse behavior using the top-right setting icon, also unselect the pinned mode option for esc to work.

score:11

on macosx 10.8.5, cmdf12 did not work for me. i had to use fncmdf12

score:15

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.

score:39

shortcuts:

  • mac: +f12
  • windows: ctrl+f12
  • ubuntu/centos: ctrl+f12

above works on intellij versions 14 to 2020.


Related Query

More Query from same tag