IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Generate custom code constructs using live templates

Last modified: 11 February 2024

IntelliJ IDEA provides a multitude of predefined live templates for many common code constructs. You can also define custom templates to cover use cases specific to your workflow.

You can also wrap fragments of code using surround templates.