Search code examples
phpstormkeyboard-shortcuts

Search through methods in a class PhpStorm


I used to work in Eclipse and had this very neat hotkey (Ctrl + O) which is used to search through the methods within a class.

I mean, if you are in the editor viewing a source of a class, and if you hit Ctrl + O, a pop-up comes up with all the methods listed. The list will get filtered if you start typing in. If I type in get, I can see a list of getters..

This is very helpful. I moved to PHP and PhpStorm and I miss this feature here, or I do not know if PhpStorm has this.

Do you guys have any idea of such a key combo in PhpStorm?


Solution

  • I have never used Eclipse .. so not 100% sure how that popup looks and works .. but here is the PhpStorm functionality:

    Navigate | File Structure (Ctrl + F12 using Default keymap)

    enter image description here

    Alternatively just use Speed Search (just start typing) in actual Structure panel.