From f8217340ad6f83ca585c412128f61f4b643d35e8 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Thu, 30 Nov 2017 12:11:21 +0100 Subject: [PATCH] [php] folding snippets --- extensions/php/package.json | 2 +- .../php/snippets/{php.json => php.snippets.json} | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) rename extensions/php/snippets/{php.json => php.snippets.json} (95%) diff --git a/extensions/php/package.json b/extensions/php/package.json index 7d4eb5204e3..6954ae5c661 100644 --- a/extensions/php/package.json +++ b/extensions/php/package.json @@ -53,7 +53,7 @@ "snippets": [ { "language": "php", - "path": "./snippets/php.json" + "path": "./snippets/php.snippets.json" } ], "configuration": { diff --git a/extensions/php/snippets/php.json b/extensions/php/snippets/php.snippets.json similarity index 95% rename from extensions/php/snippets/php.json rename to extensions/php/snippets/php.snippets.json index 24a4426a54a..4ae37b3a6e0 100644 --- a/extensions/php/snippets/php.json +++ b/extensions/php/snippets/php.snippets.json @@ -234,5 +234,19 @@ "$0" ], "description": "Throw exception" + }, + "Region Start": { + "prefix": "#region", + "body": [ + "#region" + ], + "description": "Folding Region Start" + }, + "Region End": { + "prefix": "#endregion", + "body": [ + "#endregion" + ], + "description": "Folding Region End" } } \ No newline at end of file