A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://plugins.jetbrains.com/docs/intellij/live-templates-configuration-file.html below:

Live Templates Configuration File | IntelliJ Platform Plugin SDK

Live Templates Configuration File

This page lists and describes all the elements and attributes used in live templates configuration files.

Configuration Structure Overview

Elements described on this page are available in quick documentation since IntelliJ IDEA 2025.1.

The Plugin DevKit plugin must be installed and enabled.

templateSet

The live templates file root element.

Required

yes

Attributes
Children
template

Describes a template.

Required

no

Attributes
Children
variable

Defines a variable to be used in the template value. A single template can provide multiple variables.

The order of the variables determines the order in which the IDE will switch between the corresponding input fields when the template is expanded.

Required

no

Attributes
Examples
context

Defines a mapping of a context type (for example, a Java method, a Markdown file) to applicability of the template in this context type.

Required

no

Children
Example

<context> <option name="JAVA_CODE" value="true"/> <option name="JAVA_COMMENT" value="false"/> <option name="JAVA_STRING" value="false"/> </context>

option

An entry specifying whether a given context type defined by the name attribute is applicable for the template.

Required

no

Attributes

If a topic is not covered in the above sections, let us know via the Was this page helpful? feedback form below or other channels.

Be specific about the topics and reasons for adding them and leave your email in case we need more details. Thanks for your feedback!

19 March 2025


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4