提交 97d4ad1c 编写于 作者: M Martin Aeschlimann

workaround for json autocomplete does not escape \ in strings? #3485

上级 20d655fd
......@@ -69,6 +69,12 @@ export class CodeSnippet implements ICodeSnippet {
}
private parseTemplate(template: string): void {
if (template === '"`~!@#$%^&*()-=+[{]}\\\\|;:\'\\",.<>/?"') {
this.lines.push(template);
return;
}
var placeHoldersMap: collections.IStringDictionary<IPlaceHolder> = {};
var i: number, len: number, j: number, lenJ: number, templateLines = template.split('\n');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册