JetBrains Rider 2022.1 Help

Code Inspections in Properties files

This topic lists all JetBrains Rider code inspections available in Properties files.

You can toggle specific inspections or change their severity level on the Editor | Inspection Settings | Inspection Severity | Other Languages page of the IDE settings Ctrl+Alt+S.

Inspection

Description

Default Severity

Duplicate property

Reports duplicate property keys with different values, duplicate keys, or duplicate property values.

Example:

property1=value; property2=value;

The Options list allows selecting the area in which the inspection should search for duplicates.

Disabled

Properties file or resource bundle is alphabetically unsorted

Reports alphabetically unsorted resource bundles or .properties files.

Disabled

Property key/value delimiter doesn't match code style settings

Reports properties in which key or value delimiters do not match code style settings.

Weak Warning Weak warning

Three dot characters instead of the ellipsis

Reports three "dot" characters which are used instead of the ellipsis character for UTF-8 properties files.

Disabled

Trailing spaces in property

Reports all properties whose keys or values end with a whitespace.


Warning Warning

Unused property

Reports all properties that are not referenced from the outside of the .properties file.

Warning Warning

Last modified: 13 May 2022