VS Code 内の統合ターミナルで Antigravity CLI を起動し、入力待ちの状態にします。
エディタ上で、エージェントに見せたいコード範囲を選択します。
Ctrl+L (Mac: Cmd+L) を押します。
統合ターミナルの入力欄に、選択したファイルと行番号が自動的に挿入されるので、そのままメッセージを付け加えて Enter キーを押すだけ!
🇬🇧 English Description (English)
✨ Features
Instant Path & Line Copy:
Select a range of code in your editor and press Ctrl+L (Cmd+L on macOS) to instantly copy the relative file path and line numbers (e.g., src/index.ts:10-25) to your clipboard.
Auto Integrated Terminal Injection:
Simultaneously injects the copied path directly into the active VS Code Integrated Terminal (where Antigravity CLI is running).
Safe design: It pastes the text without a trailing newline, allowing you to review the input before sending.
🛠️ Usage
Start Antigravity CLI in your VS Code Integrated Terminal.
Select the range of code in the editor that you want to reference.
Press Ctrl+L (or Cmd+L on macOS).
The file path and line range will be automatically injected into your active terminal prompt. Add your message and press Enter!
📦 インストール方法 (How to Install)
VSIX からのインストール (Install from VSIX)
拡張機能サイドバー (Ctrl+Shift+X) を開きます。
右上の ... (More Actions...) ボタンをクリックします。
「VSIX からのインストール... (Install from VSIX...)」 を選択し、生成された .vsix ファイルを選択します。