I am using Visual Studio Code with the C/C++ extension. The command Ctrl+Shift+I formats the code with opening brace on a new line like this:
int f () 
{
   return 0;
}
What I want is this:
int f() {
}
Is there any setting you can change to do this? If not, is there any other extension that would format the code how I want?
 
    