Canvas Suggestion: Show Diffs Between Versions

I really like how with Canvas you can now highlight certain parts to tell it to focus on.

I think a couple changes would be also a huge help:

  1. Ability to show diffs from the previous version. Many times LLMs unnecessarily re-write all the code even if it’s only like one line I want to change, and sometimes it ends up changing other unrelated lines and messing up parts that already worked. I’d like to be able to see exactly what it changed at a quick glance.

  2. I highlighted a block of code and asked it to make a change but it still seemed to re-write it all, it would be nice to be able to force it to only change a selected section.

1 Like

+1 to this feature request.

Rewriting all the code is fine - although it seems inneficient in the first place to be running inference on so much unchanged code.

The biggest thing canvas could benefit from is visual inline diffing like Cursor does. Being able to see exactly where it makes its changes would be extremely helpful. Automatic versioning for each “change” (e.g. like a commit) would be useful as well.