Meeting notes often start with the same headings even though the topic changes from one meeting to the next. In IntelliJ IDEA on the Linux desktop, a file template puts that starter text into each new file you create from it.
A custom variable such as ${MEETING_TOPIC} gives the New dialog a field for text that changes each time. IntelliJ IDEA puts the value you enter in place of the variable when it creates the file.
The Default scheme makes a personal template available in the other projects you open in the same IDE. Each generated file is an ordinary file you can edit independently.
Steps to create a file template in a JetBrains IDE:
Start with an open, trusted project and the Project tool window visible. As in a new installation, IntelliJ IDEA shows its main menu under the Main Menu button in the window header. The screenshots show the meetings project in ~/IdeaProjects.
- Open Settings with
Ctrl+Alt+S.
If the empty editor shows a Junie installation offer, you can open Settings while the offer is visible.
- Expand Editor in the sidebar if its entries are hidden.

- Select File and Code Templates under Editor.

- Switch to the Files tab if another tab is active.

- Open the Scheme list if it shows Project.

- Press
Up Arrowto highlight Default if the Scheme list is open.
- Press
Enterif Default is highlighted in the open Scheme list.
- Click the + button above the template list on the Files tab in the Default scheme.

- Replace
Unnamedin Name with an unused template name such asMeeting Notes.
- Press
Tabto focus Extension.
- Replace the selected extension with
txt.
- Click the blank template body below File name.
The optional File name field stays empty so the IDE asks for a name each time.
- Enter the following line in the template body.
Topic: ${MEETING_TOPIC} - Click OK in Settings to save the template.

- Select the destination folder in Project, such as the
meetingsproject root.
- Click Main Menu in the upper-left corner.

- Open New in the File menu.

- Select your template by name from New.

- Enter an unused base name such as
release-meetingin File name.
The template supplies the
.txtextension. - Press
Tabto focus MEETING TOPIC.
- Enter your meeting topic in MEETING TOPIC, such as
Release planning.
- Click OK to create the file.

- Confirm that the first line of the new
.txtfile in the editor readsTopic:followed by the value you entered, such asTopic: Release planning.