What is the shortcut in IntelliJ IDEA to find method / functions?

前端 未结 16 691

I know that Ctrl + N is to find classes and it is very useful. But what about methods?

16条回答
  •  隐瞒了意图╮
    2021-01-29 18:07

    Intellij IDEA 2017.3.4 - 2018.2 (Ultimate) on OSX

    CMD + fn + F12

    will show all members of the current class in a popup window, then you can search method in that class.

    BUT, this answer is depends on your Keyboard setting. If your keyboard setting in

    System Preferences > Keyboard > Use all F1, F2, etc. keys as standard function keys

    is selected, then the shortcut becomes

    CMD + F12

提交回复
热议问题