Add parentheses surrounder
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
<caret>true
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
(true)<caret>
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun foo() {
|
||||
val a = "test"
|
||||
|
||||
if (<selection>a == "t"</selection>) {}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun foo() {
|
||||
val a = "test"
|
||||
|
||||
if ((a == "t")<caret>) {}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
val a = <selection>1 + 2</selection>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
val a = (1 + 2)<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user