diff --git a/Настройка-параметров-VS-Code-после-установки.md b/Настройка-параметров-VS-Code-после-установки.md index 6d2589a..d086c34 100644 --- a/Настройка-параметров-VS-Code-после-установки.md +++ b/Настройка-параметров-VS-Code-после-установки.md @@ -129,4 +129,35 @@ git config --global user.email "mail@example.com" ] } } +``` + +### Блок try/catch + +```json +{ + "Блок try/catch": { + "prefix": "tr", + "body": [ + "try", + "{", + "\tthrow new NotImplementedException();", + "}", + "catch (Exception ex)", + "{", + "\t$0throw;", + "}" + ] + } +} +``` + +### Блок throw new NotImplementedException() + +```json +{ + "Блок throw new NotImplementedException()": { + "prefix": "thr", + "body": "throw new NotImplementedException();" + } +} ``` \ No newline at end of file