Quick-fixes

Quick-fixes

Learn how code can be updated automatically

playlist

Highlights of GoLand 2023.3
Explore key features and enhancements in GoLand 2023.3.

tip

Create a function in another package
Type a non-existing function name and generate its implementation in a package of your choice

tip

Empower your `Printf`-like functions with coding assistance
Provide hints and highlights for message formats in custom `Printf`-like functions

playlist

New Features in GoLand 2023.1
A selection of useful features from GoLand 2022.3.

tip

Vulnerability checker
Analyze your codebase and highlight known vulnerabilities in go.mod

tip

Convert between different types of strings
Convert strings that are surrounded by backticks to double-quoted ones and vice-versa

tip

Intention action to convert integers to strings
Convert an integer to a string by using the `strconv.Itoa()` call

tip

Create inspections with regular expressions
Use regular expressions to create your own search and replace inspections

tip

Implement an interface
Implement unexported interfaces by pressing Ctrl + I

tip

Rename generic receivers along with a generic struct
Rename generic receivers along with a generic struct

playlist

New Features in GoLand 2022.3
A selection of useful features from GoLand 2022.3.

playlist

New Features in GoLand 2022.2
A selection of useful features from GoLand 2022.2.

tip

Rename constants that use reserved names
Rename a constant if it uses a name of a built-in constant.

tip

Group multiple `use` directives in `go.work`
Merge multiple `use` directives in `go.work` into one directive.

tip

Delete a type parameter with an empty parameter list
Type parameters with empty parameter lists are reported as errors, but you have a quick-fix to put it right.