This key defines the end token for object boundaries when parsing snippet parameters.
The value is a string that specifies the token that marks the end of an object in snippet parameter parsing. This works together with object_boundary.start to define paired tokens that enclose objects.
Appears in
└── Snippet Format
└── object_boundary
└── endType
string
Default value
Examples
In this example, we have configured object boundaries to use curly braces.
Copied to clipboard
_snippets:
example:
snippet: <<example [[param]]>>
params:
param:
parser: argument
options:
format:
object_boundary:
start: '{'
end: '}'{
"_snippets": {
"example": {
"snippet": "<<example [[param]]>>",
"params": {
"param": {
"parser": "argument",
"options": {
"format": {
"object_boundary": {
"start": "{",
"end": "}"
}
}
}
}
}
}
}
}