GoLand
 
Get GoLand
You are viewing the documentation for an earlier version of GoLand.

Get results and fix problems

Last modified: 23 August 2023

If an inspection has detected a problem in your code, you can quickly apply a fix in the editor. Place the caret at the highlighted piece of code and press AltEnter.

GoLand shows an interactive preview next to the quick-fix for some inspections. You can hide and show this preview by pressing Ctrl0Q.

Applying a quick-fix in the editor