CLion formatting range base for loop space before colon


CLion 2019.1

Formatting a range base 'for' loop. Ctrl-Alt-L to format C++ code gives me

for (auto color: colors)

what I want is a space before the colon

for (auto color : colors)

as per checks.


Editor->Code Style->C/C++->Spaces

Under Other there is After 'for' semicolon and Before 'for' semicolon. Where's the Before 'for' colon?)




Please sign in to leave a comment.