You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[PesterTestForMandatoryParameter](#pestertestformandatoryparameter)|_Create Pester test for a mandatory parameter_|
29
29
|[PesterTestForParameter](#pestertestforparameter)|_Create Pester test for parameter_|
30
30
|[PSCustomObject](#pscustomobject)|_A simple PSCustomObject by @brettmillerb_|
31
+
|[Region Block](#region-block)|_Region Block for organizing and folding of your code_|
31
32
32
33
## Snippets
33
34
@@ -271,6 +272,7 @@ Quickly create a Pester Test for existence of a parameter by @SQLDBAWithABeard
271
272
"description": "Pester Test for Parameter"
272
273
}
273
274
```
275
+
274
276
### PSCustomObject
275
277
276
278
A simple PSCustomObject by @brettmillerb. It has 4 properties that you can tab through to quickly fill in.
@@ -292,6 +294,24 @@ A simple PSCustomObject by @brettmillerb. It has 4 properties that you can tab t
292
294
}
293
295
```
294
296
297
+
### Region Block
298
+
299
+
Use the `#region` for organizing your code (including good code folding).
300
+
301
+
#### Snippet
302
+
303
+
```json
304
+
"Region Block": {
305
+
"prefix": "#region",
306
+
"body": [
307
+
"#region ${1}",
308
+
"${2}",
309
+
"#endregion"
310
+
],
311
+
"description": "Region Block for organizing and folding of your code"
312
+
}
313
+
```
314
+
295
315
## Contributing
296
316
297
317
If you'd like to add a snippet to this list, [open a pull request](https://opensource.guide/how-to-contribute/#opening-a-pull-request) with the following changes:
0 commit comments