Sfoglia il codice sorgente

Add explanation about editorconf in coding standards

so that developers know what is .editorconfig for.
juga0 6 anni fa
parent
commit
cc09ff253e
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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