From 699a48c077a7f248f9a50f277a8f0aae771014d7 Mon Sep 17 00:00:00 2001 From: Alexander Sivura Date: Fri, 30 Mar 2018 14:29:30 -0700 Subject: [PATCH] Recommendation to disable "Wrap lines to editor width" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aaf1f62..426ec4b 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ This guide was last updated for Swift 4.0 on February 14, 2018. ## 1. Code Formatting * **1.1** Use 4 spaces for tabs. -* **1.2** Avoid uncomfortably long lines with a hard maximum of 160 characters per line (Xcode->Preferences->Text Editing->Page guide at column: 160 is helpful for this) +* **1.2** Avoid uncomfortably long lines with a hard maximum of 160 characters per line (Xcode->Preferences->Text Editing->Page guide at column: 160 and disable Xcode->Preferences->Text Editing->"Wrap lines to editor width" is helpful for this) * **1.3** Ensure that there is a newline at the end of every file. * **1.4** Ensure that there is no trailing whitespace anywhere (Xcode->Preferences->Text Editing->Automatically trim trailing whitespace + Including whitespace-only lines). * **1.5** Do not place opening braces on new lines - we use the [1TBS style](https://en.m.wikipedia.org/wiki/Indentation_style#1TBS).