- Description:
This key defines the end token for root value boundaries when parsing snippet parameters.
The value is a string that specifies the token that marks the end of a root-level value in snippet parameter parsing. This works together with
root_value_boundary.startto define paired tokens that enclose root-level values.- Appears in:
└── Snippet Format └── root_value_boundary └── end- Type:
string- Default value:
- Examples:
In this example, we have configured root value boundaries to use double square brackets.
Copied to clipboard_snippets: example: snippet: <<example [[param]]>> params: param: parser: argument options: format: root_value_boundary: start: '[[' end: ']]'{ "_snippets": { "example": { "snippet": "<<example [[param]]>>", "params": { "param": { "parser": "argument", "options": { "format": { "root_value_boundary": { "start": "[[", "end": "]]" } } } } } } } }