mrward / typescript-addin

TypeScript addin for MonoDevelop and Xamarin Studio
MIT License
29 stars 9 forks source link

Style Guide #6

Open chrisber opened 9 years ago

chrisber commented 9 years ago

If you accepted pull request in the future, could you provide a style guide for it :grey_question: I would like to use spaces for tabs are you OK with that :pray: ? What are the monodevelop code format options that you are using?

mrward commented 9 years ago

The code follows the style for SharpDevelop which unfortunately uses tabs instead of spaces. The style is nearly the same as MonoDevelop's coding style the only difference that there is no space between opening braces for methods:

// MonoDevelop
Console.WriteLine ("...");

// SharpDevelop
Console.WriteLine("...");

In both cases tabs are used instead of spaces.

chrisber commented 9 years ago

Ok then I will use the default SharpDevelop code formatting in monodevelop. :+1: