views:

30

answers:

1

Hi.

I heared Eclipse doesn't support parameterization of variables like this:

/**

@var DBProxy

*/

$proxy;

or

/**

@var Uri

*/

$uri = Registry::get('uri');

$uri->...

But no completions available

Is there any other solution?

A: 

What about this :

/* @var $uri Uri  */
$uri = Registry::get('uri');


Basically, using :

/* @var $variableName VariableType */

should work.

Pascal MARTIN
Wooow! Thank you very much! :)I tryed "Generte Element Comment" in Eclipse context menu, but it generates /* @var unknown_type */ without $variableName
Beono
You're welcome :-)
Pascal MARTIN