make create local from fix available on full range (IDEA-141875)

This commit is contained in:
Anna Kozlova
2018-06-18 17:05:41 +03:00
parent dabef9b7b1
commit 6adc33ee16
3 changed files with 15 additions and 6 deletions
@@ -0,0 +1,7 @@
// "Create local variable 'x'" "true"
class A {
public void foo() {
Object x;
x;
}
}
@@ -0,0 +1,6 @@
// "Create local variable 'x'" "true"
class A {
public void foo() {
x;<caret>
}
}