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
as a Feature request when in IRB when did_you_mean throw us a error , can we run something to re-run the previous command with corrected spelling.
Something like how https://github.com/nvbn/thefuck does this ?
If it sounds good and get a feature-request tag i can work on this to create a PR.
The text was updated successfully, but these errors were encountered:
Thanks for your request! The language of the library isn't really appropriate, but I think it would be interesting to see a keyboard shortcut that is available on irb, that automatically replaces the code hunk that causes a NoMethodError. We should be able to detect where to fix with error_highlight, and we could probably pick the closest match, if and only if there is only one match with the edit distance <= 2.
as a Feature request when in IRB when did_you_mean throw us a error , can we run something to re-run the previous command with corrected spelling.
Something like how https://github.com/nvbn/thefuck does this ?
If it sounds good and get a feature-request tag i can work on this to create a PR.
The text was updated successfully, but these errors were encountered: