GCSE · Computer Science · OCR · Spec J277
IDE editors
Before IDEs, programmers typed code into a text editor and juggled separate tools. An IDE pulls everything into one place, and its editor helps from your very first line.
Catch the editor in the act
Who did that?
Pick a moment, then pick the editor feature that made it happen. Read why before you move on.
Still to sort
Line numbers (0)
A number beside each line, added for you.
Where the line is: Numbers label where each line is. They don't change what the code says or how it looks.
Syntax highlighting (0)
Colour that picks out parts of the code.
Where the line is: Highlighting changes how code looks. It doesn't move code or add any.
Auto-indentation (0)
Indents set for you as you write.
Where the line is: Indentation moves where code sits on the line. Colour has nothing to do with it.
Auto-completion (0)
Offers to finish what you've started.
Where the line is: It offers code you haven't typed yet. That's the giveaway.
Eight moments from one coding session in an IDE. Four editor features are behind them. Match each moment to the feature responsible.
Why these two features matter
Reason it through
Why are auto-indentation and syntax highlighting such a help when you write Python?
First link · your turn
Start with Python itself. What is Python particular about?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
An IDE isn't just somewhere to type code. Its editor gets to work on your very first line.
What you need to know
- An IDE (integrated development environment) is an application that helps you write and run programs, with support tools built in.
- It combines an editor, an interpreter or compiler, and other useful tools, so creating a program is more straightforward.
- The code editor is the part you type into: a space to write and format your code.
Have a goYour mate shrugs: "An IDE? It's just the box you type code into." Which part of the IDE are they actually describing?
The code editor, which is only one part of it.
The editor is the space to write and format code, but an IDE also combines an interpreter or compiler and other useful tools.
- Line numbers are added automatically, so every line of your program gets one.
- Syntax highlighting colours different elements of the code, which makes it easier to read.
- Highlighting can also pick out important structures such as colons and brackets, reminding you to include them.
- An IDE will often indent code automatically. That matters because Python is particular about indents.
Have a goPriya is setting every indent in her Python by hand, line by line. Which editor feature would often do that job for her?
Auto-indentation.
An IDE will often indent code automatically. Syntax highlighting is the tempting wrong pick, but it colours code; it doesn't move it.
- Auto-completion can complete lines you use often, like offering a list of modules when you start an import.
- Before IDEs, programmers used a text editor and managed separate tools, which slowed the process down.
- An IDE keeps the tools in one place, saving time, automating repetitive tasks and keeping code files organised.
Have a goYour teacher bans IDEs for a day and hands out a plain text editor. What extra job have you just been given?
Managing separate tools yourself, such as the interpreter or compiler.
An IDE keeps the editor, interpreter or compiler and other tools together. Without it they're separate, and juggling them slows you down.
The big picture
An IDE (integrated development environment) is an application that helps you write and run programs. It combines an editor, an interpreter or compiler and other useful tools in one place. Its code editor is where you write and format code: it adds line numbers automatically, colours the code with syntax highlighting, picks out colons and brackets, often indents code automatically, which matters because Python is particular about indents, and can complete often-used lines. Compared with a text editor and separate tools, an IDE saves time, automates repetitive tasks and keeps code files organised.
Key points
Worked example
Problem
Exam-style question: Compare using an IDE with using a basic text editor to write and run programs.
⚠ Watch out
Thinking an IDE is just a place to type code. The typing space is only the editor. An IDE also combines an interpreter or compiler and other useful tools, and its editor actively helps with line numbers, highlighting, indentation and auto-completion.
Memory hook
Picture the editor as a co-pilot with four jobs: it Numbers, Colours, Indents and Completes. And the IDE around it is the cockpit that keeps every tool within reach.
Check yourself
Cover the page. Name the four editor features from this lesson and say what each one does for you. Then say what IDE stands for.
Flashcards
(10)What does IDE stand for?
What is an IDE?
What does an IDE combine in one application?
What does the code editor in an IDE provide?
Who adds the line numbers in an IDE's editor?
Syntax highlighting: what do the colours do?
Which structures can syntax highlighting pick out, and why?
Why does automatic indentation matter when writing Python?
Auto-completion: give its example from the lesson.
How did programmers work before IDEs, and what was the downside?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore OCR GCSE Computer Science topics
How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 4 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.