hintman
hintman copied to clipboard
Deal with multiline hints
Currently, we put a simple comment (not a suggestion) on the last line of the multiline hint (if it's in the range of the diff). Probably we should consider not only the last line but any, which satisfies the diff?
@vrom911 We can use new GitHub feature for multiline comments to select the whole area. But:
- This is more complicated because it requires more interval and range overlapping checks.
- This feature is in beta now, I'm not even sure there's an API for it...
Commenting on the last line seems good enough for now to me :slightly_smiling_face: