![]() |
| Good Code Insight implementation in variable references. |
|
Site Admin
|
you need to tell code insight what object instance is stored in objectReference. You may use phpdoc comment for this, like suggested there: http://forum.nusphere.com/tip-type-hints-t1563.html
|
||||||||||||
|
_________________ The PHP IDE team |
|||||||||||||
|
Ah, I got the idea, but still, this is unnecessary code/comment writing. This should be auto detected still...
Thanks again! Bye |
||||||||||||
|
|
|||||||||||||
|
Site Admin
|
You're right. It can be resolved and we've implemeted this in build 4635 (it's in beta testing now).
Even more, it resolves fine when $object (per your sample) is assigned in another file. See screenshots below:
(BTW, I tried the IDE you mentioned, it supports this only when object is assigned with class instance in the same file and does not support the case shown above) |
||||||||||||
|
_________________ The PHP IDE team |
|||||||||||||
|
Very good news from You
Best regards, dmitri Bye |
||||||||||||
|
|
|||||||||||||
|
Btw, where could I find this beta release?
Thank you! |
||||||||||||
|
|
|||||||||||||
|
Guru master
|
IMHO They have a select public of beta testers and you can only get the version before official release if they ask you to test it.
|
||||||||||||
|
|
|||||||||||||
|
(sorry for my english) If will allow, I would like to add the comment on this theme:
I read topic N1563, and it working, but... If to write:
|
||||||||||||||
|
|
|||||||||||||||
| Good Code Insight implementation in variable references. |
|
||
|
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by


RSS2 Feed