Phpstorm Cheat Sheet

Default macOS Keymap Refactoring F5/F6 Copy/Move Delete Safe Delete F6 Rename N Inline Variable M/V/F/C Extract Method/Variable/Field/Constant. PhpStorm has a wealth of various language plugins. I, for one, make heavy use of the Dart plugin for PhpStorm. This isn’t the type of plugin I’d like to talk about, though – there’s a. WebStorm / PhpStorm Mac cheat sheet of all shortcuts and commands.

Misc

Editing

Show intention actions and quick-fixes

  • Alt
  • Enter

Parameter info (within method call arguments)

  • Ctrl
  • P

Brief Info

  • Ctrl
  • (mouse over code)

Generate code.. (Getters, Setters, Constructors)

  • Alt
  • Insert

Implement methods

  • Ctrl
  • I

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

  • Ctrl
  • Alt
  • T

Comment/uncomment with block comment

  • Ctrl
  • Shift
  • /

Decrease current selection to previous state

  • Ctrl
  • Shift
  • W

Auto-indent line(s)

  • Ctrl
  • Alt
  • I

Delete line at caret

  • Ctrl
  • Y

Smart line join (HTML and JavaScript only)

  • Ctrl
  • Shift
  • J

Smart line split (HTML and JavaScript only)

  • Ctrl
  • Enter

Toggle case for word at caret or selected block

  • Ctrl
  • Shift
  • U

Select till code block end

  • Ctrl
  • Shift
  • ]

Delete to word start

  • Ctrl
  • Backspace

Close active editor tab

  • Ctrl
  • F4

Debugging

Phpstorm cheat sheet download

Step into

  • F7

Evaluate expression

  • Alt
  • F8

Toggle breakpoint

  • Ctrl
  • F8

Running

Debug

  • Shift
  • F9

Run command line

  • Ctrl
  • Shift
  • X

Search/Replace

Find next

  • F3

Find/Replace in path

  • Ctrl
  • Shift
  • F/R

Usage Search

Find usages in file

  • Ctrl
  • F7

Show usages

  • Ctrl
  • Alt
  • F7

Navigation

Go to file

  • Ctrl
  • Shift
  • N

Go to line

  • Ctrl
  • G

Go to editor (from tool window)

  • Esc

Navigate back/forward

  • Ctrl
  • Alt
  • Left/Right

Select current file or symbol in any view

  • Alt
  • F1

Go to implementation(s)

  • Ctrl
  • Alt
  • B

Go to type declaration

  • Ctrl
  • Shift
  • B

Go to previous/next method

  • Alt
  • Up/Down
Pdf

Next highlighted error

  • F2

Edit/view source

  • F4

Refactoring

Safe delete

  • Alt
  • Delete

Inline variable

  • Ctrl
  • Alt
  • N

Extract Method/Variable/Field/Constant

  • Ctrl
  • Alt
  • M/V/F/C

Refactor This (shows all available refactorings)

  • Ctrl
  • Alt
  • Shift
  • T

VCS/Local History

Commit project to VCS

Network speed test

  • Ctrl
  • K

View recent changes

  • Alt
  • Shift
  • C

General

Phpstorm Cheat Sheet Download

Find Action

  • Ctrl
  • Shift
  • A

Toggle full screen mode

  • Ctrl
  • Alt
  • F11

Add to Favorites

  • Alt
  • Shift
  • F

Inspect current file with current profile

  • Alt
  • Shift
  • I

Switch between tabs and tool window

  • Ctrl
  • Tab

Live Templates/Snippets

'echo' statement

  • eco

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

  • forek

private function

  • prif

Phpstorm Cheatsheet Mac

public function

Cheat Sheet Terraria

  • pubf