JetBrains PhpStorm (Linux)

Live Template/Snippets

protected function

prof

All hotkeys for JetBrains PhpStorm (Linux)

General Shortcuts
Open Corresponding Tool Window

Alt + 0..9

General Shortcuts
Save All

Ctrl + S

General Shortcuts
Toggle Maximize Editor

Ctrl + Shift + F12

General Shortcuts
Find Action

Ctrl + Shift + A

General Shortcuts
Switch Editor Tabs and IDE Tool Windows

Ctrl + Tab

General Shortcuts
Open Setting Dialog

Ctrl + Alt + S

General Shortcuts
Toggle Full Screen Mode

Ctrl + Alt + F11

General Shortcuts
Add to Favourites

Alt + Shift + F

General Shortcuts
Search Everywhere

Double Shift

General Shortcuts
Inspect Current file with Current file

Alt + Shift + I

Debugging
Step Out

Shift + F8

Debugging
Step Over

F8

Debugging
Step Into

F7

Debugging
Evaluate Expression

Alt + F8

Debugging
Toggle Breakpoint

Ctrl + F8

Debugging
View Breakpoints

Ctrl + Shift + F8

Debugging
Resume Program

F9

Find and Replace
Find

Ctrl + F

Find and Replace
Replace

Ctrl + R

Find and Replace
Find Next

F3

Find and Replace
Find Previous

Shift + F3

Find and Replace
Find in Path

Ctrl + Shift + F

Find and Replace
Replace in Path

Ctrl + Shift + R

Editing
Basic Code Completion

Ctrl + Spacebar

Editing
Class name Completion

Ctrl + Alt + Spacebar

Editing
Quick Documentation Lookup

Ctrl + Q

Editing
Brief Info

Ctrl + Mouse Over

Editing
Complete Statement

Ctrl + Shift + Enter

Editing
Parameter Information

Ctrl + P

Editing
Override Methods

Ctrl + O

Editing
Generate Code

Alt + Insert

Editing
Move Line(Selection) Up/Down

Ctrl + Shift + Up Arrow / Down Arrow

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

Ctrl + Alt + T

Editing
Comment/Uncomment with Line Comment

Ctrl + /

Editing
Comment/Uncomment with Block Comment

Ctrl + Shift + /

Editing
Implements Method

Ctrl + I

Editing
Show Intention Actions and Quick Fixes

Alt + Enter

Editing
Reformat Code

Ctrl + Alt + L

Editing
Duplicate Current Line

Ctrl + D

Editing
Cut/Copy/Paste Current line to Clipboard

Ctrl + X / Ctrl + C / Ctrl + V

Editing
AutoIndent Lines

Ctrl + Alt + I

Editing
Delete line at caret

Ctrl + Y

Editing
Start New line

Shift + Enter

Editing
Close Active editor tab

Ctrl + F4

Editing
Show Intention Actions/Quick-Fixes

Alt + Enter

Editing
Decrease Current Selection to Previous State

Ctrl + Shift + W

Editing
Select Successively Incresing Code blocks

Ctrl + W

Editing
Expand/Collapse Code block

Ctrl + NumPad + / Ctrl + NumPad -

Editing
Delete to end word

Ctrl + Del

Editing
Delete to word start

Ctrl + Backspace

Editing
Select till code block end

Ctrl + Shift + ]

Editing
Select till code block start

Ctrl + Shift + [

Editing
Switch case for Word at Caret or Selected block

Ctrl + Shift + U

Refactoring
Copy

F5

Refactoring
Move

F6

Refactoring
Safe Delete

Alt + Del

Refactoring
Rename

Shift + F6

Refactoring
Inline Variable

Ctrl + Alt + N

Refactoring
Refactor This(Show All Available Refactoring)

Ctrl + Alt + Shift + T

Refactoring
Extract Method

Ctrl + Alt + M

Refactoring
Introduce Field

Ctrl + Alt + F

Refactoring
Introduce Constant

Ctrl + Alt + C

Refactoring
Introduce Variable

Ctrl + Alt + V

Navigation
Go to Class

Ctrl + N

Navigation
Go to File

Ctrl + Shift + N

Navigation
Go to Symbol

Ctrl + Alt + Shift + N

Navigation
Next highlighted Error

F2

Navigation
Previous highlighted Error

Shift + F2

Navigation
Go to Line

Ctrl + G

Navigation
Recent files Popup

Ctrl + E

Navigation
Select current file/Symbol in any View

Alt + F1

Navigation
Go to Next/Previous Tab

Alt + Left Arrow / Alt + Right Arrow

Navigation
Go to Declaration

Ctrl + B

Navigation
Go to Implementation

Ctrl + Alt + B

Navigation
Go to Type Declaration

Ctrl + Shift + B

Navigation
Navigate back/forward

Ctrl + Alt + Left Arrow / Ctrl + Alt + Right Arrow

Navigation
Go to last edit location

Ctrl + Shift + Backspace

Navigation
Go to super method/super class

Ctrl + U

Navigation
Show Navigation bar

Alt + Home

Navigation
Edit Source

F4

Navigation
View Source

Ctrl + Enter

Navigation
Move to code block end/start

Ctrl + ] / Ctrl + [

Navigation
Go to Previous/Next Method

Alt + Up Arrow / Alt + Down Arrow

Navigation
Open Quick Definition Lookup

Ctrl + Shift + I

Compile and Run
Run Command Line

Ctrl + Shift + X

Compile and Run
Run

Shift + F10

Compile and Run
Debug

Shift + F9

Compile and Run
Run Context editor from Editor

Ctrl + Shift + F10

Usage Search
Find Usage in File

Ctrl + F7

Usage Search
Find Usage

Alt + F7

Usage Search
Highlight Usage in File

Ctrl + Shift + F7

Usage Search
Show Usage

Ctrl + Alt + F7

VCS/Local History
Commit Project to VCS

Ctrl + K

VCS/Local History
Update Project from VCS

Ctrl + T

VCS/Local History
View Recent Changes

Ctrl + Shift + E

VCS/Local History
VCS Operations Popup

Alt + `

Live Template/Snippets
Insert Live Template

Ctrl + J

Live Template/Snippets
echo' Statement

eco

Live Template/Snippets
foreach(iterable_expr as $value){…}

fore

Live Template/Snippets
foreach(iterable_expr as $key=>$value){…}

forek

Live Template/Snippets
"include"/"include_once" statement

inc/inco

Live Template/Snippets
private function

prif

Live Template/Snippets
protected function

prof

Live Template/Snippets
public function

pubf

Live Template/Snippets
"require"/"require_once" statement

rqr/rqro

Similar combinations for other applications


JetBrains PhpStorm (Windows)
protected function
Live Template/Snippets

prof


JetBrains PhpStorm (MacOS)
protected function
Live Template/Snippets

prof