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

Feature Request: "@var" Definition of class inside block comment

Open erlangparasu opened this issue 5 years ago • 2 comments

/* @var $book Book */ // <--- to be able ctrl+click the Book
$book = new Book();

// or

/** @var Book $book */ // <--- to be able ctrl+click the Book
$book = methodToGetTheBook();
$book->doSomething();  // <--- to be able ctrl+click the doSomething method

Thanks :)

erlangparasu avatar May 02 '19 09:05 erlangparasu

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

erlangparasu avatar May 07 '19 22:05 erlangparasu

/** @see Class::method() */ isn't working
/** @method mixed getIsActive() */ isn't working

Is PHPDoc implemented at all?

vbabak avatar Dec 04 '19 09:12 vbabak