|
1 | 1 | { |
2 | 2 | "microbit_more.when_microbit": { |
3 | | - "snippet": "microbit_more.when_microbit(\" ${1:connected} \") do\n\t${2}\nend", |
| 3 | + "snippet": "microbit_more.when_microbit(\"${1:connected}\") do\n\t${2}\nend", |
4 | 4 | "description": "micro:bit と [つながった▼] とき", |
5 | 5 | "type": "event" |
6 | 6 | }, |
7 | 7 | "microbit_more.when_button_is": { |
8 | | - "snippet": "microbit_more.when_button_is(\" ${1:A} \", \" ${2:down} \") do\n\t${3}\nend", |
| 8 | + "snippet": "microbit_more.when_button_is(\"${1:A}\", \"${2:down}\") do\n\t${3}\nend", |
9 | 9 | "description": "ボタン [A▼] が [押された▼] とき", |
10 | 10 | "type": "event" |
11 | 11 | }, |
12 | 12 | "microbit_more.button_pressed?": { |
13 | | - "snippet": "microbit_more.button_pressed?(\" ${1:A} \")", |
| 13 | + "snippet": "microbit_more.button_pressed?(\"${1:A}\")", |
14 | 14 | "description": "ボタン [A▼] が押されている", |
15 | 15 | "type": "value" |
16 | 16 | }, |
17 | 17 | "microbit_more.when_pin_is": { |
18 | | - "snippet": "microbit_more.when_pin_is(\" ${1:LOGO} \", \" ${2:touched} \") do\n\t${3}\nend", |
| 18 | + "snippet": "microbit_more.when_pin_is(\"${1:LOGO}\", \"${2:touched}\") do\n\t${3}\nend", |
19 | 19 | "description": "ピン [ロゴ▼] が [タッチされた▼] とき", |
20 | 20 | "type": "event" |
21 | 21 | }, |
22 | 22 | "microbit_more.pin_is_touched?": { |
23 | | - "snippet": "microbit_more.pin_is_touched?(\" ${1:LOGO} \")", |
| 23 | + "snippet": "microbit_more.pin_is_touched?(\"${1:LOGO}\")", |
24 | 24 | "description": "ピン [ログ▼] がタッチされている", |
25 | 25 | "type": "value" |
26 | 26 | }, |
27 | 27 | "microbit_more.when": { |
28 | | - "snippet": "microbit_more.when(\" ${1:shake} \") do\n\t${2}\nend", |
| 28 | + "snippet": "microbit_more.when(\"${1:shake}\") do\n\t${2}\nend", |
29 | 29 | "description": "[ゆさぶられた▼] とき", |
30 | 30 | "type": "event" |
31 | 31 | }, |
32 | 32 | "microbit_more.display_pattern": { |
33 | | - "snippet": "microbit_more.display_pattern(\n\t\" ${1:.1.1.} \",\n\t\" ${2:1.1.1} \",\n\t\" ${3:1...1} \",\n\t\" ${4:.1.1.} \",\n\t\" ${5:..1..} \"\n)", |
| 33 | + "snippet": "microbit_more.display_pattern(\n\t\"${1:.1.1.}\",\n\t\"${2:1.1.1}\",\n\t\"${3:1...1}\",\n\t\"${4:.1.1.}\",\n\t\"${5:..1..}\"\n)", |
34 | 34 | "description": "パターン (♡▼) を表示する", |
35 | 35 | "type": "function" |
36 | 36 | }, |
37 | 37 | "microbit_more.display_text_delay": { |
38 | | - "snippet": "microbit_more.display_text_delay(\" ${1:Hello!} \", ${2:120})", |
| 38 | + "snippet": "microbit_more.display_text_delay(\"${1:Hello!}\", ${2:120})", |
39 | 39 | "description": "文字 (Hello!) を (120) ミリ秒間隔で流す", |
40 | 40 | "type": "function" |
41 | 41 | }, |
|
75 | 75 | "type": "variable" |
76 | 76 | }, |
77 | 77 | "microbit_more.magnetic_force": { |
78 | | - "snippet": "microbit_more.magnetic_force(\" ${1:absolute} \")", |
| 78 | + "snippet": "microbit_more.magnetic_force(\"${1:absolute}\")", |
79 | 79 | "description": "磁力 [大きさ▼]", |
80 | 80 | "type": "variable" |
81 | 81 | }, |
82 | 82 | "microbit_more.acceleration": { |
83 | | - "snippet": "microbit_more.acceleration(\" ${1:x} \")", |
| 83 | + "snippet": "microbit_more.acceleration(\"${1:x}\")", |
84 | 84 | "description": "加速度 [x▼]", |
85 | 85 | "type": "variable" |
86 | 86 | }, |
87 | 87 | "microbit_more.analog_value": { |
88 | | - "snippet": "microbit_more.analog_value(\" ${1:P0} \")", |
| 88 | + "snippet": "microbit_more.analog_value(\"${1:P0}\")", |
89 | 89 | "description": "ピン [P0▼] のアナログレベル", |
90 | 90 | "type": "variable" |
91 | 91 | }, |
|
95 | 95 | "type": "function" |
96 | 96 | }, |
97 | 97 | "microbit_more.is_pin_high?": { |
98 | | - "snippet": "microbit_more.is_pin_high?(\" ${1:P0} \")", |
| 98 | + "snippet": "microbit_more.is_pin_high?(\"${1:P0}\")", |
99 | 99 | "description": "ピン [P0▼] がハイである", |
100 | 100 | "type": "value" |
101 | 101 | }, |
102 | 102 | "microbit_more.set_digital": { |
103 | | - "snippet": "microbit_more.set_digital(\" ${1:P0} \", \" ${2:Low} \")", |
| 103 | + "snippet": "microbit_more.set_digital(\"${1:P0}\", \"${2:Low}\")", |
104 | 104 | "description": "ピン [P0▼] をデジタル出力 [ロー▼] にする", |
105 | 105 | "type": "function" |
106 | 106 | }, |
107 | 107 | "microbit_more.set_analog": { |
108 | | - "snippet": "microbit_more.set_analog(\" ${1:P0} \", ${2:0})", |
| 108 | + "snippet": "microbit_more.set_analog(\"${1:P0}\", ${2:0})", |
109 | 109 | "description": "ピン [P0▼] をアナログ出力 [LEVEL] %にする", |
110 | 110 | "type": "function" |
111 | 111 | }, |
112 | 112 | "microbit_more.set_servo": { |
113 | | - "snippet": "microbit_more.set_servo(\" ${1:P0} \", ${2:0})", |
| 113 | + "snippet": "microbit_more.set_servo(\"${1:P0}\", ${2:0})", |
114 | 114 | "description": "ピン [P0▼] をサーボ (0) 度にする", |
115 | 115 | "type": "function" |
116 | 116 | }, |
|
125 | 125 | "type": "function" |
126 | 126 | }, |
127 | 127 | "microbit_more.listen_event_on": { |
128 | | - "snippet": "microbit_more.listen_event_on(\" ${1:none} \", \" ${2:P0} \")", |
| 128 | + "snippet": "microbit_more.listen_event_on(\"${1:none}\", \"${2:P0}\")", |
129 | 129 | "description": "ピン [P0▼] の [イベントを受けない▼]", |
130 | 130 | "type": "function" |
131 | 131 | }, |
132 | 132 | "microbit_more.when_catch_at_pin": { |
133 | | - "snippet": "microbit_more.when_catch_at_pin(\" ${1:low pulse} \", \" ${2:P0} \") do\n\t${3}\nend", |
| 133 | + "snippet": "microbit_more.when_catch_at_pin(\"${1:low pulse}\", \"${2:P0}\") do\n\t${3}\nend", |
134 | 134 | "description": "ピン [P0▼] で [ローパルス▼] イベントが起きたとき", |
135 | 135 | "type": "event" |
136 | 136 | }, |
137 | 137 | "microbit_more.value_of": { |
138 | | - "snippet": "microbit_more.value_of(\" ${1:low pulse} \", \" ${2:P0} \")", |
| 138 | + "snippet": "microbit_more.value_of(\"${1:low pulse}\", \"${2:P0}\")", |
139 | 139 | "description": "ピン [P0▼] の [ローパルスの期間▼]", |
140 | 140 | "type": "function" |
141 | 141 | }, |
142 | 142 | "microbit_more.when_data_received_from_microbit": { |
143 | | - "snippet": "microbit_more.when_data_received_from_microbit(\" ${1:label-01} \") do\n\t${2}\nend", |
| 143 | + "snippet": "microbit_more.when_data_received_from_microbit(\"${1:label-01}\") do\n\t${2}\nend", |
144 | 144 | "description": "micro:bit からラベル (label-01) のデータを受け取ったとき", |
145 | 145 | "type": "event" |
146 | 146 | }, |
147 | 147 | "microbit_more.data": { |
148 | | - "snippet": "microbit_more.data[\" ${1:label-01} \"]", |
| 148 | + "snippet": "microbit_more.data[\"${1:label-01}\"]", |
149 | 149 | "description": "ラベル (label-01) のデータ", |
150 | 150 | "type": "variable" |
151 | 151 | }, |
152 | 152 | "microbit_more.send_data_to_microbit": { |
153 | | - "snippet": "microbit_more.send_data_to_microbit(\" ${1:data} \", \" ${2:label-01} \")", |
| 153 | + "snippet": "microbit_more.send_data_to_microbit(\"${1:data}\", \"${2:label-01}\")", |
154 | 154 | "description": "micro:bit へデータ (data) にラベル (label-01) を付けて送る", |
155 | 155 | "type": "function" |
156 | 156 | } |
|
0 commit comments