Skip to content

Commit b08df30

Browse files
Merge pull request #1 from fabiantheblind/master
added some snippets
2 parents 2273f47 + 432b336 commit b08df30

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)