4 Replies Last post: Oct 4, 2011 12:03 PM by Onno Lissenberg  
Onno Lissenberg Newbie 3 posts since
Sep 30, 2011
Currently Being Moderated

Oct 3, 2011 11:41 AM

Automatic Code completion in comments with PHPDoc Tags (@param and @return)

Hi,

 

I'm missing code completion with respect to phpdoc tags like @return and @param.

I guess code completion within comments in general is undesirable but in this particular case it's quite handy.

I'm using Zend Framework a lot and class names become a bit long ...

 

p.s. I guess there are more phpdoc properties (@var, @property, @link, @uses ...) which could use this auto completion feature, these two are the most used I guess ...

 

Best Regards,

Onno

Alexey Gopachenko JetBrains 1,294 posts since
Aug 22, 2002
Currently Being Moderated
Oct 1, 2011 2:49 PM in response to: Onno Lissenberg
Re: Code completion in comments with PHPDoc Tags (@param and @return)

Exists since 1.0.

Just invoke it manually. Usually Ctrl+Space (Code|Complete Code|Basic)

Alexey Gopachenko JetBrains 1,294 posts since
Aug 22, 2002
Currently Being Moderated
Oct 3, 2011 11:58 PM in response to: Onno Lissenberg
Re: Automatic! Code completion in comments with PHPDoc Tags (@param and @return)

as you've said yourself - "undesirable" in comments.

More Like This

  • Retrieving data ...