Customize VS Code
Configure VS Code for comfortable coding: fonts, themes, and essential extensions.
Introduction
You should have VS Code installed and working. You should have already gotten Copilot setup as part of the Student Developer Pack. At the least, if that's taking a while, you can get a free trial of Copilot for now and switch to the student pack later.
If you haven't set up Copilot yet, you can still follow along with the font and theme configuration steps. Just skip the Copilot installation for now and come back to it once you have access.
What you'll configure
- Coding font: Makes similar characters (like
0andO) easier to distinguish - Color theme: Reduces eye strain during long coding sessions
- GitHub Copilot: AI assistance for code completion and explanations
- Essential settings: Font size and basic editor behavior
The goal
Make VS Code comfortable enough that you can code for hours without fighting your tools. Don't overthink this—you can change any of these settings later.
Core Concept Overview
Coding fonts vs regular fonts
Coding fonts use monospacing (every character takes the same width) and distinguish similar characters clearly. This makes code easier to scan and reduces mistakes.
Free coding fonts worth trying:
- Fira Code: Popular, includes ligatures (combines symbols like
=>into one character) - JetBrains Mono: Clean, excellent readability
- Cascadia Code: Microsoft's coding font, works well on Windows
- Monaspace Neon: Modern, slightly wider spacing
Browse and compare fonts at programmingfonts.org. Pick one in 2 minutes and move on.
Themes: dark vs light
Themes control all colors in VS Code: background, text, syntax highlighting, and icons.
Dark themes reduce eye strain in dim lighting. Light themes work better in bright rooms. Pick based on your workspace lighting.
Verified theme recommendations:
- GitHub Theme (official)
- Dracula Official
- Night Owl
- One Dark Pro
- Monokai Pro
You need one theme. Don't install ten.
Extensions: only what you need
Extensions add features but can slow VS Code or cause conflicts. For this course, you need exactly two extensions:
- GitHub Copilot + GitHub Copilot Chat: AI code suggestions and explanations
- Web Search for Copilot: Lets Copilot search for current information
We'll add more extensions as needed later in the course. Resist installing random extensions now.
Common mistakes
- Font rabbit hole: Spending 30 minutes comparing fonts instead of coding
- Theme hoarding: Installing 10 themes when you'll use one
- Extension overload: Installing every recommended extension
- Skipping GitHub Education: Missing free GitHub Copilot access
Hands-On Application
Step 1: Install a coding font (5 minutes)
Choose a font:
- Go to programmingfonts.org
- Click through 3-4 fonts using the buttons at the top
- Pick one that looks readable to you
Download and install:
- Click "Website" to visit the font's download page
- Look for "Releases" or "Download"
- Download the TrueType/TTF file
- Install:
- Mac: Double-click
.ttffile → "Install Font" - Windows: Right-click
.ttffile → "Install"
- Mac: Double-click
Set the font in VS Code:
- Open VS Code
- Press
Cmd + ,(Mac) orCtrl + ,(Windows) to open Settings - Search "font family"
- Add your font name at the beginning of the list:
or
'Monaspace Neon', monospace'Fira Code', monospace
The comma-separated list means VS Code will try your chosen font first, then fall back to the next if unavailable.
Optional - Enable ligatures (for Fira Code or similar fonts):
- In Settings, search "font ligatures"
- Check the box to enable
Step 2: Choose a theme (2 minutes)
Open extensions:
- Press
Cmd + Shift + X(Mac) orCtrl + Shift + X(Windows)
Filter for themes only:
- Click the filter icon (three horizontal lines) at the top
- Select "Category" → "Themes"
Install one theme:
- Pick a verified theme from the list above
- Click "Install"
- Click "Set Color Theme" or press
Cmd + K, Cmd + T(Mac) orCtrl + K, Ctrl + T(Windows) - Select your theme from the dropdown
Try maximum 2-3 themes. Pick one and continue.
Vira Theme is a premium paid theme that many students love. If you want to try it, you can get a free trial for 7 days and decide if it's worth it for you.
Step 3: Set up GitHub Copilot (5 minutes)
Prerequisites:
- GitHub account signed in at github.com
- GitHub Student Developer Pack activated at education.github.com/pack
Sign in to GitHub:
- Click the Accounts icon (person silhouette) in the bottom-left corner
- Click "Sign in to use GitHub Copilot"
- Follow the browser prompts to authorize VS Code
Install Copilot extensions:
- Press
Cmd + Shift + X(Mac) orCtrl + Shift + X(Windows) - Search "GitHub Copilot"
- Install both:
- GitHub Copilot (main extension)
- GitHub Copilot Chat (conversational AI)
Install web search:
- In extensions, search "Web Search for Copilot"
- Install the extension
Verify setup:
- Look for the Copilot icon in the bottom-right status bar
- It should show a checkmark or "ready" status
- If you see an error, click it and follow the instructions (usually needs GitHub sign-in)
Step 4: Adjust font size (optional, 30 seconds)
If text is too small or large:
- Press
Cmd + ,(Mac) orCtrl + ,(Windows) - Search "font size"
- Change "Editor: Font Size" to 14-16 (typical range)
Troubleshooting
Copilot shows "not authorized"
- Confirm you're signed up for GitHub Education
- Check your GitHub account is connected in VS Code (Accounts icon, bottom-left)
- Sign out and sign back in
- Restart VS Code
Font doesn't appear in VS Code
- Verify the font is installed on your system (check Font Book on Mac, Settings on Windows)
- Make sure you typed the font name exactly right in VS Code settings (capitalization matters)
- Restart VS Code after installing the font
Theme looks broken or hard to read
- Try a different theme—some are poorly maintained
- Stick with verified publishers (GitHub, Dracula Official, etc.)
- Increase font size if text is too small
Wrap-Up
What you should have now
- A coding font installed and set in VS Code
- A theme you can read comfortably for long periods
- GitHub Copilot installed and signed in
- Web Search for Copilot installed
- Font size adjusted if needed
Key takeaways
- Coding fonts make code easier to read by clearly distinguishing similar characters
- Themes are personal preference based on your lighting—pick one quickly
- GitHub Copilot provides AI assistance while you code—essential for modern development
- Minimal extensions prevent slowdowns and conflicts
Common questions
Can I change my font or theme later?
Yes. These aren't permanent decisions. Change them anytime in Settings.
What if my friend uses a different extension?
Stick with the two Copilot extensions for now. We'll add more as the course progresses and you understand what you actually need.
Do I need ligatures?
No. They make some symbol combinations look nicer (like => becoming a single arrow) but aren't required. If you don't know what they are, ignore them.
What's next
VS Code is now configured for coding. The upcoming JavaScript lessons will teach you how to use Copilot effectively as a learning tool, not a shortcut to avoid thinking.
Your editor is ready. Now you'll learn to code.