Automatically add opening and closing braces after method signature in Visual Studio

Since version 2019 16.10 Visual Studio has a new smart break line shortcut (Shift + Enter) that automatically inserts a set of braces and adds the cursor within those braces. This is another cool time saver.

If you want to change the keyboard shortcut for this functionality look for Edit.SmartBreakLine in the options as shown below…

Leave a Reply

Your email address will not be published. Required fields are marked *