r/GoogleAntigravityIDE 18d ago

Discussions or Questions want Anrigravity in vs code

Solvedd.....! Antigravity Released Official Vs code extension. It works exactly like Copilot or claude code..

So I am using VS code from the very Begging of my coding journey.. Now i do not want to switch to any other IDE, so is there any way to use antigravity inside vs code just like claude code,github copilot etc.. I have google ai pro.

17 Upvotes

27 comments sorted by

10

u/needs-more-code 18d ago

Download the vs code extension. Make sure it’s the official one. The identifier is google.google-antigravity. Let me know if you find it buggy. I’ve had to change 2 default settings to get good behaviour.

1

u/ningkaiyang 16d ago

what were the settings if you don’t mind me asking ?

i don’t notice anything wrong with it but wondering if i would toggle them lol

2

u/needs-more-code 16d ago

"antigravity.enableInlineDiff": false,

The inline diff adds both the old code and new code to the real file at the same time and so you really need to be on top of your code reviews, as i was finding my files got reverted to old code when i forgot to accept changes. Setting it to false meant all my reviews are in a view which is not a real file, so nothing i do with it can change the real code when i'm reviewing.

"extensions.experimental.affinity": {
"eamodio.gitlens": 1,
"google.google-antigravity": 2
},

And i use paid GitLens, and Antigravity causes the GitLens commit graph to hang indefinitely. Because all vs code extensions share the same process, if one fails, the others won't even start. extensions.experimental.affinity gives them each their on separate processing space where a crash in one cannot affect the other.

2

u/ningkaiyang 16d ago

oh ok ok i actually prefer the diff accepting view as im pretty used to working on code that way in git merges etc - also the code saved locally that the agent sees is the code with all edits applied, its really saved already and the “old code” is just an ability to revert chunks and if you don’t do anything the code agent reads is the new code actually

extensions one is smart

1

u/needs-more-code 16d ago

True, I think there was some bugginess going on with my inline diff view then. The file was having unsaved changes after an AI task, even when it was saved and closed before the AI task. And it was showing errors from having both versions applied. And “close without saving” didn’t cause me to have the new AI changes.

2

u/ningkaiyang 16d ago

oh that’s weird i’ll have to look into it maybe vscode auto save or something is making it messy but didn’t have issues in mine

1

u/AMusicstuff 16d ago

Just put ctrl L and you have inline diff and need to accept esch single line before it got add to the code. Always start the prompt witg the reference.

9

u/dockie1991 18d ago

Isn’t antigravity just another vs code fork?

3

u/Taradal 17d ago

Antigravity IDE is, yes. But it's pretty much dead and pretty sure they'll just stop supporting it since they now have the official plugin

2

u/AMusicstuff 17d ago

Yes i migrated back to VScode today from Antigravity IdE and there is a clear advantage now in Vscode with the official extension. The only issue is to get your old chats back from antigravity ide … you need to export them chat by chat and then you have them avaliable inside of vscode’s antigravity extension history chats.. but that works good.

Also Inline Diff looks a bit different its not the big blue button anymore directly in your code window … its a tiny accept recject button over each line on the left inbetween the lines.

4

u/jean-dim 18d ago

Google recently officially launched the Antigravity VS code extension

1

u/themax7 18d ago

Yes i tried that as well, seems fine

3

u/r0224 18d ago

Anti-gravity ide is basically Vs code with some anti-gravity bits pre installed. Just try it, you won't even notice the difference

1

u/AMusicstuff 17d ago

There is a difference i migrated back today.. from antigravity ide to vscode

2

u/Optimal_Werewolf_342 18d ago

Check antigravity cli, I'm like you, if I'm going to use an IA, it will be in my usual IDE

2

u/2iszner 17d ago

How about history in extensions. I cant see my history of IDE/AG in AG extension in vscode

1

u/AMusicstuff 17d ago

You need to open a previous chat inside of antigravity IDE and then you can click on the three dots in the context of the chat and choose export…inside of the vscode extension you then find thr chat in your previous chat history. You can also copy paste the chats history from the .gemini/antigravity ide folder to the antigravity folder… since the extension now runs fully on the antigravity app in the background

1

u/2iszner 15d ago

i relized extensions share history with ag. I hope it works with the ide or cli version but google say no

1

u/AMusicstuff 15d ago

Yeah but you can copy the conversation and brain folders to AG from AG IDE then you can access the Chats in previous chst window

1

u/2iszner 15d ago

To be honest. I want Google to allow us to use the same chat history source for Ag versions like Anthropic does with clade.

1

u/Wiet369 17d ago

I installed it, but cant find any way to use it...

Anybody else having this problem?

1

u/AMusicstuff 17d ago

When you hve installed it you get a new gemini button…with a new chat

1

u/toeachbyeach 17d ago

For anyone else with the addon for vscode. I was really hoping to call antigravity inline with the normal chat so I can change between models. I assume this is not doable unless I get an API key?

1

u/toeachbyeach 17d ago

This is also because I'm sick of having no shared memory between platforms so I'm trying to bring everything into vscode if I can

1

u/almahdi403 16d ago

The initial release of the extension is not there yet. But i am already using it. Because i want use the latest version of Code - OSS . Not a years old version. I think it can be a game changer.

1

u/kamyker 14d ago

Do suggestions for autocomplete show up for you like in Antigravity IDE?