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.
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\""
Set-Alias -Name agy -Value "C:\Users\[USERNAME]\AppData\Local\Programs\Antigravity\Antigravity.exe"Hope this helps