Phpstorm Terminal Shortcut May 2026

Ctrl + Shift + N (Win/Lin) / ⌘ + ⇧ + O (macOS)

| Action | Shortcut (Win/Lin) | Shortcut (macOS) | Why it's magic | | :--- | :--- | :--- | :--- | | | Ctrl + E + Enter | ⌘ + E + Enter | After running a failed test or script, jump directly to the file/line of the error. | | Open File from Path | Ctrl + Click on filename | ⌘ + Click on filename | See a path like src/Controller/User.php ? Cmd/Ctrl+click opens it instantly. | | Run Selection in Console | Ctrl + Enter | ⌘ + Enter | Highlight a line of code (e.g., $user->getName() ) and execute it in the terminal REPL. | | Copy Selected Text | Ctrl + Insert | ⌘ + C | Standard copy. | | Paste | Shift + Insert | ⌘ + V | Paste from clipboard. | 4. The Hidden Gem: "Navigate to File" Here is the shortcut most PhpStorm users miss: phpstorm terminal shortcut

Did I miss your favorite shortcut? Let me know in the comments below! Ctrl + Shift + N (Win/Lin) / ⌘

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. 5. Pro Tip: Remap "Close Terminal" to Avoid Accidents By default, Ctrl + F4 closes the current editor tab, not the terminal. Many developers remap "Close Active Terminal" to Ctrl + W (like a browser tab). | | Run Selection in Console | Ctrl

If you’re a PHP developer using PhpStorm, you probably know you can open a terminal directly inside the IDE ( Alt+F12 ). But did you know that mastering a few keyboard shortcuts can turn you into a terminal ninja?

Stop reaching for your mouse. Here is your cheat sheet for . 1. The Basics: Opening & Closing | Action | Shortcut (Windows/Linux) | Shortcut (macOS) | | :--- | :--- | :--- | | Open Terminal | Alt + F12 | ⌥ + F12 | | Focus Terminal (if open) | Alt + F12 | ⌥ + F12 | | Close Terminal | Shift + Esc | ⇧ + Esc | | Hide Terminal | Ctrl + Shift + F4 | ⌘ + ⇧ + F4 | 2. Working Inside the Terminal (No Mouse!) Once your cursor is in the terminal, use these to navigate and edit like a pro.

| Action | Shortcut (Win/Lin) | Shortcut (macOS) | | :--- | :--- | :--- | | | Ctrl + Shift + T | ⌘ + ⇧ + T | | Close Tab | Ctrl + Shift + W | ⌘ + ⇧ + W | | Previous Tab | Alt + Left | ⌘ + Shift + [ | | Next Tab | Alt + Right | ⌘ + Shift + ] | | Clear Screen | Ctrl + L | ⌘ + L | | Cancel/Interrupt | Ctrl + C | ⌘ + C | | Search in Terminal | Ctrl + F | ⌘ + F | 3. Supercharge Your Workflow (The "Power User" Shortcuts) These shortcuts connect the terminal with your code editor.

Give credit to Dareful

Show your appreciation for our free videos by linking back to us.

Video courtesy of Dareful