You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Hyeonwoo O (JIRA)" <ji...@apache.org> on 2018/02/24 09:35:00 UTC

[jira] [Assigned] (NETBEANS-297) Auto Code Formatting

     [ https://issues.apache.org/jira/browse/NETBEANS-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyeonwoo O reassigned NETBEANS-297:
-----------------------------------

    Assignee:     (was: Hyeonwoo O)

> Auto Code Formatting
> --------------------
>
>                 Key: NETBEANS-297
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-297
>             Project: NetBeans
>          Issue Type: Wish
>          Components: editor - Formatting &amp; Indentation
>    Affects Versions: Next
>         Environment: Windows 10
>            Reporter: Hyeonwoo O
>            Priority: Major
>              Labels: features
>
> Currently NetBeans doesn't support auto-formatting, and only manual formatting is possible with format option through shortcut or Right click->Format. So I suggest auto code formatting like this:
> ※ Adding auto-format triggers:
>  * Only to edited lines, not entire code
>  * Operate when semicolon or enter key is presssed
>  * Operate when parentheses/braces/brackets are matched (including block header and internal code lines)
> Next, Formatting->Blank Lines options about C & C++ & C/C++ Header are not sufficient in comparison with other languages like Java. I hope following options are added in the Blank Lines menu.
> ※ Blank line after blocks:
>  * Class, Method, Function
>  * if, if~else, while, do~while, for, try~catch~finally
>  * swtich~case, enum, and etc
> In addition, it would be better if there is additional option doesn't create blank line if the block is End of parent block.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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