IDEA-190558 Join lines: smart concatenation of assignment and the subsequent reassignment with the method call

This commit is contained in:
Tagir Valeev
2018-04-19 15:50:25 +07:00
parent 279c952a11
commit 5f34c4c223
8 changed files with 106 additions and 1 deletions
@@ -0,0 +1,10 @@
class Foo {
interface X {
X getParent();
}
void test(X x) {
<caret>x = x.getParent();
x = x.getParent();
}
}