In this chapter
We'll learn the developer's main workbench — code editors and IDEs, VS Code and its extensions, the built-in terminal, the debugger and breakpoints — and how to use AI coding assistants safely.
The Problem in Real Life
Week sixteen. Anna's old college laptop is finally retired: BlueTicket gives her a brand-new work laptop. Fast, clean, empty. She's excited for about ten minutes — until she realises that nothing she needs is on it. No code editor, no Node, no Git setup, no project.
"Setting up a machine is a skill on its own," John says. "Every new job, every new laptop, every new teammate goes through it. Let's start with the most important tool: where you'll spend eight hours a day."
A carpenter's workbench matters. So does yours.
John
Notepad vs. a Developer's Workbench
Code needs special tools
Writing code in a plain text editor works, but you miss the help that catches mistakes as you type.
Every project needs different tools
A good editor lets you add exactly the tools each language and project needs.
Seeing inside running code
To understand a bug, you often need to pause the program and look inside it.
Editors, IDEs and the Tools Inside Them
The workbench analogy: you could build furniture with just a saw on your kitchen table. But a carpenter's workbench has everything in reach: clamps that hold the wood, measuring tools that stop mistakes, a vice, good lighting, and a wall of tools for every special job. A developer's editor is that workbench.
- Code editor — a good, lightweight workbench: a code editor is a text editor built for code. It colours the code so it's easy to read (syntax highlighting), suggests names as you type (autocomplete), underlines mistakes, and lets you search across a whole project. Examples: VS Code, Sublime Text, Vim.
- IDE — a fully equipped workshop: an IDE (Integrated Development Environment) is an editor with many heavy tools built in from the start: debugger, test runner, refactoring tools, database browser, and deep understanding of one language. Examples: IntelliJ IDEA (Java), PyCharm (Python), Visual Studio (C#). Heavier, but very powerful for one language.
- VS Code — the workbench you build up yourself: Visual Studio Code is the most popular editor today. It starts light, and you add extensions — small plug-in tools — for exactly what you need: language support for TypeScript or Python, Prettier for formatting (Act 07), ESLint for catching mistakes, Git tools, Docker tools. With the right extensions, it works almost like an IDE for any language. (BlueTicket's team all use it.)
- Integrated terminal — the terminal on your workbench: VS Code has a terminal panel built in (Act 06), already opened in the project folder. You run
npm,gitand your app without leaving the editor. - Debugger and breakpoints — the pause button: a debugger lets you run your program and pause it at any line, then look inside: every variable's value, the call stack (Act 10), and step forward one line at a time. A breakpoint is the marker you put on a line to say "pause here" — like pausing a film exactly at the moment something goes wrong. It's like the trace table from Act 08, done automatically. Act 17 uses it to hunt a real bug.
| Feature | Code editor | IDE |
|---|---|---|
| Workshop version | A good workbench | A fully equipped workshop |
| Starts | Light and fast | Heavy, many tools built in |
| Languages | Any, via extensions | Usually one, very deeply |
| Examples | VS Code, Sublime Text, Vim | IntelliJ IDEA, PyCharm, Visual Studio |
| Extension | What it does |
|---|---|
| TypeScript / JavaScript support | Autocomplete and error checking for the code |
| ESLint | Underlines likely mistakes and bad patterns |
| Prettier | Formats code the same way on every save |
| GitLens | Shows who changed each line and when (Act 15) |
| Do | Don't |
|---|---|
| Use it to explain errors and unfamiliar code | Paste passwords, API keys or customer data |
| Check, run and test everything it suggests | Commit code you don't understand |
| Ask it to suggest tests and edge cases | Assume it knows your project's rules |
| Learn from its explanations | Let it replace learning the basics |
AI coding assistants — a fast helper who is sometimes wrong: many editors now include AI assistants that suggest code, explain errors and answer questions. Used well, they save a lot of time. But treat one like a confident new helper who has never seen BlueTicket's code: check everything it writes — run it, test it, and make sure you understand it before committing (Act 07's rule: you're responsible for every line). Never paste secrets into it — passwords, API keys, customers' personal data. And don't let it replace learning: if you can't explain the code it gave you, you can't fix it when it breaks.
Anna's workbench: she installs VS Code, adds the extensions the team's README lists (TypeScript, ESLint, Prettier, GitLens), sets the formatter to run on save, and opens the integrated terminal. The workbench is ready. The project, though, isn't — when she clones it and runs it, the terminal fills with red. That's the rest of this Act.
Key Takeaway
A code editor is a lightweight workbench (highlighting, autocomplete, search); an IDE is a fully equipped workshop with heavy built-in tools. VS Code sits in between: you add extensions for what you need, plus an integrated terminal. A debugger pauses a running program at a breakpoint so you can look inside it. AI assistants can speed you up, but check everything they write and never give them secrets.
Why This Matters
Developers spend most of their working day inside their editor, so knowing it well — shortcuts, extensions, the terminal, the debugger — saves hours every week. Being careful with AI assistants matters just as much: they're now part of almost every developer's toolbox, and the mistakes they can introduce, or the secrets people paste into them, are real risks.
The workbench is ready. Anna clones BlueTicket's code, runs npm install, and the first red line appears: the project needs a different version of Node than the one she just installed. But before versions, there's a quieter problem waiting — the app needs settings this laptop has never seen.
