Ace editor
For editing in the browser, we use the Ace editor.
This does JavaScript syntax highlighting
and syntax checking.
Here are some useful links:
Ace keyboard shortcuts:
- Ctrl-Home - Go to top.
- Ctrl-End - Go to end.
- Ctrl-L - Go to line (e.g. after error message).
- Ctrl-F - Find.
- Ctrl-H - Find and replace.
- Ctrl-D - Delete line
- Ctrl-Z - Undo.
- Ctrl-comma - Settings. Can change font and theme.
- Click on bracket - Highlight matching bracket.
- Ctrl-P - Jump to matching bracket.
Ancient Brain keyboard shortcuts:
- Alt-I - Intelligent code help (for selected text).
- Ctrl-S - Save.
- Alt-Enter - Run.