I just started using Visual Studio Code. In my company they use Whitesmiths indentation style, but I cannot find a way to set it on VSC. I'm programming in C, so I installed the C/C++ plugin. In this, the "Indent: Braces" option looks like the one for me, but it does not seem to work.
My json looks like this:
"C_Cpp.vcFormat.indent.braces": true,
"editor.detectIndentation": false,
"editor.tabSize": 3,
i set detect.Indentation to false, because i don't want it to interfere with indent.braces. This is the user json. I did not modify the workspace nor the folder settings.
However, my code still looks like this
void main()
{
if(condition)
{
do something
}
else
{
whatever
}
}
while it should look like this
void main()
{
if(condition)
{
do something
}
else
{
whatever
}
}
what am I missing? Is there a way to set this from the VSC settings without using the plugin?

Format Documenton save