Browse Source

Add explanation about editorconf in coding standards

so that developers know what is .editorconfig for.
juga0 6 years ago
parent
commit
cc09ff253e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      doc/HACKING/CodingStandards.md

+ 3 - 0
doc/HACKING/CodingStandards.md

@@ -185,6 +185,9 @@ deviations from our C whitespace style.  Generally, we use:
      `puts (x)`.
      `puts (x)`.
    - Function declarations at the start of the line.
    - 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
 We try hard to build without warnings everywhere.  In particular, if
 you're using gcc, you should invoke the configure script with the
 you're using gcc, you should invoke the configure script with the
 option `--enable-fatal-warnings`.  This will tell the compiler
 option `--enable-fatal-warnings`.  This will tell the compiler