Skip to content

Commit a5a1f74

Browse files
committed
add shared snippet file, add copyright header statement
1 parent a981420 commit a5a1f74

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

.vscode/shared.code-snippets

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
// Each snippet is defined under a snippet name and has a scope, prefix, body and
3+
// description. The scope defines in watch languages the snippet is applicable. The prefix is what is
4+
// used to trigger the snippet and the body will be expanded and inserted.Possible variables are:
5+
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
6+
// Placeholders with the same ids are connected.
7+
// Example:
8+
"JavaScript, TypeScript Copyright Header": {
9+
"scope": "javascript,typescript",
10+
"prefix": [
11+
"header",
12+
"stub",
13+
"copyright"
14+
],
15+
"body": [
16+
"/*---------------------------------------------------------------------------------------------",
17+
" * Copyright (c) Microsoft Corporation. All rights reserved.",
18+
" * Licensed under the MIT License. See License.txt in the project root for license information.",
19+
" *--------------------------------------------------------------------------------------------*/",
20+
"",
21+
"'use strict';",
22+
"",
23+
"$0"
24+
],
25+
"description": "Insert Copyright Statement"
26+
},
27+
"CSS Copyright Header": {
28+
"scope": "css",
29+
"prefix": [
30+
"header",
31+
"stub",
32+
"copyright"
33+
],
34+
"body": [
35+
"/*---------------------------------------------------------------------------------------------",
36+
" * Copyright (c) Microsoft Corporation. All rights reserved.",
37+
" * Licensed under the MIT License. See License.txt in the project root for license information.",
38+
" *--------------------------------------------------------------------------------------------*/",
39+
"",
40+
"$0"
41+
],
42+
"description": "Insert Copyright Statement"
43+
}
44+
}

0 commit comments

Comments
 (0)