From f0281ddc2d14d4051c15786464f06390749689a9 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Mon, 25 Sep 2017 23:10:30 +0200 Subject: [PATCH] [ts] invalid tab characters in snippets --- extensions/typescript/snippets/typescript.json | 8 ++++---- extensions/typescript/snippets/typescriptreact.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/extensions/typescript/snippets/typescript.json b/extensions/typescript/snippets/typescript.json index 541be5a4223..7dd7b5173d3 100644 --- a/extensions/typescript/snippets/typescript.json +++ b/extensions/typescript/snippets/typescript.json @@ -56,7 +56,7 @@ "body": [ "", "public get ${1:value}() : ${2:string} {", - " ${3:return $0}", + "\t${3:return $0}", "}", "" ], @@ -76,10 +76,10 @@ "", "private _${1:value} : ${2:string};", "public get ${1:value}() : ${2:string} {", - " return this._${1:value};", + "\treturn this._${1:value};", "}", "public set ${1:value}(v : ${2:string}) {", - " this._${1:value} = v;", + "\tthis._${1:value} = v;", "}", "" ], @@ -119,7 +119,7 @@ "body": [ "", "public set ${1:value}(v : ${2:string}) {", - " this.$3 = v;", + "\tthis.$3 = v;", "}", "" ], diff --git a/extensions/typescript/snippets/typescriptreact.json b/extensions/typescript/snippets/typescriptreact.json index f13862df628..253f4e44fea 100644 --- a/extensions/typescript/snippets/typescriptreact.json +++ b/extensions/typescript/snippets/typescriptreact.json @@ -59,7 +59,7 @@ "body": [ "", "public get ${1:value}() : ${2:string} {", - " ${3:return $0}", + "\t${3:return $0}", "}", "" ], @@ -79,10 +79,10 @@ "", "private _${1:value} : ${2:string};", "public get ${1:value}() : ${2:string} {", - " return this._${1:value};", + "\treturn this._${1:value};", "}", "public set ${1:value}(v : ${2:string}) {", - " this._${1:value} = v;", + "\tthis._${1:value} = v;", "}", "" ], @@ -122,7 +122,7 @@ "body": [ "", "public set ${1:value}(v : ${2:string}) {", - " this.$3 = v;", + "\tthis.$3 = v;", "}", "" ], -- GitLab