Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » How to use inline doc for code completion?(PHPDoc comments in code)
How to use inline doc for code completion? [message #780191] Tue, 17 January 2012 05:41
Stanislav Butsenko is currently offline Stanislav Butsenko
Messages: 4
Registered: January 2012
Junior Member
Can I use a string of code documentation?
How to specify the type and description of a variable in a loop?
Example:
$objects = array(
  object1, object2, object3
);
foreach ($objects as $obj)
{
  $obj-> // How to get code completion this?
}


This example does NOT work:
foreach ($array as $var => $arr)
{
  /* @var $var TYPE_VAR */
  $var-> // How to get code completion this?
}

Thank you.

[Updated on: Tue, 17 January 2012 05:42]

Report message to a moderator

Previous Topic:UML and PDT
Next Topic:Newbie: XDEBUG Waiting for Session Issue
Goto Forum:
  


Current Time: Fri Aug 29 10:29:33 EDT 2014

Powered by FUDForum. Page generated in 0.01552 seconds