Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Rieken <johannes.rieken@gmail.com>2018-09-24 16:25:51 +0300
committerJohannes Rieken <johannes.rieken@gmail.com>2018-09-24 16:25:51 +0300
commita5a1f74d0e3d7963f8e4b060f78b00a1dc663504 (patch)
tree4af94065d79cc735137b48d396156fd91c8813b3 /.vscode/shared.code-snippets
parenta981420ed4e494e79a292c96aab31efea5436451 (diff)
add shared snippet file, add copyright header statement
Diffstat (limited to '.vscode/shared.code-snippets')
-rw-r--r--.vscode/shared.code-snippets44
1 files changed, 44 insertions, 0 deletions
diff --git a/.vscode/shared.code-snippets b/.vscode/shared.code-snippets
new file mode 100644
index 00000000000..56087d6cabe
--- /dev/null
+++ b/.vscode/shared.code-snippets
@@ -0,0 +1,44 @@
+{
+ // Each snippet is defined under a snippet name and has a scope, prefix, body and
+ // description. The scope defines in watch languages the snippet is applicable. The prefix is what is
+ // used to trigger the snippet and the body will be expanded and inserted.Possible variables are:
+ // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
+ // Placeholders with the same ids are connected.
+ // Example:
+ "JavaScript, TypeScript Copyright Header": {
+ "scope": "javascript,typescript",
+ "prefix": [
+ "header",
+ "stub",
+ "copyright"
+ ],
+ "body": [
+ "/*---------------------------------------------------------------------------------------------",
+ " * Copyright (c) Microsoft Corporation. All rights reserved.",
+ " * Licensed under the MIT License. See License.txt in the project root for license information.",
+ " *--------------------------------------------------------------------------------------------*/",
+ "",
+ "'use strict';",
+ "",
+ "$0"
+ ],
+ "description": "Insert Copyright Statement"
+ },
+ "CSS Copyright Header": {
+ "scope": "css",
+ "prefix": [
+ "header",
+ "stub",
+ "copyright"
+ ],
+ "body": [
+ "/*---------------------------------------------------------------------------------------------",
+ " * Copyright (c) Microsoft Corporation. All rights reserved.",
+ " * Licensed under the MIT License. See License.txt in the project root for license information.",
+ " *--------------------------------------------------------------------------------------------*/",
+ "",
+ "$0"
+ ],
+ "description": "Insert Copyright Statement"
+ }
+}