Any way to add link to file in phpdoc?

Is there any way to add link to file in my code? For example when a calling $this->render('template_name') i want to add annotation to quickly jump to template file.

4 comments
Comment actions Permalink

Is there any solution in 2020?

2
Comment actions Permalink

idd @Dubrovin, 2020 and im still looking  :)

The only way i could do this in phpstorm   (but is wierd AF)

$unusedVariable = '<a href="/project/absolute/path/to/file.php"></a>';

phpstorm will see it as html and make file.php clickable

 

0
Comment actions Permalink

Yes, that's still not implemented. Here's a feature request that you can vote for: https://youtrack.jetbrains.com/issue/WI-28196

1

Please sign in to leave a comment.