php-language-server icon indicating copy to clipboard operation
php-language-server copied to clipboard

Methods from used traits not completed

Open Declspeck opened this issue 7 years ago • 4 comments
trafficstars

The following simplified example is not completed:

class A {
    use B; // Defines public function foo()
    function bar() {
        $this->f|
    }
}

As I'm working on a code base that makes heavy use of traits, I would be willing to fix this on top of this: #451 (I have an almost working version of the change you requested for global symbols, but I'll be busy with work for at least a few days, so no PR until then.)

Declspeck avatar Jan 29 '18 13:01 Declspeck

Related: https://github.com/felixfbecker/php-language-server/issues/331

felixfbecker avatar Jan 29 '18 19:01 felixfbecker

Is there any progress visible (like a branch somewhere)? I just discovered the whole emacs-lsp infrastructure, and am thrilled :) -- I would like to help to get trait-treatment going, if possible.

tomterl avatar Jun 22 '18 07:06 tomterl

any progress?

claudejanz avatar Sep 11 '18 14:09 claudejanz

Any news, vscode still not follow references when i use Traits which point on an Object dynamically generate. Eclipse do that but vscode not why ? Maybe i need a special package on top or Intelisense and intelephense ?

AnthonyGies avatar Oct 12 '19 08:10 AnthonyGies