[jira] [Commented] (NETBEANS-5124) Source>Insert code: Generate default documentation bloc

2020-12-09 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5124:


Thank you for providing it.

> Source>Insert code: Generate default documentation bloc
> ---
>
> Key: NETBEANS-5124
> URL: https://issues.apache.org/jira/browse/NETBEANS-5124
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Editor
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: Test_before.php, Test_current_result.php, 
> Test_expected_result.php
>
>
> Source>Insert code Generates setters and getter automatically.
> 1) It misses return type when the function returns "$this". (could be :static 
> in PHP8)
> 2) Can you add the default docblock?
> When you type '/**' then enter before a function, the doc bloc is generated 
> automatically.
> Can you do the same for each function generated by Source>Insert code ?
> Thanks.



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

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

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



[jira] [Commented] (NETBEANS-5124) Source>Insert code: Generate default documentation bloc

2020-12-09 Thread Jayce (Jira)


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

Jayce commented on NETBEANS-5124:
-

1)Open Test_before.php

2) Run Source>Insert code>Getters and setters

->someData checked

->Remove Underscore

->Fluent setter checked

->Use Public Modifier Checked

Functions generated do not have ANY doc bloc.

3) Compare result vs Test_expected_result attached (php8, may be a bit 
different for php 7)

Thanks

> Source>Insert code: Generate default documentation bloc
> ---
>
> Key: NETBEANS-5124
> URL: https://issues.apache.org/jira/browse/NETBEANS-5124
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Editor
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
> Attachments: Test_before.php, Test_current_result.php, 
> Test_expected_result.php
>
>
> Source>Insert code Generates setters and getter automatically.
> 1) It misses return type when the function returns "$this". (could be :static 
> in PHP8)
> 2) Can you add the default docblock?
> When you type '/**' then enter before a function, the doc bloc is generated 
> automatically.
> Can you do the same for each function generated by Source>Insert code ?
> Thanks.



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

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

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



[jira] [Commented] (NETBEANS-5124) Source>Insert code: Generate default documentation bloc

2020-12-09 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-5124:


Could you please write example code and expected result?

> Source>Insert code: Generate default documentation bloc
> ---
>
> Key: NETBEANS-5124
> URL: https://issues.apache.org/jira/browse/NETBEANS-5124
> Project: NetBeans
>  Issue Type: Wish
>  Components: php - Editor
>Reporter: Jayce
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> Source>Insert code Generates setters and getter automatically.
> 1) It misses return type when the function returns "$this". (could be :static 
> in PHP8)
> 2) Can you add the default docblock?
> When you type '/**' then enter before a function, the doc bloc is generated 
> automatically.
> Can you do the same for each function generated by Source>Insert code ?
> Thanks.



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

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

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