PhpStorm 2021.1 Help

Code Inspection: Unused define



This inspections checks for any unused named patterns ("define") in a RELAX-NG file (XML or Compact Syntax) and highlights them as unused symbols. This is done with respect to includes from other files, i.e. a define is not marked as unused if it is used through an include in another file.

Powered by RELAX-NG Support

Suppress an inspection in the editor

  1. Position the caret at the highlighted line and press Alt+Enter or click the Intention action icon.

  2. Click the arrow next to the inspection you want to suppress and select the necessary suppress action.

Last modified: 16 July 2021