Curious
Curious

Reputation: 21510

How to make clang-format indent all detail namespaces by one

How can I make clang-format indent all *detail* and anonymous namespaces in C++ by one tab space (whatever that is, I am using 4 space tabs)

Upvotes: 5

Views: 5230

Answers (1)

lenz
lenz

Reputation: 2425

For indenting namespaces in general you can use this:

NamespaceIndentation: All

Upvotes: 4

Related Questions