List of all keyboard shortcuts

Is there somewhere a list of all keyboard shortcuts? Because if there is I can’t find it.

I found a KeyboardShortcutsModal class in the source code which probably does what I want, but I can’t seem to find a way to open it.

1 Like

I think you could be a bit specific.

Do you mean real keyboard short cuts, i.e: “Ctrl W” means to the close the tab you have on your Google webrower?
If this to what your talking then the person you should ask is the maker or any developers, invite Nick.

No, I don’t mean the keyboard shortcuts defined by my browser but those defined by code combat, eg. Ctrl+p to pause the came, Ctrl+[ and Ctrl+] for rewind / fast forward, Ctrl+\ and Ctrl+g to toggle debugging and the grid (I think).

I was going to put the Keyboard Shortcuts info in the Guide, but haven’t been able to do it yet. You can see the keyboard shortcuts in the code here: https://github.com/codecombat/codecombat/blob/master/app/templates/play/level/modal/keyboard_shortcuts.jade#L7-L76

Hi, I think this topic is still actual. Don’t you plan to realize the things you suggested? I think this would help the learners to focus more on the coding itself, spending less time Googling for aspects of the game itself.

For now, I hope this info might help the users:

  1. Special shortcuts contributed by the game itself are here: https://github.com/codecombat/codecombat/blob/master/app/templates/play/level/modal/keyboard_shortcuts.jade#L7-L76 (as @nick wrote).
  2. General editor shortcuts contributed by the Ace editor that is probably used “underneath”: https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts (as found in How to comment multiple lines in the code).
1 Like