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
Incorrect Auto-Completion When Using Tab #23244
Comments
That's not tab completion, it's prediction. The standard way to accept predictions is the right arrow key, you can bind it to Tab like this: |
You're seeing IPConfig because that was the most recent command beginning with IP that you used. As @MartinGC94 says tab cycles through all commands beginning |
This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes. |
📣 Hey @JackW6809, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
Prerequisites
Steps to reproduce
Typing ip shows ipconfig as a suggested auto-completion. However, when pressing TAB it auto-completes it to ipal
Expected behavior
Pressing TAB button when presented with auto-complete should fill in the rest with what we are presented with.
Actual behavior
Pressing TAB button when presented with auto-complete instead fills it to a random cmdlet it thinks is correct, which is what happens on PowerShell 5.1.
Error details
No response
Environment data
Visuals
https://github.com/PowerShell/PowerShell/assets/53652452/67cc3405-8f92-4016-9b87-4651090b1f8b
The text was updated successfully, but these errors were encountered: