Bug 280985

Summary: code complition does not work for inherarted methods/variables in classes with namespace
Product: [Applications] kdevelop Reporter: Fabian <fabian>
Component: Language Support: PHPAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: alexander
Priority: NOR    
Version: 4.2.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: 2 php classes
Code exapmle

Description Fabian 2011-08-29 09:58:04 UTC
Version:           4.2.3 (using KDE 4.7.0) 
OS:                Linux

Code complition does not work for inherarted methods/variables in classes with namespace.

When removeing the namespaace lines from the 2 attached files, code complition works fine.

Reproducible: Always

Steps to Reproduce:
Try auto complition for $this-> in the constructor of Object

Actual Results:  
Only __construct is suggested.

Expected Results:  
Show all the functions/variables of \Framework\Entity and \DomElement
Comment 1 Fabian 2011-08-29 10:04:03 UTC
Created attachment 63210 [details]
2 php classes
Comment 2 Fabian 2012-04-15 09:37:35 UTC
Created attachment 70389 [details]
Code exapmle

Update:
Autocomplition works as expected as soon as you change

class Object extends Entity {
class Object extends \Framework\Entity {

But Object is already in namespace \Framework\, so this should not be necessary.

Attachment, better example code with a run.php to test that both definition produce the same result.
Comment 3 Alexander Zhigalin 2015-10-16 12:30:56 UTC
No fix in 3 years ;,,,-(
Comment 4 Alexander Zhigalin 2018-05-23 13:58:11 UTC
No longer reproducible with the latest version, marking as fixed.