Space between '}' and 'else' in C++ code

已回答

Hey, here's something that really pisses me off.

"}else {"

How do I fix it? I prefer "} else {".

0

Hi! Please go to File | Settings | Editor | Code Style | C/C++ > Spaces > Before Keywords and check the 'else' keyword option.

0

Oh wow, I don't know how I missed that... thanks

0

请先登录再写评论。