mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 21:39:43 +00:00
add php try catch snippet
This commit is contained in:
parent
e4286549e0
commit
3edd27449e
|
@ -248,5 +248,16 @@
|
|||
"#endregion"
|
||||
],
|
||||
"description": "Folding Region End"
|
||||
},
|
||||
"Try Catch Block": {
|
||||
"prefix": "try",
|
||||
"body": [
|
||||
"try {",
|
||||
"\t${1://code...}",
|
||||
"} catch (\\Exception \\$$e) {",
|
||||
"\t${2://throw $$e;}",
|
||||
"}"
|
||||
],
|
||||
"description": "Try catch block"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue