Qodana
 
You are viewing the documentation for an earlier version of Qodana.

FlexInspect

Edit pageLast modified: 11 July 2024

Starting from version 2024.1 of IntelliJ IDEA, you can develop your own inspections specific to your project using the IntelliJ API and Kotlin under the Ultimate Plus license. You can:

  • Access the PSI representation of the source code.

  • Debug new inspections on the fly.

  • Observe your new custom inspections in action, including the highlighting of code fragments that don't behave as expected.

With FlexInspect, you get access to the same API that is used by all IntelliJ IDEA and Qodana inspections. This allows you to run these inspections on your entire project using Qodana to ensure that your entire team follows the standards defined by you.

You can develop local inspections that run within a file scope and global inspections that run within a project scope as described in the Run Qodana locally section, and you can even inspect your code in CI pipelines. Currently, FlexInspect supports any language covered by IntelliJ IDEA either natively or through additional plugins. For example, Java, Kotlin, JavaScript, TypeScript, PHP, Go, Python, Ruby, SQL, XML, CSS, YAML, JSON, Shell, and Dockerfile are supported.