diff options
author | David Ortinau <david.ortinau@microsoft.com> | 2017-08-10 17:20:37 -0500 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2017-08-10 23:20:37 +0100 |
commit | f37851c5ed4d40343d5193411b47fefe6b0182d3 (patch) | |
tree | d1d916d0691849001a5584ef26cbded3b22c6a57 /README.md | |
parent | 0ff50e2418c1620a86c01004f35dd2855bfe4c0f (diff) | |
download | xamarin-forms-f37851c5ed4d40343d5193411b47fefe6b0182d3.tar.gz xamarin-forms-f37851c5ed4d40343d5193411b47fefe6b0182d3.tar.bz2 xamarin-forms-f37851c5ed4d40343d5193411b47fefe6b0182d3.zip |
added styling instructions for Visual Studio for Mac (#1078)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -70,8 +70,8 @@ You can find out how to obtain a Google Maps API key [here](https://developer.xa We follow the style used by the [.NET Foundation](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/coding-style.md), with two primary exceptions: - We do not use the `private` keyword as it is the default accessibility level in C#. -- We use hard tabs over spaces. You can change this setting in VS 2015 via `Tools > Options` and navigating to `Text Editor > C#` and selecting the "Keep tabs" radio option. -- Lines should be limited to a max of 120 characters (or as close as possible within reason). +- We use hard tabs over spaces. You can change this setting in VS 2015 via `Tools > Options` and navigating to `Text Editor > C#` and selecting the "Keep tabs" radio option. In Visual Studio for Mac it's set via preferences in `Source Code > Code Formatting > C# source code` and disabling the checkbox for `Convert tabs to spaces`. +- Lines should be limited to a max of 120 characters (or as close as possible within reason). This may be set in Visual Studio for Mac via preferences in `Source Code > Code Formatting > C# source code` and changing the `Desired file width` to `120`. ## Contributing ## |