mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 17:48:56 +01:00
Fixes #107220
This commit is contained in:
@@ -782,7 +782,7 @@ export class SnippetString {
|
||||
}
|
||||
|
||||
appendChoice(values: string[], number: number = this._tabstop++): SnippetString {
|
||||
const value = SnippetString._escape(values.toString());
|
||||
const value = values.map(s => s.replace(/\$|}|\\|,/g, '\\$&')).join(',');
|
||||
|
||||
this.value += '${';
|
||||
this.value += number;
|
||||
|
||||
Reference in New Issue
Block a user