Ace editor reference

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:

Ancient Brain keyboard shortcuts:




Intelligent code help

The editor has intelligent help for coders. Select a function or object in the JavaScript code and press Alt-I to display help on it. A series of rules try to bring you the best help page for the selected code. The help displayed will be the following:


Selected text Help displayed
THREE.string Google top hit in Three.js docs
Physijs.string Google top hit in Physijs docs
P5 word Hard-coded entry in P5 docs
AB.string AB docs
AB.world.string
AB.mind.string
World and Mind docs
ABWorld.string
ABHandler.string
API docs
Other string Google top hit for this string with "JavaScript".