Link to home
Start Free TrialLog in
Avatar of vidda22
vidda22Flag for United Kingdom of Great Britain and Northern Ireland

asked on

eclipse pdt how to assign object to private variable, so code assist help you to finish up names

How do you make eclipse see certain variable as an object?

Variable is passed in the constructor as an object.

I want code assist work with this -> variable as $object-> variable

for instance:
method
$this->shop->checkIfEverythimgIsOkWithOrder();

I don't get help from code assist to finish function name, when it's actually usefull when names of methods are long.
The other problem is that when I hold ctrl button it does not highlight function and does not move me there after clicking with ctrl :( :(

Can anybody help?

ASKER CERTIFIED SOLUTION
Avatar of AlexanderR
AlexanderR
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just a few links that assist here. Once you get to adding these doc blocks, you can then build you own documentation SO much easier. By doing it all inline, you can make sure that what you've said the code will do at least bear some resemblance to what the code actually does.

http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_elements.pkg.html

http://pear.php.net/package/PhpDocumentor
Avatar of vidda22

ASKER

Many thanks! Very usefull! I never understood to much about php documentator, now I know where to start!
Good man!!
If you like pretty documentation, then there is a skin available which produced ExtJS styled documentation. Looks great!!!

http://code.google.com/p/zym/downloads/list?can=1&q=Package-PHPDocExtjs&colspec=Filename+Summary+Uploaded+Size+Package

There are a few issues with it (http://code.google.com/p/zym/issues/list), some have patches supplied.

But overall, this is an excellent looking skin for your documentation.
CamelotWebServicesManual.png