This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240253 - @method and @property show in the class's documentation hover
Summary: @method and @property show in the class's documentation hover
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: PHPDoc (show other bugs)
Version: 7.4
Hardware: PC Linux
: P4 normal with 1 vote (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-10 21:55 UTC by dharkness
Modified: 2014-01-11 13:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dharkness 2014-01-10 21:55:21 UTC
While the declarations work perfectly when hovering over their usage in code, each one creates a new line consisting of the bare PHPDoc tag in the class's documentation hover.

    /**
     * This is a foo.
     *
     * @see This other class
     * @method int bar(string baz) Foobar the baz
     * @property string $frob This frobs a little
     * @author David
     */
    class Foo { }

If you hover over Foo you will see

    --------------------------
                   Net/Foo.php
    Foo
    
    This is a foo.
     see      This other class
     method
     property
     author   David
    --------------------------

The "method" and "property" lines should not be there since they're strictly for code-completion. The location relative to other PHPDoc tags--even when there are none--makes no difference.