Let's say that I have a cursor position to the right of the curly brace in the right face, for example:

Now, if I press enter, I expect it to automatically align the cursor with two tabs, like the break statement. But what is it:

He adds a funny five tabs! Knowing that Visual Studio has a metric ton of settings, I go to Tools::Settings::Text Editor::C/C++::Formatting::Indentation and see the following window:

But changing the highlighted options in any combination does not actually affect the indentation at all! None of the other options seem to apply to switch statements, so I don't know what to do. How to do this without indenting 5 spaces without disabling auto formatting?
And I could add that it not only places 5 tabs when I press the enter button at the end of the curly bracket, but when an event with automatic formatting occurs. Therefore, when I add a semicolon at the end of the line, it places 5 tabs, even if I took them out earlier.
c ++ indentation visual-studio-2013
Bwg
source share