Once you've learned the basics in the browser, the next step is a real editor on your own machine. Visual Studio Code (VS Code) is free, runs on Windows, macOS and Linux, and supports every language on this site. This guide gets it installed and configured.

Download and install

Go to code.visualstudio.com and download the build for your operating system.

  • Windows: run the installer and tick "Add to PATH" and "Open with Code" so you can launch it from any folder.
  • macOS: unzip and drag Visual Studio Code into your Applications folder.
  • Linux: install the .deb/.rpm package, or use your distribution's software centre / Snap.

Launch it and you'll see the Welcome tab.

Learn the layout

Five things cover 90% of daily use:

  • Explorer (Ctrl+Shift+E): your files and folders.
  • Search (Ctrl+Shift+F): find text across the whole project.
  • Source Control (Ctrl+Shift+G): Git changes, commits and history.
  • Run and Debug (Ctrl+Shift+D): start and debug your programs.
  • Extensions (Ctrl+Shift+X): add language support and tools.

Open a folder with File → Open Folder. VS Code always works on a folder ("workspace"), not single files.

Install extensions

VS Code is minimal until you add extensions. Open the Extensions panel and install the ones for your language — for example the Python extension, the C/C++ extension, rust-analyzer, the Go extension, or the Extension Pack for Java. A couple of editor-wide extensions are worth having for everyone:

  • Prettier — automatic code formatting.
  • GitLens — richer Git history and blame.

Configure a few settings

Open settings with Ctrl+, and turn on the options that make editing pleasant:

Format On Save        -> on
Auto Save             -> afterDelay
Editor: Tab Size      -> 2 or 4
Files: Trim Trailing Whitespace -> on

You can switch the colour theme any time with Ctrl+K Ctrl+T.

Use the integrated terminal

Press Ctrl+ (backtick) to open a terminal inside VS Code. This is where you'll run compilers and language CLIs without leaving the editor — python3 app.py, node app.js, cargo run`, and so on.

That's the whole setup. With VS Code installed and the right extension for your language, you're ready to write, run, debug and build real projects — which is exactly what the next article covers.