I just downloaded AntiGravity from Google today and I wanted to have the same feature as Vscode where I can right click on the folder an open the project in Vscode in windows 11. This process is the same as if you added manually with regedit

This is the way I did it to show more options after right click on a directory folder in windows 11 file explorer.

Open Notepad or any other text editor. copy the code below and save it as OpenWith.reg. Once you have save it, double click on the file to execute and add it to  your registry. You will need to have Admin rights. Also becareful. you should make a backup just in case. i was dubm and didn't but nothing went wrong, but if it did, i could have be in big trouble.

1. Add AntiGravity to Registry

OpenWith.reg

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Antigravity]
@="Open with Antigravity"
"Icon"="E:\\Users\\ed\\AppData\\Local\\Programs\\Antigravity\\Antigravity.exe"

[HKEY_CLASSES_ROOT\*\shell\Antigravity\command]
@="\"E:\\Users\\ed\\AppData\\Local\\Programs\\Antigravity\\Antigravity.exe\" \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\Antigravity]
@="Open with Antigravity"
"Icon"="E:\\Users\\ed\\AppData\\Local\\Programs\\Antigravity\\Antigravity.exe"

[HKEY_CLASSES_ROOT\Directory\shell\Antigravity\command]
@="\"E:\\Users\\ed\\AppData\\Local\\Programs\\Antigravity\\Antigravity.exe\" \"%1\""

2. Setup Short Alias Command

you can register the Alias Manually in PowerShell using the following instructions to create a permanent alias for the command by adding it to your PowerShell profile. Follow these steps:
  1. Open the PowerShell then run: notepad $PROFILE  command
  2. Copy and Paste the following line into the notepad file, Be sure to replace [USERNAME] with your actual Windows username
    Set-Alias -Name agy -Value "C:\Users\[USERNAME]\AppData\Local\Programs\Antigravity\Antigravity.exe"
  3. Save and close the file.
  4. Restart PowerShell

3. Add AntiGravity to PATH

Hope this helps