Editor
Switch to Editor at the top center (⌘2) to open and write files.
Open and save
Section titled “Open and save”- Click a file in the list on the left. ⌘K finds files by name
- Save with ⌘S, save all with ⌥⌘S. Reopen a closed tab with ⇧⌘T
- Unsaved changes survive quitting the app (they come back next time)
Find and replace
Section titled “Find and replace”| To | Keys |
|---|---|
| Find in the file | ⌘F |
| Search the whole project | ⇧⌘F |
| Replace across the project | ⇧⌘H |
Move around your code
Section titled “Move around your code”With language support, you can:
| To | Keys |
|---|---|
| Go to line | ⌃G |
| Go to a symbol (function, type) in the file | ⇧⌘O |
| Go to a symbol in the project | ⌘T |
| Go to definition | F12 |
| Find references | ⇧F12 |
| Rename (everywhere it’s used) | F2 |
| Quick fix | ⌘. |
| Format | ⌥⇧F |
| Problems | ⇧⌘M |
| Back · Forward | ⌃- · ⌃⇧- |
Look and formatting
Section titled “Look and formatting”Font size, indentation, word wrap, and format on save are in Settings › Editor. Turn on Match file to follow each file’s own indentation.