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

前端 未结 16 944

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

16条回答
  •  独厮守ぢ
    2021-01-29 18:18

    It is worth adding that if you want to search for a method of a class, you can use a . (dot) between the class and method name inside of either the search everywhere or search symbols dialog. This even works with IDEAs usual search benefits. For example, you can search for LDT.now and LocalDateTime::now will pop up as a result. (As long as you are searching All Files and not just Project Files).

提交回复
热议问题