Table of Contents

C# settings

  1. Go to Tools > Options.

  2. In the list on the left, go to Text Editor > C# > Advanced.


    Text Editor Advanced Options window

    • Select the check box Generate XML documentation comments for ///.

    • Select the check box Place 'System' directives first when sorting usings.

    • Select the check box Separate using directive groups.

  3. In the list on the left, go to Text Editor > C# > Formatting > General.

    Make sure the following check boxes are selected:


    Text Editor Formatting Options window

  4. In the list on the left, go to Text Editor > C# > Formatting > Indentation.

    Apply the following configuration:


    Text Editor C# Indentation formatting window

  5. In the list on the left, go to Text Editor > C# > Formatting > New Lines.

    Apply the following configuration:


    Text Editor C# new lines formatting window


    Text Editor C# new lines formatting window (continued)

  6. In the list on the left, go to Text Editor > C# > Formatting > Spacing.

    Apply the following configuration:


    Text Editor C# spacing options window


    Text Editor C# spacing options window (continued)


    Text Editor C# spacing options window (continued)


    Text Editor C# spacing options window (continued)


    Text Editor C# spacing options window (continued)