This key defines the editor key for repeating literal parser configurations.
The value is a string that specifies the key name of an input to use for editing the repeating literal value.
Appears in
└── Snippet
└── params
└── *
└── Repeating Literal Parser Config
└── options
└── editor_keyType
string
Examples
In this example, we have configured an editor key for repeating literal parser.
Copied to clipboard
_snippets:
example:
snippet: <<example [[literal_param]]>>
params:
literal_param:
parser: repeating_literal
options:
literal: separator
default: 1
editor_key: separator_count{
"_snippets": {
"example": {
"snippet": "<<example [[literal_param]]>>",
"params": {
"literal_param": {
"parser": "repeating_literal",
"options": {
"literal": "separator",
"default": 1,
"editor_key": "separator_count"
}
}
}
}
}
}