You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Naitsirch (Jira)" <ji...@apache.org> on 2020/05/02 12:03:00 UTC

[jira] [Commented] (NETBEANS-3413) PHPDoc - implicit description inheritance

    [ https://issues.apache.org/jira/browse/NETBEANS-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17097938#comment-17097938 ] 

Christian Naitsirch commented on NETBEANS-3413:
-----------------------------------------------

[~Kacer], where do you see it is working? The description of the method "Creates the form used to edit an entity." is not inherited.

> PHPDoc - implicit description inheritance
> -----------------------------------------
>
>                 Key: NETBEANS-3413
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3413
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: php - Editor
>    Affects Versions: 11.2
>            Reporter: Tomáš Procházka
>            Assignee: Tomáš Procházka
>            Priority: Major
>         Attachments: image-2020-04-02-10-21-00-087.png
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Currently NetBeans IDE supports inheritance of docblocks containing @inheritdoc annotation.
> It would be useful if docblocks are inherited even in case when there is no docblock present.
> Example:
> {code:java}
> class Circle {
>     /**
>      * Hides circle
>      */
>     public function hide() {        
>     }
>     /**
>      * Shows circle
>      */
>     public function show() {
>     }
> }
> class SpecialCircle extends Circle {
>     /**
>      * {@inheritdoc}
>      */
>     public function hide() {
>         parent::hide();
>     }
>     public function show() {
>         parent::show();
>     }
>     public function redraw() {
>         $this->hide(); // Text "Hides circle" is shown
>         $this->show(); // Text "PHPDoc not found" is shown, expected "Shows circle"
>     }
> }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists