Integrated Development Environment (IDE)

An Integrated Development Environment (IDE) is an application that brings together everything you need to write, organise, and run programs — in one place.

┌─────────────────────────────────────┐
│               IDE                   │
│  ┌──────────┐      ┌─────────────┐  │
│  │   File   │      │   Editor    │  │
│  │ Explorer │      │             │  │
│  └──────────┘      └─────────────┘  │
│  ┌───────────────────────────────┐  │
│  │          Terminal             │  │
│  └───────────────────────────────┘  │
└─────────────────────────────────────┘

The editor#

The editor is where you write your code. It looks like a text editor, but it understands the programming language you’re working in. That understanding powers three features that make a real difference when you’re starting out:

Syntax highlighting colours different parts of your code — keywords, strings, numbers — so the structure is easier to read at a glance.

Real-time error detection underlines mistakes as you type, before you even try to run the program. Caught early, errors are much easier to fix.

Autocomplete suggests what you might be typing next. It speeds up writing and helps you discover what’s available without having to memorise everything.

The file explorer#

The file explorer shows all the files and folders in your project. At the start, your projects will have just a handful of files. As they grow, having them all visible and organised in one panel becomes genuinely useful.

The terminal#

The terminal is where you run your program and see its output. The terminal is built into the IDE so you don’t need to switch between windows.

Common IDEs#

Common Mistakes#

Thinking an IDE is just a text editor A plain text editor like Notepad lets you type and save text — that’s it. An IDE understands the language you’re writing in. It catches errors before you run anything, suggests completions, lets you navigate your project, and runs your program directly. The difference becomes obvious the first time the IDE underlines a mistake you would have spent twenty minutes hunting down.

Thinking the IDE makes the program run The IDE doesn’t execute your code — the language runtime does. The IDE just makes it convenient to trigger that process without leaving your workspace. If you ran your program from the terminal without the IDE, it would behave identically.

Confusing the IDE with the programming language Visual Studio Code is not C#. It’s a tool you use to write C#. You could write C# in any text editor — the IDE just makes the experience significantly better. The language and the tool are separate things.

Resources#