AI Learning Hub › Learn AI › Self-Paced Courses › VS Code: Files, Changes, and AI Agents › What VS Code Is, and What It Is Not

Module 1 ยท Beginner

What VS Code Is, and What It Is Not

VS Code, the files on your disk, the terminal, Git, GitHub, extensions and an AI agent are seven different things. Telling them apart is what makes the rest of the course usable.

By the end

  • Name the seven things this course keeps apart
  • Say what VS Code itself does and does not do
  • Explain why an AI chat panel appearing in the window does not make the editor an agent
  • Classify a short description as the editor, the filesystem, the terminal, Git, GitHub, an extension or an agent

Most people meet VS Code sideways. A tutorial says to open it, a colleague sends a folder, or an AI coding tool asks for a project to work in. What appears is a window with panels down both sides, a strip along the bottom, and a dozen icons nobody has explained. The usual response is to learn the three clicks that get the job done and leave the rest alone.

That works until something goes wrong, and then it stops working completely. A file changed and you are not sure which one. A command ran somewhere and you are not sure where. An agent reported that it fixed something and you have no way to check. At that point the question is no longer which button to press; it is which part of the system you are even looking at.

So this course starts by separating seven things that get collapsed into one idea called “the coding environment.” You do not need to memorize these. You need to be able to tell, when something surprises you, which one of them is responsible.

Seven things, briefly

VS Code
An application for working with the files in a folder on your computer. It shows you what is there, lets you edit it, and gives other tools somewhere to run. By itself it does not change anything you did not ask it to change.
Files and folders
The actual material on your disk. These are the same files Finder or File Explorer shows you. VS Code is a window onto them, not a container holding copies of them.
The terminal
A place to type commands and read what they print back. VS Code can show you one inside its own window, which is convenient and nothing more; it is an ordinary terminal.
Git
A system that records changes to files over time, so you can see what changed and go back. It runs on your computer. VS Code displays what Git knows; it is not the thing doing the recording.
GitHub
A service that hosts copies of Git projects somewhere else so people can share them. Nothing you do in VS Code reaches GitHub until you deliberately send it there.
An extension
Software somebody else wrote that you installed into VS Code to add a capability. Extensions are useful and ordinary. They are also a choice you made, which Module 8 comes back to.
An AI coding agent
A tool that can read your project, write to it, and sometimes run commands, within whatever access it has been given. It is a separate actor working on the same files you are.

The thread running through all seven is the folder. The files are in it, Git is tracking it, the terminal starts in it, and the agent is working on it. That is why Module 2 is about choosing the right one.

What the window looks like now

A VS Code window. A narrow strip of icons runs down the far left. Beside it a file tree lists a small project: an assets folder, draft.md marked U, index.html marked M, notes.md, README.md and styles.css. The center holds an open HTML file with numbered lines. A panel on the right is headed Chat and reads Build with Agent. A thin strip along the bottom shows the branch name main with an asterisk.
A VS Code window with a small project open. The panel on the right is an AI chat area that the editor ships with; it is part of the furniture rather than something that was installed. Observed on VS Code 1.142.0, macOS, October 2026, on a clean installation signed in to nothing. Open full-size image: the VS Code window showing the icon strip, file tree, editor, chat panel and status strip (opens in a new tab)

Module 3 gives every region its proper name. For now, notice only that the window has an area devoted to an AI assistant, and that the editor put it there without being asked.

An AI panel in the window is not an AI editor

In the version tested for this course, a freshly installed VS Code opens with a Chat area already present on the right, and a brand-new installation offers to sign you in to GitHub Copilot before you have opened anything. You can decline that and keep working; the option to continue without signing in is there, and nothing in this course requires an account.

This is worth saying plainly because the arrangement invites a wrong conclusion. Seeing a chat box in the window does not mean the editor is an agent, that your files are being sent anywhere, or that every installation has the same AI features available. What a given account can reach depends on the account and on the organization it belongs to.

Throughout this course, treat the AI parts of the window as one more tool that happens to live in the same application. The editor, the terminal, Git and an agent remain four different things even when they share a window.

What VS Code does not do on its own

VS Code does not edit your files while you are not looking. It does not commit anything to Git. It does not send your project to a server. It does not run commands you did not start.

Each of those things can happen in a VS Code window, because you can ask for them or because a tool you gave permission to can ask for them. The distinction matters when you are trying to work out what happened: the question is almost never “what did VS Code do,” and almost always “which tool did this, and what was it allowed to touch.”

Exercise: sort these by what is responsible

For each statement, decide which of the seven it describes. Write the answer down before opening the key — the point is to notice which ones you are unsure about.

  1. A file on your Desktop is renamed.
  2. A list of every change made to a file last month.
  3. A colleague downloads your project from a web page.
  4. Typing a word and seeing a list of suggestions appear.
  5. A command prints a folder path.
  6. Three files are rewritten after you described a task in plain English.
  7. The window where all of the above happened to be visible.
Check your answers

1. Files and folders. The rename happened on disk. VS Code may have been the thing you clicked in, but the change is to the filesystem, which is why Finder shows it too.

2. Git. Recording change over time is what Git is for. VS Code can display that history, and GitHub can host a copy of it, but the record itself is Git’s.

3. GitHub. Sharing across machines is the service’s job. Nothing left your computer until something was deliberately sent.

4. An extension, usually. Language suggestions mostly come from extensions rather than from the editor itself. Some are built in, which is a detail you can safely ignore.

5. The terminal. Commands and their output belong to the terminal and the shell running inside it, whether or not that terminal is displayed inside VS Code.

6. An AI coding agent. This is the one the rest of the course is built around, because it is the one whose work you cannot check by remembering what you did.

7. VS Code. The window. Useful precisely because it can show you the other six.

If one or two of those were genuinely ambiguous, that is the normal starting position and the next three modules are the fix. If the last one felt like a trick question, you already have the idea this course is built on: the editor is where you watch the work, not the thing doing it.