PhpStorm
 
Get PhpStorm

Extract Method Dialog

Last modified: 17 March 2022

Refactor | Extract | Method

Ctrl+Alt+M

The title of the dialog may change to Extract Function:

  • In the JavaScript context.

  • In the PHP context, when the code selection is made inside a function or a script.