Inspectopedia Help

Local variable naming convention

Reports local variables whose names are too short, too long, or do not follow the specified regular expression pattern.

Use the fields provided below to specify minimum length, maximum length and regular expression expected for local variables names.

Regular expressions should be specified in the standard java.util.regex format.

Inspection options

Here you can find the description of settings available for the Local variable naming convention inspection, and the reference of their default values.

Pattern

[a-z][A-Za-z\d]*

Min length

4

Max length

32

Inspection Details

By default bundled with:

IntelliJ IDEA 2024.1, Qodana for JVM 2024.1,

Can be installed with plugin:

Groovy, 241.16690

Last modified: 29 April 2024