GoLand 2020.3 Help

Code Inspections in Version control

This topic lists all GoLand code inspections available in Version control.

You can toggle specific inspections or change their severity level on the Editor | Inspections page of the Settings/Preferences Ctrl+Alt+S.

InspectionDescriptionDefault Severity
Ignore file duplicates

Checks if an entry (pattern) is duplicated in the ignore file (e.g. .gitignore, .hgignore). Duplicate entries in these files are redundant and can be removed.

Example:

# Output directories /out/ /target/ # Output directories /out/ /target/ /out/

Warning Warning
Last modified: 08 March 2021