Skip to content

Commit

Permalink
Adding a snippet for encoding comments. It defaults to UTF-8, but giv…
Browse files Browse the repository at this point in the history
…es you a tab trigger for changing the encoding.
  • Loading branch information
JEG2 committed Oct 5, 2010
1 parent 74fc1f9 commit d34d09b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Snippets/# encoding: UTF-8.tmSnippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?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># encoding: ${1:UTF-8}
</string>
<key>name</key>
<string># encoding: UTF-8</string>
<key>scope</key>
<string>source.ruby</string>
<key>tabTrigger</key>
<string>utf8</string>
<key>uuid</key>
<string>B2C3ADE8-E19E-4B87-9C6C-593D490114C7</string>
</dict>
</plist>
2 changes: 2 additions & 0 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@
<string>451A0596-1F72-4AFB-AF2F-45900FABB0F7</string>
<string>------------------------------------</string>
<string>A05CBDD6-845D-45EB-94FB-F8787F5456BE</string>
<string>B2C3ADE8-E19E-4B87-9C6C-593D490114C7</string>
<string>97DE939B-D243-4D5C-B953-1C9090912E7C</string>
<string>33969819-62C5-4E03-B824-C2337205F364</string>
<string>34FEBB9F-73CD-4DD4-A0A3-1CF2A5E3DE78</string>
Expand Down Expand Up @@ -500,6 +501,7 @@
<string>988C8AEF-FC71-4455-9C4F-9338C05685A4</string>
<string>451A0596-1F72-4AFB-AF2F-45900FABB0F7</string>
<string>A05CBDD6-845D-45EB-94FB-F8787F5456BE</string>
<string>B2C3ADE8-E19E-4B87-9C6C-593D490114C7</string>
<string>97DE939B-D243-4D5C-B953-1C9090912E7C</string>
<string>34FEBB9F-73CD-4DD4-A0A3-1CF2A5E3DE78</string>
<string>E16D24D2-CC7E-4786-BE0B-1725FC865D78</string>
Expand Down

0 comments on commit d34d09b

Please sign in to comment.