ChainCallJoinLinesHandler: join chained calls; assignment/declaration+call

Fixes IDEA-54209 Join Lines should be able to merge multiple method calls into a chained call
This commit is contained in:
Tagir Valeev
2018-04-19 13:16:07 +07:00
parent 9a35caeaa5
commit eb75cfe87e
13 changed files with 171 additions and 2 deletions
@@ -0,0 +1,8 @@
class Foo {
void test() {
<caret>StringBuilder sb = new StringBuilder();
sb.append("foo");
sb.append("bar");
sb.append("baz");
}
}