Skip to content
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

Add the possibility to disable multiple matches #145

Open
Tiv0w opened this issue Oct 26, 2020 · 0 comments
Open

Add the possibility to disable multiple matches #145

Tiv0w opened this issue Oct 26, 2020 · 0 comments

Comments

@Tiv0w
Copy link

Tiv0w commented Oct 26, 2020

Hi!
When using eldoc, I don't like the need to match a single candidate via completing-read when there are multiple candidates.

I use company (with the company-box frontend), and it's already showing me all possible signatures. Having to interrupt my completion to match a candidate to show its signature is breaking my user experience.
2020-10-26-083523_739x204_escrotum

I suggest a new user-customizable variable to let users choose whether or not they want the "multiple matches" prompt.
If set to nil, racer--describe-at-point could show the first match, and add a hint to specify there are more possible signatures.
Something like racer-eldoc-prompt-for-multiple-matches could do the trick.

Thanks in advance for the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant