Keyboard Shortcuts Cheat Sheet

https://csci-1301.github.io/about#authors

May 22, 2024 (01:30:37 PM)

Foreword

This document contains useful keyboard shortcuts for different operating systems and IDEs. We use the following symbols:

Symbol Common Name
⇧ Shift
⌥ Option (or Alt)
⌘ Command (or Cmd)
↵ (Carriage) Return

The sections labeled with the star symbol (“*”) work generally everywhere, beyond your IDE.

More advanced shortcuts may be available to your particular IDE:

Useful Shortcuts

Build solution

OS Keys
Linux Ctrl + ⇧ + B
MacOS ⌘ + B
Windows Ctrl + ⇧ + B

Exit any program*

OS Keys
Linux Alt + F4 or Ctrl + q
MacOS ⌘ + q
Windows Alt + F4

Redo*

OS Keys
Linux Ctrl + y
MacOS ⌘ + y
Windows Ctrl + y

Run/execute program

OS Keys
Linux Ctrl + F5
MacOS F5 -or- ⌥ + ⌘ + ↵
Windows Ctrl + F5

Save*

OS Keys
Linux Ctrl + s
MacOS ⌘ + s
Windows Ctrl + s

Save All*

OS Keys
Linux Ctrl + ⇧ + s
MacOS ⌘ + ⇧ + s
Windows Ctrl + ⇧ + s

Undo*

OS Keys
Linux Ctrl + z
MacOS ⌘ + z
Windows Ctrl + z

Comment Code Selection

OS Keys
Linux Ctrl + k + c
MacOS ⌘ + k + c
Windows Ctrl + k + c

Uncomment Code Selection

OS Keys
Linux Ctrl + k + u
MacOS ⌘ + k + u
Windows Ctrl + k + u