Point the Antigravity editor option at Antigravity IDE - #4820
Open
wojtekn wants to merge 1 commit into
Open
Conversation
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>
Collaborator
📊 Performance Test ResultsComparing 64573c5 vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
com.google.antigravity-ide, read from the installed app'sInfo.plist.CFBundleURLSchemesisantigravity-ide— the IDE does not claimantigravity://.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-idecommand 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).
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.exepath is the one detail here not verified on real hardware — it comes from a community report that the installer renamed the folder fromPrograms\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 typecheckpasses across all six workspaces; 113 tests pass across the 10 editor-related test files; eslint clean on both modified files.Pre-merge Checklist
🤖 Generated with Claude Code