AI Learning Hub › Learn AI › Self-Paced Courses › VS Code: Files, Changes, and AI Agents › What the Panel Is Telling You
Module 5 ยท Beginner
What the Panel Is Telling You
Problems, Output and Terminal share one strip at the bottom of the window and report different things. The integrated terminal is an ordinary terminal that starts in the folder you opened.
By the end
- Tell Problems, Output and Terminal apart
- Open the integrated terminal and say which folder it started in
- Use
pwd,lsandcdto answer where a command would run - Explain why the terminal moving does not move the Explorer
Below the editor there is a strip that may not be visible until you open it. Several quite different things share it, and “there’s an error in the terminal” is frequently a report about something that is not in the terminal at all.
What is in the Panel
- Problems
- Things VS Code or an extension noticed about your files without being asked — a mistyped tag, a missing bracket. Nothing ran to produce this; it is continuous commentary on what you are editing.
- Output
- Log messages from VS Code itself and from extensions, chosen from a dropdown. Mostly useful when something is misbehaving and you want to know what it thinks it is doing.
- Terminal
- A place to type commands and read what they print. The rest of this module.
- Debug Console and Ports
- Named here only so they are not mysterious. Both belong to work this course does not cover.
The practical consequence is small but real: when something reports a problem, look at which tab it came from before deciding what kind of problem it is.
The terminal is an ordinary terminal
Open it with Control+` on a Mac or Ctrl+` on Windows, or through the Command Palette with View: Toggle Terminal.
What opens is a normal terminal that happens to be drawn inside VS Code. It is not an AI feature and it has no special powers. Microsoft’s documentation describes it as starting “at the root of your workspace” — which is to say, in the folder you opened. That single fact is most of what this module is for.
Three commands
The course teaches exactly three, because it only asks the terminal one question.
| Command | What it answers |
|---|---|
pwd | Which folder am I in right now? |
ls | What is in it? |
cd | Move to a different folder. |
Pipes, redirects, permissions, environment variables and shell scripting are all real and all out of scope here. They belong to a terminal course rather than to a module about knowing where you are.
On Windows. The terminal usually runs PowerShell, which Microsoft documents as the default there, while a Mac usually runs zsh. All three commands work in both: PowerShell provides pwd and cd on every platform and adds ls on Windows. The output of ls looks different — PowerShell prints a table with columns — so your screen will not match the screenshot above. The folder path is the part that matters.
Exercise: prove where the terminal is
- Open the practice folder, then open the terminal.
- Run
pwd. Compare what it prints with the folder name at the top of the Explorer. They should agree. - Run
ls. Compare the list with the file tree. Same files. - Run
cd assets, thenpwdagain. - Look at the Explorer. Has it changed?
What that last step shows
The Explorer did not change. The terminal moved into a subfolder; the window is still showing the project you opened. They are two different notions of “where you are” and they can disagree.
This is behind a whole category of confusion. A command that works for someone else fails for you because your terminal is one folder deeper or one folder higher than theirs. When a command reports that it cannot find a file that is plainly in the file tree, run pwd before anything else.
Run cd .. to go back up one level.
That is the whole terminal content of this course. You now have enough to answer the only question it asks: which folder am I in, and where will this command run?