IntelliJ IDEA 中查找方法/函数的快捷方式是什么? [英] What is the shortcut in IntelliJ IDEA to find method / functions?
本文介绍了IntelliJ IDEA 中查找方法/函数的快捷方式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道 Ctrl + N 是查找类,非常有用.但是方法呢?
I know that Ctrl + N is to find classes and it is very useful. But what about methods?
推荐答案
Windows : ^ ctrl + F12
Windows : ^ ctrl + F12
MacOS : ⌘ cmd + F12
MacOS : ⌘ cmd + F12
以上命令将显示当前类中的函数/方法.
Above commands will show the functions/methods in the current class.
如果要在整个项目中同时搜索类和方法,请按两次 ⇧ SHIFT.
Press ⇧ SHIFT TWO times if you want to search both class and method in the whole project.
这篇关于IntelliJ IDEA 中查找方法/函数的快捷方式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文