I've C/C++ extension of Microsoft as my default formatter. When I save/run my code the opening curly braces automatically move to newline instead of staying in sameline. How can I prevent this? (It doesn't happen after I disable the extension.)
In settings, I found an option position of opening braces for blocks that I set to sameline, but the braces keep moving to newline.