Community
Participate
Working Groups
Created attachment 279286 [details] Code folding not working (array of object) Hello, As you can see on my attachments, there is no property / method proposal when we add a comment with Object[] notation.
Created attachment 279287 [details] Code folding working (array of object)
Hi Thomas, could you provide us some code example to play with? Thank you, Thierry.
Created attachment 279292 [details] Sample
I attached a small code example. Please note that all works when class Foo have the same namespace than Bar.
Ok thank you Thomas, I add Dawid to the CC list, I think he wrote some for code about CA & arrays, maybe he can have a look and be a better help than me ;) Thierry.
See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=533136
I see two problems: 1. Information about array from @var comments is lost during inferencing 2. PDT doesn't handle correctly references inside parenthesis (Type|Type)[] - another bug
New Gerrit change created: https://git.eclipse.org/r/146998
Gerrit change https://git.eclipse.org/r/146998 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=c22b3ca4fd1d55beb87986f716516051cfe14f1f
Gerrit change https://git.eclipse.org/r/147045 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=187d28887784772d2b065590f0ca19593758a81b
(In reply to Eclipse Genie from comment #10) > Gerrit change https://git.eclipse.org/r/147045 was merged to [master]. > Commit: > http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/ > ?id=187d28887784772d2b065590f0ca19593758a81b Hi Dawid, thank you for the bug fix ;) I just added some more unit tests and fixed your initial unit test to use a /*...*/ comment and not a /**...*/ PHPDoc comment, because we're inside a method (PHPDocs are no intended to be used inside methods, and anyway not fully "supported" by PDT when misplaced). Thierry.