Issue 38 in vrjuggler: Request for Enhancement: an Astyle configuration file

2 views
Skip to first unread message

vrju...@googlecode.com

unread,
Jan 16, 2012, 2:33:07 PM1/16/12
to vrjuggl...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 38 by ryan.pav...@gmail.com: Request for Enhancement: an Astyle
configuration file
http://code.google.com/p/vrjuggler/issues/detail?id=38

Astyle - http://astyle.sourceforge.net/ - is a great tool for keeping a
uniform code style. I know that you have a specific style you like to see
in submitted code, and it would be much easier to always meet that standard
with an "executable format" of it - an astyle configuration file in the
source tree that does minimal reformatting to match the desired style.
astyle can take in --options=astylerc to set things up properly so at least
spacing and line breaks are automatic.

Based on the (somewhat outdated?) wiki page on code style, here's what I
came up with as a starting point:

--style=allman
--break-closing-brackets
--add-brackets
--indent=spaces=3

--unpad-paren
--pad-header
--pad-paren-in

unsure: --indent-namespaces
unsure: --indent-preprocessor
NOT: --indent-classes
NOT: --indent-cases

The docs are here: http://astyle.sourceforge.net/astyle.html

vrju...@googlecode.com

unread,
Apr 27, 2013, 3:00:45 PM4/27/13
to vrjuggl...@googlegroups.com
Updates:
Labels: -Type-Defect Type-Enhancement

Comment #1 on issue 38 by patrick....@gmail.com: Request for Enhancement:
(No comment was entered for this change.)

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages