From d0be636bfd8e1f8371aae84acabe469bc42e5125 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Thu, 30 Nov 2017 11:43:25 +0100 Subject: [PATCH] [css] region snippets --- extensions/css/package.json | 4 ++++ extensions/css/snippets/css.snippets.json | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 extensions/css/snippets/css.snippets.json diff --git a/extensions/css/package.json b/extensions/css/package.json index e404748578a..51f35887735 100644 --- a/extensions/css/package.json +++ b/extensions/css/package.json @@ -43,6 +43,10 @@ "path": "./syntaxes/css.tmLanguage.json" } ], + "snippets": [{ + "language": "css", + "path": "./snippets/css.snippets.json" + }], "configuration": [ { "order": 22, diff --git a/extensions/css/snippets/css.snippets.json b/extensions/css/snippets/css.snippets.json new file mode 100644 index 00000000000..30207dbb525 --- /dev/null +++ b/extensions/css/snippets/css.snippets.json @@ -0,0 +1,16 @@ +{ + "Region Start": { + "prefix": "#region", + "body": [ + "/*#region $0*/" + ], + "description": "Folding Region Start" + }, + "Region End": { + "prefix": "#endregion", + "body": [ + "/*#endregion $0*/" + ], + "description": "Folding Region End" + } +}