Inline AI
Code actions give you quick AI-powered operations on selected code or terminal output.
Code actions appear when you select code in the editor. They include AI-powered options: Explain Selection, Fix Selection, and Improve Selection.
Select a block of code, then click the lightbulb icon or press ⌘. to see available actions. Choose an AI action to send the selection to the chat panel with the appropriate prompt pre-filled.
Yes. In the integrated terminal, select an error message and right-click to see Explain Terminal Error and Fix Terminal Error. These send the selected output to the AI for analysis.