question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Completion sometimes returns apparent duplicates

See original GitHub issue

This doesn’t always repro, but in Emacs mode:

PS> Get-PSReadlineOp<TAB>

Expected - just one completion, actual:

Get-PSReadlineOption    Get-PSReadlineOption

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
lzybkrcommented, Jun 18, 2017

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.

0reactions
lzybkrcommented, Nov 4, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found