I'm using the C++ Extension for VSCode (Visual Studio Code).
This format's my code when I save my C++ file. But the format results in if-statement and curly braces on same lines rather than on the new line.(I have already set format Curly Braces on Same Line)
C++ VSCode Formatted
if(...){
//...
}else if(...)
//...
}else{
//...
}
What I Want C++ VSCode Formatted Code to Look Like
if(...){
//...
}
else if(...){
//...
}
else{
//...
}
How can I make If-else in C++ format on the differernt line in Visual Studio Code?