Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should we accept this indentation of nested namespaces? #140

Open
mihaipopescu opened this issue Jun 12, 2018 · 0 comments
Open

Should we accept this indentation of nested namespaces? #140

mihaipopescu opened this issue Jun 12, 2018 · 0 comments

Comments

@mihaipopescu
Copy link

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;
 }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant