Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » phpdoc for functions
phpdoc for functions [message #26900] Fri, 08 June 2007 09:31 Go to next message
Eclipse UserFriend
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 #27099 is a reply to message #26900] Fri, 08 June 2007 20:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: turonah.yahoo.com

ivo bathke wrote:
> 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
If you open your outline view, you can right-click on the class,
functions, etc and choose Source->PHPDoc, and it will stub the way you
describe.
Re: phpdoc for functions [message #34314 is a reply to message #26900] Sun, 08 July 2007 04:51 Go to previous message
Eclipse UserFriend
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
Previous Topic:PHP Explorer; missing "Close Unrelated Projects"
Next Topic:Setting PDT to a temporary "don't bother" -state
Goto Forum:
  


Current Time: Mon Jul 07 14:40:16 EDT 2025

Powered by FUDForum. Page generated in 0.53120 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top