31 Codecademy Keyboard Shortcuts

Learn Codecademy Shortcuts for Windows & macOS

Most Used Codecademy Shortcuts

Action Codecademy Shortcuts Windows Codecademy Shortcuts macOS
Run Code Ctrl + Enter Command + Enter
Back Alt + < Option + <
Next Alt + > Option + >
Cut line (empty selection) Ctrl + X Command + X
Copy line (empty selection) Ctrl + C Command + C
Move line up Alt + Up Arrow Key Option + Up Arrow Key
Move line down Alt + Down Arrow Key Option + Down Arrow Key
Copy line up Shift + Alt + Up Arrow Key Shift + Option + Up Arrow Key
Copy line down Shift + Alt + Down Arrow Key Shift + Option + Down Arrow Key
Delete line Ctrl + Shift + K Command + Shift + K
Jump to matching bracket Ctrl + Shift + \ Command + Shift + \
Indent line Ctrl + ] Command + ]
Outdent line Ctrl + [ Command + [
Go to beginning of line Home Home
Go to end of line End End
Go to beginning of file Ctrl + Home Command + Home
Go to end of file Ctrl + End Command + End
Scroll line up Ctrl + Up Arrow Key Command + Up Arrow Key
Scroll line down Ctrl + Down Arrow Key Command + Down Arrow Key
Scroll page up Page Up Key Page Up Key
Scroll page down Page Down Key Page Down Key
Fold (collapse) region Ctrl + Shift + [ Command + Shift + [
Unfold (uncollapse) region Ctrl + Shift + ] Command + Shift + ]
Fold (collapse) all subregions Ctrl + K then Ctrl + [ Command + K then Command + [
Unfold (uncollapse) all subregions Ctrl + K then Ctrl + ] Command + K then Command + ]
Fold (collapse) all regions Ctrl + K then Ctrl + 0 Command + K then Command + 0
Unfold (uncollapse) all regions Ctrl + K then Ctrl + J Command + K then Command + J
Add line comment Ctrl + K then Ctrl + C Command + K then Command + C
Remove line comment Ctrl + K then Ctrl + U Command + K then Command + U
Toggle line comment Ctrl + / Command + /
Toggle block comment Shift + Alt + A Shift + Option + A

READ NEXT:

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button