Visual Studio Code (VS Code) is a free, lightweight code editor made by Microsoft. It supports almost every programming language and runs on Windows, macOS, and Linux.
What it includes out of the box#
VS Code comes with the core features you’d expect from any IDE — a code editor with syntax highlighting, a file explorer, an integrated terminal, and Git support. It handles the basics well for most languages without any extra setup.
What makes it different is what it doesn’t include by default: deep language support — things like intelligent autocomplete, error detection, and debugging — is added through extensions.
Extensions#
An extension is an add-on that gives VS Code new capabilities. There are extensions for programming languages, frameworks, themes, tools, and workflow helpers. You install only what you need, which keeps VS Code fast and uncluttered.
Extensions are installed from the Extensions panel in the left sidebar, or from the Visual Studio Code Marketplace (external link). Most are free.
For example, to work with C# in VS Code, you install the
C# Dev Kit extension. Without it, VS Code has no understanding of C# — it would treat your .cs files as plain text.
The interface#
VS Code’s interface has four main areas:
┌──────────────────────────────────────────┐
│ Activity Bar │ Editor │
│ │ │
│ (Explorer, │ your code goes here │
│ Extensions, │ │
│ etc.) ├──────────────────────────│
│ │ Terminal │
└──────────────────────────────────────────┘- Activity Bar — the narrow icon bar on the far left. Switches between panels: Explorer, Search, Extensions, and others.
- Explorer — shows your project files and folders.
- Editor — the main area where you write code. You can open multiple files in tabs.
- Terminal — a built-in command line at the bottom. Use it to run your programs without leaving VS Code.
Common Mistakes#
Installing VS Code but skipping the required extensions VS Code on its own doesn’t know how to work with most languages. If you open a C# file and nothing looks right — no highlighting, no error detection, no way to run the code — the most likely cause is a missing extension. Always install the language extension for whatever you’re working with.
Confusing VS Code with Visual Studio Visual Studio Code and Visual Studio are two different products from Microsoft. Visual Studio is a large, Windows-only IDE built primarily for .NET and C++. VS Code is lightweight, cross-platform, and language-agnostic. They are not the same tool and are not interchangeable.
Closing the terminal and thinking the program stopped Closing the terminal panel in VS Code hides it — it doesn’t stop any running process. If your program is still running, it continues in the background. Use the terminal to explicitly stop a process before closing it.
Resources#
- Visual Studio Code (external link) — Wikipedia
- Visual Studio Code (external link) — Official site
- VS Code Extension Marketplace (external link)