PhpStorm 2020.3 Help

Inline dialogs

The Inline Variable refactoring allows you to replace a redundant variable with its value. See examples.

To access the Inline Variable dialog box through a menu item or the keyboard shortcut, position the cursor at the variable to be inlined.

Inline variable <variable name>? (<the number of variable occurrences>)
Last modified: 23 April 2021