GoLand 2021.1 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 IDE settings Ctrl+Alt+S.

InspectionDescriptionDefault Severity
Ignore file duplicates

Reports duplicate entries (patters) in the ignore file (e.g. .gitignore, .hgignore). Duplicate entries in these files are redundant and can be removed.

Example:

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

Warning Warning
Last modified: 07 July 2021