TL;DR: Select the error text in LingCode's terminal pane, right-click, and pick Explain with AI. A floating popup shows the explanation β out-of-band from your main chat, so it doesn't pollute your conversation context.
Right-click the cryptic error in your terminal, pick "Explain with AI," read the popup. The explanation stays out of your main chat β it's a glance, not a conversation, and the chat panel keeps its focus on whatever you were actually doing.
Half of working in a terminal is reading errors. Most errors are well-named once you've seen them β EADDRINUSE, command not found, permission denied β but the long tail is brutal. A linker error that mentions seven Mach-O symbols. A Gradle stack trace with twenty wrapped exceptions. A Swift compiler error that points at the wrong line. The pattern is always the same: a wall of text, a small actual signal, and a few minutes of squinting before you've found it.
The instinct, once you have an AI chat panel handy, is to copy the error there and ask "what does this mean." That works, but it has a cost. Your chat is in the middle of a task. The error you're pasting is unrelated. Now the model is balancing "the thing the user is actually working on" with "explain this unrelated linker error," and even when it does both, the conversation has grown a tangent that pollutes the context for the rest of your session.
The terminal-error explainer is the surgical alternative. The explanation arrives in a floating popup right next to the error, sourced from the same agent that would have answered in chat, but the chat doesn't know it happened. You get the explanation, you decide what to do, you dismiss the popup, and your main conversation continues where it left off. Two minutes saved, zero pollution.
In the terminal pane, select the error text β either highlight the relevant lines, or just put your cursor on the line and right-click. The context menu shows Explain with AI near the top.
Click it. A floating popup appears anchored to the selection, with a small spinner, then the explanation streams in.
The explanation is short on purpose:
The popup is deliberately not a debugging session. It gives you the orientation you needed to read the error, and then it gets out of the way. If the first thing to try doesn't work, you escalate to chat β which is where the real diagnosis belongs.
The agent does best with a tight selection of the actual error, not the whole 200-line log. Best practice:
error: 1024) β strip out everything but the code and the explanation loses signal.If the explanation is too vague, retry with a wider selection. If it's tangential to your problem, retry with a narrower one.
Right tool for the popup:
Wrong tool for the popup:
After reading the popup, you have three reasonable next moves:
ls, just do it. Dismiss the popup, run the command, move on.The popup sends exactly the text you selected to the configured AI provider. No surrounding file content. No environment variables. No history of previous popups. Just the selection.
If your terminal output happens to contain secrets β a one-off command that printed an API key, say β be mindful of what you select. The same care you'd take when copy-pasting into any chat applies here.