mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 13:43:07 +00:00
add php try catch snippet
This commit is contained in:
parent
e4286549e0
commit
3edd27449e
1 changed files with 11 additions and 0 deletions
|
@ -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