-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Module parameter argument completion returns nested module #20127
Comments
This just seems like a bug as it shouldn't show modules you can't use directly. In the debugger, it's simply running |
/cc @MartinGC94 |
I reproduced the problem in PowerShell 5.1 with PSReadLine loaded. I ran |
Thank you @ThomasNieto for reporting this experience. We agree that normally you don't see nested modules, and that this is a bug. Similar issue here: #16941 |
@daxian-dbw could you please move this issue to the PSReadLine repo? |
This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically. Activity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original. |
Prerequisites
Steps to reproduce
If you try to complete a module parameter for
Get-Command
orGet-Module
it will return nested module, in this example PSReadLine2 is returned.Expected behavior
PSReadLine2 is not returned
Actual behavior
PSReadLine2 is returned
Error details
N/A
Environment data
Visuals
The text was updated successfully, but these errors were encountered: