Scripts, object events and notes open in the code editor. Colours come from the GML language server, so names are coloured by what they are: functions, macros, enums, built-in variables, constants, assets and objects.
- Line numbers run down the left. Click a number to select its line.
- Status bar: the caret's line and column, both counted from 1. A tab counts to the next multiple of four columns, as in GameMaker.
- Long lines scroll sideways; when every line fits, the editor never scrolls sideways.
- Current line is tinted; matching brackets are boxed when the caret is next to one.
- Auto-indent: Return keeps the line's indent and adds a level after
{,(or[. Typing}on an empty line moves it back a level. - Undo ⌘Z and Redo ⇧⌘Z.
- Save ⌘S writes only the file you are editing; Save All ⌥⌘S writes every changed file. Nothing else in the project is touched, so the project stays exactly as GameMaker wrote it.
- Format Document ⌥⇧F fixes indentation only.
- Font: SF Mono or the bundled Cascadia Code (Command Palette, "Editor Font").
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.