• Hello and welcome to our new forums. We upgraded our forum sites to a more robust and modern system which we hope you will enjoy. Be sure to check out your profile by clicking the button on the top right and configure your preferences, signature, time zone, avatar, etc. as you wish. If you need help with using this new forum'ware try the help link on the bottom right.

    Click here to review your account now.

automatically add a close } when { is typed?

mohammadbaldwin121

New member
Joined
May 29, 2018
Messages
3
Programming Experience
5-10
So I'm creating a few properties such as:

public string MyName
{

Why when I type that { isn't a } placed for me automatically? It's crazy that I have to enter enter } and then up arrow to code.​

Neal
Administrator, C# Forums
 

JohnH

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
482
Location
Norway
Programming Experience
10+
See that 'Automatic brace completion' is checked in Options > Text Editor > C# > General.
 
Top Bottom