Live template variables

Last modified: 09 December 2022

Live templates may include variables that can be replaced by different values or used as input fields. For example, when you expand (Tab) the for live template, you can see two highlighted fields with predefined values:

Live template variables in the editor

Both of them are variables defined in the live template. item is a default name for an array element, and pets is the array declared right before the for loop.