| View previous topic :: View next topic |
| Author |
Message |
purefan
Joined: 04 Jul 2009 Posts: 2
|
Posted: Sat Jul 04, 2009 10:16 pm Post subject: Loading documentation from static classes |
|
|
Hello everyone!
Realli like Netbeans but something I havent been able to crack down yet is how to load the phpdoc from static classes in the auto complete pop up dialog, say I have a classA very nicely documented, included in another document I want to be able to read its documentation, something like this:
| Code: | | classA::setProperty1('value1')->setProperty2('value2'); |
It shows it for setProperty1 but not for setProperty2 and cant figure out how to tell him "hey its in the same class!"
And if I CTRL+SPACE it says "No suggestions".
Is this something available or should I just wait for a future release?
Thanks! |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Tue Jul 07, 2009 8:51 am Post subject: Loading documentation from static classes |
|
|
Hi,
Dne neděle 05 července 2009 00:16:29 purefan napsal(a):
| Quote: | Code:
classA::setProperty1('value1')->setProperty2('value2');
It shows it for setProperty1 but not for setProperty2 and cant figure out
how to tell him "hey its in the same class!"
And if I CTRL+SPACE it says "No suggestions".
|
if I understand correctly, you must specify the "@return" PHPDoc statement [1]
for setProperty1() method.
HTH,
Tomas
[1]
http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.return.pkg.html
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
purefan
Joined: 04 Jul 2009 Posts: 2
|
Posted: Tue Jul 07, 2009 11:33 am Post subject: |
|
|
Thank you for the reply however I have just tried this and it did not help. Although Im using Netbeans 6.5.1 and last night I learned that 6.7 is out, so I'll give it a try with it when I get home.
Thanks for your reply! |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Tue Jul 07, 2009 12:51 pm Post subject: Loading documentation from static classes |
|
|
Hi,
Dne úterý 07 července 2009 13:33:13 purefan napsal(a):
| Quote: | Thank you for the reply however I have just tried this and it did not help.
Although Im using Netbeans 6.5.1 and last night I learned that 6.7 is out,
so I'll give it a try with it when I get home.
|
this is nothing new in NetBeans 6.7, the code completion is based on PHPDoc
from the very beginning. Maybe file an issue [1] and attach (do not copy &
paste please!) an example file.
Thanks,
Tomas
[1] http://www.netbeans.org/community/issues
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|