You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had an issue where no matches were returned despite there being a string match.
classFoodefself.set_result_count;endendFoo.set_result#=> NoMethodError: undefined method `set_result' for Foo:ClassFoo.set_result_c#=> NoMethodError: undefined method `set_result_c' for Foo:ClassDidyoumean?.set_result_count
It would be desirable for the suggestion to appear if everything matches except the postfix. I am not sure how this would look on shorter method names.
The text was updated successfully, but these errors were encountered:
@tjohn Actually it was already implemented (more specifically Jaro-Winkler distance), but it often suggests too many suggestions (see #49). I guess the combination of Levenshtein and Jaro-Winkler distance would be a good fit.
It's hard to make did_you_mean smarter, but the next major version should be coming with a better suggestion algorithm.
We had an issue where no matches were returned despite there being a string match.
It would be desirable for the suggestion to appear if everything matches except the postfix. I am not sure how this would look on shorter method names.
The text was updated successfully, but these errors were encountered: