Feature request for formatting a long list of operators

Hi,

I'm looking for an option that will "chop down", but not indent, a long list
of operators.

Something like:

string s =
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
+
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
+
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
+
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff";

Instead of:
string s =
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
+
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
+
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
+
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff";

(hopefully the formatting works here)

It should also work for the other operators, within if clauses, etc..

if (someLongBooleanNameOrExpression1
|| someLongBooleanNameOrExpression2
|| someLongBooleanNameOrExpression3
|| someLongBooleanNameOrExpression4) ...

Not:

if (someLongBooleanNameOrExpression1
|| someLongBooleanNameOrExpression2
|| someLongBooleanNameOrExpression3
|| someLongBooleanNameOrExpression4) ...

I think IDEA has this option, but I can't really remember anymore :\

Thanks.

---
Richard


1 comment
Comment actions Permalink

Hello,

We appreciate your feedback.

The corresponding JIRA request has been created, and you are welcome to monitor
its status at http://www.jetbrains.net/jira/browse/RSRP-34619.

Best regards,
- Development Team.


0

Please sign in to leave a comment.