Multi-file sources
- Use
main.inoas the main entry point. - Move configuration into a separate header when needed.
- Use
.cppand.hfiles for larger modules. - Avoid duplicate file names that differ only in capitalization.
Editor behavior
The caret, syntax highlighting, line numbers, and scrolling all use the same font metrics so that click positions are accurate. Use spaces or tabs consistently, and avoid changing the zoom level during precision testing.
Common shortcuts
| Shortcut | Action |
|---|---|
| Ctrl/Cmd + S | Save draft |
| Ctrl/Cmd + Z | Undo |
| Ctrl/Cmd + Y | Redo |
| Ctrl/Cmd + A | Select all |
| Tab | Indent according to the editor settings |
Drafts and versions
A draft stores your active work, while a version serves as a snapshot you can download or restore. Create a version before a major refactor.