Your First VS Code Workspace

Explained Simply β€” open a folder, search like a pro, supercharge with extensions

Already installed VS Code from Episode 11? Skip to Step 3.

Meet VS Code β€” where most beginners land first

Visual Studio Code (VS Code) is free, works on Mac, Windows, and Linux, and is the default choice for learning web development and beyond.

Visual Studio Code
EXPLORER
πŸ“ my-portfolio
πŸ“„ index.html
🎨 style.css
⚑ app.js
index.html style.css
1 <!doctype html>
2 <html>
3 <body>
4 Hello portfolio!
5 </body>
~/my-portfolio % python3 -m http.server
Click Next to tour each zone
0 / 3

Install VS Code in three clicks

Go to code.visualstudio.com, download for your system, drag to Applications (Mac) or run the installer (Windows). That’s it.

1
Download
code.visualstudio.com Download for Mac β–Ύ
2
Install
VS Code.app β†’ Applications
3
Open & pin it
πŸ’» VS Code in your dock / taskbar

Free forever Β· no account required to start

0 / 3

Open a folder β€” your project binder

Real developers work inside a folder, not loose files in Downloads.
- File β†’ Open Folder β†’ pick or create
- ⌘O (Mac) or CtrlO (Windows)
- folder name: my-portfolio.

❌ Loose files
index.html style.css logo.png

Scattered Β· hard to find things

βœ“ Project binder
πŸ“ my-portfolio
πŸ“„ index.html
🎨 style.css
πŸ“ images

Everything visible in Explorer

File β†’ Open Folder β†’ my-portfolio

One folder = one project Β· trust the folder if VS Code asks

0 / 3

Create files and folders in Explorer

Hover the top of the file tree for New File and New Folder icons β€” or right-click. The file extension (.css, .html) tells VS Code how to color your code.

Folder Right-click Explorer β†’ New Folder β†’ images
Files New File β†’ index.html, style.css, app.js
Save ⌘S / CtrlS β€” white dot on tab = unsaved
Tree Your project should look like this ↓
πŸ“ my-portfolio
πŸ“„ index.html
🎨 style.css
⚑ app.js
πŸ“ images
0 / 4

Command Palette β€” do anything by typing

βŒ˜β‡§P (Mac) or CtrlShiftP (Windows) opens a magic search bar for actions β€” format, themes, extensions, and more.

> |
Format Document
Preferences: Color Theme
Extensions: Install Extensions

Can’t find a menu item? Palette it.

0 / 3

Extensions β€” the App Store for your editor

Click the puzzle icon or press βŒ˜β‡§X. Search β†’ Install β†’ use. Start with these three.

Marketplace Search Live Server β†’ Install
Use it Right-click index.html β†’ Open with Live Server
Starter pack Also try Prettier + Material Icon Theme
🌐
Live Server

Preview HTML with auto-refresh

✨
Prettier

Tidy messy code on save

🎨
Material Icon Theme

Clear file icons in Explorer

Stick to high download counts Β· same puzzle icon in Cursor

0 / 3

Build a mini workspace today

Work through this checklist on your machine. Each step uses something from this lesson.

  • Create folder practice-vscode on Desktop
  • File β†’ Open Folder β†’ select it
  • Add index.html, style.css, folder images/
  • ⌘P / CtrlP β†’ jump to style.css
  • βŒ˜β‡§F β†’ search for <h1>
  • Install Live Server β†’ preview index.html
  • βŒ˜β‡§P β†’ β€œColor Theme” β†’ try Dark+
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Practice</title>
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <h1>Hello from VS Code</h1>
  </body>
</html>

Five shortcuts to screenshot

⌘P

Quick Open β€” find a file

βŒ˜β‡§F

Search text in all files

βŒ˜β‡§P

Command Palette β€” any action

⌘S

Save file

βŒ˜β‡§X

Extensions Marketplace

Windows: use Ctrl instead of ⌘

Tips that save headaches later

✨
Using Cursor?

Same layout, same shortcuts, same puzzle icon. Everything here applies.

πŸ›‘οΈ
Extension safety

Pick extensions with millions of downloads and known publishers. Skip vague β€œfree coins” add-ons.

⌨️
Terminal still works

Live Server is convenience.

πŸ“‚
Episode 11 recap

Missed the IDE intro? What Is an IDE? covers text editors vs IDEs in depth.

From install to daily workflow

πŸ’»
Steps 1–2 Β· Setup
Tour + install (skip if ready)
β†’
πŸ“
Steps 3–4 Β· Project
Open folder, build the tree
β†’
🧩
Steps 5–7 Β· Power tools
Search, palette, extensions

Open a folder, learn two search shortcuts, install Live Server β€” that is the daily VS Code workflow in a nutshell.

Quick quiz

1. Starting a multi-file project β€” what do you open first?

2. You remember a file named something like β€œnavbar”. Best shortcut?

3. Find every occurrence of β€œTODO” across all project files?

4. Extensions are best described as…