Skip to content

using module duplicate completions #5184

Open
PowerShell/PowerShell
#25538
@ThomasNieto

Description

@ThomasNieto

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

using module returns duplicates.

PowerShell Version

7.6-preview4

Visual Studio Code Version

1.100.0
19e0f9e681ecb8e5c09d8784acaa601316ca4571
x64

Extension Version

ms-vscode.powershell@2025.3.0

Steps to Reproduce

Install a module with multiple versions and then create a ps1/psm1 script.

Type using module and the completions will be duplicated (most likely due to multiple versions being installed)

Visuals

Image

Logs

No response

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