Tab completion fails with a specific sequence
See original GitHub issueI 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
Steps to reproduce
Expected behavior
Tab complete the unambigous filename even when between t
and y
.
Actual behavior
Completion only happening on Linux.
Environment data
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
Windows
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
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Force Bash normal tab completion if intelligent ...
The following should turn on normal bash completion after all 'intelligent' completions have failed for the programs tar, vim and emacs:
Read more >Bash auto completion not working after certain command
I am using graphViz under bash / Cygwin, but somehow when calling it, bash tab autocomplete does not do anything. Example files: myGraph....
Read more >Tab completion problem using start in Powershell
PowerShell's tab-completion logic is currently hard-wired to: default to escaped completion,; except if the target parameter name (if known) ...
Read more >How to get bash to stop escaping $ during tab completion?
I've found that bash versions >= 4.2.29 have a new direxpand shopt setting. (See man docs/bash.1 if you check out a new bash,...
Read more >Appendix J. An Introduction to Programmable Completion
The programmable completion feature in Bash permits typing a partial command, then pressing the [Tab] key to auto-complete the command sequence.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
We have all needed configs in the repo for VS Code. See our docs how to build.