Namespace member indentation

EditorConfig key: cpp-namespace-indentation

Namespace member indentation

cpp-namespace-indentation

Which namespaces indent their members.

Default value:

unset

Possible values:

  • unset
  • none
  • inner
  • all

Examples

unset
none
namespace N {
int x;
}
inner
namespace N { namespace M {
  int x;
}}
all
namespace N {
  int x;
}