Code editor

A text editor for code: it colours syntax, numbers lines, searches whole folders and flags mistakes.

Think of it as Your bench in the workshop, with the project laid out on it.

VS Code and Cursor are the editors this course uses. An editor works on folders, so Git, Rojo and the terminal all see the same files. Nothing reaches disk until you save.

Where the picture breaks

Work on a real bench is real at once, but in the editor nothing reaches the disk, or the game, until you save.

The editor holds an in-memory buffer for each open file. Saving writes the buffer to the file on disk, which is the only copy that Git, Rojo and Studio can see.

See it with the rest of the analogy cast

Official reference: code.visualstudio.com

Related terms