Give a warning when accidently trying to edit during diff-mode

Sometimes I think I’m already not in diff-mode, so I try making manual changes, only to realize my changes are in green due to being in diff-mode.

Mostly this happens because when you ‘apply changes’ on a code-block, and no changes were actually made to the file, diff-mode is still active and you have to do accept/reject to exit diff-mode despite no changes.

Hi @KamilTheDev

Thanks for the suggestion, I’ve got some ideas to make it more noticeable.

1 Like

Thanks, can you also consider automatically exiting diff-mode if the ‘apply changes’ resulted in no actual changes?

2 Likes