Add try-catch, try-finally, try-catch-finally surrounders
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
<selection>"aaa"
|
||||
"aaa"</selection>
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fun foo() {
|
||||
try {
|
||||
"aaa"
|
||||
"aaa"
|
||||
} catch(e: <selection>Exception</selection>) {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
<selection>"aaa"</selection>
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
fun foo() {
|
||||
try {
|
||||
"aaa"
|
||||
} catch(e: <selection>Exception</selection>) {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
<selection>"aaa"
|
||||
"aaa"</selection>
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fun foo() {
|
||||
try {
|
||||
"aaa"
|
||||
"aaa"
|
||||
} catch(e: <selection>Exception</selection>) {
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
<selection>"aaa"</selection>
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fun foo() {
|
||||
try {
|
||||
"aaa"
|
||||
} catch(e: <selection>Exception</selection>) {
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
<selection>"aaa"
|
||||
"aaa"</selection>
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fun foo() {
|
||||
try {
|
||||
"aaa"
|
||||
"aaa"
|
||||
} finally {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo() {
|
||||
<selection>"aaa"</selection>
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fun foo() {
|
||||
try {
|
||||
"aaa"
|
||||
} finally {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user