GoLand
 
Get GoLand
Because GoLand 2025.1 is still in development, this documentation may not be entirely accurate and is subject to change.

Live templates

Last modified: 26 February 2025

Use live templates to insert common constructs into your code, such as loops, conditions, declarations, or print statements.

To expand a code snippet, type the corresponding template abbreviation and press Tab. Keep pressing Tab to jump from one variable in the template to the next one. Press ShiftTab to move to the previous variable.

Consider the following example of the Hello World program that is coded with Live Templates.