Code Completion |
Site Admin
|
all __get's related properties (members) are `resolved` during run time. I think it's nearly impossible to guess what is passed into __get() without running the script.
|
||||||||||||
_________________ The PHP IDE team |
|
Understandable. Since it is a function you can do a lot with it.
I was thinking that since we only use it to make classes read only, that is what everyone else uses it for. Your right though, it is much more then that and needs to be handled at run time. Alas, dynamic languages sure can be a pain sometimes... |
||||||||||||
|
Site Admin
|
I think, it's PHPDOC comments where you may have some "hints" for code completion and we'd extend our support for such hints for "virtual" members.
|
||||||||||||
_________________ The PHP IDE team |
|
you mean like adding @access public to every private or protected member?
|
||||||||||||
|
Site Admin
|
no, I mean llike adding @var before each real member
|
||||||||||||
_________________ The PHP IDE team |
|
Well that would make me happy, I already document with @var.
|
||||||||||||
|
Site Admin
|
the only little problem with @var is that it does not contain member's name... and it always relates to the member or variable below the doc part.
|
||||||||||||
_________________ The PHP IDE team |
|
hmmmm, your right, and I can't think of any other tags that might work for it.
Unless you were to define your own... |
||||||||||||
|
Site Admin
|
and that's what I meant under "extending phpdoc"
why not? we can define something like this: @member <name> <type> <comment> |
||||||||||||
_________________ The PHP IDE team |
|
Works for me. Its easy to run PhpDoc with custom tags.
Does PhpEd already do this with any tags? |
||||||||||||
|
Site Admin
|
No, all the tag names are built-in in PhpED. It uses them for its code-completion needs, not for documenting as you might guess.
|
||||||||||||
_________________ The PHP IDE team |
Code Completion |
|
||
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