CLion shortcuts
- 50 shortcuts
- 7 sections
- Development
- Verified against official docs
Your answer helps keep this page right.
Do these shortcuts work for you?
One section belongs to the language: C/C++ Specific has Switch Header Source, which moves between a header and its source file. Search & Navigation has Open Class, Open File and Open Symbol, which use the same letter with different modifiers.
Start with these
- Find Action
- Switch Header Source
- Go To Declaration
- Build Project
- Debug
- Rename
Tips for CLion
- In Run & Debug, four shortcuts use the same function key: Step Over F8 alone, and Step Out ⇧F8, Toggle Breakpoint ⌘F8 and Evaluate Expression ⌥F8 with one modifier each.
- In Tool Windows, these four share one modifier and differ in the number key: Project Window ⌘1, Run Window ⌘4, Debug Window ⌘5 and Structure Window ⌘7.
- Toggle Breakpoint ⌘F8 sets a breakpoint on the current line, or removes it.
Jump to section
Editing12
| Action | Shortcut |
|---|---|
| Duplicate Line | |
| Delete Line | |
| Complete Statement | |
| Line Comment | |
| Block Comment | |
| Extend Selection | |
| Shrink Selection | |
| Context Actions | |
| Reformat Code | |
| Code Completion | |
| Generate | |
| Parameter Info |
Find & Replace4
| Action | Shortcut |
|---|---|
| Find | |
| Replace | |
| Find In Path | |
| Replace In Path |
Run & Debug8
| Action | Shortcut |
|---|---|
| Run | |
| Debug | |
| Build Project | |
| Step Over | |
| Step Into | |
| Step Out | |
| Toggle Breakpoint | |
| Evaluate Expression |
Refactoring & VCS6
| Action | Shortcut |
|---|---|
| Refactor This | |
| Rename | |
| Extract Variable | |
| Extract Method | |
| Commit | |
| Vcs Operations |
C/C++ Specific1
| Action | Shortcut |
|---|---|
| Switch Header Source |
Tool Windows7
| Action | Shortcut |
|---|---|
| Project Window | |
| Run Window | |
| Debug Window | |
| Structure Window | |
| Vcs Window | |
| Terminal | |
| Settings |
Report a problem
GitHub is public. Email is private.
Related resources
More Development shortcuts
Explore more macOS apps
Frequently Asked Questions
How many keyboard shortcuts does CLion have on macOS?
CLion has 50 keyboard shortcuts on macOS, organized into 7 sections: Search & Navigation, Editing, Find & Replace, Run & Debug, and more. This page lists all of them with searchable, organized shortcut tables.
Which CLion shortcuts should I learn first?
Start with Find Action (⇧⌘A), Switch Header Source (⌥⌘↑), Go To Declaration (⌘B), Build Project (⌘F9), Debug (⌃D), Rename (⇧F6). The sections on this page list the rest.
Can I download CLion shortcuts as a PDF?
Yes. Click the download button at the top of this page to generate a printable PDF cheat sheet with all 50 CLion shortcuts. The PDF includes organized sections, keycap-style key labels, and space for your own notes.
Where is the official CLion keyboard shortcuts documentation?
The official CLion keyboard shortcuts documentation is available on their website. Every shortcut on this page is sourced from and verified against the official documentation to ensure accuracy.
Do these CLion shortcuts work on all Mac keyboards?
Yes. These shortcuts work on all Mac keyboards, including MacBook built-in keyboards and external Apple keyboards. The modifier keys are Command (⌘), Option (⌥), Control (⌃), and Shift (⇧). On keyboards without a Function row, some F-key shortcuts may require holding the Fn key.
Maintained by Vladik Didyk
Access CLion shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. Switch it on in Settings. No memorization needed.
