GoLand 2023.2 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 Control+Alt+S.

Inspection

Description

Default Severity

Ignore file duplicates

Reports duplicate entries (patterns) 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: 21 March 2023