IDEA-172368 'Join lines' could handle increment with 0 nicer

This commit is contained in:
Tagir Valeev
2018-04-19 13:36:15 +07:00
parent 4f4e89a064
commit deeec13f53
6 changed files with 39 additions and 12 deletions
@@ -0,0 +1,6 @@
class Foo {
{
int <caret>x = 1;
x += 2;
}
}
@@ -0,0 +1,5 @@
class Foo {
{
int x = 1 + 2;
}
}
@@ -1,5 +1,5 @@
class Foo {
{
int x = 0 + 2;<caret>
int x = 2;
}
}