ProRealCode Studio is on its way. As soon as it is published, this button will take you straight to its Chrome Web Store page.
Most keys work with the cursor in the editor. A few work anywhere on the platform page, and a few inside one window. On a Mac, ⌘ replaces Ctrl wherever the Mac column says so.
| Keys | Mac | Does |
|---|---|---|
| Ctrl + Enter | ⌘ + Enter | Run: the code goes onto the chart. |
| Ctrl + S | ⌘ + S | Save. A code never saved asks for a name first. |
| Ctrl + / | ⌘ + / | Turn the line, or the selected lines, into a // comment, or back. |
| Ctrl + Shift + / | ⌘ + Shift + / | Wrap the selection in a /* */ comment, or unwrap it. |
| Shift + Alt + A | The same /* */ comment. | |
| Shift + Alt + F | Format document: re-indent the whole code from its blocks. | |
| Tab · Shift + Tab | same | Indent or un-indent the line, or every selected line. |
| Enter | same | New line at the same indentation, one level more after IF, FOR, WHILE, FUNCTION. |
| Alt + 1 … 9 | With two charts or more: that chart becomes the target of “Run” (chapter 04). | |
| Ctrl + C · Ctrl + X | ⌘ + C · ⌘ + X | Copy or cut, as usual. The clipboard also receives the line //@ProRealCodeScript@version=…@ on top (chapter 23). |
| Drag a row of “Codes on the chart” onto another chart, Alt held at release | Copies the code there instead of moving it. The drop zone reads “hold Alt to copy”. |
| Double-click the editor's title | Closes the editor, like “Close”. |
| Keys | Mac | Does |
|---|---|---|
| Alt + P | Show or hide the editor. The way back in when the ƒ launcher is switched off. | |
| Alt + I | Open or close “Codes on the chart” (chapter 12). | |
| Ctrl + Shift + D | Control + Shift + D | Next price render style: Classic flat, Isometric, Depth-by-volume, Gradient, Heat (chapter 14). Chrome's own use of these keys is cancelled on this page. |
| Keys | Mac | Does, while a replay is on |
|---|---|---|
| Shift + ← | same | One bar back. |
| Shift + → | same | One bar forward. |
| Shift + ↓ | same | Play, or pause. |
| Keys | Where, and what they do |
|---|---|
| Esc | Closes the window in front: Preferences, Codes, Variables, Templates, Codes on the chart, ⚙ Settings, Optimize, Share privately… |
| Enter · Esc | In Studio's own questions (a name to save under, a confirmation): OK, or Cancel. |
| Enter | In the search box of the prorealcode.com library, in the Codes window: search now. |
| ← → ↑ ↓ | Move the map. With Shift, four times further. |
| + · − · 0 | Zoom in, zoom out, back to the starting view. |
| F · Shift + F | Fit the whole map in the window · fit the card you selected and what it depends on. |
| Wheel · Ctrl + wheel | Move · zoom. ⌘ + wheel on a Mac. Shift + wheel moves sideways. |
| Double-click a card | Centre the map on it. |
| Esc | Undo one thing at a time: the side panel, the search, the focus, the selection, then the map closes. |
| Alt + arrow keys | With a card's header selected (Tab to it): move the card one place earlier or later (chapter 21). |
Chapter 26 · Troubleshooting and FAQ