Ctrl + Shift + W (or type exit and hit Enter)
To jump to the of the editor in PhpStorm, use the shortcut Ctrl + PgUp (Windows/Linux) or Command + Home / Fn + Up (macOS) .
If the default keys aren't working (common on some laptops where F12 requires an Fn key), you can remap them:
Do you use any specific PHP frameworks like or Symfony ? phpstorm terminal shortcut top
Modern PHP development often requires multiple processes (e.g., a local server, a watcher, and a composer command). Use to open a new session.
If the default key bindings clash with your operating system, or if you prefer a setup that mimics VS Code or standard Linux terminals, PhpStorm makes it easy to remap every single shortcut. How to Access Keymap Settings
PhpStorm automatically highlights file paths, stack traces, and URLs inside the terminal text output. If an error log displays a path like app/Http/Controllers/UserController.php:42 , you can hold Ctrl (or Cmd ) and click the text to jump directly to that exact file and line number in the editor. Embedded Terminal Settings Ctrl + Shift + W (or type exit
Modern workflows often require multiple sessions (e.g., one for a local server, one for Git, one for tests). Click the + icon in the terminal toolbar.
The true power of PHPStorm's terminal lies in how it interacts with your project files. Run IDE Actions from the CLI
Whenever a framework command (such as Symfony Console or Laravel Artisan) throws an error in the PHPStorm terminal, file paths and line numbers are automatically converted into clickable blue hyperlinks. Instead of copying the file path and searching for it manually, simply hold Ctrl (or ⌘ ) and click the text path in your terminal buffer to jump directly to the exact file and line of code that caused the crash. Summary of Top Essential Shortcuts Use to open a new session
The primary shortcut to open the Terminal tool window and move focus to it is (Windows/Linux) or ⌥ F12 (macOS). Top Essential Terminal Shortcuts Windows / Linux Open / Focus Terminal Alt + F12 ⌥ F12 New Terminal Tab Ctrl + Shift + T ⌘ Shift + T Close Current Tab Ctrl + F4 ⌘ W Switch Focus to Editor Esc Esc Maximize Terminal Window Ctrl + Shift + ' ⌘ Shift + ' Clear Console Output Ctrl + L ⌘ L 1. The Toggle: Moving Between Editor and Terminal The most common workflow involves jumping back and forth.
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.
By default, the terminal opens to the project root. If you want to change this, you can set a default start directory in the Terminal Settings .
: Click the + icon in the terminal tool window or use your custom-mapped shortcut (e.g., Cmd + T on macOS) .