Update of /cvsroot/pydev/org.python.pydev
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14096
Modified Files:
plugin.xml
Log Message:
adds a couple new (possibly useful??) templates
Index: plugin.xml
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev/plugin.xml,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** plugin.xml 11 Aug 2004 13:04:14 -0000 1.31
--- plugin.xml 11 Aug 2004 17:57:16 -0000 1.32
***************
*** 591,594 ****
--- 591,616 ----
return not self == o
</pattern>
+
+ </template>
+
+ <template
+ name="iff"
+ icon="icons/template.gif"
+ description="Normal 'if' test"
+ contextTypeId="org.python.pydev.editor.templates.python"
+ id="org.python.pydev.editor.templates.python.iff">
+ <pattern>
+ if ${cursor}${condition}: True
+ </pattern>
+ </template>
+ <template
+ name="def"
+ icon="icons/template.gif"
+ description="global method definition"
+ contextTypeId="org.python.pydev.editor.templates.python"
+ id="org.python.pydev.editor.templates.python.def">
+ <pattern>
+ def ${cursor}${method}(): True
+ </pattern>
</template>
|