ActiveState Powered by ActiveState

ActiveState Community


PHPDocumentor Macros and Snippets

Posted by antonio on 2007-02-22 14:27

Thu Feb 22 2007 19:18:59 GMT-0300 by Antonio Jozzolino

All these tools are distributed under The GNU General Public License (GPL).
See more at http://www.opensource.org/licenses/gpl-license.php

Purpose

These macros and snippets were created to facilitate the documentation of
the project. They insert standardized comments, specifically in PHP, for
the utilization of PHPDocumentor.

Installation

At Komodo Ide 4.0
1. View / Tabs / Toolbox
2. Click on tree icon. Create a folder. Select this folder. Click at right
buttom and choose "Import Package".
3. Choose docs.kpz file and click OPEN.
4. You can associate a key for to macro 'header'. Every time that a file be saved,
an appropriate key will be inserted in the top of the document.

As you can see, the link to zip file is broken. So, I provide a link to my website at http://www.sgd.com.br/component/option,com_docman/task,cat_view/gid,8888...

AttachmentSize
phpdocumentor_macros.zip4.54 KB

oDn | Thu, 2007-04-05 06:52

Hi there,

you somehow managed to solve a recurring problem I've been having my current project. ie. automatically update modification dates and version numbers in phpdoc headers...

However, I can seem to work out where I can disable the triggering of your macros on each save.
I'd like to be able to use your macros only when I wish, otherwise I'd be reaching version 0.99 after a days work since the version number is automatically incremented at each save.

Thanks for the good work though !

Good luck

antonio | Thu, 2007-04-05 07:25

Hi oDn

You can modify the code. Just turn off the line that force save file after date and version modification. But I think that you already know it.

I'm glad you like this macro.

Thanks

Antonio

-->