From 7704ba60c667a0056483f90b8002bada7bbfdd5b Mon Sep 17 00:00:00 2001 From: James Adams Date: Fri, 25 Aug 2023 17:17:44 +0100 Subject: [PATCH] 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 444a0c5..0c351f2 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,