Skip to content

Commit fba8a6f

Browse files
authored
Add support for surround with try_catch. (#3104)
Signed-off-by: Gayan Perera <[email protected]>
1 parent d1ceb3f commit fba8a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/java.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"prefix": "try_catch",
2222
"body": [
2323
"try {",
24-
"\t$1",
24+
"\t${TM_SELECTED_TEXT:$1}",
2525
"} catch (${2:Exception} ${3:e}) {",
2626
"\t$0// TODO: handle exception",
2727
"}"

0 commit comments

Comments
 (0)