1
+ {
2
+ // Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
3
+ // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
4
+ // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
5
+ // used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
6
+ // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
7
+ // Placeholders with the same ids are connected.
8
+ // Example:
9
+ "Markdown snippet" : {
10
+ "prefix" : " md" ,
11
+ "body" : [
12
+ " ---" ,
13
+ " title: $1" ,
14
+ " categories: [$2]" ,
15
+ " tags: [$3]" ,
16
+ " date: ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}T${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}+800" ,
17
+ // "image:",
18
+ // " path: /images/header/$4",
19
+ " last_modified_at: " ,
20
+ " pin: false" ,
21
+ " ---" ,
22
+ " $0"
23
+ ],
24
+ "description" : " Markdown template for jekyll."
25
+ },
26
+
27
+ "Time snippet" : {
28
+ "prefix" : " time" ,
29
+ "body" : [
30
+ " ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}T${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}+800" ,
31
+ ],
32
+ "description" : " For last modified time."
33
+ },
34
+
35
+ "Leetcode snippet" : {
36
+ "prefix" : " leetcode" ,
37
+ "body" : [
38
+ " ---" ,
39
+ " title: Leetcode-$1" ,
40
+ " categories: [Leetcode, $2]" ,
41
+ " tags: [leetcode, $3]" ,
42
+ " date: ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}T${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}+800" ,
43
+ " last_modified_at: " ,
44
+ " pin: false" ,
45
+ " ---" ,
46
+ " " ,
47
+ " 题目来源:[]()" ,
48
+ " " ,
49
+ " ## Description" ,
50
+ " " ,
51
+ " " ,
52
+ " " ,
53
+ " " ,
54
+ " **示例1:**" ,
55
+ " " ,
56
+ " <pre>" ,
57
+ " <strong>输入:</strong>" ,
58
+ " <strong>输出:</strong>" ,
59
+ " <strong>解释:</strong>" ,
60
+ " </pre>" ,
61
+ " " ,
62
+ " **示例2:**" ,
63
+ " " ,
64
+ " <pre>" ,
65
+ " <strong>输入:</strong>" ,
66
+ " <strong>输出:</strong>" ,
67
+ " <strong>解释:</strong>" ,
68
+ " </pre>" ,
69
+ " " ,
70
+ " **提示:**" ,
71
+ " " ,
72
+ " - " ,
73
+ " " ,
74
+ " " ,
75
+ " ## Solution" ,
76
+ " " ,
77
+ " " ,
78
+ " " ,
79
+ " " ,
80
+ " ## Code" ,
81
+ " ```java" ,
82
+ " " ,
83
+ " ```" ,
84
+ " $0"
85
+ ],
86
+ "description" : " For leetcode."
87
+ }
88
+ }
0 commit comments