Permalink
Browse files

Added Create View (cview) snippet

  • Loading branch information...
1 parent c3e5d76 commit 7d06e2af9151b11e0f0cc4d46f53f00c3eab6613 @shadowhand shadowhand committed Dec 1, 2010
Showing with 21 additions and 0 deletions.
  1. +20 −0 Snippets/Create View.tmSnippet
  2. +1 −0 info.plist
View
20 Snippets/Create View.tmSnippet
@@ -0,0 +1,20 @@
+<?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>class View_${1:Name} extends ${2:View} {
+
+${3}
+
+} // End ${4:$1}</string>
+ <key>name</key>
+ <string>Create View</string>
+ <key>scope</key>
+ <string>source.php</string>
+ <key>tabTrigger</key>
+ <string>cview</string>
+ <key>uuid</key>
+ <string>7CD381E0-C8FF-498C-BB68-9A4519FBE9F7</string>
+</dict>
+</plist>
View
1 info.plist
@@ -116,6 +116,7 @@
<string>C52C4EE6-2E42-4554-8D61-455922748ECE</string>
<string>F583F7B9-9B4E-4B75-B119-6ED032605520</string>
<string>7EFEBEFC-0AEE-4C93-BE6F-6A62821D0DED</string>
+ <string>7CD381E0-C8FF-498C-BB68-9A4519FBE9F7</string>
<string>A6EA093A-28DE-499B-96A2-6BA8914B60D9</string>
<string>58751859-F62D-43A2-8B01-0869825AF71B</string>
<string>1093440A-DB51-45D3-ADCA-B0427C6FB2AD</string>

0 comments on commit 7d06e2a

Please sign in to comment.