vscode-intelephense
vscode-intelephense copied to clipboard
@see @uses Jump to definition does not work
Describe the bug
@see
and @uses
Jump to definition does not work
To Reproduce
/**
* @see Obj No problem
* @see Obj::func() Don't work
* @uses Obj Don't work
* @uses Obj::func() Don't work
*/
class Obj
{
static function func()
{
}
}
Expected behavior
ctrl + click @see
@uses
Jump to definition.
Screenshots N/A
Platform and version Intelephense 1.7.1
@bmewburn
Can you add to @see
or @link
jump to a project file?
/**
* @see database/migrations/2021_05_28_085014_delete_calculator_contract_table.php
* @link database/migrations/2021_05_28_085014_delete_calculator_contract_table.php
*/
They are in the project catalog.
Thank you.
+1 for both features. Feature 1, I need to add a space after Obj to at least jump to the class:
/**
* @see Obj ::func()
*/
For feature 2 @link
, it is especially useful for .pthml
files, which do not contain class definitions.
+1 for this
+1 too
One more case. The BClass
case in an array doesn't work, but AClass
without an array works.
/**
* @see AClass
*/
private function method()
{
return [
'value' => 'value', /** @see BClass */
];
}
Bumplease.
tracking in #1316