> Anyone know how to do those author inserts, like they are always in
> the top of the Symfony files?
There are a couple of ways I do that.
1 ) Auto complete on "author"
You can set up a template to help you do this. Look in Preferences >
PHP > Templates
and I have the following added for "author":
@author ${user}
2 ) New file template.
I also have a template set up for new PHP pages.
So for this, the template has a "New PHP" context, and the content
for the template might look something like:
<?php
/*
* This file is part of the ${package} package.
* (c) 2004-2006 ${company}
*
* For the full copyright and license information, please view the
LICENSE
* file that was distributed with this source code.
*/
/**
* @package ${package}
* @subpackage ${subpackage}
* @author ${user}
*/
?>
What I'd like to know is how I can hook SVN an its revision
information into the info of the file.... and have it auto updated as
a continue working on it?
- Piers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---