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

NDelt closed NETBEANS-297.
--------------------------
    Resolution: Not A Problem

> Auto Code Formatting
> --------------------
>
>                 Key: NETBEANS-297
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-297
>             Project: NetBeans
>          Issue Type: Wish
>          Components: editor - Formatting & Indentation
>    Affects Versions: Next
>         Environment: Windows 10
>            Reporter: NDelt
>            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: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to