Completion sometimes returns apparent duplicates
See original GitHub issueThis doesn’t always repro, but in Emacs mode:
PS> Get-PSReadlineOp<TAB>
Expected - just one completion, actual:
Get-PSReadlineOption Get-PSReadlineOption
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Why are duplicate method suggestions appearing in Eclipse?
Go to Preferences -> Java -> Editor -> Content Assist -> Advanced. To see no duplicates in your suggestions, have the assist list...
Read more >Weird. Duplicated values highlighted in Excel, but they are ...
In excel, I am getting warning of duplicated values from this list. This prevents me from creating a data model relationship one to...
Read more >DataFrame.duplicated detects duplicates when none exist
Hello, I'm running into what I think is a bug in DataFrame.duplicated where it detects duplicates, but the data frame does not actually...
Read more >Why duplicates exist and how to get rid of them?
This is the primary reason why duplicate records exist in a database. Whether the records are merged from independent data sources, or entered ......
Read more >Duplicate results in completion choices - Prompting
Hello! I am trying to get multiple completions for a given prompt using n and best_of, however the choices I get back are...
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
I’ve lived with this longer than anyone so I should be thoroughly annoyed with it, and I guess I am, so if somebody doesn’t beat me to it, it will get fixed some day.
My workaround that makes it not so bad - hit Ctrl+Space - the one I want is usually the first, so space or enter after that is usually all it takes.
We’ll try out this fix - ignoring any item where the menu item text is duplicate. Hopefully it doesn’t hide other useful completion results, if it does, there might be other options like changing the menu item text to match the completion text, but I think that will get ugly.