Basic Code Completion

Code completion that helps you get the job done

Basic completion provides a list of all symbols available at the current caret position.

The list will include the usual mix of type, interface, and method names, keywords, and also Live Templates.

Symbols from not-yet-imported packages are also offered, with autoimport on-the-fly when you select them.

How to use:

Basic completion pops up as you start typing code and GoLand recognizes an opportunity to complete something for you, but you can invoke it anytime by pressing ⌃␣ (macOS) / Ctrl+Space (Windows/Linux).

Pro tip:

Basic Code Completion is also available for non-English symbols.


Related Resources

Code vision
Focus on your code while getting additional information about it.
Handle Go errors by using a Postfix Completion
Keep writing code as you would and use the Postfix Completion to generate the boilerplate
Better time format in completion
Use the commonly known date/time formatting strings while writing time formatting in Go