IDE function: code editor
The part of an IDE where you type and edit source code. It shows line numbers and syntax highlighting (colour-coded keywords), which a plain text editor does not.
Understanding IDE function: code editor in IGCSE Computer Science Paper 1
What it does: Line numbers are a code editor feature. They let the programmer go straight to the line a translator reports. Colour-coded keywords are the syntax highlighting that a plain text editor does not give. The code editor is only for typing and editing source code. A compiler or interpreter in the IDE does the translating.
Common mistakes: An if statement must end with a colon. Without it the code has a syntax error. It should be: if has_line_numbers:. The closing bracket is missing from the print call. A code editor can help you spot this, but the fix is: print("Blue:", word).
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 440–449) and word search (Modules 440–463).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
code editorFill in the Blanks
Spot the Error
Student with a class code? Join your class →