- Description:
This key defines the delimiter that separates each key-value pair from the next within an object when parsing snippet parameters.
The value is a string that specifies the delimiter token. If required, this will usually be
,.- Appears in:
└── Snippet Format └── object_pair_delimiter- Type:
string- Examples:
In this example, we have configured object pair delimiter to use a comma.
Copied to clipboard_snippets: example: snippet: <<example [[param]]>> params: param: parser: argument options: format: object_boundary: start: '{' end: '}' object_pair_delimiter: ','{ "_snippets": { "example": { "snippet": "<<example [[param]]>>", "params": { "param": { "parser": "argument", "options": { "format": { "object_boundary": { "start": "{", "end": "}" }, "object_pair_delimiter": "," } } } } } } }