Phpstorm referencecard

Page 1

DEFAULT WINDOWS & LINUX KEYMAP

Editing

Running

Refactoring

Ctrl + Space

Basic code completion

Shift + F10 Run

F5/F6 Copy/Move

Alt + Enter

Show intention actions and quick-fixes

Shift + F9 Debug

Alt + Delete

Ctrl + P

Parameter info (within method call

Ctrl + Shift + F10

Run context configuration from editor

Shift + F6 Rename

arguments)

Ctrl + Shift + X

Run command line

Ctrl + Alt + N

Inline Variable

Ctrl + Q

Quick documentation lookup

Ctrl + Alt + M/V/F/C

Extract Method/Variable/Field/Constant

Ctrl + Alt + Shift + T

Refactor This (shows all available refactorings)

Safe Delete

Ctrl + mouse over code Brief Info

Search/Replace

Alt + Insert

Generate code... (Getters, Setters,

Ctrl + F/R Find/Replace

Constructors)

F3/Shift + F3

Find next/previous

VCS/Local History

Ctrl + O

Override methods

Ctrl + Shift + F/R

Find/Replace in path

Alt + BackQuote (`)

‘VCS’ quick popup

Ctrl + I

Implement methods

Ctrl + K

Commit project to VCS

Ctrl + Alt + T

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

Usage Search

Ctrl + T

Update project from VCS

Ctrl + /

Comment/uncomment with line comment

Alt + F7 / Ctrl + F7

Find usages / Find usages in file

Alt + Shift + C

View recent changes

Ctrl + Shift + /

Comment/uncomment with block comment

Ctrl + Shift + F7

Highlight usages in file

Ctrl + W

Select successively increasing code blocks

Ctrl + Alt + F7

Show usages

Ctrl + Shift + W

Decrease current selection to previous state

Ctrl + Alt + L

Reformat code

Navigation

Ctrl + Alt + I

Auto-indent line(s)

Ctrl + N

Ctrl + D

Duplicate current line or selected block

Ctrl + Y

General Double Shift

Search everywhere

Ctrl + Shift + A

Find Action

Go to class

Alt + #[0-9]

Open corresponding tool window

Ctrl + Shift + N

Go to file

Ctrl + Alt + F11

Toggle full screen mode

Delete line at caret

Ctrl + Alt + Shift + N

Go to symbol

Ctrl + Shift + F12

Toggle maximizing editor

Ctrl + Shift + J

Smart line join (HTML and JavaScript only)

Ctrl + G

Go to line

Alt + Shift + F

Add to Favorites

Ctrl + Enter

Smart line split (HTML and JavaScript only)

Alt + Right/Left

Go to next/previous editor tab

Alt + Shift + I

Inspect current file with current profile

Shift + Enter

Start new line

Esc

Go to editor (from tool window)

Ctrl + Alt + S

Open Settings dialog

Ctrl + Shift + U

Toggle case for word at caret

Ctrl + E

Recent files popup

Ctrl + Tab

Switch between tabs and tool window

or selected block

Ctrl + Alt + Left/Right

Navigate back/forward

Ctrl + Shift + ] / [

Select till code block end/start

Ctrl + Shift + Backspace Navigate to last edit location

Ctrl + Delete

Delete to word end

Alt + F1

Select current file or symbol in any view

Alt + J

Insert Live Template

Ctrl + Backspace

Delete to word start

Ctrl + B or Ctrl + Click

Go to declaration

eco

‘echo’ statement

Ctrl + NumPad+/-

Expand/collapse code block

Ctrl + Alt + B

Go to implementation(s)

fore

foreach(iterable_expr as $value) {…}

Ctrl + F4

Close active editor tab

Ctrl + Shift + I

Open quick definition lookup

forek

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

Ctrl + Shift + V

Paste from history

Ctrl + Shift + B

Go to type declaration

inc/inco

‘include’/‘include_once’ statement

Ctrl + U

Go to super-method/super-class

prif

private function

Alt + Up/Down

Go to previous/next method

prof

protected function

Debugging

Live Templates / Snippets

F8

Step over

Ctrl + ] / [

Move to code block end/start

pubf

public function

F7

Step into

F2 / Shift + F2

Next/previous highlighted error

rqr/rqro

‘require’/‘require_once’ statement

Shift + F8

Step out

F4 / Ctrl + Enter

Edit source / View source

and more...

Alt + F8

Evaluate expression

F9

Resume program

Ctrl + F8

Toggle breakpoint

Ctrl+Shift+F8

View breakpoints

To find any action inside the IDE use

Find Action ( Ctrl + Shift + A )

jetbrains.com/phpstorm

blog.jetbrains.com/phpstorm

@phpstorm


DEFAULT OS X KEYMAP

Editing

Running

Space P

Refactoring

Basic code completion

F10 Run

Show intention actions and quick-fixes

F9 Debug R,

Parameter info (within method call

D

Run context configuration from editor

X

arguments)

F5/F6 Copy/Move Delete

Run command line

J or Mid. button click Quick documentation lookup + mouse over code

Brief Info

N,

Generate code... (Getters, Setters,

, N

Search/Replace

Override methods

I

Implement methods T

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

/

G,

/

Decrease current selection to previous state L

Reformat code

I

Auto-indent line(s)

D

Find next/previous Find/Replace in path

F7 /

F7

F7

Show usages

N

Go to class

Find Action

0 ...

9

Open corresponding tool window Toggle full screen mode

Go to symbol

F12

Toggle maximizing editor

Go to line

F

Add to Favorites

Go to next/previous editor tab

I

Inspect current file with current profile

+ G / E

Recent files popup ,

block Select till code block end/start Delete to word end

F1

Delete to word start

B or

Paste from history

Select current file or symbol in any view Click

Space,

Y

B U

Debugging

,

F8

Step over

F7

Step into

F2 ,

],

Step out

F4 /

,

Open Settings dialog

Switch between tabs and tool window

Navigate back/forward Navigate to last edit location

B

Expand/collapse code block Close active editor tab

F8

Search everywhere

A

N

Toggle case for word at caret or selected

F8

Delete line at caret

U

F9

View recent changes

General

Navigation

Go to editor (from tool window)

F8

Update project from VCS C

Highlight usages in file

F7

F8

Commit project to VCS

Find usages / Find usages in file

Start new line

V

‘VCS’ quick popup

K T

W

V

F11

Smart line split (HTML and JavaScript only)

-

VCS/Local History

Go to file

Smart line join (HTML and JavaScript only)

+,

Refactor This (shows all available refactorings)

N

[

Extract Method/Variable/Field/Constant

Duplicate current line or selected block

J

],

Inline Variable

M/V/F/C T

Usage Search

Comment/uncomment with block comment Select successively increasing code blocks

G

F/R

Comment/uncomment with line comment

N

F/R Find/Replace

Constructors) O

Safe Delete

F6 Rename

Live Templates / Snippets J

Insert Live Template

Go to declaration

eco

‘echo’ statement

Go to implementation(s)

fore

foreach(iterable_expr as $value) {…}

Open quick definition lookup

forek

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

Go to type declaration

inc/inco

‘include’/‘include_once’ statement

Go to super-method/super-class

prif

private function

Go to previous/next method

prof

protected function

[

Move to code block end/start

pubf

public function

F2

Next/previous highlighted error

rqr/rqro

‘require’/‘require_once’ statement

Edit source / View source

and more...

Evaluate expression Resume program Toggle breakpoint View breakpoints

To find any action inside the IDE use

Find Action (

A)

jetbrains.com/phpstorm

blog.jetbrains.com/phpstorm

@phpstorm


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.