Skip to content

Command

原始文档链接 / Source

https://antigravity.google/docs/command

Antigravity Editor: Command

The Command feature brings the power of natural language directly into your workflow, allowing you to request specific inline completions or terminal commands on the fly.

How it Works

  1. Trigger:
  2. Prompt:
  3. Instruction:
  4. Execution:

Where to Use It

In the Editor

Command in Editor

Use Command to generate boilerplate code, refactor complex functions, or write documentation without breaking your coding flow.

  • Example: "Create a React component for a login form."

In the Terminal

Command in Terminal

Use Command within the integrated Antigravity terminal to generate complex shell commands without needing to memorize syntax.

  • Example: "Find all processes listening on port 3000 and kill them."

Released under the MIT License.