You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "NDelt (JIRA)" <ji...@apache.org> on 2018/05/07 16:28:00 UTC

[jira] [Updated] (NETBEANS-367) Improvement in C/C++ Code Formatter

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

NDelt updated NETBEANS-367:
---------------------------
    Attachment: cppformat.png

> Improvement in C/C++ Code Formatter
> -----------------------------------
>
>                 Key: NETBEANS-367
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-367
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: editor - Formatting &amp; Indentation
>    Affects Versions: Next
>         Environment: Windows 10
>            Reporter: NDelt
>            Priority: Major
>              Labels: feature
>         Attachments: cppformat.png
>
>
> In C, C++ and C/C++ Header files, formatting features are insufficient compared to Java files.
> I hope following improvements are made:
> *1. Indentation in first line of main() function*
> After creating new main file, the first line of main() function has no indentation. It needs to apply indent in all lines of main() function as default.
> *2. Removing blank lines after namespace/access modifier*
> I added a blank line before classes and functions, but I want to make an exception about namespaces and access modifiers(public, private, protected, and etc). I tried to remove blank line +after+ namespace/access modifier but I couldn't find any options about it. It would be good if that options are added.
> *3. Formatting block comments*
> Unlike Java files, there is no option about formatting block comments so It is impossible to add Leading Star('*') automatically inside the block. I hope that option to be added.



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