005
LVL 00 — CADET PILOT SESSION 005 DAY 5

YOUR COCKPIT

SYS.SCENARIO
🏢 "Your editor is VS Code," says your team lead. "It's where you'll spend 80% of your working day. A fast developer knows their editor cold — keyboard shortcuts, extensions, integrated terminal, debugging. Let me watch you set it up."
CONCEPTS.UNLOCKED
🖥
VS Code Interface
File explorer, editor pane, tabs, sidebar, command palette, integrated terminal, status bar. Learn the geography of your cockpit.
Keyboard Shortcuts
Cmd/Ctrl+P (open file), Cmd/Ctrl+Shift+P (command palette), Cmd/Ctrl+D (multi-cursor), Alt+↑/↓ (move line). Speed is keyboard-first.
🧩
Extensions
Prettier (formatting), ESLint (code quality), GitLens (Git blame), Live Server (local server). Plugins that make your editor smarter.
Settings
settings.json — auto-save, format on save, font, theme. Your editor, your rules. Configuration as code.
Integrated Terminal
A terminal inside your editor. Toggle with Ctrl+`. No more switching windows — edit and run in one place.
Multi-Cursor Editing
Cmd/Ctrl+D (select next match), Alt+Click (add cursor). Edit 10 lines simultaneously. This is the shortcut that changes everything.
HANDS-ON.TASKS
01
Open & Navigate Without Mouse

Open your workspace from terminal:

code ~/pixelcraft-workspace

Practice 10 minutes of no-mouse navigation:

ActionShortcut
Open file (fuzzy search)Cmd/Ctrl + P
Command paletteCmd/Ctrl + Shift + P
Toggle terminalCtrl + `
Switch tabsCmd/Ctrl + Tab
Go to line numberCmd/Ctrl + G
Find in fileCmd/Ctrl + F
Find in all filesCmd/Ctrl + Shift + F
02
Install Extensions

Open Extensions sidebar (Cmd/Ctrl+Shift+X) and install:

ExtensionWhat It Does
PrettierAuto-formats code on save
ESLintCatches code quality issues
GitLensShows who changed each line and when
Live ServerLaunches a local dev server with hot reload
Material Icon ThemeBetter file icons in the explorer
03
Configure settings.json

Open with Cmd/Ctrl+Shift+P → "Open User Settings (JSON)":

{ "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.fontSize": 14, "editor.tabSize": 2, "files.autoSave": "afterDelay", "editor.wordWrap": "on" }
These settings auto-format your code every time you save. Format-on-save eliminates 90% of style debates on a team.
04
Multi-Cursor Exercise

Create a file with 10 lines of:

const item = "value"; const item = "value"; const item = "value"; // ... (10 lines)

Now use multi-cursor to:

1. Select all itemCmd/Ctrl+D repeatedly → rename to filter

2. Add numbered suffixes: filter1, filter2, etc.

ShortcutAction
Cmd/Ctrl + DSelect next occurrence
Alt + ClickAdd cursor at click point
Cmd/Ctrl + Shift + LSelect ALL occurrences
05
Split Editor & Line Operations

Split editor: Cmd/Ctrl+\ — HTML left, CSS right. Edit both simultaneously.

Essential line operations:

ShortcutAction
Alt + ↑/↓Move line up/down
Shift + Alt + ↓Duplicate line
Cmd/Ctrl + /Toggle comment
Cmd/Ctrl + Shift + KDelete entire line
06
Speed Challenge

Given a file with 50 lines of code, perform 10 specific edits using ONLY keyboard shortcuts.

Time yourself. Repeat until under 2 minutes.

This isn't busywork. Keyboard fluency compounds over an entire career — 30 minutes saved per day × 250 working days = 125 hours/year.
CS.DEEP-DIVE

Tool mastery as a multiplier.

A developer who knows 50 keyboard shortcuts saves ~30 minutes per day. That's 130 hours per year — over 3 full work weeks.

// "Tools that help you build tools"
// is foundational to computer science:

Compilers     → tools that translate code
Debuggers     → tools that inspect programs
Build systems → tools that assemble projects
Editors       → tools that accelerate writing

// Investing in tool mastery has
// compounding returns throughout
// your entire career.
"Keyboard Speedrun"
[A] Create a VS Code shortcuts cheat sheet as a Markdown file (.md) with every shortcut from this session, organized by category.
[B] Complete the 50-line speed edit challenge in under 2 minutes. Screenshot your timer.
[C] Configure 3 custom keybindings in keybindings.json for actions you find yourself repeating.
REF.MATERIAL
VIDEO
Fireship
Fast-paced walkthrough of the most impactful VS Code features. Watch at 1.5x for a quick hit of productivity upgrades.
VS CODEPRODUCTIVITY
ARTICLE
Microsoft
The official keyboard shortcut reference with printable PDFs for Mac, Windows, and Linux. Pin this.
SHORTCUTSREFERENCEOFFICIAL
VIDEO
freeCodeCamp
Complete beginner-to-intermediate walkthrough of VS Code setup, extensions, themes, and workflows.
VS CODEBEGINNERSETUP
ARTICLE
Microsoft
Create custom code snippets that expand from a short prefix. Automate your boilerplate — type less, ship more.
SNIPPETSAUTOMATION
TOOL
shortcutfoo.com
Gamified keyboard shortcut trainer for VS Code, Vim, Emacs, and more. Drill until shortcuts are muscle memory.
PRACTICEGAMIFIED
// LEAVE EXCITED BECAUSE
VS Code is a cockpit. Terminal, editor, file browser, Git integration, extensions — all in one window. You're navigating with keyboard shortcuts like a pro. The setup feels powerful and professional.