Duplicate property
Reports duplicate property keys with different values, duplicate keys, or duplicate property values.
Locating this inspection
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
DuplicatePropertyInspection- Via Settings dialog
Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.
Example:
The Options list allows selecting the area in which the inspection should search for duplicates.
Inspection options
Here you can find the description of settings available for the Duplicate property inspection, and the reference of their default values.
- Analysis scope
Default setting: File
Other available settings:
Module
Project
- Duplicate values
Default: Selected
- Duplicate keys with different values
Default: Selected
- Duplicate keys
Default: Selected
Inspection Details | |
---|---|
By default bundled with: | IntelliJ IDEA 2024.3, JetBrains Rider 2024.3, PyCharm 2024.3, Qodana for .NET 2024.3, Qodana for JVM 2024.3, |
Can be installed with plugin: | Properties, 243.23126 |