diff options
Diffstat (limited to 'src/vs/editor')
-rw-r--r-- | src/vs/editor/contrib/snippet/common/snippet.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vs/editor/contrib/snippet/common/snippet.ts b/src/vs/editor/contrib/snippet/common/snippet.ts index 90d052f61de..f95eaa51214 100644 --- a/src/vs/editor/contrib/snippet/common/snippet.ts +++ b/src/vs/editor/contrib/snippet/common/snippet.ts @@ -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'); |