summaryrefslogtreecommitdiffstats
path: root/astylerc
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2013-08-31 16:52:02 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2013-08-31 16:52:02 +0000
commit7a4b9cd6ce1106adc462019859342f74268a497f (patch)
tree49d18778302cc9cff1fffc5ae6caf41a385bca33 /astylerc
parentMove libuemf to a separate directory. (diff)
downloadinkscape-7a4b9cd6ce1106adc462019859342f74268a497f.tar.gz
inkscape-7a4b9cd6ce1106adc462019859342f74268a497f.zip
Add Artistic Style options file
(bzr r12491)
Diffstat (limited to 'astylerc')
-rw-r--r--astylerc25
1 files changed, 25 insertions, 0 deletions
diff --git a/astylerc b/astylerc
new file mode 100644
index 000000000..b2af98ddc
--- /dev/null
+++ b/astylerc
@@ -0,0 +1,25 @@
+# Inkscape coding style options for the Artistic Style formatter
+# See http://astyle.sourceforge.net/
+
+# Opening braces broken from functions only
+--style=stroustrup
+
+# Four-space indent; convert stray tabs
+--indent=spaces=4
+--convert-tabs
+
+# Spaces around binary operators and before control statement parens
+--unpad-paren
+--pad-oper
+--pad-header
+
+# Attach pointers and references to variable names
+--align-pointer=name
+--align-reference=name
+
+# Add brackets to single-statement blocks
+--add-brackets
+
+# Misc. options
+--indent-preprocessor
+--indent-col1-comments