Commit 430c89f1 authored by W. Michael Petullo's avatar W. Michael Petullo
Browse files

Add notes about indent to coding standards documentation


Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent 10bbaefc
......@@ -52,6 +52,12 @@ void foo (void)
</programlisting>
</listitem>
<listitem>Place a semicolon following function-like preprocessor macros because the lack of one might confuse tools such as <application>indent</application> (even if the semicolon is actually repetitive):
<programlisting>
CPPFUNC(foo);
</programlisting>
</listitem>
<listitem>Perform a Git commit after finishing a single
task</listitem>
......@@ -71,6 +77,12 @@ characters long.
<listitem>Use GObject conventions for things not covered here</listitem>
<listitem>You may use the following indent command to format libdmapsharing code:
<programlisting>
indent -i8 -bad -bap -br -ce -d0 -ndj -lp -pcs -psl -sc -sob foo.c
</programlisting>
</listitem>
</itemizedlist>
</refsect1>
</refentry>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment