Studio › Manual › Code and objects

Editor settings

Code > Editor Settings… (or Studio > Settings… > Editor):

  • Font: SF Mono or Cascadia Code, and its size.
  • Indentation: the tab width (the status bar's column counts with it; GameMaker's is 4) and whether Return, Tab and Format Document indent with tabs, spaces, or as the file already does.
  • Display: line numbers; wrapping long lines instead of scrolling sideways.
  • Typing: closing brackets and quotes as you type ( [ { " ' (typing the closer steps over it; with a selection, it's wrapped); parameters while typing; snippets in the completion list.
  • Room editor: one grid size for every 2D room (or each room's own), whether the grid shows when a project opens, and snapping.
  • Snippets: your own, and copies of the built-in ones.
  • Restore Defaults puts this page back (snippets and keys are kept).

Changes apply to open editors at once.

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