When I was on windows I used a program called SlickEdit.
This had a feature where I could type '/**' and it would automatically fill in a php doc for the function.
If the function had parameters it would also put those params into the doc statement.
So something like:
would become:
* Look at the site type provided. If it is not Wordpress,
* custom or normal then throw an exception.
*
* @author GeoffreyF67 (4/7/2009)
*
* @param $SiteType
*
* @returns nothing on success, exception thrown on failure
*/
function _ValidateSiteType($SiteType)
The only thing that wouldn't get filled out automatically is what the function returned. and the description of the function.
I'm trying to find similar functionality in Komodo.
Any help would be appreciated.
G-Man
There is a Komodo macro that provides this feature, see:
http://community.activestate.com/forum/phpdoc-autocompletion
If you have Komodo 5.1.3 installed, simple drag the "ENTER trigger for PHPDoc v0.2.1.kpz" URL onto Komodo and it should auto-magically install (else, download the kpz and then drag/drop it onto Komodo).
Cheers,
Todd
That did the trick! This IDE is awesome!
Thanks!
G-Man