Skip to content

Loading PackageManagement module into session causes 10x slowdown in command completion #275

@daviwil

Description

@daviwil

Hey team,

Just filing this issue here to track it while we investigate. I fully intend to help get this issue fixed when I have a few free moments :)

This issue appears in any PowerShell host. Start up powershell.exe, PowerShell ISE, or PowerShell extension for VS Code and try getting IntelliSense for Get-, comes back instantly. Now, import the PackageManagement module and try to get IntelliSense got Get- again and notice that it takes 2+ seconds for completions to come back.

Seems like there's an argument completer or dynamic parameter that's causing the slowdown.

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