107 Shortcuts for JetBrains PhpStorm

Jump to: General Shortcuts, Debugging, Find and Replace, Editing, Refactoring, Navigation, Compile and Run, Usage Search, VCS/Local History, Live Template/Snippets

1. General Shortcuts

Option+0..9

Open Corresponding Tool Window

Command+S

Save All

Command+Shift+F12

Toggle Maximize Editor

Command+Shift+A

Find Action

Ctrl+Tab

Switch Editor Tabs and IDE Tool Windows

Command+,

Open Setting Dialog

Command+Option+F11

Toggle Full Screen Mode

Option+Shift+F

Add to Favourites

Double Shift

Search Everywhere

Option+Shift+I

Inspect Current file with Current file

2. Debugging

Shift+F8

Step Out

F8

Step Over

F7

Step Into

Option+F8

Evaluate Expression

Command+F8

Toggle Breakpoint

Command+Option+F9

Resume Program

3. Find and Replace

Command+F

Find

Command+R

Replace

Command+G

Find Next

Command+Shift+G

Find Previous

Command+Shift+F

Find in Path

Command+Shift+R

Replace in Path

4. Editing

Ctrl+Spacebar

Basic Code Completion

Command+Option+Spacebar

Class name Completion

Ctrl+J

Quick Documentation Lookup

Command+Mouse Over

Brief Info

Command+Shift+Return

Complete Statement

Command+P

Parameter Information

Ctrl+O

Override Methods

Command+N/Ctrl+N

Generate Code

Command+Shift+Up Arrow/Down Arrow

Move Line(Selection) Up/Down

Command+Option+T

Surround With..(Begin..End etc.)

Command+/

Comment/Uncomment with Line Comment

Command+Shift+/

Comment/Uncomment with Block Comment

Ctrl+I

Implements Method

Option+Return

Show Intention Actions and Quick Fixes

Command+Option+L

Reformat Code

Command+D

Duplicate Current Line

Command+X/Command+C/Command+V

Cut/Copy/Paste Current line to Clipboard

Command+Shift+V

Paste from History

Ctrl+Option+I

AutoIndent Lines

Command+Backspace

Delete line at caret

Shift+Return

Start New line

Command+W

Close Active editor tab

Option+Return

Show Intention Actions/Quick-Fixes

Option+Down Arrow

Decrease Current Selection to Previous State

Option+Up Arrow

Select Successively Incresing Code blocks

Command+NumPad +/Command+NumPad -

Expand/Collapse Code block

Command+Del

Delete to end word

Command+Backspace

Delete to word start

Command+Shift+Option+]

Select till code block end

Command+Shift+Option+[

Select till code block start

Command+Shift+U

Switch case for Word at Caret or Selected block

Ctrl+Shift+J

Smart Line Join(HTML and JS only)

Command+Return

Smart Line Split(HTML and JS only)

5. Refactoring

F5

Copy

F6

Move

Command+Del

Safe Delete

Shift+F6

Rename

Command+Option+N

Inline Variable

Ctrl+T

Refactor This(Show All Available Refactoring)

Command+Option+M

Extract Method

Command+Option+F

Introduce Field

Command+Option+C

Introduce Constant

Command+Option+V

Introduce Variable

6. Navigation

Command+O

Go to Class

Command+Shift+O

Go to File

Command+Option+O

Go to Symbol

F2

Next highlighted Error

Shift+F2

Previous highlighted Error

Command+G

Go to Line

Esc

Go to Editor

Command+E

Recent files Popup

Option+F1

Select current file/Symbol in any View

Option+Left Arrow/Option+Right Arrow

Go to Next/Previous Tab

Command+B

Go to Declaration

Command+Option+B

Go to Implementation

Command+Ctrl+B

Go to Type Declaration

Command+Option+Left Arrow/Command+Option+Right Arrow

Navigate back/forward

Command+Shift+Backspace

Go to last edit location

Command+U

Go to super method/super class

F4

Edit Source

Command+Down Arrow

View Source

Command+]/Command+[

Move to code block end/start

Option+Up Arrow/Option+Down Arrow

Go to Previous/Next Method

Command+Y

Open Quick Definition Lookup

7. Compile and Run

Command+Shift+X

Run Command Line

Ctrl+F10

Run

Ctrl+F9

Debug

Ctrl+Shift+R/Ctrl+Shift+D

Run Context editor from Editor

8. Usage Search

Command+F7

Find Usage in File

Option+F7

Find Usage

Command+Shift+F7

Highlight Usage in File

Command+Option+F7

Show Usage

9. VCS/Local History

Command+K

Commit Project to VCS

Command+T

Update Project from VCS

Option+Shift+C

View Recent Changes

Ctrl+V

VCS Operations Popup

10. Live Template/Snippets

Command+J

Insert Live Template

eco

echo' Statement

fore

foreach(iterable_expr as $value){…}

forek

foreach(iterable_expr as $key=>$value){…}

inc/inco

"include"/"include_once" statement

prif

private function

prof

protected function

pubf

public function

rqr/rqro

"require"/"require_once" statement

Created by rank17 on 5/10/2017. Last updated by f2q100 on 4/8/2018

 

1 Comments for 'PhpStorm '   

 
Email me replies   

Comment #1 by AbdulBasit Jan 5, 2021 at 07:42 am  Reply

Awesome

icon

JetBrains PhpStorm Shortcuts

Advertising for Consideration:

Ads for Consideration:

Related:

Please kindly review and accept Terms of Use and Cookie & Policy Policy