Single line for statement formatter config

Hello, I'm having trouble getting CLion's formatter to keep single-line for statements. 

for(auto &it : list) { it.second.reset(); }
becomes
for(auto &it : list)
{ it.second.reset(); }

 

Settings:

I've got all of the "Keep one line" options checked that seem applicable already. 

0

Please sign in to leave a comment.