107 Shortcuts for JetBrains PhpStorm (MacOS)  [edit]

minusplus1. General Shortcuts
Option+0..9 Open Corresponding Tool Window
Command+S Save All
Command+Shift+F12 Toggle Maximize Editor
Command+Shift+A Find Action
Ctrl+Tab Switch Editor Tabs and IDE Tool Windows
Command+, Open Setting Dialog
Command+Option+F11 Toggle Full Screen Mode
Option+Shift+F Add to Favourites
Double Shift Search Everywhere
Option+Shift+I Inspect Current file with Current file

▲ up

minusplus2. Debugging
Shift+F8 Step Out
F8 Step Over
F7 Step Into
Option+F8 Evaluate Expression
Command+F8 Toggle Breakpoint
Command+Option+F9 Resume Program

▲ up

minusplus3. Find and Replace
Command+F Find
Command+R Replace
Command+G Find Next
Command+Shift+G Find Previous
Command+Shift+F Find in Path
Command+Shift+R Replace in Path

▲ up

minusplus4. Editing
Ctrl+Spacebar Basic Code Completion
Command+Option+Spacebar Class name Completion
Ctrl+J Quick Documentation Lookup
Command+Mouse Over Brief Info
Command+Shift+Return Complete Statement
Command+P Parameter Information
Ctrl+O Override Methods
Command+N/Ctrl+N Generate Code
Command+Shift+Up Arrow/Down Arrow Move Line(Selection) Up/Down
Command+Option+T Surround With..(Begin..End etc.)
Command+/ Comment/Uncomment with Line Comment
Command+Shift+/ Comment/Uncomment with Block Comment
Ctrl+I Implements Method
Option+Return Show Intention Actions and Quick Fixes
Command+Option+L Reformat Code
Command+D Duplicate Current Line
Command+X/Command+C/Command+V Cut/Copy/Paste Current line to Clipboard
Command+Shift+V Paste from History
Ctrl+Option+I AutoIndent Lines
Command+Backspace Delete line at caret
Shift+Return Start New line
Command+W Close Active editor tab
Option+Return Show Intention Actions/Quick-Fixes
Option+Down Arrow Decrease Current Selection to Previous State
Option+Up Arrow Select Successively Incresing Code blocks
Command+NumPad +/Command+NumPad - Expand/Collapse Code block
Command+Del Delete to end word
Command+Backspace Delete to word start
Command+Shift+Option+] Select till code block end
Command+Shift+Option+[ Select till code block start
Command+Shift+U Switch case for Word at Caret or Selected block
Ctrl+Shift+J Smart Line Join(HTML and JS only)
Command+Return Smart Line Split(HTML and JS only)

▲ up

minusplus5. Refactoring
F5 Copy
F6 Move
Command+Del Safe Delete
Shift+F6 Rename
Command+Option+N Inline Variable
Ctrl+T Refactor This(Show All Available Refactoring)
Command+Option+M Extract Method
Command+Option+F Introduce Field
Command+Option+C Introduce Constant
Command+Option+V Introduce Variable

▲ up

minusplus6. Navigation
Command+N Go to Class
Command+Shift+N Go to File
Command+Option+N Go to Symbol
F2 Next highlighted Error
Shift+F2 Previous highlighted Error
Command+G Go to Line
Esc Go to Editor
Command+E Recent files Popup
Option+F1 Select current file/Symbol in any View
Option+Left Arrow/Option+Right Arrow Go to Next/Previous Tab
Command+B Go to Declaration
Command+Option+B Go to Implementation
Command+Ctrl+B Go to Type Declaration
Command+Option+Left Arrow/Command+Option+Right Arrow Navigate back/forward
Command+Shift+Backspace Go to last edit location
Command+U Go to super method/super class
F4 Edit Source
Command+Down Arrow View Source
Command+]/Command+[ Move to code block end/start
Option+Up Arrow/Option+Down Arrow Go to Previous/Next Method
Command+Y Open Quick Definition Lookup

▲ up

minusplus7. Compile and Run
Command+Shift+X Run Command Line
Ctrl+F10 Run
Ctrl+F9 Debug
Ctrl+Shift+R/Ctrl+Shift+D Run Context editor from Editor

▲ up

minusplus8. Usage Search
Command+F7 Find Usage in File
Option+F7 Find Usage
Command+Shift+F7 Highlight Usage in File
Command+Option+F7 Show Usage

▲ up

minusplus9. VCS/Local History
Command+K Commit Project to VCS
Command+T Update Project from VCS
Option+Shift+C View Recent Changes
Ctrl+V VCS Operations Popup

▲ up

minusplus10. Live Template/Snippets
Command+J Insert Live Template
eco echo' Statement
fore foreach(iterable_expr as $value){…}
forek foreach(iterable_expr as $key=>$value){…}
inc/inco "include"/"include_once" statement
prif private function
prof protected function
pubf public function
rqr/rqro "require"/"require_once" statement

▲ up


Uploaded by rank17, updated on 5/10/2017