Skip to content

Add code formatting option for lining up assignment operators in DSC configurations #672

Closed
@daviwil

Description

@daviwil

When a user writes a DSC configuration, they might line up their assignment statements like this:

configuration MyConfiguration {
    xDscWebService PSDSCPullServer {
        Ensure                = Present
        EndpointName          = PSDSCPullServer
        Port                  = 8080
        PhysicalPath          = $env:SystemDrive\inetpub\wwwroot\PSDSCPullServer
        CertificateThumbPrint = AllowUnencryptedTraffic
    }
}

We should do this formatting for them so that when they add new properties they can reformat the configuration and have all the properties be lined up at the equal signs again.

/cc @jpsnover @smurawski

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions