Skip to content

Commit

Permalink
Add case snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
luop90 authored and infininight committed Jul 30, 2016
1 parent bec006f commit c1b8dae
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Snippets/case.tmSnippet
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>case ${1:expression}:
$2
break;</string>
<key>name</key>
<string>case</string>
<key>scope</key>
<string>source.js</string>
<key>tabTrigger</key>
<string>case</string>
<key>uuid</key>
<string>7A28A364-65AF-4D8D-A26B-D057D7C2A14E</string>
</dict>
</plist>
2 changes: 2 additions & 0 deletions info.plist
Expand Up @@ -72,7 +72,9 @@
<string>F19F3732-39A7-48EC-A72B-A8F477A01795</string>
<string>5BA406DB-A4B1-4CED-BA61-33D378FD7F53</string>
<string>31964029-9D71-4ADC-8213-DFE5C4E222B3</string>
<string>------------------------------------</string>
<string>13386ECB-2A5C-4881-9D54-035BC8B0A4A1</string>
<string>7A28A364-65AF-4D8D-A26B-D057D7C2A14E</string>
<string>------------------------------------</string>
<string>011C4681-FBEC-4891-9326-3DECFCDED6D6</string>
<string>C207B7C3-5597-4873-8AAD-C46FB8842AF2</string>
Expand Down

0 comments on commit c1b8dae

Please sign in to comment.