Development

EclipseTemplate4Symfony

You must first sign up to be able to contribute.

How To Insert Easily The Debug Info, Error or Anything Else

* create a file with this code, templates.xml

<?xml version="1.0" encoding="UTF-8"?>
<templates>
  <template autoinsert="true" context="php" deleted="false" description="insert the symfony log error" enabled="true" name="sfLogError">sfContext::getInstance()->getLogger()->err('');</template>
  <template autoinsert="true" context="php" deleted="false" description="insert the symfony log info" enabled="true" name="sfLogInfo">sfContext::getInstance()->getLogger()->info('');</template>
</templates>

* In Eclipse, go to Window > Preferences... > PHPEclipse > PHP > Templates > Import...

* You can add anything else if you click New...