Foreword
This document contains useful keyboard shortcuts for different operating
systems and IDEs. We use the following symbols:
Symbol | Common Name |
---|
<kbd> {=html}⇧</kbd> {=html} | Shift |
<kbd> {=html}⌥</kbd> {=html} | Option (or Alt) |
<kbd> {=html}⌘</kbd> {=html} | Command (or Cmd) |
<kbd> {=html}↵</kbd> {=html} | (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 | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}⇧</kbd> {=html} + <kbd> {=html}B</kbd> {=html} |
MacOS | <kbd> {=html}⌘</kbd> {=html} + <kbd> {=html}B</kbd> {=html} |
Windows | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}⇧</kbd> {=html} + <kbd> {=html}B</kbd> {=html} |
Exit any program*
OS | Keys |
---|
Linux | <kbd> {=html}Alt</kbd> {=html} + <kbd> {=html}F4</kbd> {=html} or <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}q</kbd> {=html} |
MacOS | <kbd> {=html}⌘</kbd> {=html} + <kbd> {=html}q</kbd> {=html} |
Windows | <kbd> {=html}Alt</kbd> {=html} + <kbd> {=html}F4</kbd> {=html} |
Redo*
OS | Keys |
---|
Linux | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}y</kbd> {=html} |
MacOS | <kbd> {=html}⌘</kbd> {=html} + <kbd> {=html}y</kbd> {=html} |
Windows | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}y</kbd> {=html} |
Run/execute program
OS | Keys |
---|
Linux | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}F5</kbd> {=html} |
MacOS | <kbd> {=html}F5</kbd> {=html} -or- <kbd> {=html}⌥</kbd> {=html} + <kbd> {=html}⌘</kbd> {=html} + <kbd> {=html}↵</kbd> {=html} |
Windows | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}F5</kbd> {=html} |
Save*
OS | Keys |
---|
Linux | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}s</kbd> {=html} |
MacOS | <kbd> {=html}⌘</kbd> {=html} + <kbd> {=html}s</kbd> {=html} |
Windows | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}s</kbd> {=html} |
Save All*
OS | Keys |
---|
Linux | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}⇧</kbd> {=html} + <kbd> {=html}s</kbd> {=html} |
MacOS | <kbd> {=html}⌘</kbd> {=html} + <kbd> {=html}⇧</kbd> {=html} + <kbd> {=html}s</kbd> {=html} |
Windows | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}⇧</kbd> {=html} + <kbd> {=html}s</kbd> {=html} |
Undo*
OS | Keys |
---|
Linux | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}z</kbd> {=html} |
MacOS | <kbd> {=html}⌘</kbd> {=html} + <kbd> {=html}z</kbd> {=html} |
Windows | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}z</kbd> {=html} |
OS | Keys |
---|
Linux | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}k</kbd> {=html} + <kbd> {=html}c</kbd> {=html} |
MacOS | <kbd> {=html}⌘</kbd> {=html} + <kbd> {=html}k</kbd> {=html} + <kbd> {=html}c</kbd> {=html} |
Windows | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}k</kbd> {=html} + <kbd> {=html}c</kbd> {=html} |
OS | Keys |
---|
Linux | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}k</kbd> {=html} + <kbd> {=html}u</kbd> {=html} |
MacOS | <kbd> {=html}⌘</kbd> {=html} + <kbd> {=html}k</kbd> {=html} + <kbd> {=html}u</kbd> {=html} |
Windows | <kbd> {=html}Ctrl</kbd> {=html} + <kbd> {=html}k</kbd> {=html} + <kbd> {=html}u</kbd> {=html} |