PhpStorm 2016.2 Help

Configuring Intention Actions

On this page:

Introduction

PhpStorm makes it possible to configure intention action settings either in the Intentions page of the Settings/Preferences dialog, or "on-the-fly".

By default, all available intention actions that ship with PhpStorm, are enabled. By changing the Intention settings, you can disable the actions that are not required for your current working environment.

Configuring intention settings using the Settings/Preferences dialog

To configure intention settings using the Settings/Preferences dialog

  1. Open the Settings / Preferences Dialog by pressing Ctrl+Alt+S or by choosing File | Settings for Windows and Linux or PhpStorm | Preferences for OS X, and click Intentions under Editor.
  2. In the Intentions page, clear the check boxes of the intention actions or action categories that you do not currently need.

    Selecting or clearing a category affects all intention actions in this category.

  3. Apply changes and close the dialog.

Configuring intentions on-the-fly

To configure intention settings on-the-fly

  1. In the editor, press Alt+Enter to reveal the inspection alert and suggestion list.
  2. Select the action to be disabled, then click right arrow button or just press the right arrow key.
  3. On the submenu, choose Disable <intention action name>.

See Also

Reference:

Last modified: 24 November 2016