GoLand: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 16: Line 16:


=Turn Off "Optimize Imports oh the Fly"=
=Turn Off "Optimize Imports oh the Fly"=
<font color=darkkhaki>Does not seem to work, must be set somewhere else.</font>
Preferences → Go → Imports → Uncheck "Optimize imports on the fly"
Preferences → Go → Imports → Uncheck "Optimize imports on the fly"

Revision as of 21:16, 28 September 2023

Internal

Overview

Building

Also see:

Building Packages

Module-Aware or GOPATH Mode

Module-aware mode is turned on by default.

To turn it off: Preferences → Go → Go Modules → Turn off "Enable Go modules integration".

Then set the correct GOPATH in Preferences → Go → GOPATH → Project GOPATH.

For more details see:

Module-Aware or GOPATH Mode

Turn Off "Optimize Imports oh the Fly"

Does not seem to work, must be set somewhere else.

Preferences → Go → Imports → Uncheck "Optimize imports on the fly"