Create custom inspections

Last modified: 21 October 2024

To create a custom inspection, you have to configure a search and replace templates. The IDE will search for code that matches the template and will highlight it in the editor.

After that, your custom inspection is going to appear in the list of inspections of the current profile under the Structural search category. There, you can change its severity and the scope in which this inspection will run.

Note that the Structural search category is not available until you create at least one custom inspection.

Custom inspection shown in the list of inspections

When your inspection is ready, you can run it.