I *love* Visual Assist X, and recognize what it's doing (parsing and formatting) is incredibly difficult.
WISH: Proper indenting of ternary ?:
Example:
(The following example does not currently format properly, as the "some_false_value" is not indented) (Visual Assist X 10.6.1856.0 built 2011.08.24):
void foo(void)
{
return
(some_long_condition)
?
some_true_value
:
some_false_value;
}
It would also be fine if (alternatively) the resulting values were indented (we don't have a preference):
void foo(void)
{
return
(some_long_condition)
?
some_true_value
:
some_false_value;
}