Skip to content
Tutorials Center
My learning

Topics

Lesson 1 of 40 ยท Getting Started

What Is Visual Studio Code?

Learn what Visual Studio Code is, how it differs from a full IDE, why so many developers use it and what you can do with it, from a first file to remote development.

Visual Studio Code, usually called VS Code, is a free source-code editor from Microsoft. It runs on Windows, macOS and Linux, starts quickly, and can be extended into something close to a full development environment for almost any language. Millions of developers use it for web development, Python, Java, C++, data science, DevOps and plain note taking.

This course teaches you the editor itself: how to move around it, edit faster, debug, add extensions, use the terminal and Git, and set it up so it fits your habits. You do not need any language knowledge beyond reading a few short code samples.

VS Code is a desktop application, so it cannot run inside this website. The examples in this course describe real menus, commands and files exactly. Where a runnable example appears, it is a small stand-in written in JavaScript that models an idea (for instance how a fuzzy search ranks results) so you can experiment. It is not VS Code's real code, and the lessons say so each time.

Editor, not IDE

A traditional IDE (integrated development environment) such as Visual Studio, IntelliJ IDEA or Xcode ships with everything for one ecosystem: compiler integration, project templates, visual designers, profilers. It is powerful and heavy.

VS Code takes the opposite approach. The core is a fast, lightweight editor with a few built-in features:

  • syntax highlighting and bracket matching for dozens of languages
  • IntelliSense for JavaScript, TypeScript, JSON, HTML, CSS and more
  • a debugger framework, an integrated terminal and Git support
  • a search and replace engine that works across whole folders
  • the extension system, which adds everything else

Everything language-specific beyond the basics (Python, Java, Go, Rust, C#, PHP) arrives as an extension. This keeps the core small and lets you build exactly the environment you need.

VS Code in four parts

Editor Fast text editing
Extensions Add any language
Debugger Breakpoints and stepping
Terminal Shell inside the window

One window, four building blocks.

1 / 2

What is it built with?

VS Code is built on Electron, a framework that combines a Chromium browser engine with Node.js. That explains two things you will notice: the interface is web technology (so themes are close to CSS), and extensions are written in JavaScript or TypeScript. The core is open source (the "Code - OSS" project on GitHub), while Microsoft's downloadable build adds its branding, telemetry settings and some proprietary components.

Extensions run in a separate extension host process. If a misbehaving extension crashes, the editor window keeps working, which is a big part of why VS Code feels stable.

flowchart LR
  UI["Editor window<br/>(Electron UI)"] <--> EH["Extension host<br/>(Node.js)"]
  EH --> LS["Language servers"]
  EH --> DA["Debug adapters"]
  UI --> T["Integrated terminal"]

The window talks to extensions, which in turn start language servers and debug adapters as separate programs.

What you can do with it

A short tour of things this course will cover:

  1. Edit with multiple cursors, snippets, Emmet, formatting and refactoring tools.
  2. Navigate large projects with Quick Open, symbol search and go to definition.
  3. Debug Node.js, Python and other programs with breakpoints and watch expressions.
  4. Extend the editor with themes, linters, language support and AI assistants.
  5. Run tasks and use a real shell in the integrated terminal.
  6. Use Git with visual diffs, staging and merge conflict tools.
  7. Work remotely on another machine, in a container or in WSL as if it were local.

Why people choose it

  • Free for personal and commercial use.
  • Cross-platform with the same shortcuts and settings on every system (Cmd replaces Ctrl on macOS).
  • Fast to learn: the Command Palette lets you find any command by name, so you do not have to memorize menus.
  • Huge ecosystem: the Marketplace lists tens of thousands of extensions.
  • Monthly releases: new features arrive regularly, and the release notes are shown inside the editor.

The trade-off is that a lightly configured VS Code will not do everything a specialized IDE does. For a very large Java or .NET application you may prefer IntelliJ or Visual Studio, though many teams happily use VS Code for those too.

A stand-in: how an editor combines features

To make the "core plus extensions" idea concrete, here is a tiny JavaScript model. A core editor knows nothing about languages; extensions register themselves and the core asks each one whether it can handle a file.

JS Stand-in: a core that loads extensions

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Notice that data.xyz stays plain text until someone registers support for it. The real editor behaves the same way: install the extension, and the language lights up.

JS Stand-in: count what a fresh install can do

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What is the main difference between VS Code and a traditional IDE?

    VS Code ships a small core and relies on extensions for most language-specific features, while a traditional IDE bundles a lot for one ecosystem.
  2. 2. Which technology is the VS Code desktop app built on?

    VS Code is an Electron application, which is why its interface uses web technology.
  3. 3. Why does a crashing extension usually not close the editor window?

    The extension host is a separate process, so a failure there is isolated from the editor UI.
  4. 4. In this course, what are the runnable JavaScript examples?

    VS Code cannot run on the site, so small stand-ins illustrate concepts and are labelled as such.

Summary

  • VS Code is a free, cross-platform, extensible source-code editor from Microsoft.
  • It is built on Electron; extensions run in a separate extension host.
  • The core includes editing, search, Git, terminal and debugging; languages arrive as extensions.
  • It also runs in the browser and can connect to remote machines and containers.
  • The examples in this course are described precisely or modelled with labelled stand-ins.

Next: Installing VS Code and First Launch