Skip to main content

Command Palette

Search for a command to run...

Restore Antigravity IDE Session Data

Updated
1 min read
Restore Antigravity IDE Session Data
L

I am a developer from Vietnam.

If you are losing chat history and configurations, extensions, ... in Antigravity IDE, try the following method. I tried it on MacOS.

Windows

If you still havent removed "C:\Users[User]\AppData\Roaming\Antigravity" folder and installed Antigravity IDE then close IDE. Copy contents of it and overwrite the contents of folder "C:\Users[User]\AppData\Roaming\Antigravity IDE" with it. Then reopen the IDE version and you should have your session back.

Source: https://www.reddit.com/r/google_antigravity/comments/1thvz53/wtf_is_antigravity_20_where_did_my_ide_go/

MacOS

Close the IDE Ensure that Antigravity IDE is completely shut down before moving files to prevent database corruption or file locking.

To copy those files via the Terminal on macOS, you can use the cp command. Since you are overwriting an existing directory, but using "ditto" (The Recommended Mac Way) for macOS, the ditto command is often more reliable than cp because it handles metadata and permissions more effectively:

ditto ~/Library/Application\ Support/Antigravity ~/Library/Application\ Support/Antigravity\ IDE

Or using cp command:

cp -Rv ~/Library/Application\ Support/Antigravity/* ~/Library/Application\ Support/Antigravity\ IDE/

Copy extensions:

cp -Rv ~/.antigravity/extensions/* ~/.antigravity-ide/extensions/

More from this blog