Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-359

Proposal: change code formatting to Visual Studio defaults

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.4
    • 1.3.1
    • None
    • None

    Description

      While the current code formatting style (K&R or 1TSB) is one of several in common use in the industry, it is not the style configured by default in Visual Studio.

      The proposal is to reformat the code base using the Visual Studio default settings. This would have the following benefits:

      • there are probably more people using Visual Studio defaults than K&R
      • contributors could use the Visual Studio defaults and not have to load any settings into Visual Studio
      • any disagreements about code formatting style could be settled by appealing to the defaults (in most cases)

      No decision will be made on this issue for a few weeks to allow time for comments.

      Thanks in advance for your feedback.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: