PowerShell-Beautifier
1.2.5
PowerShell beautifier / code cleaner / pretty printer. For more info see: https://github.com/DTW-DanWard/PowerShell-Beautifier
Installation Options
Owners
Copyright
Copyright 2012-2017 Dan Ward. All rights reserved.
Package Details
Author(s)
- Dan Ward
Tags
Beautifier WhiteSpace PrettyPrinter Tabs Spaces Format Core
Functions
Add-DTWFileEncodingByteOrderMarker Get-DTWFileEncoding Get-DTWFileEncodingSystemProviderNameFromTypeName Get-DTWFileEncodingTypeFromName Compare-DTWFiles Compare-DTWFilesIncludingBOM Compare-DTWFilesIgnoringBOM Set-LookupTableValuesFromFile Save-LookupTableValuesToFile Update-DTWRegenerateLookupTableValuesFile Set-LookupTableValuesFromMemory Initialize-ValidCommandNames Get-CoreSafeAliases Initialize-ValidCommandParameterNames Initialize-ValidAttributeNames Initialize-ValidMemberNames Initialize-ValidVariableNames Invoke-Main Initialize-ProcessVariables Get-ValidCommandName Get-ValidCommandParameterName Get-ValidAttributeName Get-ValidMemberName Get-ValidVariableName Add-StringContentToDestinationFileStreamWriter Copy-ArrayContentFromSourceArrayToDestinationFileStreamWriter Import-ScriptContent Invoke-TokenizeSourceScriptContent Copy-SourceContentToDestinationStream Write-TokenContentByType Write-TokenContent_Attribute Write-TokenContent_Command Write-TokenContent_CommandArgument Write-TokenContent_CommandParameter Write-TokenContent_Comment Write-TokenContent_GroupEnd Write-TokenContent_GroupStart Write-TokenContent_KeyWord Write-TokenContent_LoopLabel Write-TokenContent_LineContinuation Write-TokenContent_Member Write-TokenContent_NewLine Write-NewLine Write-TokenContent_Number Write-TokenContent_Operator Write-TokenContent_Position Write-TokenContent_StatementSeparator Write-TokenContent_String Write-TokenContent_Type Write-TokenContent_Variable Write-TokenContent_Unknown Test-AddSpaceFollowingToken Edit-DTWBeautifyScript
Dependencies
This module has no dependencies.
FileList
- PowerShell-Beautifier.nuspec
- LICENSE
- PowerShell-Beautifier.psd1
- README.md
- docs\BeforeAfterVSCode.png
- docs\ChangeLog.md
- docs\Compare_CaseChanges.png
- docs\Compare_Whitespace.png
- docs\ExternalEditors.md
- docs\FAQ.md
- docs\HowItWorks.md
- docs\Roadmap.md
- docs\Testing.md
- docs\TokenizeExample.md
- docs\_config.yml
- src\DTW.PS.Beautifier.Main.psm1
- src\DTW.PS.Beautifier.PopulateValidNames.psm1
- src\DTW.PS.FileSystem.Encoding.psm1
- test\Invoke-DTWBeautifyScriptTests.ps1
- test\1_Input_Bad\Case\Commands.ps1
- test\1_Input_Bad\Case\Members.ps1
- test\1_Input_Bad\Case\ParameterAttributes.ps1
- test\1_Input_Bad\Case\Parameters.ps1
- test\1_Input_Bad\Case\Types.ps1
- test\1_Input_Bad\CompleteFiles\Clear-PSFSitecoreRecycleBin.ps1
- test\1_Input_Bad\CompleteFiles\Remove-PSFOldContent.ps1
- test\1_Input_Bad\FileEncoding\ASCII_NoBOM.ps1
- test\1_Input_Bad\FileEncoding\UTF16_BE_BOM.ps1
- test\1_Input_Bad\FileEncoding\UTF16_BE_NoBOM.ps1
- test\1_Input_Bad\FileEncoding\UTF16_LE_BOM.ps1
- test\1_Input_Bad\FileEncoding\UTF16_LE_NoBOM.ps1
- test\1_Input_Bad\FileEncoding\UTF8_BOM.ps1
- test\1_Input_Bad\FileEncoding\UTF8_NoBOM.ps1
- test\1_Input_Bad\Rename\Alias.ps1
- test\1_Input_Bad\Whitespace\CmdletDefinition.ps1
- test\1_Input_Bad\Whitespace\DotSource.ps1
- test\1_Input_Bad\Whitespace\Indentation.ps1
- test\1_Input_Bad\Whitespace\NoNewLineAtEndOfFile.ps1
- test\1_Input_Bad\Whitespace\NonWindowsLineEnding.ps1
- test\1_Input_Bad\Whitespace\WithinLine.ps1
- test\3_Output_Correct\Case\Commands.ps1
- test\3_Output_Correct\Case\Members.ps1
- test\3_Output_Correct\Case\ParameterAttributes.ps1
- test\3_Output_Correct\Case\Parameters.ps1
- test\3_Output_Correct\Case\Types.ps1
- test\3_Output_Correct\CompleteFiles\Clear-PSFSitecoreRecycleBin.ps1
- test\3_Output_Correct\CompleteFiles\Remove-PSFOldContent.ps1
- test\3_Output_Correct\FileEncoding\ASCII_NoBOM.ps1
- test\3_Output_Correct\FileEncoding\UTF16_BE_BOM.ps1
- test\3_Output_Correct\FileEncoding\UTF16_BE_NoBOM.ps1
- test\3_Output_Correct\FileEncoding\UTF16_LE_BOM.ps1
- test\3_Output_Correct\FileEncoding\UTF16_LE_NoBOM.ps1
- test\3_Output_Correct\FileEncoding\UTF8_BOM.ps1
- test\3_Output_Correct\FileEncoding\UTF8_NoBOM.ps1
- test\3_Output_Correct\Rename\Alias.ps1
- test\3_Output_Correct\Whitespace\CmdletDefinition.ps1
- test\3_Output_Correct\Whitespace\DotSource.ps1
- test\3_Output_Correct\Whitespace\Indentation_2space.ps1
- test\3_Output_Correct\Whitespace\Indentation_4space.ps1
- test\3_Output_Correct\Whitespace\Indentation_tab.ps1
- test\3_Output_Correct\Whitespace\NoNewLineAtEndOfFile.ps1
- test\3_Output_Correct\Whitespace\NonWindowsLineEnding.ps1
- test\3_Output_Correct\Whitespace\WithinLine.ps1
- test\Automation\Invoke-RunTestScriptInDockerCoreContainers.ps1
- test\Automation\README.md