Skip to content

Should we accept this indentation of nested namespaces? #140

@mihaipopescu

Description

@mihaipopescu

We have this diff on the new uncrustify. The new indentation doesn't take into consideration the two nested levels and results only in one indentation level. While it's more aesthetic than the previous one on 2-size indent, this one is inconsistent with the indentation level.

I think it's ok but I wanted to discuss:

diff --git afoo.h b/foo
--- a/foo.h
+++ b/foo.h
@@ -3,28 +3,28 @@
 namespace Editor
 { namespace TaskManager
 {
-  typedef int TaskId;
+    typedef int TaskId;
 }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions