|
1 |
| -{ |
2 |
| - "orientaiton from pykv-snippets": { |
3 |
| - "prefix": "orientation", |
4 |
| - "body": "orientation: '${1|vertical,horizontal|}'" |
5 |
| - }, |
6 |
| - "font_size from pykv-snippets": { |
7 |
| - "prefix": "font_size", |
8 |
| - "body": "font_size: " |
9 |
| - }, |
10 |
| - "padding from pykv-snippets": { |
11 |
| - "prefix": "padding", |
12 |
| - "body": "padding: " |
13 |
| - }, |
14 |
| - "size_x from pykv-snippets": { |
15 |
| - "prefix": ["sx", "size_hint_x"], |
16 |
| - "body": "size_hint_x: " |
17 |
| - }, |
18 |
| - "size_y from pykv-snippets": { |
19 |
| - "prefix": ["sy", "size_hint_y"], |
20 |
| - "body": "size_hint_y: " |
21 |
| - }, |
22 |
| - "size_hint from pykv-snippets" : { |
23 |
| - "prefix" : "size_hint", |
24 |
| - "body" : "size_hint: $1, $2" |
25 |
| - }, |
26 |
| - "pos_hint from pykv-snippets" : { |
27 |
| - "prefix" : "pos_hint", |
28 |
| - "body" : "pos_hint: {'${1|x,right,center_x|}': $2, '${3|y,top,center_y|}': $4}$0" |
29 |
| - }, |
30 |
| - "Rectangle: from pykv-snippets": { |
31 |
| - "prefix": "rect", |
32 |
| - "body": "Rectangle: " |
33 |
| - }, |
34 |
| - "rectangle: from pykv-snippets": { |
35 |
| - "prefix": "rect", |
36 |
| - "body": "rectangle: " |
37 |
| - }, |
38 |
| - "Color: from pykv-snippets": { |
39 |
| - "prefix": "color", |
40 |
| - "body": "Color: " |
41 |
| - }, |
42 |
| - "color: from pykv-snippets": { |
43 |
| - "prefix": "color", |
44 |
| - "body": "color: " |
45 |
| - }, |
46 |
| - "on_press from pykv-snippets": { |
47 |
| - "prefix": ["onpress", "on_press"], |
48 |
| - "body": "on_press: " |
49 |
| - }, |
50 |
| - "on_release from pykv-snippets": { |
51 |
| - "prefix": ["onrelease", "on_release"], |
52 |
| - "body": "on_release: " |
53 |
| - }, |
54 |
| - "on_text from pykv-snippets": { |
55 |
| - "prefix": ["ontext", "on_text"], |
56 |
| - "body": "on_text: " |
57 |
| - }, |
58 |
| - "on_text_validate from pykv-snippets": { |
59 |
| - "prefix": ["ontextvalidate", "on_text_validate"], |
60 |
| - "body": "on_text_validate: " |
61 |
| - }, |
62 |
| - "set from pykv-snippets": { |
63 |
| - "prefix": "#:set", |
64 |
| - "body": "#: set ${1:key} ${2:expr}" |
65 |
| - }, |
66 |
| - "import from pykv-snippets": { |
67 |
| - "prefix": "#:import", |
68 |
| - "body": "#: import ${1:alias} ${2:package}" |
69 |
| - }, |
70 |
| - "include from pykv-snippets": { |
71 |
| - "prefix": "#:include", |
72 |
| - "body": "#: include ${1:file}" |
73 |
| - }, |
74 |
| - "size_hint_x from pykv-sippets": { |
75 |
| - "prefix": ["sx", "size_hint_x"], |
76 |
| - "body": "size_hint_x=", |
77 |
| - "description": "keyword argument of Widget" |
78 |
| - }, |
79 |
| - "size_hint_y from pykv-sippets": { |
80 |
| - "prefix": ["sy", "size_hint_y"], |
81 |
| - "body": "size_hint_y=", |
82 |
| - "description": "keyword argument of Widget" |
83 |
| - }, |
84 |
| - "size_hint from pykv-sippets": { |
85 |
| - "prefix": "size_hint", |
86 |
| - "body": "size_hint=($1, $2)$0", |
87 |
| - "description": "keyword argument of Widget" |
88 |
| - }, |
89 |
| - "pos_hint from pykv-sippets": { |
90 |
| - "prefix": "pos_hint", |
91 |
| - "body": "pos_hint={'${1|x,right,center_x|}': $2, '${3|y,top,center_y|}': $4}$0", |
92 |
| - "description": "keyword argument of Widget" |
93 |
| - }, |
94 |
| - "font_size from pykv-sippets": { |
95 |
| - "prefix": "font_size", |
96 |
| - "body": "font_size=", |
97 |
| - "description": "keyword argument of Widget" |
98 |
| - }, |
99 |
| - "orientation from pykv-sippets": { |
100 |
| - "prefix": "orientation", |
101 |
| - "body": "orientation='${1|vertical,horizontal|}'", |
102 |
| - "description": "keyword argument of Layout classes" |
103 |
| - }, |
104 |
| - "text from pykv-sippets": { |
105 |
| - "prefix": "text", |
106 |
| - "body": "text='$1'$0", |
107 |
| - "description": "keyword argument of Widget" |
108 |
| - }, |
109 |
| - "transition from pykv-snippets": { |
110 |
| - "prefix": "transition", |
111 |
| - "body": "transition=", |
112 |
| - "description": "keyword argument of ScreenManager" |
113 |
| - }, |
114 |
| - "background_color from pykv-snippets": { |
115 |
| - "prefix": ["background_color", "bg"], |
116 |
| - "body": "background_color=", |
117 |
| - "description": "keyword argument of Button and so on" |
118 |
| - }, |
119 |
| - "duration from pykv-snippets": { |
120 |
| - "prefix": "duration", |
121 |
| - "body": "duration=", |
122 |
| - "description": "keyword argument of Animation" |
123 |
| - }, |
124 |
| - "opacity from pykv-snippets": { |
125 |
| - "prefix": "opacity", |
126 |
| - "body": "opacity=", |
127 |
| - "description": "keyword argument of Animation" |
128 |
| - }, |
129 |
| - "step from pykv-snippets": { |
130 |
| - "prefix": "step", |
131 |
| - "body": "step=", |
132 |
| - "description": "keyword argument of Animation" |
133 |
| - }, |
134 |
| - "size from pykv-snippets": { |
135 |
| - "prefix": "size", |
136 |
| - "body": "size=", |
137 |
| - "description": "keyword argument of Animation" |
138 |
| - }, |
139 |
| - "on_press from pykv-sippets": { |
140 |
| - "prefix": ["onpress", "on_press"], |
141 |
| - "body": "on_press=${1:callback}", |
142 |
| - "description": "keyword argument of Widget.bind" |
143 |
| - }, |
144 |
| - "on_release from pykv-sippets": { |
145 |
| - "prefix": ["onrelease", "on_release"], |
146 |
| - "body": "on_release=${1:callback}", |
147 |
| - "description": "keyword argument of Widget.bind" |
148 |
| - }, |
149 |
| - "on_start from pykv-snippets": { |
150 |
| - "prefix": ["onstart", "on_start"], |
151 |
| - "body": "on_start=${1:callback}", |
152 |
| - "description": "keyword argument of Widget.bind" |
153 |
| - }, |
154 |
| - "on_complete from pykv-snippets": { |
155 |
| - "prefix": ["oncomplete", "on_complete"], |
156 |
| - "body": "on_complete=${1:callback}", |
157 |
| - "description": "keyword argument of Widget.bind" |
158 |
| - }, |
159 |
| - "on_progress from pykv-snippets": { |
160 |
| - "prefix": ["onprogress", "on_progress"], |
161 |
| - "body": "on_progress=${1:callback}", |
162 |
| - "description": "keyword argument of Widget.bind" |
163 |
| - } |
164 |
| -} |
| 1 | +{ |
| 2 | + "orientaiton from pykv-snippets": { |
| 3 | + "prefix": "orientation", |
| 4 | + "body": "orientation: '${1|vertical,horizontal|}'" |
| 5 | + }, |
| 6 | + "font_size from pykv-snippets": { |
| 7 | + "prefix": "font_size", |
| 8 | + "body": "font_size: " |
| 9 | + }, |
| 10 | + "padding from pykv-snippets": { |
| 11 | + "prefix": "padding", |
| 12 | + "body": "padding: " |
| 13 | + }, |
| 14 | + "size_x from pykv-snippets": { |
| 15 | + "prefix": ["sx", "size_hint_x"], |
| 16 | + "body": "size_hint_x: " |
| 17 | + }, |
| 18 | + "size_y from pykv-snippets": { |
| 19 | + "prefix": ["sy", "size_hint_y"], |
| 20 | + "body": "size_hint_y: " |
| 21 | + }, |
| 22 | + "size_hint from pykv-snippets" : { |
| 23 | + "prefix" : "size_hint", |
| 24 | + "body" : "size_hint: $1, $2" |
| 25 | + }, |
| 26 | + "pos_hint from pykv-snippets" : { |
| 27 | + "prefix" : "pos_hint", |
| 28 | + "body" : "pos_hint: {'${1|x,right,center_x|}': $2, '${3|y,top,center_y|}': $4}$0" |
| 29 | + }, |
| 30 | + "Rectangle: from pykv-snippets": { |
| 31 | + "prefix": "rect", |
| 32 | + "body": "Rectangle: " |
| 33 | + }, |
| 34 | + "rectangle: from pykv-snippets": { |
| 35 | + "prefix": "rect", |
| 36 | + "body": "rectangle: " |
| 37 | + }, |
| 38 | + "Color: from pykv-snippets": { |
| 39 | + "prefix": "color", |
| 40 | + "body": "Color: " |
| 41 | + }, |
| 42 | + "color: from pykv-snippets": { |
| 43 | + "prefix": "color", |
| 44 | + "body": "color: " |
| 45 | + }, |
| 46 | + "on_press from pykv-snippets": { |
| 47 | + "prefix": ["onpress", "on_press"], |
| 48 | + "body": "on_press: " |
| 49 | + }, |
| 50 | + "on_release from pykv-snippets": { |
| 51 | + "prefix": ["onrelease", "on_release"], |
| 52 | + "body": "on_release: " |
| 53 | + }, |
| 54 | + "on_text from pykv-snippets": { |
| 55 | + "prefix": ["ontext", "on_text"], |
| 56 | + "body": "on_text: " |
| 57 | + }, |
| 58 | + "on_text_validate from pykv-snippets": { |
| 59 | + "prefix": ["ontextvalidate", "on_text_validate"], |
| 60 | + "body": "on_text_validate: " |
| 61 | + }, |
| 62 | + "set from pykv-snippets": { |
| 63 | + "prefix": "#:set", |
| 64 | + "body": "#: set ${1:key} ${2:expr}" |
| 65 | + }, |
| 66 | + "import from pykv-snippets": { |
| 67 | + "prefix": "#:import", |
| 68 | + "body": "#: import ${1:alias} ${2:package}" |
| 69 | + }, |
| 70 | + "include from pykv-snippets": { |
| 71 | + "prefix": "#:include", |
| 72 | + "body": "#: include ${1:file}" |
| 73 | + }, |
| 74 | + "size_hint_x from pykv-sippets": { |
| 75 | + "prefix": ["sx", "size_hint_x"], |
| 76 | + "body": "size_hint_x=", |
| 77 | + "description": "keyword argument of Widget" |
| 78 | + }, |
| 79 | + "size_hint_y from pykv-sippets": { |
| 80 | + "prefix": ["sy", "size_hint_y"], |
| 81 | + "body": "size_hint_y=", |
| 82 | + "description": "keyword argument of Widget" |
| 83 | + }, |
| 84 | + "size_hint from pykv-sippets": { |
| 85 | + "prefix": "size_hint", |
| 86 | + "body": "size_hint=($1, $2)$0", |
| 87 | + "description": "keyword argument of Widget" |
| 88 | + }, |
| 89 | + "pos_hint from pykv-sippets": { |
| 90 | + "prefix": "pos_hint", |
| 91 | + "body": "pos_hint={'${1|x,right,center_x|}': $2, '${3|y,top,center_y|}': $4}$0", |
| 92 | + "description": "keyword argument of Widget" |
| 93 | + }, |
| 94 | + "font_size from pykv-sippets": { |
| 95 | + "prefix": "font_size", |
| 96 | + "body": "font_size=", |
| 97 | + "description": "keyword argument of Widget" |
| 98 | + }, |
| 99 | + "orientation from pykv-sippets": { |
| 100 | + "prefix": "orientation", |
| 101 | + "body": "orientation='${1|vertical,horizontal|}'", |
| 102 | + "description": "keyword argument of Layout classes" |
| 103 | + }, |
| 104 | + "text from pykv-sippets": { |
| 105 | + "prefix": "text", |
| 106 | + "body": "text='$1'$0", |
| 107 | + "description": "keyword argument of Widget" |
| 108 | + }, |
| 109 | + "transition from pykv-snippets": { |
| 110 | + "prefix": "transition", |
| 111 | + "body": "transition=", |
| 112 | + "description": "keyword argument of ScreenManager" |
| 113 | + }, |
| 114 | + "background_color from pykv-snippets": { |
| 115 | + "prefix": ["background_color", "bg"], |
| 116 | + "body": "background_color=", |
| 117 | + "description": "keyword argument of Button and so on" |
| 118 | + }, |
| 119 | + "duration from pykv-snippets": { |
| 120 | + "prefix": "duration", |
| 121 | + "body": "duration=", |
| 122 | + "description": "keyword argument of Animation" |
| 123 | + }, |
| 124 | + "opacity from pykv-snippets": { |
| 125 | + "prefix": "opacity", |
| 126 | + "body": "opacity=", |
| 127 | + "description": "keyword argument of Animation" |
| 128 | + }, |
| 129 | + "step from pykv-snippets": { |
| 130 | + "prefix": "step", |
| 131 | + "body": "step=", |
| 132 | + "description": "keyword argument of Animation" |
| 133 | + }, |
| 134 | + "size from pykv-snippets": { |
| 135 | + "prefix": "size", |
| 136 | + "body": "size=", |
| 137 | + "description": "keyword argument of Animation" |
| 138 | + }, |
| 139 | + "on_press from pykv-sippets": { |
| 140 | + "prefix": ["onpress", "on_press"], |
| 141 | + "body": "on_press=${1:callback}", |
| 142 | + "description": "keyword argument of Widget.bind" |
| 143 | + }, |
| 144 | + "on_release from pykv-sippets": { |
| 145 | + "prefix": ["onrelease", "on_release"], |
| 146 | + "body": "on_release=${1:callback}", |
| 147 | + "description": "keyword argument of Widget.bind" |
| 148 | + }, |
| 149 | + "on_start from pykv-snippets": { |
| 150 | + "prefix": ["onstart", "on_start"], |
| 151 | + "body": "on_start=${1:callback}", |
| 152 | + "description": "keyword argument of Widget.bind" |
| 153 | + }, |
| 154 | + "on_complete from pykv-snippets": { |
| 155 | + "prefix": ["oncomplete", "on_complete"], |
| 156 | + "body": "on_complete=${1:callback}", |
| 157 | + "description": "keyword argument of Widget.bind" |
| 158 | + }, |
| 159 | + "on_progress from pykv-snippets": { |
| 160 | + "prefix": ["onprogress", "on_progress"], |
| 161 | + "body": "on_progress=${1:callback}", |
| 162 | + "description": "keyword argument of Widget.bind" |
| 163 | + } |
| 164 | +} |
0 commit comments