From: juga0 Date: Mon, 11 Jun 2018 21:29:40 +0000 (+0000) Subject: Add explanation about editorconf in coding standards X-Git-Tag: tor-0.3.5.1-alpha~438^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc09ff253e2516ea3bc4bdd7fa8c6052b36900e6;p=thirdparty%2Ftor.git Add explanation about editorconf in coding standards so that developers know what is .editorconfig for. --- diff --git a/doc/HACKING/CodingStandards.md b/doc/HACKING/CodingStandards.md index 3711f70198..4a8f13716b 100644 --- a/doc/HACKING/CodingStandards.md +++ b/doc/HACKING/CodingStandards.md @@ -185,6 +185,9 @@ deviations from our C whitespace style. Generally, we use: `puts (x)`. - Function declarations at the start of the line. +If you use an editor that has plugins for editorconfig.org, the file +`.editorconfig` will help you to conform this coding style. + We try hard to build without warnings everywhere. In particular, if you're using gcc, you should invoke the configure script with the option `--enable-fatal-warnings`. This will tell the compiler