The built-in code editor - line numbers, JavaScript syntax highlighting, tab-to-indent. Opens validate.js/process.js from Project Editor, but works as a plain text editor for any file, including layout JSON you'd rather hand-edit directly.

Save enables the moment there's something unsaved; closing with changes pending prompts to discard or save.