Qodana 2024.2 Help

New in version 2024.2

Version 2024.2 of Qodana contains several linter and inspection updates.

Linter updates

Native mode of Qodana is now available on Linux, macOS and Microsoft Windows for Java, Kotlin, and Groovy, Python, PHP, JavaScript and TypeScript, Golang, and .NET (only the Qodana for .NET linter) projects.

The Qodana for .NET linter now supports the quick-fix feature.

The Qodana for C/C++ linter can now run various Clang versions. By default, the latest version employs Clang 16.0.0, but you can select the version in the range between 15 and 18 of Clang.

Inspection updates

The Qodana for PHP linter can by default analyze JavaScript and TypeScript projects like Qodana for JS.

The Qodana for Android and Qodana Community for Android linters now support the Android Lint inspections. These inspections let you analyze projects from Android-related perspective to improve such aspects as performance, security and bug fixing.

The JVM-based linters provide the inspection that finds typos while comparing two object fields. Sometimes such typos could be difficult to find, but they could lead to probable bugs, for example:

boolean comparePoints(Point p1, Point p2) { return p1.getX() == p2.getX() && p1.getY() == p1.getY(); }

The new inspection can find typos in such comparisons of values and report them.

Finally, version 2024.2 of Qodana introduces the HardcodedPasswords inspection that detects hard-coded passwords and covers the JavaScript and TypeScript, Java, Kotlin, and Groovy, PHP, Golang, Python, C#, JSON, YAML, and XML languages. For more information, see the Detect hard-coded passwords use case.

Last modified: 25 September 2024