Surround with: move declaration out from block
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun foo() {
|
||||
<selection>class A {}
|
||||
"bbb"</selection>
|
||||
|
||||
val myClass: A? = null
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
fun foo() {
|
||||
class A {}
|
||||
if (<caret>) {
|
||||
"bbb"
|
||||
}
|
||||
|
||||
val myClass: A? = null
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
fun foo() {
|
||||
<selection>class A {}
|
||||
"bbb"</selection>
|
||||
|
||||
val myClass = A()
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
fun foo() {
|
||||
class A {}
|
||||
if (<caret>) {
|
||||
"bbb"
|
||||
}
|
||||
|
||||
val myClass = A()
|
||||
}
|
||||
Reference in New Issue
Block a user