Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Next
    • Fix Version/s: None
    • Labels:
    • Environment:
      Windows 10

      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.(cppformat.png) Plus, it would be great if a new option to set the number of black lines after function.

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              NDelt NDelt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: