How to find methods? (only methods)
已回答
If there is one thing (probably the only one) that I miss from my good old times using Flash Builder is the ctrl + O shortcut.
It allowed to search for methods inside your class.
I couldn't find anything in IDEA that allows me to find methods exclusively, is there a way to do it?.
Thanks.
请先登录再写评论。
Invoke file structure popup or file structure tool window, then use quick search (type while focused in a window).
https://www.jetbrains.com/help/idea/structure-tool-window-file-structure-popup.html
It works, but still doesn't filter by methods only, since I can see member variables there too.
You can open the Structure tool window (Alt+7), filter out members, etc so that only fields are displayed and start typing the method name for the speed search, then press F4 (Jump To Source) to navigate to it.
Yeah.. still not the same. Need an extra step and the focus doesn't go to the quick search part, I prefer the other previously mentioned option.
At least that is in 2018 version, didn't try in the latest one.