Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 578
Felipe Avatar asked Sep 20 '10 18:09

Felipe


2 Answers

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

like image 195
Daniel Deng Avatar answered Oct 01 '22 14:10

Daniel Deng


Windows : ^ ctrl + F12

MacOS : ⌘ cmd + F12

Above commands will show the functions/methods in the current class.

Press ⇧ SHIFT TWO times if you want to search both class and method in the whole project.

like image 45
Vikas Gupta Avatar answered Oct 01 '22 16:10

Vikas Gupta