mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 19:59:37 +00:00
add php try catch snippet
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user