Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 307 Bytes

format-on-save-in-goland.org

File metadata and controls

8 lines (5 loc) · 307 Bytes

Format on save in Goland

If you use Goland, you most likely want to format on save, here’s how:

  1. Open Settings and go to Tools -> Filewatchers
  2. Click + and choose either gofmt or goimports (whatever you prefer)

That’s it! This should be the default in my opinion.