I love Google Antigravity and the Antigravity IDE. However, I’ve noticed that the IDE currently provides diffs either line-by-line or as whole chunks. Wouldn’t a word-by-word diff be a basic feature that could significantly speed up development?
There are many instances where the AI agent only needs to add a single comma or semicolon, yet I find myself manually comparing lines to spot the change. A word-level diff would save considerable time in these scenarios.
Why isn’t word-by-word diff a default feature already? I also haven’t found any existing discussion or topic addressing this seemingly fundamental capability.
I would appreciate a stencil type overlay even if it’s a line-by-line comparison. I would appreciate the additions to be highlighted by the color green and reductions to be highlighted by the color red. So, it’s much simpler. I can just eyeball it and accept or reject changes. I don’t have to compare line by line. which can be tedious and stressful.
You can ask the agent to provide an inline diff by crossing the original word and showing the fixed version in bold green, if you’d like, you can scope it to just the line you changed, or the paragraph it changed. You can test this with a prompt, when satisfied, you can use /learn to save it as a skill (you can name it anything, just explicitly mention it) or a directive in AGENT.md or AGENTS.md.
If you’re unsure, ask the agent about how to add default state to every new session of agy that the agent performs/observes by default. It should be able to tell you about agent design.