Skip to content

Remove duplicate modules from completion results #25538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 12, 2025

Conversation

MartinGC94
Copy link
Contributor

@MartinGC94 MartinGC94 commented May 11, 2025

PR Summary

This PR adds a check to avoid adding the same module names again and again if multiple modules with the same name is found (multiple versions or multiple install locations) similar to this previous PR for command names: #21113

PR Context

Fixes PowerShell/vscode-powershell#5184

PR Checklist

@iSazonov iSazonov added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label May 11, 2025
@iSazonov
Copy link
Collaborator

It seems there have already been PRs with duplicate removal in other places? Could you please add links to them in the PR description?

@iSazonov

This comment was marked as outdated.

This comment was marked as outdated.

@iSazonov

This comment was marked as outdated.

This comment was marked as outdated.

@iSazonov iSazonov self-assigned this May 12, 2025
@iSazonov iSazonov merged commit e7ee9da into PowerShell:master May 12, 2025
36 checks passed
Copy link
Contributor

microsoft-github-policy-service bot commented May 12, 2025

📣 Hey @@MartinGC94, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

using module duplicate completions
2 participants