Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » phpdoc for functions
phpdoc for functions [message #26900] Fri, 08 June 2007 13:31 Go to next message
ivo bathke is currently offline ivo bathkeFriend
Messages: 9
Registered: July 2009
Junior Member
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] Sat, 09 June 2007 00: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 08:51 Go to previous message
Guy Gurfinkel is currently offline Guy GurfinkelFriend
Messages: 39
Registered: July 2009
Member
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: Thu Apr 25 05:52:55 GMT 2024

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

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

Back to the top