💡PhpStorm

The Basics

Current
  • shift + shift - find all and everything

  • cmd + f - find files

  • cmd + g or cmd + shift + g - find symbols accuracity

  • cmd + a - find actions

  • cmd + e - open recent files

  • cmd + s - open file structure

  • cntr + cmd + shift + f - open recent files

  • cntrl + shift + f - open files

  • cntrl + h - go to previous splitter window

  • cntrl + l - go to next splitter window

  • cntrl + s or cmd + 3 - open terminal

  • opt + j - go to previous file in tab

  • opt + k - go to the next file in tab

  • cmd + / or cmd + shift + / - comment code

Customizations:

  • Cpap - copy absolute path

  • Cpp - copy path

Git integration:

  • Gbl - git blame

  • Gnc - next changes

  • Gpc - previous changes

  • Gp - previous changes for line

Surround:

  • opt + cmd + t - surround code

  • cmd + shift + d - unwrap/remove surrounde code

Tree:

  • cmd + shift + g - find symbols in folder

  • cmd + shift + r - replace symbols in folder

  • shift + 6 - rename file/folder

  • cntr + a - create a new file/folder

Refactoring:

  • cntr + shift + t - all of refactoring

  • shift + 6 - rename text

  • cmd + opt + m - outline to function

  • cmd + opt + n - inline variable

  • cmd + opt + v - outnline variable

LSP:

  • cmd + b - go inside of function or where it used

  • cmd + [ - jump back

  • cmd + ] - jump forward

  • shift + k - show quick documentation

  • opt + enter - show solutions (for example import)

Tests:

  • cntr + opt + r - run test

  • cntr + 4 - open running console


Vim:

  • cntr + 6 - switch between buffers files

  • sp - split files horizontal

  • vs - split files vertical

(Old) before neovim
  • cmd + , - open settings

  • cmd + - - Hide

  • cmd + 1 - open Projects

  • cmd + 2 - open Remote Host

  • cmd + 3 - open Terminal

  • cmd + = - Not hide

  • cmd + b - go inside into method

  • cmd + f - find in file

  • cmd + opt + m - outline to function

  • cmd + opt + n - create new branch from current

  • cmd + opt + n - inline variable

  • cmd + up - structure of folder

  • cmd + w - Close file

  • cmd + y - file structure

  • opt + j - go to previous file in tab

  • opt + k - go to the next file in tab

  • opt + p - find file

  • opt + shift + 1 - toggle status bar

  • cntr + q - quit phpstorm

  • cntr + shift + g - start ssh session

  • cntr + shift + n - Toggle number lines

  • cntr + shift + q - close current project

  • shift + shift - open finder to find all files and settings in phpstorm

To disable all new view of comments => Editor -> Reader Mode -> rendered documentation comments

Features

Git Stash

In IDE you can use git stash changes and git unstash changes

Find in menu bar: Git -> Uncommited Changes

Last updated