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

前端 未结 16 701

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 v 13.1.4, OSX

    The Open Symbol keyboard shortcut is command+shift+s

    0 讨论(0)
  • 2021-01-29 18:09

    To Find the actions build in the IDEA(reindent, create new, ...) you can use

    CRTL+SHIFT+A

    then type indent for example and ENTER.

    0 讨论(0)
  • 2021-01-29 18:11

    Android Studio on Mac

    Command + Option + O

    Opens up the Symbol lookup that you can jump to most of the methods/functions in your currently opened document.

    0 讨论(0)
  • 2021-01-29 18:13

    IntelliJ IDEA Version 12.13 Ultimate Edition:

    Macs: command + option + shift + N or on Menu -> Navigate > Symbol ...

    0 讨论(0)
  • 2021-01-29 18:15

    ctrl + F12 (cmd + F12 on macOS) will show all members of the current class in a popup window and let you pick up one. It works exactly like the ctrl + o shortcut in eclipse, much faster than ctrl + alt + shift + n

    0 讨论(0)
  • 2021-01-29 18:15

    I tried SHIFT + SHIFT and ALT + CMD + O

    But I think the most powerful and easy to use feature is find in all files CMD + SHIFT + F.

    Choose regex and write .*partOfMethodName.*\( and it shows all places and can see the actual source code in place without going to that specific file.

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