By default, the shortcut to open or hide the terminal in PHPStorm depends on your operating system: Windows and Linux: Alt + F12 macOS: Option + F12
While your cursor is inside the terminal , this shortcut opens PhpStorm's "Search Everywhere" dialog. Type the name of a class or file, hit enter, and you leave the terminal and open that file in the editor instantly. phpstorm terminal shortcut