Brings a sleek Add to Chat Ctrl+L popup to VS Code when you select code with the mouse—triggering Google Antigravity's Add Selection to Chat (antigravity.insertSnippet) in a single click.
Features
Auto Hover Popup: Automatically displays a compact Add to Chat Ctrl+L hover popup right after mouse selection settles.
Native-Inspired Styling: Crisp white Add to Chat label with a subtle Ctrl+L shortcut hint.
One-Click Action: Clicking the popup runs antigravity.insertSnippet (Ctrl+L) in the background.
Flexible Modes: Switch between hover, codelens, or both, and customize delayMs or mouseOnly in VS Code Settings (antigravitySelectionPopup.*).
Extension Settings
This extension contributes the following settings:
antigravitySelectionPopup.enabled: Enable or disable the popup on code selection (default: true).
antigravitySelectionPopup.mode: Display mode — hover, codelens, or both (default: hover).
antigravitySelectionPopup.mouseOnly: Only auto-trigger the hover popup on mouse selection (default: true).
antigravitySelectionPopup.delayMs: Delay in milliseconds after selection settles before showing the hover popup (default: 250).
Installation
From VSIX (manual)
Download antigravity-selection-popup-1.0.1.vsix from the Releases page.
In VS Code open the Extensions view (Ctrl+Shift+X) → ... menu → Install from VSIX..., or run: