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

Proposal: change code formatting to Visual Studio defaults

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.4
    • Affects Version/s: 1.3.1
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: