How does the code editor work?

Code opens regular text files and adds optional local syntax-highlighting assets.

Fallback first

The command opens a safe textarea even without downloaded assets. include -code -s adds the richer syntax layer without changing the PHP module.

Saving

⌃S / ⌘S saves without closing. Shift+Enter saves and closes. Escape closes without saving the current changes. There is no autosave on every keystroke.

Limits

Binary files are rejected, content is escaped and the current editor limit is 2 MiB.

Examples

install code
include -code -s

Related documentation

← Back to FAQ