[tracker] Add example configuration 'uncrustify' formatting tool



commit e9ed44371e20989a69b70156efbd87f28ffc5cb2
Author: Sam Thursfield <sam afuera me uk>
Date:   Mon Jul 4 21:51:45 2016 +0100

    Add example configuration 'uncrustify' formatting tool
    
    This is useful for aligning variables in parameter names.

 utils/uncrustify.cfg |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/utils/uncrustify.cfg b/utils/uncrustify.cfg
new file mode 100644
index 0000000..433c699
--- /dev/null
+++ b/utils/uncrustify.cfg
@@ -0,0 +1,13 @@
+# Configuration for formatting Tracker source code using the
+# 'uncrustify' indent tool.
+
+align_func_params = true
+
+align_var_def_star_style = 2
+
+sp_after_ptr_star = remove
+
+sp_after_semi_for = ignore
+sp_after_semi_for_empty = ignore
+
+align_nl_cont = true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]