DEV Community

Cover image for 8 most useful PhpStorm keyboard shortcuts
Damian Brdej
Damian Brdej

Posted on

8 most useful PhpStorm keyboard shortcuts

Double Shift - Search Everywhere

Quickly find any file, action, class, symbol, tool window, or setting in PhpStorm, in your project, and in the current Git repository.

Ctrl+Shift+A - Find Action

Find a command and execute it, open a tool window, or search for a setting.

Alt+Enter - Show Context Actions

Quick fixes for highlighted errors and warnings, intention actions for improving and optimizing your code.

F2 and Shift+F2 - Navigate between code issues

Jump to the next or previous highlighted error.

Ctrl+E - View recent files

Select a recently opened file from the list.

Ctrl+W and Ctrl+Shift+W - Extend or shrink selection

Increase or decrease the scope of selection according to specific code constructs.

Ctrl+/ and Ctrl+Shift+/ - Add/remove line or block comment

Comment out a line or block of code.

Alt+F7 - Find Usages

Show all places where a code element is used across your project.

Summary

To master your programming skills first you have to master tools you use.
Which keyboard shortcut you use most often?

Discussion (2)

Collapse
andersbjorkland profile image
Anders Björkland

I love Ctrl+w. This and double-shift is something I use anytime I'm working in PHPStorm.

Collapse
romykhan69 profile image
Romy Khan

informative