GoLand 2024.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 settings  Ctrl+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: 11 February 2024