What is Eclipse's Ctrl+O (Show Outline) shortcut equivalent in IntelliJ IDEA?

后端 未结 19 1412
萌比男神i
萌比男神i 2020-12-04 05:15

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 dial

相关标签:
19条回答
  • 2020-12-04 05:59

    If you want a persistent/sticky/docked Tool Window instead of a temporary/transient dialog:

    • Mac: +7
    0 讨论(0)
  • 2020-12-04 06:04

    Ctrl+F12 works, because it is for file structure popup, which is similar to showing code in Eclipse.

    0 讨论(0)
  • 2020-12-04 06:04

    The shortcuts are: Ctrl+Shift+N for files Ctrl+N for classes

    0 讨论(0)
  • 2020-12-04 06:05

    Shortcuts:

    • Mac: +F12
    • Windows: Ctrl+F12
    • Ubuntu/CentOS: Ctrl+F12

    Above works on IntelliJ versions 14 to 2020.

    0 讨论(0)
  • 2020-12-04 06:05

    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:

    • Difference between Default and Default XWin keymaps
    • Avoid shortcut conflicts in Linux keymap
    • File structure on CTRL+F12 dissapeared in 13.1.5
    0 讨论(0)
  • 2020-12-04 06:07

    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.

    0 讨论(0)
提交回复
热议问题