General
- Annotator
Reports issues essential to this file (e.g., syntax errors) in the result of a batch code inspection run.
- Duplicated code fragment
Reports duplicated blocks of code from the selected scope: the same file or the entire project.
- Empty directory
Reports empty directories.
- Inconsistent line separators
Reports files with line separators different from the ones that are specified in the project's settings.
- Incorrect formatting
Reports formatting issues that appear if your code doesn't follow your project's code style settings.
- Injected references
Reports unresolved references injected by Language Injections.
- Java annotator
Allows viewing the problems reported by the Java annotator: compilation problems, unresolved by IDEA references, and so on.
- Java sanity
Reports unresolved references in Java code.
- Kotlin sanity
Reports unresolved references in Kotlin code.
- Line is longer than allowed by code style
Reports lines that are longer than the Hard wrap at parameter specified in Settings | Editor | Code Style | General.
- Problematic whitespace
Reports the following problems: Tabs used for indentation when the code style is configured to use only spaces.
- Reassigned to plain text
Reports files that were explicitly re-assigned to Plain Text File Type.
- Redundant suppression
Reports usages of the following elements that can be safely removed because the inspection they affect is no longer applicable in this context: @SuppressWarning annotation, or // noinspection line comment, or /** noinspection */ JavaDoc comment Example: public class C { // symbol is already private, // but annotation is still around @SuppressWarnings({"WeakerAccess"}) private boolean CONST = true; void f() { CONST = false; } }.
- TODO comment
Reports TODO comments in your code.