Comprehensive CLion shortcuts and workflows for C/C++ development with CMake, debugging, and embedded systems.
General Shortcuts
| Windows/Linux | macOS | Description |
|---|
Ctrl+Shift+A | Cmd+Shift+A | Find Action |
Ctrl+Shift+N | Cmd+Shift+O | Go to File |
Ctrl+N | Cmd+O | Go to Class |
Ctrl+Shift+Alt+N | Cmd+Option+O | Go to Symbol |
Ctrl+E | Cmd+E | Recent Files |
Ctrl+Shift+E | Cmd+Shift+E | Recent Locations |
Ctrl+G | Cmd+L | Go to Line |
Ctrl+F12 | Cmd+F12 | File Structure |
Alt+F1 | Option+F1 | Select In |
Navigation
| Windows/Linux | macOS | Description |
|---|
Ctrl+B | Cmd+B | Go to Declaration |
Ctrl+Alt+B | Cmd+Option+B | Go to Implementation |
Ctrl+Shift+B | Cmd+Shift+B | Go to Type Declaration |
Ctrl+U | Cmd+U | Go to Super Method |
Alt+F7 | Option+F7 | Find Usages |
Ctrl+F7 | Cmd+F7 | Find Usages in File |
Ctrl+Shift+F7 | Cmd+Shift+F7 | Highlight Usages |
Ctrl+Alt+F7 | Cmd+Option+F7 | Show Usages |
Ctrl+Click | Cmd+Click | Go to Declaration |
C/C++ Specific Features
| Windows/Linux | macOS | Description |
|---|
Ctrl+Shift+F10 | Ctrl+Shift+R | Run Configuration |
Alt+Shift+F10 | Option+Shift+R | Run Target |
Ctrl+Shift+I | Cmd+Shift+I | Include File |
Ctrl+Alt+Shift+T | Cmd+Option+Shift+T | Refactor This |
F2 | F2 | Next Highlighted Error |
Shift+F2 | Shift+F2 | Previous Highlighted Error |
CMake Integration
| Windows/Linux | macOS | Description |
|---|
Ctrl+Shift+A | Cmd+Shift+A | CMake Actions |
Ctrl+F9 | Cmd+F9 | Build Project |
Ctrl+Shift+F9 | Cmd+Shift+F9 | Rebuild Project |
Ctrl+Alt+F9 | Cmd+Option+F9 | Clean Project |
Debugging
| Windows/Linux | macOS | Description |
|---|
Shift+F9 | Ctrl+D | Debug |
F8 | F8 | Step Over |
F7 | F7 | Step Into |
Shift+F8 | Shift+F8 | Step Out |
Alt+F9 | Option+F9 | Run to Cursor |
Alt+F8 | Option+F8 | Evaluate Expression |
Ctrl+F8 | Cmd+F8 | Toggle Breakpoint |
Ctrl+Shift+F8 | Cmd+Shift+F8 | View Breakpoints |