In PhpStorm 2018.1, navigating your codebase is a bit easier. The navigation features are actually not new, but we’ve fixed several issues with them to make them behave more predictably. If something was not working for you previously, now it’s probably the right time to give them a second chance.
In PhpStorm, you can quickly navigate to a desired symbol by pressing Ctrl+Alt+Shift+N (Command + Option + O on macOS) and typing the desired symbol’s name. We’ve extended this functionality with namespaces and class members resolution support: you can now locate class members by the conventional Namespace\ClassName::methodName notation. You can use . , :: , \ , /, and -> as separators, too:
Gutter navigation improvements
As an alternative to using the menu commands, you can navigate your code using the editor’s gutter icons. In PhpStorm 2018.1, clicking the gutter icon now provides you with the same set of options as the corresponding menu command. Specifically, you can now use instant search to locate a specific implementation:
When locating an implemented / overridden method, PhpStorm will now offer you the classes to jump to, as you would expect:
Finally, the Pin button is now available in the gutter pop-up menu, too, which allows you to open all the found items in a tool window:
If you prefer a minimalistic UI, you can disable the gutter icons altogether and rely on the menus and keyboard shortcuts instead. Simply navigate to Settings/Preferences | Editor | General | Gutter Icons and customize the gutter icons to your liking.
Your JetBrains PhpStorm Team
The Drive to Develop