Antigravity vs code extension and antigravity ide extension auto accept problem

I am using ‘Antigravity IDE’ along with its VS Code extension. Following a recent update, I’ve noticed that the extension sometimes automatically accepts the code it has generated. Furthermore, if the extension makes a change that I wish to correct—without me explicitly accepting that change—the previous modifications are automatically accepted as soon as I provide a new prompt. This did not happen in the previous version, and it is quite frustrating.

Additionally, the new VS Code extension flags code changes as ‘type errors’—an issue that was not present in the earlier version.

It behaves similarly to the errors one might encounter when duplicate code exists or when conflicting code is written simultaneously; the changes are flagged as errors until they are formally accepted. This makes the review process difficult. I hope the Google Antigravity team addresses these issues soon.

Hi @Hasan_Al_Mahmud,

Welcome to the Forum.

You can configure both behaviors in Antigravity IDE (v2.6.0) and the Google Antigravity VS Code extension (v1.10.0) (Changelog):

  • Keep Diff Reviews Open Across Prompts: By default, "antigravity.autoAcceptOnChat" is enabled to auto-accept pending background inline diffs when sending a new chat message. Set "antigravity.autoAcceptOnChat": false in your settings to preserve open inline diff reviews across consecutive agent turns in a cumulative review, or undo/redo Accept and Reject actions with Ctrl+Z / Cmd+Z and Ctrl+Y / Cmd+Shift+Z.
  • Use Side-by-Side Diffs to Avoid Type Errors: Instead of keeping deleted and added lines in the same active buffer until accepted (Alt+Enter / Option+Enter) or rejected (Alt+Shift+Enter / Option+Shift+Enter), set "antigravity.enableInlineDiff": false in your settings to review changes in side-by-side diff editor tabs (with Accept All and Reject All buttons in the tab title bar).

Please let us know if these settings resolve the issue.