phpdoc for functions [message #26900] |
Fri, 08 June 2007 09:31  |
Eclipse User |
|
|
|
when you create a new php file with f.e. a class template
and then type a starting phpdoc comment /** and press enter yo get a
full phpdoc comment with all params and return listed
very nice
function aasa($aa,$aas)
{
//asdasdasdasd;
}
-->
/**
* Enter description here...
*
* @param unknown_type $aa
* @param unknown_type $aas
*/
function aasa($aa,$aas)
{
//asdasdasdasd;
}
but if you open already existing files and try to do this also
it wont work?!
do i need to add something in the preferences, if so then where,typing
maybe?
this feature would really motivate to document my code better
cheers
|
|
|
|
Re: phpdoc for functions [message #34314 is a reply to message #26900] |
Sun, 08 July 2007 04:51  |
Eclipse User |
|
|
|
https://bugs.eclipse.org/bugs/show_bug.cgi?id=170633
bug was fixed.
"ivo bathke" <bathke@response-gmbh.de> wrote in message
news:f4blmv$s9o$1@build.eclipse.org...
> when you create a new php file with f.e. a class template
> and then type a starting phpdoc comment /** and press enter yo get a full
> phpdoc comment with all params and return listed
> very nice
>
> function aasa($aa,$aas)
> {
> //asdasdasdasd;
> }
>
> -->
>
> /**
> * Enter description here...
> *
> * @param unknown_type $aa
> * @param unknown_type $aas
> */
> function aasa($aa,$aas)
> {
> //asdasdasdasd;
> }
>
> but if you open already existing files and try to do this also
> it wont work?!
>
> do i need to add something in the preferences, if so then where,typing
> maybe?
>
> this feature would really motivate to document my code better
>
> cheers
|
|
|
Powered by
FUDForum. Page generated in 0.53120 seconds