Skip to main content

Restore Antigravity IDE Session Data

Updated 1 min readMarkdown
Part of series🐧 Linux
Restore Antigravity IDE Session Data

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/

About the author

No comments yet. Be the first to comment.

More from this blog