Skip to content

Commit 432b336

Browse files
author
fabiantheblind
committed
added some snippets
1 parent 1c90c4e commit 432b336

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<snippet>
2+
<!-- Example: Hello, ${1:this} is a ${2:snippet}. -->
3+
<content><![CDATA[
4+
add('${1:something}','${2:something}','${3:something}');
5+
]]></content>
6+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
7+
<tabTrigger>add</tabTrigger>
8+
<description>add something</description>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<scope>source.jsx</scope>
11+
</snippet>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<snippet>
2+
<!-- Example: Hello, ${1:this} is a ${2:snippet}. -->
3+
<content><![CDATA[
4+
.onClick = function(){
5+
${1:// body}
6+
};
7+
]]></content>
8+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
9+
<tabTrigger>onClick</tabTrigger>
10+
<description>onClick function(){};</description>
11+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
12+
<scope>source.jsx</scope>
13+
</snippet>

0 commit comments

Comments
 (0)