Bug 280985 - code complition does not work for inherarted methods/variables in classes with namespace
Summary: code complition does not work for inherarted methods/variables in classes wit...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (show other bugs)
Version: 4.2.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-29 09:58 UTC by Fabian
Modified: 2018-05-23 13:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
2 php classes (311 bytes, application/x-gzip)
2011-08-29 10:04 UTC, Fabian
Details
Code exapmle (981 bytes, application/zip)
2012-04-15 09:37 UTC, Fabian
Details

Note You need to log in before you can comment on or make changes to this bug.
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.