Visual Studio Code (VS Code) is free, open-source, and works on Windows, Mac, and Linux. It supports hundreds of programming languages and has a massive ecosystem of extensions that make it perfect for every type of development work.
Step 1: Download and Install VS Code
Download the installer
Go to code.visualstudio.com and click the large blue Download for Windows button.
Run the installer — check these boxes
During installation, make sure to enable all “Additional Tasks”:
- ✅ Add to PATH — lets you type
code .in any terminal to open VS Code - ✅ Add “Open with Code” action to Windows Explorer file context menu
- ✅ Add “Open with Code” action to Windows Explorer directory context menu
- ✅ Register Code as an editor for supported file types
Launch VS Code
Finish the installer with “Launch Visual Studio Code” checked. VS Code opens with a Welcome tab.
Step 2: Understanding the VS Code Interface
VS Code has 5 main areas:
- Activity Bar (left icons) — Switch between Explorer, Search, Git, Extensions, Debug
- Sidebar — Shows file tree, search results, or extension details
- Editor — Where you write code. Supports tabs and split panes
- Panel (bottom) — Integrated terminal, output, problems list
- Status Bar (very bottom) — Language, Git branch, errors, line position
Step 3: Install Essential Extensions
Press Ctrl + Shift + X to open Extensions. Search and install:
For All Developers
- Prettier – Code formatter — Auto-formats your code on save. Most popular VS Code extension.
- GitLens — Shows who changed each line and when. Supercharges Git integration.
- Error Lens — Displays errors inline in your code right where they occur.
- Path Intellisense — Autocompletes file paths as you type.
For Python Developers
- Python (by Microsoft) — Adds IntelliSense, linting, and debugging for Python.
- Pylance — Fast, feature-rich Python language server.
For Web Developers
- Live Server — Launches a local dev server with live reload. Right-click HTML → Open with Live Server.
- HTML CSS Support — Better autocomplete for HTML/CSS.
Step 4: Configure Essential Settings
Press Ctrl + Shift + P → type “Open User Settings JSON” to edit settings directly:
{
"editor.fontSize": 14,
"editor.tabSize": 2,
"editor.wordWrap": "on",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.minimap.enabled": false,
"files.autoSave": "afterDelay",
"terminal.integrated.defaultProfile.windows": "PowerShell"
}Step 5: Essential Keyboard Shortcuts
- Ctrl + P — Quick open: search and open any file instantly
- Ctrl + Shift + P — Command Palette: access every VS Code command
- Ctrl + ` — Toggle the integrated terminal
- Ctrl + / — Toggle comment on selected lines
- Alt + Up/Down — Move current line up or down
- Ctrl + D — Select next occurrence of current word (multi-cursor editing)
- Ctrl + Shift + K — Delete current line
- F2 — Rename a variable across all files in the project
Install One Dark Pro from Extensions. After installing, press Ctrl + K, Ctrl + T to switch themes. Also popular: Dracula Official, Tokyo Night.
VS Code is ready! Build your full dev stack:
zSmartFix Editorial Team
Step-by-step technical guides tested on real hardware. Our guides are independently written and freely accessible to everyone.
Leave a Reply