de.idetools.filename_template Filename Template IDE Tools Create new files based on filename templates.

Getting Started

Usage

  1. Settings -> Tools -> Filename Template
  2. Configure filename templates
  3. Create new file: New -> Template name
  4. Complete the file name with return

Filename Template Configuration

Active
Only active filename templates will be shown in the menu.
Name
The name will be shown in the menu.
Description
The description will be shown in the status bar when hovering the menu entry.
Template

The processed template where all place holders have been replaced with actual values is used as basis for the filename in the New File popup.


A template might contain following place holders:

{DATE:FORMAT}
The formatted date. If the format is omitted "yyyy-MM-dd" is used by default.
See the java documentation for supported patterns: Patterns for Formatting and Parsing
{EPOCH}
The current unix time stamp: Seconds since the Unix Epoch on January 1st, 1970 at UTC.
{HOST}
The computers hostname.
{PROJECT}
The name of the current project.
{USER}
The username of the user running the IDE.
{###}
The first available sequential number. Define the initial value and desired leading zeros in the template. Example: notes({042}).md => notes(042).md, notes(043).md, ...
{|}
The caret position. If omitted the caret is positioned before the first '.' if available or at the end.

Features

Inspired by ConfigurableFilename

]]>
com.intellij.modules.platform