Skip to content

Commit

Permalink
more snippets =)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpmont committed Mar 9, 2012
1 parent 2b6a4aa commit 718fafd
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 3 deletions.
9 changes: 9 additions & 0 deletions form_checkbox.sublime-snippet
@@ -0,0 +1,9 @@
<snippet>
<content><![CDATA[
form_checkbox('name', 'value', TRUE);
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>form_checkbox</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
</snippet>
9 changes: 9 additions & 0 deletions form_dropdown.sublime-snippet
@@ -0,0 +1,9 @@
<snippet>
<content><![CDATA[
form_dropdown('name', $options, 'default');
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>form_dropdown</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
</snippet>
5 changes: 2 additions & 3 deletions model.sublime-snippet → form_password.sublime-snippet
@@ -1,10 +1,9 @@
<snippet>
<content><![CDATA[
<?php
class Table_model extends MY_Model { }
form_password('name', 'value');
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>model</tabTrigger>
<tabTrigger>form_password</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
9 changes: 9 additions & 0 deletions form_submit.sublime-snippet
@@ -0,0 +1,9 @@
<snippet>
<content><![CDATA[
form_submit('name', 'value');
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>form_submit</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
</snippet>
9 changes: 9 additions & 0 deletions form_textarea.sublime-snippet
@@ -0,0 +1,9 @@
<snippet>
<content><![CDATA[
form_textarea('name', 'value');
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>form_textarea</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
</snippet>
9 changes: 9 additions & 0 deletions form_upload.sublime-snippet
@@ -0,0 +1,9 @@
<snippet>
<content><![CDATA[
form_upload('name');
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>form_upload</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
</snippet>

0 comments on commit 718fafd

Please sign in to comment.