Re: [symfony-users] OT: Create PHPCod comments automatically
NetBeans does that. all you have to do is to add /** above the method and press enter. It can also handle type-hinting. Regards, Christopher. Georg Gell schrieb: > Hello list, > > just a quick OT post: > > I am looking for a way to auto add auto prefilled PHPDoc comments on my > PHP files. > For example if I have a method like this: > > public function doSomething($var){ > > then it should add above (if no PHPDoc comment is already existing) > > /** > * doSomething > * > * @author Me > * @param $var > * @return > * > */ > > Even better if the content of the created PHPDocs could be configured. I > was using PHPEdit once, and this IDE had that kind of functionality, but > I am missing it in Netbeans. > > How do you add those PHPDocs? > > Thanks > Georg > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@googlegroups.com. > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
Re: [symfony-users] OT: Create PHPCod comments automatically
Hello, Eclipse with PDT plugin does this too, what I do is writing first the empty method with only its arguments and above its declaration type "/**" + RETURN it will fill phpdoc with arguments and types. You can also define empty class templates prefilled with phpdoc empty bloc on top of it Cheers, Benoit 2009/12/17 Georg Gell > Hello list, > > just a quick OT post: > > I am looking for a way to auto add auto prefilled PHPDoc comments on my > PHP files. > For example if I have a method like this: > > public function doSomething($var){ > > then it should add above (if no PHPDoc comment is already existing) > > /** > * doSomething > * > * @author Me > * @param $var > * @return > * > */ > > Even better if the content of the created PHPDocs could be configured. I > was using PHPEdit once, and this IDE had that kind of functionality, but > I am missing it in Netbeans. > > How do you add those PHPDocs? > > Thanks > Georg > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@googlegroups.com. > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
Re: [symfony-users] OT: Create PHPCod comments automatically
Cool! Thanks Georg Am 17.12.2009 09:45, schrieb Christopher Schnell: > NetBeans does that. all you have to do is to add /** above the method > and press enter. It can also handle type-hinting. > > Regards, > Christopher. > > Georg Gell schrieb: >> Hello list, >> >> just a quick OT post: >> >> I am looking for a way to auto add auto prefilled PHPDoc comments on my >> PHP files. >> For example if I have a method like this: >> >> public function doSomething($var){ >> >> then it should add above (if no PHPDoc comment is already existing) >> >> /** >> * doSomething >> * >> * @author Me >> * @param $var >> * @return >> * >> */ >> >> Even better if the content of the created PHPDocs could be configured. I >> was using PHPEdit once, and this IDE had that kind of functionality, but >> I am missing it in Netbeans. >> >> How do you add those PHPDocs? >> >> Thanks >> Georg >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> "symfony users" group. >> To post to this group, send email to symfony-us...@googlegroups.com. >> To unsubscribe from this group, send email to >> symfony-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/symfony-users?hl=en. >> >> >> >> > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@googlegroups.com. > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.