New Inspections in This Release
C#
Name | Description |
---|---|
Reports methods, classes and files whose coverage is below a certain threshold. |
CSS
Name | Description |
---|---|
Reports a discrepancy detected by the W3C CSS Validator. |
Dockerfile
Name | Description |
---|---|
Reports duplicated stage names in FROM .. | |
Reports missing exec in the shell form of ENTRYPOINT command. |
Dotenv
Name | Description |
---|---|
Detects instances where nested variables are used outside of double quotes in `.env` files and might not be parsed correctly. | |
Detects instances where nested variables in `.env` files are accessed without being defined or initialized elsewhere within the project's scope. | |
Highlights instances where a nested variable in a `.env` file is defined but left empty or blank, helping developers identify potentially problematic or incomplete configurations. |
Gotemplate
Name | Description |
---|---|
Reports excessive whitespace trims in Go template expressions. |
HCL
Name | Description |
---|---|
Reports conflicting properties in an HCL block. | |
Reports deprecated blocks or properties. | |
Reports duplicate outputs. | |
Reports duplicate properties inside one block. | |
Reports duplicate providers. | |
Reports duplicate variables. | |
Reports old style HCL expressions and suggests converting them to HCL2 expressions. | |
Reports illegal interpolations. | |
Reports errors in vars files. | |
Reports incorrect variable type. | |
Reports invalid block labels or incorrect number of labels according to the schema. | |
Reports string and number invalid literals. | |
Reports blocks with missing required properties. | |
Reports if terraform was not initialized in the current working directory. | |
Reports suboptimal HCL2 expressions and suggests simplifications. | |
Reports blocks with an unknown type (first literal). | |
Detects non-existing encryption key providers references in OpenTofu encryption block configuration. | |
Detects non-existing encryption methods references in OpenTofu encryption block configuration. | |
Reports unknown properties in blocks. | |
Detects resources/datasources that cannot be resolved against known providers. | |
Reports unresolved modules and suggests running terraform get to update the modules. | |
Reports unused variables, locals, and data sources in a Terraform module and provides a quick-fix to remove them. |
HIL
Name | Description |
---|---|
Reports operations incorrect argument types. | |
Reports usage of unavailable scopes, e.g. | |
Reports unknown (non-used in module) resource type usage. |
Htmlcompatible
Name | Description |
---|---|
Reports illegal access to the template variable within @for loop track expression. |
Http request
Name | Description |
---|---|
Detects '+' in an encoded query string. | |
Highlights already defined import. |
JVM
Name | Description |
---|---|
Reports actions, action groups and other ActionUpdateThreadAware classes that do not explicitly state their mode. | |
Reports plugin components and actions that are not registered in a plugin.xml descriptor. | |
Reports extension classes that are non-final or public. | |
Reports extension implementation being additionally registered as a service/component. | |
Reports inspections that are missing an HTML description file, i.e. | |
Reports intentions that are missing an HTML description file, before.template file or after.template file. | |
Reports JComponent classes implementing incorrect data provider interface. | |
Reports classes annotated with the @com.intellij.openapi.components.Service annotation that are not final. | |
Reports listener implementations that implement com.intellij.openapi.Disposable. | |
Reports mismatches between light service levels and its constructors. | |
Reports postfix templates missing an HTML description file, before.template file or after.template file. |
Java
Name | Description |
---|---|
Reports when a @Language annotation is applied to an element with a type other than String or String[]. | |
Allows viewing the problems reported by the Java annotator: compilation problems, unresolved by IDEA references, and so on. | |
Reports unresolved references in Java code. | |
Reports when the language of a reference does not match the expected language of the usage context. | |
Reports when a method without any @Pattern annotation overrides a @Pattern annotated method. | |
Reports when a @Pattern annotation is applied to an element with a type other than String. | |
Reports when the ID of the language used in a @Language annotation is unknown. | |
Using PsiElement string representation to generate new expression is incorrect | Reports direct usage of PsiElement and PsiType in strings. |
Reports expressions passed as arguments for @Pattern parameters and returned from @Pattern-annotated methods that do not match the specified pattern. |
Json
Name | Description |
---|---|
Checks nested .devcontainer folders with ambiguous Dev Container context or a missing parent .devcontainer folder where it is needed. | |
Reports unknown inspection ids in metaInformation.json files. | |
RIDER-83134. |
Kotlin
Name | Description |
---|---|
Reports incorrect companion objects' usage in extensions. | |
Reports inappropriate usages of methods in Kotlin coroutines, which uses threading context (annotated with @RequiresBlockingContext). | |
Reports absent of implementation for the entity. | |
Reports Kotlin objects that are registered as plugin extensions. | |
Reports unresolved references in Kotlin code. | |
Reports existence of the obsolete implementation for the entity. | |
Detects unsupported var fields in the inheritors of WorkspaceEntity interface Interface implementing WorkspaceEntity have to have only val fields because it's immutable. | |
Reports usages of Process.waitFor() and Process.onExit() in coroutine context. |
Msbuild
Name | Description |
---|---|
RIDER-83136. |
Multiple
Name | Description |
---|---|
Check dependencies licenses for possible problems: missing or prohibited licenses, or other compliance issues. | |
Check module licenses for possible problems: missing licenses or other compliance issues. | |
Check project for possible problems: user's third party software list does not match the collected project metadata. | |
Detects potential security tokens or passwords in comments using entropy analysis and regular expressions. | |
Detects Terraform Template files without the standard extension (*.tftpl) that do not have an associated data language and suggests choosing one from the list of possible candidates. | |
Reports unresolved references. | |
Reports vulnerabilities in Gradle and Maven dependencies imported into your project. |
PHP
Name | Description |
---|---|
Call of this function may be unsafe. | |
Global taint analysis inspection. |
Properties
Name | Description |
---|---|
Reports the following MessageFormat problems in property values: Unknown format types MessageFormat supports only these format types: number date time choice Other format types will be reported. |
Python
Name | Description |
---|---|
Reports methods, classes and files whose coverage is below a certain threshold. | |
Highlights inconsistent return statements in functions. | |
Reports invalid definition and usage of Enum. | |
Reports invalid usages of NewType. | |
Reports attempts to access PySpark DataFrame columns that do not exist in the schema. | |
Checks typing.assert_type(val, typ, /) calls and reports cases when val's inferred type is not typ. |
SQL
Name | Description |
---|---|
Reports temporary tables creation not in the single-session mode. |
Tftpl
Name | Description |
---|---|
Reports Terraform Template files with no data language selected. |
UAST
Name | Description |
---|---|
Reports missing or redundant hints in UastHintedVisitorAdapter creation. | |
Reports classes that can be marked as light services using the @com.intellij.openapi.components.Service annotation instead of being registered as services in plugin.xml A service that is not intended for overriding is not required to be registered in the plugin.xml file. | |
Reports Swing components that do not provide accessibility context. | |
Application service assigned to a static final field or immutable property | Reports assignments of application services to static final fields / immutable properties. |
Counts the number of code lines. | |
Calling method should be annotated with @RequiresBlockingContext | Highlights calls of method annotated with @RequiresBlockingMethod inside non-annotated method. |
Reports loops, forEach-like methods, and ContainerUtil.process() with missing cancellation checks. | |
Reports ProcessCanceledException and CancellationException handled incorrectly. | |
Reports methods and classes whose coverage is below a certain threshold. | |
Reports incorrect registration of plugin components (Actions and Components). | |
Reports any actions that are registered in the plugin.xml file and instantiate the com.intellij.openapi.actionSystem.Presentation object in their constructors. | |
Reports fields in LocalQuickFix and IntentionAction implementations that prevent intention preview action from functioning properly. | |
Reports usages of java.io.File.equals()/hashCode()/compareTo() methods. | |
Reports using Application or Project as a parent Disposable in plugin code. | |
Reports the following problems when retrieving services: Attempts to retrieve an unregistered service. | |
Reports invalid and deprecated value for icon attribute in com.intellij.ide.presentation.Presentation annotation. | |
Reports using Language or FileType as a map key in plugin code. | |
Reports createOptionsPanel() methods in inspection implementation, which can be automatically converted to getOptionsPane(). | |
Reports non-default constructor in serializable classes. | |
Reports extension/service class having a non-default (empty) constructor. | |
Reports TokenSet field declarations referencing non-platform element types in ParserDefinition classes. | |
Reports read/write actions and invokeAndWait called from the scope of service initialization: service constructors and initialization blocks (including static) service companion object's initialization blocks (Kotlin) service methods used in initialization blocks and fields initialization PersistentStateComponent initialization lifecycle methods: loadState noStateLoaded initializeComponent Running a read/write action or calling invokeAndWait during service initialization may cause deadlocks. | |
QuickFix's getFamilyName() implementation must not depend on a specific context | Reports QuickFix.getFamilyName() using contextual information. |
Reports service getting calls that can be replaced with a calls to an existing static getInstance() or getInstance(Project) methods. | |
Reports extensions and quick-fixes holding potentially leaking state. | |
Reports static initialization in extension point implementations. | |
Reports threading and concurrency issues in code using information from com.intellij.util.concurrency.annotations annotations. | |
Reports usage of UAST UElement as PsiElement. | |
Reports usages of undesirable classes (mostly Swing components). | |
Reports unresolved references to plugin configuration elements. | |
Reports usage of VirtualFile.getChildren() inside recursive methods. | |
Reports unsafe use of JavaRecursiveElementVisitor.visitReturnStatement(). | |
Reports passing unspecified place parameter for ActionManager.createActionToolbar() and ActionManager.createActionPopupMenu(). | |
Reports usages of IntelliJ Platform API introduced in a version newer than the one specified in <idea-version> @since-build in plugin.xml. | |
Reports comparing PluginId instances using ==. | |
Reports comparing PsiPrimitiveType instances using ==. | |
Reports comparing VirtualFile instances using ==. | |
Reports usages of javax.swing.border.EmptyBorder and JBUI.Borders.emptyXyz() that can be simplified. | |
Reports usages of java.awt.Insets and JBUI.insetsXyz() that can be simplified. | |
Reports usages of java.awt.Color. | |
Reports usages of java.awt.Color to create gray colors. |
XML
Name | Description |
---|---|
Reports extensions which are instantiated by the IntelliJ Platform, but are declared as Kotlin objects. | |
Reports hardcoded text in live template description. | |
Reports missing plugin logo. | |
Reports dynamic plugin problems. | |
Reports problems with extension registration in plugin.xml. | |
Reports hardcoded texts in plugin.xml. | |
Reports text capitalization problems in plugin.xml. | |
Reports problems in plugin.xml. |
Yaml
Name | Description |
---|---|
Detects duplicated job usages in GitLab CI/CD Configuration file. | |
Reports erroneous relations in Docker Compose files. | |
Detects unresolved job references in GitLab CI/CD Configuration file. | |
Detects unresolved stage references in GitLab CI/CD Configuration file. |