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

auto-complete-display-backend 'ido' should use ido #454

Merged
merged 2 commits into from
Oct 23, 2018

Conversation

M-frankied
Copy link
Contributor

The 'ido' backend doesn't actually use ido; it uses the completing-read built-in. If the user indicated a preference for ido by enabling 'ido-mode' and setting omnisharp--auto-complete-display-backend to 'ido' we might as well use ido.

Implemented by using ido-completing-read instead of
completing-read if ido-mode is enabled. Causes
ido-completing-read to be used in unrelated
omnisharp-run-code-action-refactoring to select a code
action. People who have ido-mode enabled won't mind

Implemented by using `ido-completing-read` instead of
`completing-read` if `ido-mode` is enabled. Causes
`ido-completing-read` to be used in unrelated
`omnisharp-run-code-action-refactoring` to select a code
action. People who have ido-mode enabled won't mind
@M-frankied
Copy link
Contributor Author

after reading commit 2544353 I added a package-specific completing-read customisation, omnisharp-completing-read-function somewhat analogous to magit-completing-read-function and similar facilities in other packages, so users can configure any completing-read here without having to use it everywhere.

@razzmatazz
Copy link
Contributor

razzmatazz commented Oct 23, 2018

Thanks! Didn't break anything for me.

@razzmatazz razzmatazz merged commit 260b242 into OmniSharp:master Oct 23, 2018
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

Successfully merging this pull request may close these issues.

2 participants