vscode-csharp icon indicating copy to clipboard operation
vscode-csharp copied to clipboard

Add curly brackets automatically for methods and classes

Open HypeillingerChillinger opened this issue 2 years ago • 0 comments

Describe the solution you would like

When typing a left curly bracket after the signature of a new method the right bracket should be added automatically in the correct format.

E.g.

     private void MyNewMethod()

Now we type a left bracket the result (with correct indentation) should be

     private void MyNewMethod()
     {
         <the cursor goes here with correct indentation>
     }

I use Debian

HypeillingerChillinger avatar Jun 15 '22 08:06 HypeillingerChillinger