Add codetemplates for Dolibarr rules

This commit is contained in:
Laurent Destailleur 2011-08-28 02:24:04 +00:00
parent 482a205936
commit 1dd86fd856
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT templates (template+)>
<!ELEMENT template (#PCDATA)>
<!ATTLIST template autoinsert CDATA "">
<!ATTLIST template context CDATA "">
<!ATTLIST template deleted CDATA "">
<!ATTLIST template description CDATA "">
<!ATTLIST template enabled CDATA "">
<!ATTLIST template id CDATA "">
<!ATTLIST template name CDATA "">

View File

@ -1,4 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="true" context="phpcomment" deleted="false" description="Comment for getter methods" enabled="true" id="org.eclipse.php.ui.editor.templates.php.codetemplates.gettercomment" name="gettercomment">/**
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE codetemplates SYSTEM "codetemplates.dtd">
<templates><template autoinsert="true" context="phpcomment" deleted="false" description="Comment for getter methods" enabled="true" id="org.eclipse.php.ui.editor.templates.php.codetemplates.gettercomment" name="gettercomment">/**
* @return the ${bare_field_name}
*/</template><template autoinsert="true" context="phpcomment" deleted="false" description="Comment for setter methods" enabled="true" id="org.eclipse.php.ui.editor.templates.php.codetemplates.settercomment" name="settercomment">/**
* @param ${param} the ${bare_field_name} to set