diff --git a/extensions/php/snippets/php.snippets.json b/extensions/php/snippets/php.snippets.json index 4ae37b3a6e0..c8dc8405300 100644 --- a/extensions/php/snippets/php.snippets.json +++ b/extensions/php/snippets/php.snippets.json @@ -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" } } \ No newline at end of file