Bug #5630
openInline comments do not follow the line of code
0%
Description
It seems to me that inline comments are attached to a specific line number, instead of a specific line of code. I commented inline on a PR, and the PR was updated in the meantime with insertions/deletions in other parts of the file. Now, my inline comment is 10 lines below the line of code the comment was about. I have a bunch of comments that don't make sense anymore, because they are not in the expected location.
This considerably reduces the usefulness of inline comments.
Updated by Olivier Renaud over 4 years ago
On a related note, I have an inline comment on a line that was later removed by a PR update. The comment is still there on an unrelated line, making things confusing. The comment was "please remove the slashes here".
Updated by Daniel D over 4 years ago
Hi,
Do you have enabled the Invalidate and relocate inline comments during update
option ?
Updated by Olivier Renaud over 4 years ago
Oh right, I remember I changed this setting a long time ago. I remember I was not happy with its behavior, but I forgot the reason. I'll enable it again and see how it behaves. You can close this issue, thanks.