vscode-intelephense icon indicating copy to clipboard operation
vscode-intelephense copied to clipboard

@see non-functional

Open Paril opened this issue 2 years ago • 1 comments

Describe the bug When using the @see tag, it always shows up as "undefined" in the preview rather than the text in the documentation. A simple example:

To Reproduce

class Test
{
	public function f() { }
}

/** @see Test::f */
class OtherTest
{
}

Hovering over "OtherTest" shows @see undefined in the expanded documentation.

Expected behavior Should show the object linked so you can navigate to it

Platform and version Win10, intelephense v1.8.2

Paril avatar Mar 21 '22 19:03 Paril

I get the same result given any of these too:

<?php

class Test
{
    public function test(): void
    {
    }

    /**
     * @see test()
     */
    public function test1(): void
    {
    }

    /**
     * @see Test::test()
     */
    public function test2(): void
    {
    }

    /**
     * @see test
     */
    public function test3(): void
    {
    }

    /**
     * @see Test::test
     */
    public function test4(): void
    {
    }
}

Though I have no understanding of how this functions behind the scenes, I suspect this could be related #1803 too

olliescase avatar Jul 20 '22 08:07 olliescase

dup of #1316

bmewburn avatar Mar 19 '24 01:03 bmewburn