Constructor initializers formatting

Answered

I like to format my constructors as follows, with each member being at the same indent level as the constructor declaration. I can't find formatting setting in Clion to respect this formatting.

constexpr RGB(float ir, float ig, float ib) noexcept
: r(ir)
, g(ig)
, b(ib)
{
}
0

Please sign in to leave a comment.