New Features in GoLand 2022.2
A selection of useful features from GoLand 2022.2.
For more information about what's new in GoLand 2022.2, check out our What's New Page or browse the tips below.
Check out DataGrip 2022.2 What's New and WebStorm 2022.2 What's New to read all about the new features related to database and modern web development included in GoLand.
Rename Constants That Use Reserved Names
Rename a constant if it uses a name of a built-in constant.
The inspection will be triggered if you try to assign a value to a constant with one of the following names: iota
, true
, or false
. GoLand will suggest you to rename such usages.
Place the cursor on a highlighted constant name, press ⌘⌥⏎ (macOS) / Ctrl+Alt+Enter (Windows/Linux), and select Rename constant. Type a new name and press ⏎ (macOS) / Enter (Windows/Linux).