# Code Editor

> An app for writing code. Plain text, plus colours, line numbers and tips as you type.

**Field:** Software Development  
**Category:** Editors & Tools  
**Also known as:** Text Editor, Source Code Editor

## Think of it like

Think of it like a notebook made for maths. The lines and boxes help you write sums neatly.

## Definition

A code editor is an app for writing and changing source code. It works on plain text files, like a simple notepad. On top of that it adds help for code: colours for each part, line numbers and tips as you type. Many also let you add extras for each language you use. VS Code, Sublime Text and Vim are popular ones.

## Example

Lucy opens a folder of her website in a code editor. She edits three files side by side and saves them all at once.

## Why it matters

Developers spend most of the day in their editor. A good one saves typing and catches small slips early.

## Common mistake

Writing code in a word processor like Word. It adds hidden formatting and curly quotes that break code.

## Three principles

- **Plain text.** It saves exactly what you type, nothing more.
- **Help for code.** Colours and tips make code easier to read.
- **Add what you need.** Extras add support for each language.

## Related terms

- [Integrated Development Environment (IDE)](https://learn.benibix.com/term/development/ide)
- [Visual Studio Code](https://learn.benibix.com/term/development/visual-studio-code)
- [Syntax Highlighting](https://learn.benibix.com/term/development/syntax-highlighting)
- [Autocomplete](https://learn.benibix.com/term/development/autocomplete)
- [Editor Extension](https://learn.benibix.com/term/development/editor-extension)
- [Vim](https://learn.benibix.com/term/development/vim)
- [Emacs](https://learn.benibix.com/term/development/emacs)

## Told apart from

- [Code Editor vs IDE](https://learn.benibix.com/compare/code-editor-vs-ide): People think VS Code is an IDE, and it is not quite. A code editor writes plain text with help on top, and add-ons give it more skills. An IDE has running, testing and deep search of the whole project built in from the start. A code editor with many add-ons comes close to an IDE. An IDE is still heavier, and it reads a big project more deeply.

## Taught in

- [Code Editors and IDEs](https://learn.benibix.com/learn/development-tools/code-editors-and-ides): Coding Tools, 1/13

---

Source: https://learn.benibix.com/term/development/code-editor
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
