- Subject: kitware indentation style (C/C++ mode)
- From: "Olesen, Mark" <Mark.Olesen@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 25 Apr 2008 09:33:41 +0200
I was wondering if anyone else has been coding on VTK and come up with
an indentation scheme that works for the "kitware style". I personally
find the style really ugly, but that really isn't the point. The style
results in code that looks like this:
int function(int i)
{
int j;
if (condition)
{
j = 0;
}
else
{
while (condition)
{
ii += n;
}
}
return 0;
}
Within a conditional or loop the settings C_BRACE=2, C_INDENT=0 work
fine, but at the top function level C_BRACE=0, C_INDENT=2 is needed.
Any ideas about how to solve this?
/mark
This e-mail message and any attachments may contain
legally privileged, confidential or proprietary Information,
or information otherwise protected by law of EMCON
Technologies, its affiliates, or third parties. This notice
serves as marking of its ?Confidential? status as defined
in any confidentiality agreements concerning the sender
and recipient. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of this
message to the intended recipient(s), you are hereby
notified that any dissemination, distribution or copying
of this e-mail message is strictly prohibited.
If you have received this message in error, please
immediately notify the sender and delete this e-mail
message from your computer.
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2008 date index]
[2008 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]