
Fix for Antigravity 2.0 hijacking the IDE, and how to restore your lost settings/extensions(For windows user)
Right now, if you install 2.0 with the default settings, only Antigravity 2.0 will launch, completely locking you out of the IDE.
The reason is due to how the Electron framework handles deployments. Electron loads resources based on directory location. Because the 2.0 update dumps its files into the exact same folder as the IDE, the newly added 2.0 app.asar completely hijacks the original Antigravity IDE executable.
1. How to fix the launcher (Toggle between IDE and 2.0)
Open PowerShell and run this to disable 2.0 and force the IDE to launch:
PowerShell
cd "$env:LOCALAPPDATA\Programs\Antigravity\resources"
Rename-Item app.asar app.asar.bak
If you ever want to switch back to using 2.0 only, run this:
PowerShell
cd "$env:LOCALAPPDATA\Programs\Antigravity\resources"
Rename-Item app.asar.bak app.asar
2. How to restore your missing settings, keymaps, and extensions
If you restore the IDE using the trick above, it will look like all your themes, keymaps, and extensions were wiped.
Here is why: Antigravity is built on VS Code, meaning it generates configuration folders based on the product name.
- Original IDE (1.x) & 2.0 → Product name: "Antigravity"
- Settings:
...\Roaming\Antigravity\ - Extensions:
...\.antigravity\ - (All your actual settings since Dec 2025 are trapped here)
- Settings:
- Restored IDE → Product name: "Antigravity IDE"
- Settings:
...\Roaming\Antigravity IDE\(Empty new folder) - Extensions:
...\.antigravity-ide\(Empty new folder)
- Settings:
The Fix:
- Go to
C:\Users\<YourUsername>\AppData\Roaming. Copy the contents of theAntigravityfolder and paste them into theAntigravity IDEfolder. This restores your settings and keymaps. - Go to
C:\Users\<YourUsername>\. Copy the contents of the.antigravityfolder and overwrite the contents in.antigravity-ide. This restores your extensions.
Getting a Windows path depth error? If Windows blocks you from copying extensions due to path length depth , open an Administrator CMD and use a symlink (mklink) instead:
DOS
rmdir /S /Q "C:\Users\<YourUsername>\.antigravity-ide\extensions"
mklink /J "C:\Users\<YourUsername>\.antigravity-ide\extensions" "C:\Users\<YourUsername>\.antigravity\extensions"
TL;DR
- Google made a rookie Electron deployment mistake. Prioritizing
app.asaris normal Electron behavior, but deploying a new product into the exact same folder as the old one is ridiculous. - The 2.0 update overwrites the IDE in the same installation path but changes the product name, which splits the config folders.
- They did all this without writing any migration logic to move your settings over, effectively wiping your setup.