Use Reasoning Code Actions
Send selected editor context to Reasoning without copying it manually.
Run a code action
- Select the relevant code, or place the cursor near the code you want to discuss.
- Open the editor context menu.
- Choose an AI Cockpit action.
- Review the prepared request in Chat before sending it.
The current actions include:
| Action | Result |
|---|---|
| Add to Context | Attach the selection to your next prompt. |
| Explain Code | Prepare a request to explain the selection. |
| Fix Code | Prepare a request to correct a problem around the selection. |
| Improve Code | Prepare 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.