VS Code Extensions
Open In Antigravity

Open In Antigravity

by Linkbai

Open files, folders, and project roots in Antigravity directly from the VS Code Explorer context menu with cross-platform support.

Downloads

786

Rating

— (0)

Version

0.0.7

Last updated

May 11, 2026

Open In Antigravity is a VS Code-compatible extension that opens the selected item's project root in Antigravity from the Explorer context menu.

Features

  • Shows one Explorer context menu item: Open In Antigravity.
  • Searches upward for .git, then falls back to the matching workspace root, then the selected folder.
  • For files, starts from the containing folder.
  • Supports Windows, macOS, and Linux.

Platform Defaults

When both openInAntigravity.executablePath and openInAntigravity.customCommand are empty, the extension uses these defaults:

Platform Launch behavior
Windows Directly runs Antigravity's Electron CLI entry when installed in a common location; otherwise uses hidden PowerShell Start-Process fallback
macOS First checks common .app bundle paths and runs Antigravity's bundled CLI when available; otherwise falls back to /usr/bin/open -a "Google Antigravity" <path> and /usr/bin/open -a "Antigravity" <path>
Linux antigravity <path>

Settings

{
  "openInAntigravity.executablePath": "",
  "openInAntigravity.macAppName": "Google Antigravity",
  "openInAntigravity.customCommand": "",
  "openInAntigravity.preferWorkspaceRoot": false,
  "openInAntigravity.showSuccessMessage": true
}
  • openInAntigravity.executablePath: Optional Antigravity executable, CLI, or .app path.
  • openInAntigravity.macAppName: macOS app name used by open -a after common .app bundle paths have been tried.
  • openInAntigravity.customCommand: Custom launch command with ${path} placeholder support. Overrides default launch logic.
  • openInAntigravity.preferWorkspaceRoot: When enabled, prefer workspace root over .git root.
  • openInAntigravity.showSuccessMessage: Show a success notification after an action runs.

Build

npx --yes @vscode/vsce package

The command generates:

open-in-antigravity-0.0.7.vsix