JetBrains PhpStorm (MacOS)

Live Template/Snippets

public function

pubf

All hotkeys for JetBrains PhpStorm (MacOS)

General Shortcuts
Open Corresponding Tool Window

Option + 0..9

General Shortcuts
Save All

Command + S

General Shortcuts
Toggle Maximize Editor

Command + Shift + F12

General Shortcuts
Find Action

Command + Shift + A

General Shortcuts
Switch Editor Tabs and IDE Tool Windows

Ctrl + Tab

General Shortcuts
Open Setting Dialog

Command + ,

General Shortcuts
Toggle Full Screen Mode

Command + Option + F11

General Shortcuts
Add to Favourites

Option + Shift + F

General Shortcuts
Search Everywhere

Double Shift

General Shortcuts
Inspect Current file with Current file

Option + Shift + I

Debugging
Step Out

Shift + F8

Debugging
Step Over

F8

Debugging
Step Into

F7

Debugging
Evaluate Expression

Option + F8

Debugging
Toggle Breakpoint

Command + F8

Debugging
Resume Program

Command + Option + F9

Find and Replace
Find

Command + F

Find and Replace
Replace

Command + R

Find and Replace
Find Next

Command + G

Find and Replace
Find Previous

Command + Shift + G

Find and Replace
Find in Path

Command + Shift + F

Find and Replace
Replace in Path

Command + Shift + R

Editing
Basic Code Completion

Ctrl + Spacebar

Editing
Class name Completion

Command + Option + Spacebar

Editing
Quick Documentation Lookup

Ctrl + J

Editing
Brief Info

Command + Mouse Over

Editing
Complete Statement

Command + Shift + Return

Editing
Parameter Information

Command + P

Editing
Override Methods

Ctrl + O

Editing
Generate Code

Command + N / Ctrl + N

Editing
Move Line(Selection) Up/Down

Command + Shift + Up Arrow / Down Arrow

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

Command + Option + T

Editing
Comment/Uncomment with Line Comment

Command + /

Editing
Comment/Uncomment with Block Comment

Command + Shift + /

Editing
Implements Method

Ctrl + I

Editing
Show Intention Actions and Quick Fixes

Option + Return

Editing
Reformat Code

Command + Option + L

Editing
Duplicate Current Line

Command + D

Editing
Cut/Copy/Paste Current line to Clipboard

Command + X / Command + C / Command + V

Editing
Paste from History

Command + Shift + V

Editing
AutoIndent Lines

Ctrl + Option + I

Editing
Delete line at caret

Command + Backspace

Editing
Start New line

Shift + Return

Editing
Close Active editor tab

Command + W

Editing
Show Intention Actions/Quick-Fixes

Option + Return

Editing
Decrease Current Selection to Previous State

Option + Down Arrow

Editing
Select Successively Incresing Code blocks

Option + Up Arrow

Editing
Expand/Collapse Code block

Command + NumPad + / Command + NumPad -

Editing
Delete to end word

Command + Del

Editing
Delete to word start

Command + Backspace

Editing
Select till code block end

Command + Shift + Option + ]

Editing
Select till code block start

Command + Shift + Option + [

Editing
Switch case for Word at Caret or Selected block

Command + Shift + U

Editing
Smart Line Join(HTML and JS only)

Ctrl + Shift + J

Editing
Smart Line Split(HTML and JS only)

Command + Return

Refactoring
Copy

F5

Refactoring
Move

F6

Refactoring
Safe Delete

Command + Del

Refactoring
Rename

Shift + F6

Refactoring
Inline Variable

Command + Option + N

Refactoring
Refactor This(Show All Available Refactoring)

Ctrl + T

Refactoring
Extract Method

Command + Option + M

Refactoring
Introduce Field

Command + Option + F

Refactoring
Introduce Constant

Command + Option + C

Refactoring
Introduce Variable

Command + Option + V

Navigation
Go to Class

Command + O

Navigation
Go to File

Command + Shift + O

Navigation
Go to Symbol

Command + Option + O

Navigation
Next highlighted Error

F2

Navigation
Previous highlighted Error

Shift + F2

Navigation
Go to Line

Command + G

Navigation
Go to Editor

Esc

Navigation
Recent files Popup

Command + E

Navigation
Select current file/Symbol in any View

Option + F1

Navigation
Go to Next/Previous Tab

Option + Left Arrow / Option + Right Arrow

Navigation
Go to Declaration

Command + B

Navigation
Go to Implementation

Command + Option + B

Navigation
Go to Type Declaration

Command + Ctrl + B

Navigation
Navigate back/forward

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

Navigation
Go to last edit location

Command + Shift + Backspace

Navigation
Go to super method/super class

Command + U

Navigation
Edit Source

F4

Navigation
View Source

Command + Down Arrow

Navigation
Move to code block end/start

Command + ] / Command + [

Navigation
Go to Previous/Next Method

Option + Up Arrow / Option + Down Arrow

Navigation
Open Quick Definition Lookup

Command + Y

Compile and Run
Run Command Line

Command + Shift + X

Compile and Run
Run

Ctrl + F10

Compile and Run
Debug

Ctrl + F9

Compile and Run
Run Context editor from Editor

Ctrl + Shift + R / Ctrl + Shift + D

Usage Search
Find Usage in File

Command + F7

Usage Search
Find Usage

Option + F7

Usage Search
Highlight Usage in File

Command + Shift + F7

Usage Search
Show Usage

Command + Option + F7

VCS/Local History
Commit Project to VCS

Command + K

VCS/Local History
Update Project from VCS

Command + T

VCS/Local History
View Recent Changes

Option + Shift + C

VCS/Local History
VCS Operations Popup

Ctrl + V

Live Template/Snippets
Insert Live Template

Command + 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)
public function
Live Template/Snippets

pubf


JetBrains PhpStorm (Linux)
public function
Live Template/Snippets

pubf