From fc8b56a966b2df75676158ea4e6b9477d2d033a8 Mon Sep 17 00:00:00 2001 From: Milo Moisson <43814157+MrNossiom@users.noreply.github.com> Date: Sat, 20 Jun 2020 18:26:14 +0200 Subject: [PATCH] Update logging Remove enter after console.log/warn/error. Really ennoying... --- extensions/javascript/snippets/javascript.code-snippets | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/extensions/javascript/snippets/javascript.code-snippets b/extensions/javascript/snippets/javascript.code-snippets index 5da4ebe0c1883..fc892b57e921f 100644 --- a/extensions/javascript/snippets/javascript.code-snippets +++ b/extensions/javascript/snippets/javascript.code-snippets @@ -173,8 +173,7 @@ "Log to the console": { "prefix": "log", "body": [ - "console.log($1);", - "$0" + "console.log($1);" ], "description": "Log to the console" }, @@ -182,7 +181,6 @@ "prefix": "warn", "body": [ "console.warn($1);", - "$0" ], "description": "Log warning to the console" }, @@ -190,7 +188,6 @@ "prefix": "error", "body": [ "console.error($1);", - "$0" ], "description": "Log error to the console" }