How to prevent VS Code from putting '{' on new line in C++ formatting?

Viewed 307

If I write some code

void function() {
....
}

when I format the entire page using Shift+Alt+F, it becomes

void function() 
{
....
}

How do I prevent that initial opening bracket from going to a new line?

1 Answers
Related