Skip to content

Add code fix or formatting rule to generate splatted parameters from command invocation #517

Closed
@mpearon

Description

@mpearon

Sapien's PowerShell Studio has a feature that will allow you to convert single line commands to be splatted.
For a visual of what I'm talking about, click here

This would be a great enhancement, I think!

System Details

  • Operating system name and version: Windows 10, 1511
  • VS Code version: v1.9.1
  • PowerShell extension version: v0.9.0
  • Output from $PSVersionTable:
PSVersion                      5.0.10586.672                                                                                                  
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                        
BuildVersion                   10.0.10586.672                                                                                                 
CLRVersion                     4.0.30319.42000                                                                                                
WSManStackVersion              3.0                                                                                                            
PSRemotingProtocolVersion      2.3                                                                                                            
SerializationVersion           1.1.0.1                                                                                                        

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions