[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-indent] Feature request.
From: |
Andi Gutmans |
Subject: |
[Bug-indent] Feature request. |
Date: |
Fri, 18 Jan 2002 16:54:46 +0200 (IST) |
Hey,
I'm using the following switches: -kr -l160 -ts4 -cli4
It seems like these switches pretty much handle most of my code the way
I'd like them to.
There are two issues I didn't find switches for (at least not in the man
pages):
a) After a case statement I like my opening bracket to be on the next line
and not on the line of the case (similar to code blocks which don't follow
if/while/do). I used spaces in this example so that it'd look OK but I
usually use tabsize of 4.
For example I'd like:
switch (...) {
case FOO: {
int i;
hello();
}
}
to be:
switch (...) {
case FOO:
{
int i;
hello();
}
}
It's not a big deal for me to fix manually but if there's a way to do this
I'd appreciate a pointer.
b) I'd like labels used in goto statements to be aligned to the left
(column 1) like pre-processor directives. This makes them stick out. I
rarely use them but sometimes it makes sense.
Anyway, these two issues aren't critical but if you have any
thoughts/ideas please let me know. (I'm not subscribed to the mailing list
so please cc: me too).
Thanks,
Andi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-indent] Feature request.,
Andi Gutmans <=