Studio › Manual › Code and objects

Build errors in the editor

When a build fails, each compile error is squiggled at its file and line, counted in Problems, and a problem card opens under it in the editor showing the file. Clicking an error in Output or Problems opens the file with the card. Esc or Close dismisses the card; it also goes when the caret leaves the line or the file changes.

GameMaker reports the line where its compiler stopped reading, which can be a few lines after the real mistake. When Studio's own checker found an error up to 20 lines above, the card goes to that line instead and its footer names the line GameMaker reported; the error is counted once. Build errors are cleared from a file when it is edited and come back with the next build.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.