IntelliJ IDEA 中 Eclipse 的 Ctrl+O(显示大纲)快捷方式是什么?

我喜欢使用 Eclipse 的快捷键 Ctrl + O 来勾勒当前的源代码.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.

推荐答案

我已经多年没有使用 Eclipse,所以我对你所追求的行为不太熟悉 - 但我相信 Ctrl + F12 可以做你想做的事:它是默认映射中File structure Popup的快捷方式.

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.

对于 macOS fn + cmd + F12

For macOS fn + cmd + F12

相关文章