Everything ChartCode can do from the keyboard. On a Mac, use
Cmd wherever this page says Ctrl.
Anywhere in ChartCode
Works on any page, whether or not a chart is open.
Keys
What it does
Ctrl+Shift+A
Turns accessibility mode on and puts you in the chart's outline. Pressed again
while you are in the outline, it turns the mode off. On a page with no chart it
just switches the mode; on a course page it takes you into the activity that is open.
The outline — accessibility mode
The outline is the text view of your chart, listing the program line by line. These keys work
while a line in it has focus. Press ? there at any time to have this list read out.
Moving around
Keys
What it does
↑↓
Move to the previous or next line.
→
Open a loop or an if; press again to move inside it.
←
Close it; or move back out to the line that contains this one.
HomeEnd
Jump to the first or last line.
Space
Show this line on the chart, without leaving the outline.
Choosing where a new line goes
Keys
What it does
A
Put the insertion point after this line.
B
Put it before this line.
S
Put it at the start of this loop, if, or else branch.
I
Say where the insertion point is now.
Changing the program
Keys
What it does
+orInsert
Add something at the insertion point, choosing from a list.
EnterorF2
Edit this line. On a for header, press again for each part in turn.
E
Add an else to this if.
Delete
Remove this line. Press twice to confirm. On an else branch with nothing in it,
one press takes the else off the if.
Esc
Call off a delete you have not confirmed.
M
Read the memory: the call stack, each frame's variables, and what they refer to.
?
Read out this list of keys.
In the add and edit dialogs
Keys
What it does
↑↓
Choose what to add.
Enter
Add it, or save the line you are editing.
Esc
Cancel and go back to the outline.
Workbench
Keys
What it does
Ctrl+Shift+R
Run the program.
Ctrl+Shift+D
Start debugging.
Ctrl+Shift+N
Step forward.
Ctrl+Shift+P
Step back.
Ctrl+Shift+F
Focus mode: hide the menus and give the chart the whole window.
Esc
Leave focus mode.
Moving between charts in a program with functions or classes
Keys
What it does
Ctrl+Shift+G
Open "go to chart" and type to filter.
Ctrl+Shift+J
Next chart.
Ctrl+Shift+K
Previous chart.
Ctrl+Shift+0
Go to the main chart.
Ctrl+Shift+1…9
Go to the first through ninth function or method.
Inside the "go to chart" box
Keys
What it does
↑↓
Move through the list.
Enter
Open the one you are on.
0…9
Jump straight to that chart, while the filter box is empty.
Esc
Close without moving.
Exercises and course activities
Keys
What it does
Ctrl+Shift+R
Run the program.
Ctrl+Shift+D
Start debugging.
Ctrl+Shift+N
Step forward.
Ctrl+Shift+P
Step back.
Ctrl+Shift+←
Previous exercise.
Ctrl+Shift+→
Next exercise.
Ctrl+Shift+F
Focus mode.
Esc
Leave focus mode.
On a course page, each activity sits in its own frame. Once you have tabbed into one, these
keys belong to that activity. Ctrl+Shift+A
pressed on the page itself takes you into the first activity that is open, and says which one.
Tutorials
Keys
What it does
Ctrl+Shift+R
Run the program.
Ctrl+Shift+D
Start debugging.
Ctrl+Shift+N
Step forward.
Ctrl+Shift+P
Step back.
Ctrl+Shift+←
Previous lesson.
Ctrl+Shift+→
Next lesson.
Ctrl+Shift+H
Open Quick Help.
Ctrl+Shift+F
Focus mode.
Esc
Close Quick Help, or leave focus mode.
Course page
Keys
What it does
Tab
Move to the next activity heading, or into an activity that is open.