Skip to content

Point the Antigravity editor option at Antigravity IDE - #4820

Open
wojtekn wants to merge 1 commit into
trunkfrom
stu-2288-point-antigravity-editor-at-antigravity-ide
Open

Point the Antigravity editor option at Antigravity IDE#4820
wojtekn wants to merge 1 commit into
trunkfrom
stu-2288-point-antigravity-editor-at-antigravity-ide

Conversation

@wojtekn

@wojtekn wojtekn commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Related issues

How AI was used in this PR

Claude Code investigated the report, verified the platform-specific details, and made the change. The two values the issue left unconfirmed were checked against a real Antigravity IDE 2.5.5 install rather than taken from the issue or from web sources:

  • Bundle ID com.google.antigravity-ide, read from the installed app's Info.plist.
  • CFBundleURLSchemes is antigravity-ide — the IDE does not claim antigravity://.

It also ran the exact command Studio uses on macOS (open -b com.google.antigravity-ide <folder>) and confirmed the IDE recorded the folder as a workspace. I've reviewed the diff.

Proposed Changes

Since the Antigravity 2.0 release, Google split the product into a standalone agent app and a separately installed IDE. Studio's Antigravity option still targeted the pre-split identifiers, which now resolve to the agent app.

The practical effect was worse than a mislabeled entry: the option was non-functional on every platform. Picking Antigravity and clicking through from a site's Overview tab opened the agent surface instead of the site folder, and the configured antigravity:// scheme is no longer claimed by any installed app. There was no way to open a site in Antigravity IDE at all.

This retargets the existing option at Antigravity IDE, so it detects the IDE, launches it, and is labelled "Antigravity IDE" in the editor picker.

The option keeps its internal key, so anyone who already selected Antigravity gets a working editor after updating with no action on their part and no stored-preference migration. The alternative — adding the IDE as a second entry and keeping the old one — would have left a picker option that cannot open a folder, since the 2.0 agent app registers no URL scheme.

One behaviour change worth naming: on Linux, detection now matches the antigravity-ide command only. A user who has just the 2.0 agent app installed will correctly see no Antigravity option, where previously they saw one that did not work.

Testing Instructions

Requires Antigravity IDE (the 2.0-era separate install, not the agent app).

  1. Open Settings → Preferred editor. The option should read Antigravity IDE, and should only appear if the IDE is installed.
  2. Select it and save.
  3. Open a site's Overview tab and use the button to open it in the editor.
  4. The site root should open as a workspace in Antigravity IDE, the same way VS Code / Cursor / Zed behave.

Also worth confirming the option does not appear when only the standalone Antigravity agent app is installed.

Windows reviewers, please check step 1. The %LOCALAPPDATA%\Programs\Antigravity IDE\Antigravity IDE.exe path is the one detail here not verified on real hardware — it comes from a community report that the installer renamed the folder from Programs\Antigravity\. Note that the previous config pointed at the old name, so if that report is wrong this could regress Windows detection.

Verified locally: npm run typecheck passes across all six workspaces; 113 tests pass across the 10 editor-related test files; eslint clean on both modified files.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

🤖 Generated with Claude Code

Antigravity 2.0 split into a standalone agent app and a separate IDE, so
com.google.antigravity and the antigravity:// scheme no longer resolve to
an editor. Retarget detection and launching at Antigravity IDE, which
claims the antigravity-ide:// scheme, so the option opens sites again.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@wpmobilebot

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 64573c5 vs trunk

app-size

Metric trunk 64573c5 Diff Change
App Size (Mac) 1456.84 MB 1456.84 MB +0.00 MB ⚪ 0.0%

site-editor

Metric trunk 64573c5 Diff Change
load 1206 ms 1210 ms +4 ms ⚪ 0.0%

site-startup

Metric trunk 64573c5 Diff Change
siteCreation 7502 ms 7528 ms +26 ms ⚪ 0.0%
siteStartup 3368 ms 3363 ms 5 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Add Antigravity IDE as a separate editor option (Antigravity 2.0 split)

2 participants