Skip to content
Review changes in the editor - Antigravity IDEantigravity-ideAntigravity IDEFeaturesReview changes in the editor - Antigravity IDE Antigravity IDE FeaturesAntigravity IDE
Available on:
Antigravity IDE

When the agent edits files in a conversation, its changes appear inline in your editor: new and changed lines are highlighted, and each change has Accept and Reject above it. Press Alt+Enter (Option+Enter on macOS) to accept the focused change, or Alt+Shift+Enter (Option+Shift+Enter on macOS) to reject it. In the Agent side panel, the bar above the prompt input lists the files with pending changes, with Reject all and Accept all buttons, and Review on a turn’s summary of changed files takes you to its changes in the editor.

script.js in the editor with the agent's changes highlighted inline, each with Accept and Reject, and a comment for the agent being added to the AUTO_ADVANCE_MS line

Just like with artifacts, you can comment on the code to communicate with the agent. Select the lines, press Cmd+Alt+M (Ctrl+Alt+M on Windows/Linux) or click + in the gutter, type your comment, and click Add Comment to Chat. The comment is queued for your next prompt.