DTW-DanWard/PowerShell-Beautifier

Add option to change the indent size

samjviana opened this issue · 1 comments

It would be nice to be able to change that, personally speaking i prefer using 4 whitespaces as indent with whitespace

By default it formats with 2 spaces but you can have it format with 4 spaces or tab characters. Specify the IndentType parameter:

Edit-DTWBeautifyScript -SourcePath C:\temp\File1.ps1 -IndentType Tabs
Edit-DTWBeautifyScript -SourcePath C:\temp\File1.ps1 -IndentType FourSpaces