============================= Codecademy keyboard shortcuts ============================= First published at 11/4/2022 on https://defkey.com/codecademy-shortcuts Codecademy is a US-based online interactive platform that offers free coding classes in various programming languages including Java, Python, SQL, C++, C#, and Swift. The website has paid option for more advanced features. Codecademy has 50 shortcuts and we have listed all of them below. Windows ------- Ctrl + Enter Run Code Alt + < Back Alt + > Next Ctrl + X Cut line (empty selection) Ctrl + C Copy line (empty selection) Alt + Up arrow / Down arrow Move line up/down Shift + Alt + Up arrow / Down arrow Copy line up/down Ctrl + Shift + K Delete line Ctrl + Shift + \ Jump to matching bracket Ctrl + ] Indent/outdent line Ctrl + [ Indent/outdent line Home Go to beginning of line End Go to end of line Ctrl + Home Go to beginning of file Ctrl + End Go to end of file Ctrl + Up arrow / Down arrow Scroll line up/down Page Up / Down Scroll page up/down Ctrl + Shift + [ Fold (collapse) region Ctrl + Shift + ] Unfold (uncollapse) region Ctrl + K then Ctrl + [ Fold (collapse) all subregions Ctrl + K then Ctrl + ] Unfold (uncollapse) all subregions Ctrl + K then Ctrl + 0 Fold (collapse) all regions Ctrl + K then Ctrl + J Unfold (uncollapse) all regions Ctrl + K then Ctrl + C Add line comment Ctrl + K then Ctrl + U Remove line comment Ctrl + / Toggle line comment Shift + Alt + A Toggle block comment For a full list of Windows shortcuts, please see this page. Mac --- Cmd + Enter Run Code Ctrl + < Back Ctrl + > Next Cmd + X Cut line (empty selection) Option + Up arrow / Down arrow Move line down/up Shift + Option + Up arrow / Down arrow Copy line down/up Shift + Cmd + K Delete line Shift + Cmd + \ Jump to matching bracket Cmd + ] Indent/outdent line Cmd + [ Indent/outdent line Home Go to beginning/end of line End Go to beginning/end of line Cmd + Up arrow / Down arrow Go to beginning/end of file Option + Cmd + [ Fold/unfold region Option + Cmd + ] Fold/unfold region Cmd + K then Cmd + [ Fold/unfold all subregions Cmd + K then Cmd + ] Fold/unfold all subregions Cmd + K then Cmd + 0 Fold/unfold all regions Cmd + K then Cmd + J Fold/unfold all regions Cmd + K then Cmd + C Add line comment Cmd + K then Cmd + U Remove line comment Cmd + / Toggle line comment Shift + Option + A Toggle block comment For a full list of Mac shortcuts, press F1 while in the text editor. Please note that the shortcuts work best on QWERTY keyboards and some shortcuts may not work on other keyboard layouts. Source: codecademy.com Last modified on(UTC): Friday, November 4, 2022 Defkey © All rights reserved.