Format Curly Braces on Same Line in C++ VSCode : <p>I'm using the <a href="https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools" rel="noreferrer">C++ Extension</a> for <a href="https://code.visualstudio.com/" rel="noreferrer">VSCode</a> <em>(Visual Studio Code)</em>.</p>

<p>Currently, I have the setting <code>"C_Cpp.clang_format_formatOnSave"</code> set to <code>true</code>.</p>

<p>This format's my code when I save my C++ file. But the format results in curly braces on new lines rather than on the same line.</p>

<p><strong>Current C++ VSCode Formatted</strong></p>

<pre><code>for (int i = 0; i &lt; 10; i++)
{
    // ...
}
</code></pre>

<p><strong>What I Want C++ VSCode Formatted Code to Look Like</strong></p>

<pre><code>for (int i = 0; i &lt; 10; i++) {
    // ...
}
</code></pre>

<p>I also have <code>editor.wrappingIndent</code> set to <code>"same"</code>.</p>

<p><strong>How can I make curly braces in C++ format on the same line in Visual Studio Code?</strong></p>
