Bug 235246 - no CodeCompletion for Interfaces
Summary: no CodeCompletion for Interfaces
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (other bugs)
Version First Reported In: git master
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-24 11:17 UTC by Niko Sams
Modified: 2021-03-09 22:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

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