Bug 235246

Summary: no CodeCompletion for Interfaces
Product: [Applications] kdevelop Reporter: Niko Sams <niko.sams>
Component: Language Support: PHPAssignee: kdevelop-bugs-null
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Niko Sams 2010-04-24 11:17:44 UTC
When just the interface implemented by a variable is known (by typehinting) code completion doesn't show interface methods.

Example code to reproduce:
interface TestInterface {
  public function foo();
}

class A {
  /**
  * @var TestInterface
  */
  public $a;
}
$i = new A;
$i->|  <<< code completion here

expected result:
code completion widget with function foo() should be shown
Comment 1 Justin Zobel 2021-03-09 22:47:42 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.