PHPStorm Keyboard Shortcuts

PHPStorm Keyboard Shortcuts for Windows

Basic

Find Action

  • Ctrl
  • +
  • Shift
  • +
  • A

Editing

Basic code completion

  • Ctrl
  • +
  • Space

Show intention actions and quick-fixes

  • Alt
  • +
  • Enter

Parameter info (within method call arguments)

  • Ctrl
  • +
  • P

Quick documentation lookup

  • Ctrl
  • +
  • Q

Brief Info

  • Ctrl
  • +
  • (mouse over code)

Generate codeu2026 (Getters, Setters, Constructors)

  • Alt
  • +
  • Insert

Override methods

  • Ctrl
  • +
  • O

Implement methods

  • Ctrl
  • +
  • I

Surround withu2026(if..else, try..catch, for, etc.)

  • Ctrl
  • +
  • Alt
  • +
  • T

Comment/uncomment with line comment

  • Ctrl
  • +
  • /

Comment/uncomment with block comment

  • Ctrl
  • +
  • Shift
  • +
  • /

Select successively increasing code blocks

  • Ctrl
  • +
  • W

Decrease current selection to previous state

  • Ctrl
  • +
  • Shift
  • +
  • W

Reformat code

  • Ctrl
  • +
  • Alt
  • +
  • L

Auto-indent line(s)

  • Ctrl
  • +
  • Alt
  • +
  • I

Duplicate current line or selected block

  • Ctrl
  • +
  • D

Delete line at caret

  • Ctrl
  • +
  • Y

Smart line join (HTML and JavaScript only)

  • Ctrl
  • +
  • Shift
  • +
  • J

Smart line split (HTML and JavaScript only)

  • Ctrl
  • +
  • Enter

Start a new line

  • Shift
  • +
  • Enter

Toggle case for word at caret or selected block

  • Ctrl
  • +
  • Shift
  • +
  • U

Select till code block start

  • Ctrl
  • +
  • Shift
  • +
  • [

Select till code block end

  • Ctrl
  • +
  • Shift
  • +
  • ]

Delete to word end

  • Ctrl
  • +
  • Delete

Delete to word start

  • Ctrl
  • +
  • Backspace

Expand/collapse code block

  • Ctrl
  • +
  • +/-

Close active editor tab

  • Ctrl
  • +
  • F4

Paste from history

  • Ctrl
  • +
  • Shift
  • +
  • V

Debugging

Step over

  • F8

Step into

  • F7

Step out

  • Shift
  • +
  • F8

Evaluate expression

  • Alt
  • +
  • F8

Resume program

  • F9

Toggle breakpoint

  • Ctrl
  • +
  • F8

View breakpoints

  • Ctrl
  • +
  • Shift
  • +
  • F8

Running

Run

  • Shift
  • +
  • F10

Debug

  • Shift
  • +
  • F9

Run context configuration from editor

  • Ctrl
  • +
  • Shift
  • +
  • F10

Run command line

  • Ctrl
  • +
  • Shift
  • +
  • X

Search/Replace

Find/Replace

  • Ctrl
  • +
  • F/R

Find next

  • F3

Find previous

  • Shift
  • +
  • F3

Find/Replace in path

  • Ctrl
  • +
  • Shift
  • +
  • F/R

Usage Search

Find usages

  • Alt
  • +
  • F7

Find usages in file

  • Ctrl
  • +
  • F7

Highlight usages in file

  • Ctrl
  • +
  • Shift
  • +
  • F7

Show usages

  • Ctrl
  • +
  • Alt
  • +
  • F7

Navigation

Go to class

  • Ctrl
  • +
  • N

Go to file

  • Ctrl
  • +
  • Shift
  • +
  • N

Go to symbol

  • Ctrl
  • +
  • Shift
  • +
  • Alt
  • +
  • N

Go to line

  • Ctrl
  • +
  • G

Go to next/previous editor tab

  • Alt
  • +
  • Left/Right

Go to editor (from tool window)

  • Esc

Recent files popup

  • Ctrl
  • +
  • E

Navigate back/forward

  • Ctrl
  • +
  • Alt
  • +
  • Left/Right

Navigate to last edit location

  • Ctrl
  • +
  • Shift
  • +
  • Backspace

Select current file or symbol in any view

  • Alt
  • +
  • F1

Go to declaration

  • Ctrl
  • +
  • B

Go to implementation(s)

  • Ctrl
  • +
  • Alt
  • +
  • B

Open quick definition lookup

  • Ctrl
  • +
  • Shift
  • +
  • I

Go to type declaration

  • Ctrl
  • +
  • Shift
  • +
  • B

Go to super-method/super-class

  • Ctrl
  • +
  • U

Go to previous/next method

  • Alt
  • +
  • Up/Down

Move to code block end/start

  • Ctrl
  • +
  • ]/[

Next highlighted error

  • F2

Previous highlighted error

  • Shift
  • +
  • F2

Edit/view source

  • F4

Refactoring

Copy/Move

  • F5/F6

Safe delete

  • Alt
  • +
  • Delete

Rename

  • Shift
  • +
  • F6

Inline variable

  • Ctrl
  • +
  • Alt
  • +
  • N

Extract Method/Variable/Field/Constant

  • Ctrl
  • +
  • Alt
  • +
  • M/V/F/C

Refactor This (shows all available refactorings)

  • Ctrl
  • +
  • Alt
  • +
  • Shift
  • +
  • T

VCS/Local History

VCS quick popup

  • Alt
  • +
  • `

Commit project to VCS

  • Ctrl
  • +
  • K

Update project from VCS

  • Ctrl
  • +
  • T

View recent changes

  • Alt
  • +
  • Shift
  • +
  • C

General

Search everywhere

  • Shift x2

Find Action

  • Ctrl
  • +
  • Shift
  • +
  • A

Open corresponding tool window

  • Alt
  • +
  • 1-9

Toggle full screen mode

  • Ctrl
  • +
  • Alt
  • +
  • F11

Toggle maximizing editor

  • Ctrl
  • +
  • Shift
  • +
  • F12

Add to Favorites

  • Alt
  • +
  • Shift
  • +
  • F

Inspect current file with current profile

  • Alt
  • +
  • Shift
  • +
  • I

Open Settings dialog

  • Ctrl
  • +
  • Alt
  • +
  • S

Switch between tabs and tool window

  • Ctrl
  • +
  • Tab

Live Templates/Snippets

Insert Live Template

  • Ctrl
  • +
  • J

u2018echou2019 statement

  • eco

foreach(iterable_expr as $value) {u2026}

  • fore

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

  • forek

u2018includeu2019/u2019include_onceu2019 statement

  • inc/inco

private function

  • prif

protected function

  • prof

public function

  • pubf

u2018requireu2019/u2019require_onceu2019 statement

  • rqr/rqro

PHPStorm Keyboard Shortcuts for Mac

Basic

Find Action

  • Cmd
  • +
  • Shift
  • +
  • A

Editing

Basic code completion

  • Cmd
  • +
  • Space

Show intention actions and quick-fixes

  • Alt
  • +
  • Enter

Parameter info (within method call arguments)

  • Cmd
  • +
  • P

Quick documentation lookup

  • Cmd
  • +
  • Q

Brief Info

  • Cmd
  • +
  • (mouse over code)

Generate codeu2026 (Getters, Setters, Constructors)

  • Alt
  • +
  • Insert

Override methods

  • Cmd
  • +
  • O

Implement methods

  • Cmd
  • +
  • I

Surround withu2026(if..else, try..catch, for, etc.)

  • Cmd
  • +
  • Alt
  • +
  • T

Comment/uncomment with line comment

  • Cmd
  • +
  • /

Comment/uncomment with block comment

  • Cmd
  • +
  • Shift
  • +
  • /

Select successively increasing code blocks

  • Cmd
  • +
  • W

Decrease current selection to previous state

  • Cmd
  • +
  • Shift
  • +
  • W

Reformat code

  • Cmd
  • +
  • Alt
  • +
  • L

Auto-indent line(s)

  • Cmd
  • +
  • Alt
  • +
  • I

Duplicate current line or selected block

  • Cmd
  • +
  • D

Delete line at caret

  • Cmd
  • +
  • Y

Smart line join (HTML and JavaScript only)

  • Cmd
  • +
  • Shift
  • +
  • J

Smart line split (HTML and JavaScript only)

  • Cmd
  • +
  • Enter

Start a new line

  • Shift
  • +
  • Enter

Toggle case for word at caret or selected block

  • Cmd
  • +
  • Shift
  • +
  • U

Select till code block start

  • Cmd
  • +
  • Shift
  • +
  • [

Select till code block end

  • Cmd
  • +
  • Shift
  • +
  • ]

Delete to word end

  • Cmd
  • +
  • Delete

Delete to word start

  • Cmd
  • +
  • Backspace

Expand/collapse code block

  • Cmd
  • +
  • +/-

Close active editor tab

  • Cmd
  • +
  • F4

Paste from history

  • Cmd
  • +
  • Shift
  • +
  • V

Debugging

Step over

  • F8

Step into

  • F7

Step out

  • Shift
  • +
  • F8

Evaluate expression

  • Alt
  • +
  • F8

Resume program

  • F9

Toggle breakpoint

  • Cmd
  • +
  • F8

View breakpoints

  • Cmd
  • +
  • Shift
  • +
  • F8

Running

Run

  • Shift
  • +
  • F10

Debug

  • Shift
  • +
  • F9

Run context configuration from editor

  • Cmd
  • +
  • Shift
  • +
  • F10

Run command line

  • Cmd
  • +
  • Shift
  • +
  • X

Search/Replace

Find/Replace

  • Cmd
  • +
  • F/R

Find next

  • F3

Find previous

  • Shift
  • +
  • F3

Find/Replace in path

  • Cmd
  • +
  • Shift
  • +
  • F/R

Usage Search

Find usages

  • Alt
  • +
  • F7

Find usages in file

  • Cmd
  • +
  • F7

Highlight usages in file

  • Cmd
  • +
  • Shift
  • +
  • F7

Show usages

  • Cmd
  • +
  • Alt
  • +
  • F7

Navigation

Go to class

  • Cmd
  • +
  • N

Go to file

  • Cmd
  • +
  • Shift
  • +
  • N

Go to symbol

  • Cmd
  • +
  • Shift
  • +
  • Alt
  • +
  • N

Go to line

  • Cmd
  • +
  • G

Go to next/previous editor tab

  • Alt
  • +
  • Left/Right

Go to editor (from tool window)

  • Esc

Recent files popup

  • Cmd
  • +
  • E

Navigate back/forward

  • Cmd
  • +
  • Alt
  • +
  • Left/Right

Navigate to last edit location

  • Cmd
  • +
  • Shift
  • +
  • Backspace

Select current file or symbol in any view

  • Alt
  • +
  • F1

Go to declaration

  • Cmd
  • +
  • B

Go to implementation(s)

  • Cmd
  • +
  • Alt
  • +
  • B

Open quick definition lookup

  • Cmd
  • +
  • Shift
  • +
  • I

Go to type declaration

  • Cmd
  • +
  • Shift
  • +
  • B

Go to super-method/super-class

  • Cmd
  • +
  • U

Go to previous/next method

  • Alt
  • +
  • Up/Down

Move to code block end/start

  • Cmd
  • +
  • ]/[

Next highlighted error

  • F2

Previous highlighted error

  • Shift
  • +
  • F2

Edit/view source

  • F4

Refactoring

Copy/Move

  • F5/F6

Safe delete

  • Alt
  • +
  • Delete

Rename

  • Shift
  • +
  • F6

Inline variable

  • Cmd
  • +
  • Alt
  • +
  • N

Extract Method/Variable/Field/Constant

  • Cmd
  • +
  • Alt
  • +
  • M/V/F/C

Refactor This (shows all available refactorings)

  • Cmd
  • +
  • Alt
  • +
  • Shift
  • +
  • T

VCS/Local History

VCS quick popup

  • Alt
  • +
  • `

Commit project to VCS

  • Cmd
  • +
  • K

Update project from VCS

  • Cmd
  • +
  • T

View recent changes

  • Alt
  • +
  • Shift
  • +
  • C

General

Search everywhere

  • Shift x2

Find Action

  • Cmd
  • +
  • Shift
  • +
  • A

Open corresponding tool window

  • Alt
  • +
  • 1-9

Toggle full screen mode

  • Cmd
  • +
  • Alt
  • +
  • F11

Toggle maximizing editor

  • Cmd
  • +
  • Shift
  • +
  • F12

Add to Favorites

  • Alt
  • +
  • Shift
  • +
  • F

Inspect current file with current profile

  • Alt
  • +
  • Shift
  • +
  • I

Open Settings dialog

  • Cmd
  • +
  • Alt
  • +
  • S

Switch between tabs and tool window

  • Cmd
  • +
  • Tab

Live Templates/Snippets

Insert Live Template

  • Cmd
  • +
  • J

u2018echou2019 statement

  • eco

foreach(iterable_expr as $value) {u2026}

  • fore

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

  • forek

u2018includeu2019/u2019include_onceu2019 statement

  • inc/inco

private function

  • prif

protected function

  • prof

public function

  • pubf

u2018requireu2019/u2019require_onceu2019 statement

  • rqr/rqro
Scroll to Top