Skip to content

"Auto correct alias" setting of PowerShell extension not working #2608

Closed
@Nicicalu

Description

@Nicicalu

Issue Type: Bug

Problem

The "Auto correct alias" setting of the PowerShell extension is not working as it should. If you activate it, nothing will change.

Expected result

After typing an alias, the extension should switch it out with the correct expanded Cmdlet. It should do the same as the shortcut Shift + Alt + E.

Actual result

Nothing happens. The aliases are still reported as problems and are not being replaces with the correct expanded Cmdlet.

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 10.0.17134
VSCode 1.43.2
PowerShell Extension Version 2020.3.0

PowerShell Information

Name Value
PSVersion 5.1.17134.858
PSEdition Desktop
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.17134.858
BuildVersion 10.0.17134.858
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
powershell ms-vscode 2020.3.0
vscode-html-css ecmel 0.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions