Code Editors and IDEs
Level 1 · The editor
What a code editor is, and how an IDE differs. Why VS Code is the most used editor, and when a JetBrains IDE is worth its size.
Course contentsLesson 1 of 13
Level 1 · The editor
Level 2 · Checking and fixing code
Level 3 · Trying code out
Level 4 · Other people's code
Level 5 · Building the project
After this lesson you can
- Say what a code editor adds to plain text
- Tell a code editor from an IDE
- Pick a first editor
11 mincovers 4 glossary entries
What a code editor is, and when you want an IDE
A code editor is an app for writing code. It edits plain text, like a notepad, and adds help on top: colours, line numbers and hints as you type. Visual Studio Code is the most used one. In Stack Overflow's 2024 survey, about 74 in 100 developers said they used it.
Plain text matters. A word processor saves hidden layout with your words, and it swaps straight quotes for curly ones. Code breaks on both. A code editor saves exactly the letters you typed and nothing else, which is what a program needs to read.
An IDE is a bigger app with more built in. The name is short for integrated development environment. Besides editing, it can run your code, test it, find bugs and change a name in every file at once. It all sits in one window. The cost is size: an IDE is heavier and slower to start.
VS Code sits between the two. It is a free code editor from Microsoft that runs on Windows, macOS and Linux. Out of the box it knows JavaScript and TypeScript well. Add-ons bring in nearly every other language, and it has a terminal and Git built in. Despite the name, it is not the same app as Visual Studio.
JetBrains makes a family of IDEs, one for each main language. IntelliJ IDEA is for Java and Kotlin. PyCharm is for Python, and WebStorm is for JavaScript. Each one reads your whole project. So it can find each place a name is used and change it safely.
The line between the two has blurred. VS Code with the right add-ons does most of what an IDE does. An IDE still wins on big projects in one language, where its deep reading of the code saves real time. For learning, a code editor is plenty.
The common mistake is spending a week choosing. The editor matters far less than the code you write in it, and moving later is easy. Pick VS Code if you are not sure, learn its basic keys, and start writing.
$ cd shop
$ code .Worked example
Lucy picks her first editor
The words for this lesson4
Check yourself
Why should I not write code in a word processor like Word?
Finished this lesson?
Marking it complete also marks its 4 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.