Skip to main content

Use Reasoning Code Actions

Send selected editor context to Reasoning without copying it manually.

Run a code action​

  1. Select the relevant code, or place the cursor near the code you want to discuss.
  2. Open the editor context menu.
  3. Choose an AI Cockpit action.
  4. Review the prepared request in Chat before sending it.

The current actions include:

ActionResult
Add to ContextAttach the selection to your next prompt.
Explain CodePrepare a request to explain the selection.
Fix CodePrepare a request to correct a problem around the selection.
Improve CodePrepare a focused improvement request.

The prepared context includes the file and selection location. Add constraints in Chat when the result must preserve an interface, follow a project rule, or pass a particular check.

Continue the current session when the action depends on its history. Start a new session for unrelated work.