From c25facfd21577fcbe84eae8fe36024c79b6018b4 Mon Sep 17 00:00:00 2001 From: James Adams Date: Fri, 25 Aug 2023 17:17:44 +0100 Subject: [PATCH] coding_style: Document recommended editor settings --- _development/coding_style.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/_development/coding_style.md b/_development/coding_style.md index dda5cd0..b5f91b1 100644 --- a/_development/coding_style.md +++ b/_development/coding_style.md @@ -32,6 +32,17 @@ by Greg Kroah-Hartman The basics ---------- +### Editor Settings + +Configure your editor of choice to: +* Insert spaces instead of Tabs + * When `Tab` is pressed + * When performing automatic indentation. +* Remove trailing whitespace from lines. +* Remove extra new lines from the end of the file. +* Insert a new line at the end of the file if there is not one. +* Maximum line length to 120 characters + ### Indentation Use 4 white spaces. No tabs, no 8 white spaces, no funny things. Fix your editor's configuration,