{"id":45879144,"url":"https://github.com/badranraza/com.unity.ide.antigravity","last_synced_at":"2026-05-23T12:01:06.105Z","repository":{"id":340977310,"uuid":"1168420409","full_name":"BadranRaza/com.unity.ide.antigravity","owner":"BadranRaza","description":"Unity package that integrates Google Antigravity IDE as the External Script Editor — auto-discovery, .csproj/.sln generation for IntelliSense, single-instance window reuse. Correctly rejects the standalone Antigravity 2.0 agent app.","archived":false,"fork":false,"pushed_at":"2026-05-23T10:24:13.000Z","size":1819,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-23T10:35:51.489Z","etag":null,"topics":["antigravity","antigravity-ide","code-editor","csharp","external-editor","gamedev","google-antigravity","ide-integration","intellisense","unity","unity-editor","unity-package","unity-tools","unity3d","upm-package","vscode-fork"],"latest_commit_sha":null,"homepage":"https://github.com/BadranRaza/com.unity.ide.antigravity","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BadranRaza.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-27T11:17:12.000Z","updated_at":"2026-05-23T10:24:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/BadranRaza/com.unity.ide.antigravity","commit_stats":null,"previous_names":["badranraza/com.unity.ide.antigravity"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/BadranRaza/com.unity.ide.antigravity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadranRaza%2Fcom.unity.ide.antigravity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadranRaza%2Fcom.unity.ide.antigravity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadranRaza%2Fcom.unity.ide.antigravity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadranRaza%2Fcom.unity.ide.antigravity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BadranRaza","download_url":"https://codeload.github.com/BadranRaza/com.unity.ide.antigravity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BadranRaza%2Fcom.unity.ide.antigravity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33394672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T04:15:53.637Z","status":"ssl_error","status_checked_at":"2026-05-23T04:15:53.242Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antigravity","antigravity-ide","code-editor","csharp","external-editor","gamedev","google-antigravity","ide-integration","intellisense","unity","unity-editor","unity-package","unity-tools","unity3d","upm-package","vscode-fork"],"created_at":"2026-02-27T13:16:00.918Z","updated_at":"2026-05-23T12:01:06.099Z","avatar_url":"https://github.com/BadranRaza.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Editor Package for Google Antigravity IDE\n\n[![Latest release](https://img.shields.io/github/v/release/BadranRaza/com.unity.ide.antigravity?label=release\u0026sort=semver\u0026color=blue)](https://github.com/BadranRaza/com.unity.ide.antigravity/releases/latest)\n[![Unity 2019.4+](https://img.shields.io/badge/Unity-2019.4%2B-black?logo=unity)](https://unity.com/)\n[![License: MIT](https://img.shields.io/github/license/BadranRaza/com.unity.ide.antigravity?color=brightgreen)](LICENSE.md)\n[![GitHub stars](https://img.shields.io/github/stars/BadranRaza/com.unity.ide.antigravity?style=social)](https://github.com/BadranRaza/com.unity.ide.antigravity/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/BadranRaza/com.unity.ide.antigravity?style=social)](https://github.com/BadranRaza/com.unity.ide.antigravity/network/members)\n\nUse **Google Antigravity IDE** as your Unity script editor, with proper\nIntelliSense, project file generation and single-instance window reuse.\n\nHeads up: Google split the Antigravity product line at I/O 2026 (May 19, 2026).\nThere are now two desktop apps that look similar but do very different things —\nthe standalone **Antigravity** is an agent-orchestration tool with no code\neditor inside it, and **Antigravity IDE** is the VS Code fork you actually\nwant for writing C#. Older versions of this package (and most of the\ncommunity forks I found) matched any `Antigravity*.exe`, which means Unity\nended up opening the agent app every time you double-clicked a script.\nv1.0.6+ fixes that — see [Antigravity 2.0 split](#antigravity-20-split) for\nthe full story.\n\nIf this saved you an afternoon of \"why is the agent app opening my scripts?\",\nplease ⭐ the repo. That's how other Unity devs find it.\n\n## Features\n\n- **Auto-Discovery**: automatically finds your **Antigravity IDE**\n  installation on macOS, Windows and Linux (and ignores the standalone\n  Antigravity agent app, which cannot host script editing).\n- **IntelliSense**: generates `.sln` and `.csproj` files for complete C#\n  IntelliSense and Unity API support inside Antigravity IDE.\n- **Workspace Setup**: writes `.vscode/` workspace config files\n  (`launch.json`, `settings.json`, `extensions.json`) that Antigravity IDE\n  reads as a VS Code fork.\n- **Reuse Window**: optional setting to open files in an already-running\n  Antigravity IDE window instead of launching a new one. Backed by a scan of\n  Antigravity IDE's own `workspaceStorage` directory.\n- **Insider builds supported**: `Antigravity IDE - Insider` /\n  `antigravity-ide-insiders` are discovered on all three platforms.\n\n## Installation\n\nInstall via Unity Package Manager using the git URL:\n\n1. Open `Window \u003e Package Manager`\n2. Click `+` → **Add package from git URL...**\n3. Enter:\n   ```\n   https://github.com/BadranRaza/com.unity.ide.antigravity.git\n   ```\n4. Click **Add**\n\nThe package will appear in Package Manager under the name\n**`com.badranraza.ide.antigravity`** and can be updated from there when new\nversions are released.\n\n\u003e **Alternative**: if you cloned the repo locally, use\n\u003e `+ → Add package from disk...` and point to the `package.json`.\n\n\u003e **Upgrading from v1.x?** v2.0.0 renamed the UPM `name` field from\n\u003e `com.unity.ide.antigravity` to `com.badranraza.ide.antigravity` (the old\n\u003e name used Unity's reserved `com.unity.*` namespace and was rejected by\n\u003e OpenUPM). To upgrade: in Package Manager, remove the old\n\u003e `com.unity.ide.antigravity` entry and re-add via the same git URL above.\n\u003e Your External Tools selection survives the rename. The GitHub repo URL\n\u003e is unchanged.\n\n## Configuration\n\n1. Install **Antigravity IDE** from\n   [antigravity.google](https://antigravity.google).\n2. Go to `Unity \u003e Preferences \u003e External Tools` (macOS) or\n   `Edit \u003e Preferences \u003e External Tools` (Windows / Linux).\n3. Select **Antigravity IDE** from the **External Script Editor** dropdown.\n   If you previously had a plain \"Antigravity\" entry selected, that was the\n   agent app — pick \"Antigravity IDE\" instead.\n4. Choose which package types should have `.csproj` files generated.\n5. Click **Regenerate project files** to apply.\n\n### Reuse Existing Window\n\nWhen Antigravity IDE is selected as the editor, a\n**\"Reuse existing Antigravity window\"** toggle appears in Preferences. When\nenabled, double-clicking a script in Unity will open it in an already-running\nAntigravity IDE instance instead of launching a new one.\n\n## Antigravity 2.0 split\n\nAt Google I/O 2026 (May 19, 2026) Google split the Antigravity product line\ninto two separate desktop applications:\n\n| Product | What it is | Default install dir (Windows) | Process / exe name |\n|---|---|---|---|\n| **Antigravity** (2.0) | Agent-first standalone desktop app. Multi-agent orchestration UI. **Not a code editor.** | `…\\Programs\\Antigravity\\Antigravity.exe` | `Antigravity.exe` |\n| **Antigravity IDE** | VS Code fork. The actual code editor. **This is what Unity needs.** | `…\\Programs\\Antigravity IDE\\Antigravity IDE.exe` | `Antigravity IDE.exe` |\n\nBoth share the same Code-fork shell. They are told apart by\n`resources/app/package.json` `name` field (`\"Antigravity\"` vs\n`\"Antigravity IDE\"`), which this package verifies during discovery. Older\nversions of this package (≤ 1.0.5) matched any `Antigravity*.exe`, which on\nmachines with both products installed could route Unity script opens into the\nagent app. Starting in **v1.0.6**, only Antigravity IDE installs are listed.\n\n## How It Works\n\n- **Workspace config** is written to `.vscode/` in your Unity project root —\n  Antigravity IDE reads these as a VS Code fork.\n- **Extensions** are looked up from `~/.antigravity-ide/extensions/`\n  (`~/.antigravity-ide-insiders/extensions/` for insider builds) — Antigravity\n  IDE's user-level extension directory.\n- **Window reuse** works by reading Antigravity IDE's `workspaceStorage`\n  directory to find which workspace a running instance has open:\n  - Windows: `%APPDATA%\\Antigravity IDE\\User\\workspaceStorage`\n  - macOS: `~/Library/Application Support/Antigravity IDE/User/workspaceStorage`\n  - Linux: `~/.config/Antigravity IDE/User/workspaceStorage`\n\n## Requirements\n\n- Unity 2019.4 or later\n- **Antigravity IDE** installed from\n  [antigravity.google](https://antigravity.google) (the standalone\n  Antigravity 2.0 agent app does not work as a Unity script editor)\n\n## Troubleshooting / FAQ\n\n### Unity keeps opening the Antigravity 2.0 agent app instead of Antigravity IDE\n\nThis was the whole reason v1.0.6 exists. Update the package to v1.0.7 or\nlater, then in `Edit \u003e Preferences \u003e External Tools` re-select **Antigravity\nIDE** from the dropdown (your old saved preference might still point at the\nagent app's executable; re-picking fixes it).\n\nIf you've also got the standalone Antigravity 2.0 agent app installed and\nwant to make absolutely sure it can't be picked: the detection now reads\n`resources/app/package.json` inside each install and rejects anything whose\nproduct name isn't exactly `Antigravity IDE`. You don't have to uninstall\nthe agent app for the IDE to work.\n\n### \"Antigravity IDE\" doesn't appear in the External Script Editor dropdown\n\nThree things to check:\n\n1. You've actually installed **Antigravity IDE**, not just the agent app.\n   Grab the IDE installer from [antigravity.google](https://antigravity.google).\n   On Windows it lands in `%LOCALAPPDATA%\\Programs\\Antigravity IDE\\Antigravity IDE.exe`\n   by default, on macOS in `/Applications/Antigravity IDE.app`, on Linux at\n   `/usr/bin/antigravity-ide` (or the XDG `.desktop` entry).\n2. The package actually imported. Open `Window \u003e Package Manager`, switch the\n   filter to \"In Project\", confirm **Antigravity IDE Editor** is listed at\n   v1.0.7 or newer.\n3. Unity needs a domain reload after installing the package. Closing and\n   reopening Unity is the surefire way; toggling Play mode usually works too.\n\nIf it still doesn't show up, click **Browse** in External Tools and point\nmanually at `Antigravity IDE.exe` (Windows), `Antigravity IDE.app` (macOS) or\nthe `antigravity-ide` binary (Linux). The discovery code will accept it as\nlong as the manifest's product name is `Antigravity IDE`.\n\n### IntelliSense isn't working inside Antigravity IDE\n\nAntigravity IDE is a VS Code fork, so the same constraints apply: Microsoft's\nofficial C# / C# Dev Kit / Unity extensions are licensed only for Visual\nStudio Code itself, not for forks. The community-recommended replacement is\n**DotRush** (open-source Roslyn-based C# language server) — install it from\nthe Extensions panel inside Antigravity IDE, then make sure the `.sln`\ngenerated by this package is at the workspace root.\n\nThe recommendations file this package writes (`.vscode/extensions.json`)\nsuggests `visualstudiotoolsforunity.vstuc`, which is the standard pointer\nused by the upstream `com.unity.ide.vscode` package this is forked from. On\nAntigravity IDE specifically, swap to DotRush.\n\n### Reuse-existing-window does nothing\n\nThe toggle reads Antigravity IDE's own `workspaceStorage` directory\n(`%APPDATA%\\Antigravity IDE\\User\\workspaceStorage` on Windows, the equivalent\non macOS / Linux) and matches each running `Antigravity IDE` process by the\nworkspace path stored there. If you've never opened the Unity project in\nAntigravity IDE before, there's nothing to match — open it once normally,\nthen the toggle starts working.\n\nIf you previously used the older Antigravity 1.x and have data in the\nlegacy `\\Roaming\\Antigravity\\User\\workspaceStorage`, v1.0.6+ no longer reads\nit (that path now belongs to the agent app). Either re-open your project\nonce in Antigravity IDE, or copy the relevant `workspaceStorage` subfolder\nacross manually.\n\n### Insider build of Antigravity IDE isn't detected\n\nInsider builds (`Antigravity IDE - Insider.exe`, `antigravity-ide-insiders`,\n`Antigravity IDE - Insider*.app`) are detected starting in v1.0.7. If you're\non the insider channel and it doesn't show up, make sure the package is at\nv1.0.7 or newer, then re-open Unity to force a domain reload.\n\n## How this fork compares to the other community packages\n\nThere are several community packages that all try to do the same thing.\nHere's where they sit as of May 2026, in case you're choosing:\n\n| Fork | Last push | Stars | Antigravity 2.0 fix? |\n|---|---|---|---|\n| **BadranRaza/com.unity.ide.antigravity** (this one) | 2026-05-23 | live | ✅ v1.0.6+ — full detection + manifest check |\n| alexakajustin/Antigravity-Unity | 2026-05-20 | 1 | ⚠️ partial — README rename only, runtime still hits `/Antigravity.exe` |\n| billythekidz/UnityAntigravityIDE | 2026-03-21 | 15 | ❌ predates the split |\n| usmanbutt-dev/antigravity-unity | 2026-02-09 | 21 | ❌ predates the split |\n| akshwpsh/com.unity.ide.antigravity | 2026-02-25 | 3 | ❌ predates the split |\n| TermWay/unity-ide-antigravity | 2025-11-30 | 21 | ❌ predates the split |\n| kientux/com.unity.ide.antigravity | 2025-12-12 | 0 | ❌ predates the split |\n\nIf you're already on one of those and it's working for you, you don't have\nto switch. If Unity is opening the agent app on every script double-click,\nthis is what fixed it for me.\n\n## Support the project\n\nIf this package made your Unity + Antigravity IDE setup work:\n\n- ⭐ **Star the repository** — biggest single thing you can do to help\n  others find it.\n- 🔁 Share the repo link with other Unity devs who use Antigravity IDE.\n- 💬 Open an issue or discussion if you hit a bug or have a feature request.\n- 🔧 Pull requests welcome — see open issues for ideas.\n\n## License\n\n[MIT](LICENSE.md). Free to use in personal, commercial and Asset Store\nprojects. Includes upstream MIT-licensed code from Unity Technologies and\nMicrosoft Corporation (the `com.unity.ide.vscode` package this is forked\nfrom).\n\n## Maintainer\n\nMaintained by **Badran Raza** ([@BadranRaza](https://github.com/BadranRaza)) —\nUnity / game-side software developer based in Lahore, Pakistan. If you've\nhit a bug or want to contribute, the [Issues](https://github.com/BadranRaza/com.unity.ide.antigravity/issues)\nand [Discussions](https://github.com/BadranRaza/com.unity.ide.antigravity/discussions)\ntabs are the right entry points. For the story of why this package exists\nand how the Antigravity IDE detection works under the hood, see\n[`Documentation~/antigravity-2-0-fix.md`](Documentation~/antigravity-2-0-fix.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadranraza%2Fcom.unity.ide.antigravity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadranraza%2Fcom.unity.ide.antigravity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadranraza%2Fcom.unity.ide.antigravity/lists"}