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 10: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 10:42]

Report message to a moderator

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


Current Time: Wed Sep 17 01:38:12 GMT 2014

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

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