PhpStorm

Enjoy this cheat sheet at its fullest within Dash, the macOS documentation browser.

General

CMD+0-9

Open corresponding tool window

CMD+OPTION+Y

Synchronize

CMD+SHIFT+F12

Toggle maximizing editor

OPTION+SHIFT+F

Add to favorites

OPTION+SHIFT+I

Inspect current file with current profile

CTRL+ยง

Quick switch current scheme

CTRL+Tab

Switch between tabs and tool window

CMD+SHIFT+A

Find action

SHIFT+SHIFT

Search Everywhere

Editing

CTRL+Space

Basic code completion

Name of any class, method or variable

CTRL+SHIFT+Space

Smart code completion

Filters the list of methods and variables by expected type

CMD+SHIFT+Return

Complete statement

CTRL+J

Quick documentation lookup

SHIFT+F1

External documentation lookup

CMD+mouse over code

Brief info

CMD+F1

Show description of error or warning at caret

CMD+N

CTRL+N

CTRL+Return

Generate code

Getters, setters, constructors

CTRL+O

Override methods

CTRL+I

Implement methods

CMD+OPTION+T

Surround with...

if..else, try..catch, for etc

CMD+/

Comment or uncommment with line comment

CMD+OPTION+/

Comment or uncommment with block comment

CTRL+W

Select successively increasing code blocks

CTRL+SHIFT+W

Decrease current selection to previous state

CTRL+SHIFT+Q

Context info

OPTION+Return

Show intention actions and quick-fixes

CMD+OPTION+L

Reformat code

CTRL+OPTION+O

Optimize imports

CTRL+OPTION+I

Auto-ident lines

Tab

Indent selected lines

SHIFT+Tab

Unindent selected lines

CMD+X

Cut current line or selected block to clipboard

CMD+C

Copy current line or selected block to clipboard

CMD+V

Paste from clipboard

CMD+SHIFT+V

Paste from recent buffers

CMD+D

Duplicate current line or selected block

CMD+Backspace

Delete line at caret

CTRL+SHIFT+J

Smart line join

CMD+Return

Smart line split

SHIFT+Return

Start new line

CMD+SHIFT+U

Toggle case for word at caret or selected block

CMD+SHIFT+]

Select until code block end

CMD+SHIFT+[

Select until code block start

OPTION+Delete

Delete to word end

OPTION+Backspace

Delete to word start

CMD+"+"

Expand code block

CMD+"-"

Collapse code block

CMD+SHIFT+"+"

Expand all

CMD+SHIFT+"-"

Collapse all

CMD+W

Close active editor tab

Search / Replace

Usage Search

OPTION+F7

Find usage

CMD+F7

Find usage in file

CMD+SHIFT+F7

Highlight usage in file

CMD+OPTION+F7

Show usage

Compile and Run

CMD+F9

Build project

CTRL+R

Run

CTRL+OPTION+R

Select configuration and run

CTRL+D

Debug

CTRL+OPTION+D

Select cofiguration and debug

CTRL+SHIFT+R

Run context configuration from editor

Debugging

F8

Step over

F7

Step into

SHIFT+F7

Smart step into

SHIFT+F8

Step out

OPTION+F9

Run to cursor

OPTION+F8

Evaluate expression

CMD+OPTION+R

Resume program

CMD+F8

Toggle breakpoint

CMD+SHIFT+F8

View breakpoints

Navigation

CMD+O

Go to class

CMD+SHIFT+O

Go to file

CMD+OPTION+O

Go to symbol

CTRL+Arrow Left

Go to previous editor tab

CTRL+Arrow Right

Go to next editor tab

F12

Go back to previous tool window

Esc

Go to editor (from tool window)

SHIFT+Esc

Hide active or last active Window

CMD+SHIFT+F4

Close active tab

CMD+L

Go to line

CMD+E

Recent files popup

CMD+OPTION+Arrow Left

Navigate back

CMD+OPTION+Arrow Right

Navigate forward

CMD+SHIFT+Delete

Navigate to last edit location

CMD+OPTION+Arrow Left

Navigate back

OPTION+F1

Select current file or symbol in any view

CMD+B

Go to definition

CMD+OPTION+B

Go to implementation(s)

CTRL+SHIFT+B

Go to type declaration

CMD+U

Go to super-method or super-class

CTRL+Arrow Up

Go to previous method

CTRL+Arrow Down

Go to next method

CMD+[

Move to code block start

CMD+]

Move to code block end

CMD+F12

File structure popup

CTRL+H

Type hierarchy

CMD+SHIFT+H

Method hierarchy

CTRL+OPTION+H

Call hierarchy

F2

Next highlighted error

SHIFT+F2

Previous highlighted error

F4

Edit source

CMD+Arrow Down

View source

F3

Toggle bookmark

OPTION+F3

Toogle bookmark with mnemonic

CTRL+0...CTRL+9

Go to numbered bookmark

CMD+F3

Show bookmarks

Refactoring

CTRL+T

Refactor this

F5

Copy

F6

Move

CMD+Delete

Safe delete

SHIFT+F6

Rename

CMD+F6

Change signature

CMD+OPTION+N

Inline

CMD+OPTION+M

Extract method

CMD+OPTION+V

Introduce variable

CMD+OPTION+P

Introduce parameter

CMD+OPTION+E

Introduce property

CMD+OPTION+C

Introduce constant

CMD+OPTION+I

Introduce instance variable

VCS / Local History

CMD+K

Commit project to VCS

CMD+T

Update project from VCS

OPTION+SHIFT+C

View recent changes

CTRL+V

VCS quick popup

Live Templates

CMD+OPTION+J

Surround with live template

CMD+J

Insert live template

Notes