Skip to content

Allow Suggestions to be replaced #955

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

Merged

Conversation

jmarolf
Copy link
Contributor

@jmarolf jmarolf commented Jun 30, 2020

prerequisite to enable dotnet/format#711 to be merged

Copy link
Contributor

@KathleenDollard KathleenDollard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to discuss this in an issue to make sure we have all the cases considered.

Please use #956 for general discussion of the problem.

@jonsequitur
Copy link
Contributor

Please add some tests. One test that would really help clarify the scenario is the one we discussed where you're parsing to an enum allowing a number of "alias" values.

@jmarolf
Copy link
Contributor Author

jmarolf commented Jun 30, 2020

Please add some tests. One test that would really help clarify the scenario is the one we discussed where you're parsing to an enum allowing a number of "alias" values.

sure thing I was going to wait to see if there was any desire to take this API first

@jmarolf
Copy link
Contributor Author

jmarolf commented Jun 30, 2020

updated with tests

@jmarolf
Copy link
Contributor Author

jmarolf commented Jun 30, 2020

all I need really is the ability to disable SuggestionSource.ForType(ArgumentType).GetSuggestions(textToMatch) for enums

@jmarolf jmarolf force-pushed the feature/allow-suggestions-to-be-replaced branch from 80e595a to 271efbe Compare June 30, 2020 23:28
@jmarolf jmarolf force-pushed the feature/allow-suggestions-to-be-replaced branch from 271efbe to 1be787b Compare June 30, 2020 23:33
@jonsequitur jonsequitur requested a review from Keboo July 1, 2020 22:44
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.

4 participants