With release of the v4.2.83 build of PowerShell Studio 2015, we introduced new features which we will cover in detail over a series of articles.
This first feature added was in response to user feedback.
Parameter Block Formatting
Three new options were added to PowerShell Studio 2015 that allow you to control different aspects of parameter block formatting:
Insert new line after parameter attribute
This option places each parameter attribute in its own line.
Before:
After:
Insert new line after parameter type
This option inserts a line after the type of the parameter.
Before:
After:
Parameter line spacing
This option governs the line spacing between parameters. If set to a value greater than zero, PowerShell Studio will place the specified number of new lines after the parameter. To disable this option (leave the spacing as is) set the value to zero.
Before:
After (Spacing = 2):
These new formatting options will help maintain your parameter blocks the way you want them. If you would like to see more formatting options, please let us know by posting on our Wish List and Feature Request forum.
![[Google+]](http://www.sapien.com/blog/wp-content/uploads/GooglePlus.gif)