Copyright notice macro / for open source
Moderator: General Moderators
Copyright notice macro / for open source
What programs can automatically insert copyright docblocks? Or do we have to do by hand ( if releasing opensource code )
Re: Copyright notice macro / for open source
Can't your editor do that?
Re: Copyright notice macro / for open source
Umm it has regular expressions... What editors do do this and whats the feature called?
Re: Copyright notice macro / for open source
I think you do that by editing the default template added to php files whenever you create one. I'm not sure if there is an editor that can add these to an existing codebase.
Re: Copyright notice macro / for open source
Gotchya, I'm half way done now anyways, thanks for the responses
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: Copyright notice macro / for open source
I believe editors would call them comment stubs or templates. 
Re: Copyright notice macro / for open source
look at phing, it should have support for adding text to files
Re: Copyright notice macro / for open source
True, I need to learn more about phing then. I'm messin with docbook and all that too