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

Hyeonwoo O updated NETBEANS-367:
--------------------------------
    Description: 
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.

  was:
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. I hope that option to be 
added.


> 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 & Indentation
>    Affects Versions: Next
>         Environment: Windows 10
>            Reporter: Hyeonwoo O
>            Assignee: Hyeonwoo O
>            Priority: Major
>              Labels: feature
>
> 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: [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