Check why parent::func() is not resolved
zobo opened this issue · comments
Why is LSP not offering definition position of parent::b()
?
class B {
function b() {
}
}
class A extends B {
function a () {
$a = parent::b();
}
}
Would be awesome if that would work
The problem is that functions get stored in the index either as Namespace\Class->func()
or Namespace\Class::func()
depending on if they are not static or static defined.
When making a parent::func()
call the parses can't figure out if it's looking for a static method or a non-static method.
Maybe try both?
i just tried intelliphnese and there it works at lest withon clases, just cmd click on a function
Fixed in #29 will be released soon.
intelephense.com premium got this feature: