Auto Formatting Cutters

I have a problem with Resharper and auto formating shapes. After a while, Resharper does not add closing curly braces while I print the open bracket. Also, when I print the final figure in the last line of the method, the closing bracket of the method will be deleted.

Example:

private void Method()
{
    if(true)
    { // If I type '{' resharper of vs2010 will normally add a '}' 
      // but I don't know why not now
}
private void AnotherMethod(){}

If you manually add a closing bracket, the closing bracket of the method is deleted and AnotherMethod()indented.

private void Method()
{
    if(true)
    {
    } // Why is the closing brace of the method removed?
    private void AnotherMethod(){}

My resharper related settings:
Formatting Style> brackets Plan :
 - Layout brackets : for all the next line (BSD style) (and formatting of empty braces: in different rows)
 - Power brackets : for all Add braces

IntelliSence > :
 - :
 + - selected:


 - :
 + -:

resharper ?

+3

Source: https://habr.com/ru/post/1778064/


All Articles