Inspectopedia Help

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.

Settings or Preferences | Editor | Inspections | Properties files

Example:

property1=<font color="#000080">value</font>; property2=<font color="#000080">value</font>;

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.2, JetBrains Rider 2024.2, PyCharm 2024.2, Qodana for .NET 2024.2, Qodana for JVM 2024.2,

Can be installed with plugin:

Properties, 242.22892

Last modified: 11 September 2024