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

File and Code Templates

Last modified: 29 May 2021

File | Settings | Editor | File and Code Templates for Windows and Linux

IntelliJ IDEA | Preferences | Editor | File and Code Templates for macOS

Ctrl+Alt+S the Settings/Preferences icon

Use this page to view, edit, and create file and code templates.

Different groups of templates are located on different tabs.

When you select a template, its contents and description are displayed in the right-hand part of the page.