Skip to content

The "PowerShell: Resolve Expand Alias" feature should do more #338

Open
@Jaykul

Description

@Jaykul

Expand Alias ought to resolve parameter aliases and short forms to full parameter names (if you need it, there is code in PoshCode/CodeFlow) for the sake of future-proofing scripts.

Expand Alias ought to also (have an option to) expand command names to fully-qualified module names to avoid ambiguity -- or perhaps offer to add an Import-Module at the the top for all the module's you're using?

System Details

  • Operating system name and version: Windows 10 AU
  • VS Code version: 1.7.0-insider
  • PowerShell extension version: 0.7.2 (who's afraid of the big 1.0?)
  • Output from $PSVersionTable:
Name                           Value
----                           -----
PSVersion                      5.1.14393.206
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.206
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