-
Notifications
You must be signed in to change notification settings - Fork 20
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
Make misspells with a single correction inline suggestion
blocks
#40
Comments
Yes, I agree 100% . If there were two or three suggestions you could always list them all too, as alternatives. The issue is I don't believe it's possible currently 😞 . The available options currently seem to just be: But please link to anything relevant within GitHub actions if you've found them? I think there was an issue, but given suggestion is used in it's common sense too I'm struggling to find it currently. |
I had previously implemented this through a Probot with a bit of JavaScript to parse |
It seems like this might be a good way to achieve the same thing: https://github.com/marketplace/actions/action-git-diff-suggestions |
Is there an echo (echo, echo, echo...) in here? 😆 |
My bad -- I saw this today and wanted to make a note of it without re-reading the comments 🙃 |
In your defence at least they're different URLs! I keep meaning to try this on the main Codespell repo against the dictionary sort stuff, given I do such a bad job of guessing sorting when submitting entries. |
I've re-opened this as while I was joking around, it's still a good idea and something we should try and do (or hopefully GitHub will see sense and finally enable it in due course). My brief tests on the sorting didn't look too promising unfortunately: |
Github has a neat feature to suggest code changes on PR lines: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request
For simple misspells where there is only 1 correction option, it'd be convenient to have them as a suggestion which the reviewer can simply click "Commit suggestion" on.
The text was updated successfully, but these errors were encountered: