I have reported this issue on PSReadline, however it turns out it's vanilla PS at fault. I have also created a GIF with keystrokes to show what the actual problem is.
It seems that certain sequences (ty to be precise) don't complete as intended. They do so on the Linux 6.2.3 release, but they don't on the Windows 7.0.0-Preview.5

Tab complete the unambigous filename even when between t and y.
Completion only happening on Linux.
Name Value
---- -----
PSVersion 6.2.3
PSEdition Core
GitCommitId 6.2.3
OS Linux 4.4.0-18362-Microsoft #1-Microsoft Mon Mar 18 12:02:00 PST 2019
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0鈥
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Name Value
---- -----
PSVersion 7.0.0-Preview.5
PSEdition Core
GitCommitId 7.0.0-Preview.5
OS Microsoft Windows 10.0.18362
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0鈥
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
/cc @daxian-dbw Have you any thoughts about the issue?
This is vexing because my nick name (Matty) is in most of my host names and when I prepend host names to benchmark data for instance, I keep hitting this bug. How can I attach a debugger to walk through the code that triggers on tab completion?
"Give a man a fish, and you feed him for a day. Teach him how to attach a debugger to 3rd party scripts and binaries, and you'll get a constant stream of bug reports for the rest of your life." - Ancient Greek proverb
How can I attach a debugger to walk through the code that triggers on tab completion?
We have all needed configs in the repo for VS Code. See our docs how to build.
Hmm, I cannot reproduce the issue on my windows machine.
@MathiasMagnus Please follow instructions here to build PowerShell on windows. Let us know if you run into issues.