Index of Menu Items
CLion menu structure doesn't align with CLion help structure. This page lists CLion menu items, linked to the corresponding help topics.
|
---|
In this section:
File
Menu item | Keyboard shortcut | Description |
---|---|---|
New Project... | Use this command tocreate a new project. | |
New... | Alt+Insert | Use this command to create a new element in a project. This command is only available in the corresponding context. |
New Scratch File | Ctrl+Shift+Alt+Insert | Choose this command to create a new scratch file. |
Import Project | Use this command to import a project with existing sources | |
Open... | Use this command to open the specified directory, or an existing CLion project. A directory that contains a project is marked with icon. Refer to the section Opening, Reopening, and Closing Projects. This command is duplicated with icon on the main toolbar. | |
Open Recent | Use this command to open one of the recent projects. Refer to the reopening projects procedure. | |
Settings... (on Windows/*NIX)/CLion Preferences (on macOS) | Ctrl+Alt+S | Use this command to change the project and IDE configurations in the Settings/Preferences dialog. See also the section Configuring Working Environment and Project. This command is duplicated with icon on the main toolbar. This command in available on Windows/Linux. On Mac OS it appears on the CLion menu and has the name Preferences. |
Default Settings... | Choose this command to change settings that will apply to all newly created projects. Refer to the section Accessing Default Settings. | |
Import Settings... | Choose this command to import settings from an archive. | |
Export Settings... | Choose this command to export settings to an archive. | |
Settings Repository... | Choose this command to invoke the Settings Repository dialog. | |
Reload CMake Project | Use this command to reload CMake project. | |
Save All | Ctrl+S | Choose this command to save all changes, when editing is over. This command is duplicated with icon on the main toolbar. |
Synchronize | Ctrl+Alt+Y | Choose this command to check the CLion caches and bring them up-to-date by keeping in sync with external changes. This command is duplicated with icon on the main toolbar. |
Invalidate Caches/Restart... | Choose this command to clean the system cache. | |
Export to HTML... | Use this command results to save selected files in HTML format. | |
Print... | Choose this command to print selected file on the default printer. Refer to the Print dialog description. | |
File Encoding | Use this command to change encoding of an individual file. See also the section Encoding. | |
Line Separators | Use this command to select the desired line separator style. Refer to the section Configuring Line Separators. | |
Make File Read-Only / Make File Writable | Use these toggle commands to change read-only status of a file selected in the Project tool window, or currently active in the editor. If a file is made read-only, it is marked with , and doesn't allow editing. You can also toggle read-only attribute of a file in the Status bar. | |
Power Save Mode | Use this mode if you are working with a laptop. If Power-Save mode is on, then the background processes are turned off, to minimize the power consumption. You can also turn this mode on or off by clicking in the Status bar. | |
Exit | Choose this command to quit CLion. This command in available on Windows/Linux. On Mac OS it appears on the CLion menu and has the name Quit CLion. |
Edit
Menu item | Keyboard shortcut | Description | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Undo <action> | Ctrl+Z | Use this command to roll actions back. This command is duplicated with icon on the main toolbar. | |||||||||||||||||||||||||||||||||||||||
Redo <action> | Ctrl+Shift+Z | Use this command to repeat the last actions. This command is duplicated with icon on the main toolbar. | |||||||||||||||||||||||||||||||||||||||
Cut | Ctrl+X | Choose this command to take the selected characters to the clipboard and delete them. Refer to the section Cutting, Copying, and Pasting. This command is duplicated with icon on the main toolbar. | |||||||||||||||||||||||||||||||||||||||
Copy | Ctrl+C | Choose this command to take the selected characters to the clipboard. Refer to the section Cutting, Copying, and Pasting. This command is duplicated with icon on the main toolbar. | |||||||||||||||||||||||||||||||||||||||
Copy Path | Ctrl+Shift+C | Choose this command to take the path to the selected symbol to the clipboard. Refer to the section Cutting, Copying, and Pasting. | |||||||||||||||||||||||||||||||||||||||
Copy as Plain Text | Ctrl+Shift+C | Choose this command to take the selected fragment to the clipboard without formatting. Refer to the section Settings/Preferences | Editor | General. | |||||||||||||||||||||||||||||||||||||||
Copy Relative Path | Ctrl+Shift+Alt+C | Choose this command to take a reference to a symbol to the clipboard. Refer to the section Cutting, Copying, and Pasting. | |||||||||||||||||||||||||||||||||||||||
Paste | Ctrl+V | Choose this command to place the latest entry from the Clipboard at the insertion point. Refer to the section Cutting, Copying, and Pasting. This command is duplicated with icon on the main toolbar. | |||||||||||||||||||||||||||||||||||||||
Paste from History... | Ctrl+Shift+V | Choose this command to place at the insertion point the selected entry from the Clipboard. Refer to the section Cutting, Copying, and Pasting. | |||||||||||||||||||||||||||||||||||||||
Paste Simple | Ctrl+Shift+Alt+V | Choose this command to place the last entry from the Clipboard at the insertion point as plain text. Refer to the section Cutting, Copying, and Pasting. | |||||||||||||||||||||||||||||||||||||||
Delete | Delete | Choose this command to delete the selected files, or folder from the project tool window, or selected fragment of text from the active editor. | |||||||||||||||||||||||||||||||||||||||
Find | Point to this node to reveal the sub-menu of search commands:
| ||||||||||||||||||||||||||||||||||||||||
Macros | Point to this node to reveal the sub-menu of the macros-related commands. Refer to the section Using Macros in the Editor. | ||||||||||||||||||||||||||||||||||||||||
Column Selection Mode | Shift+Alt+Insert | Use this command to toggle between column selection and line selection modes. Refer to the section Selecting Text in the Editor. | |||||||||||||||||||||||||||||||||||||||
Select All | Ctrl+A | Choose this command to select all contents of the current file. Refer to the section Selecting Text in the Editor. | |||||||||||||||||||||||||||||||||||||||
Extend Selection | Ctrl+W | Choose this command to select the current word. Use this command successively to extend selection. Refer to the section Selecting Text in the Editor. | |||||||||||||||||||||||||||||||||||||||
Shrink Selection | Ctrl+Shift+W | Choose this command to unselect the currently selected word. Use this command successively to shrink selection. Refer to the section Selecting Text in the Editor. | |||||||||||||||||||||||||||||||||||||||
Join Lines | Ctrl+Shift+J | Choose this command to join lines or literals. | |||||||||||||||||||||||||||||||||||||||
Fill Paragraph | Choose this command to create soft wraps in a paragraph. | ||||||||||||||||||||||||||||||||||||||||
Duplicate Lines | Ctrl+D | Choose this command to duplicate a line or fragment of text. Refer to Adding, Deleting and Moving Code Elements. | |||||||||||||||||||||||||||||||||||||||
Indent Selection/Unindent Selection | Tab/Shift+Tab | Choose this command to change indentation of the line at caret. Refer to the section Changing Indentation. | |||||||||||||||||||||||||||||||||||||||
Toggle Case | Ctrl+Shift+U | Choose this command to change case of the selection. See Toggling Case. | |||||||||||||||||||||||||||||||||||||||
Convert Indents | Point to this node to reveal the sub-menu of the possible indentation and toggle indentation style. Refer to Changing Indentation. | ||||||||||||||||||||||||||||||||||||||||
Encode XML/HTML Special Characters | Choose this command to convert the selected special character to its HTML name in the format &char; . |
View
Menu item | Keyboard shortcut | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tool Windows | Point to this node to reveal the list of the available tool windows. Refer to the section Manipulating the Tool Windows. | |||||||||||||
Quick Definition | Ctrl+Shift+I | Choose this command to open the quick definition popup. Refer to the section Viewing Definition. | ||||||||||||
Parameter Info | Ctrl+P | Choose this command to view method parameter information. | ||||||||||||
Jump to Source | F4 | Choose this command to edit a file selected in a tool window. The file opens in the editor. | ||||||||||||
Recent Files | Ctrl+E | Choose this command to show the pop-up list of recently opened files and tool windows, and navigate to them. | ||||||||||||
Recently Changed Files | Ctrl+Shift+E | Choose this command to show the pop-up list of recently changed files and navigate to them. | ||||||||||||
Recent Changes | Shift+Alt+C | Choose this command to open the pop-up list of recent changes. | ||||||||||||
Compare with Clipboard | Choose this command to compare the file currently opened in the editor with the contents of the system clipboard. See Comparing Files. | |||||||||||||
Quick Switch Scheme | Ctrl+Back Quote | Choose this command to switch between schemes. | ||||||||||||
Toolbar | Select or clear this check command to show or hide the main toolbar. | |||||||||||||
Tool Buttons | Select or clear this check command to show or hide the tool window buttons. | |||||||||||||
Status Bar | Select or clear this check command to show or hide the Status toolbar. | |||||||||||||
Navigation Bar | Select or clear this check command to show or hide the Navigation bar. | |||||||||||||
Active Editor | Point to this node to reveal the list of nested check commands. These commands apply to the active editor and is only available when it exists.
|
Navigate
Menu item | Keyboard shortcut | Description |
---|---|---|
Class/File/Symbol | Ctrl+N / Ctrl+Shift+N Ctrl+Shift+Alt+N | Choose these commands to find and jump to a class, file, or symbol by name. |
Line... | Ctrl+G | Choose this command to navigate to the specified line of code. |
Back/Forward | Ctrl+Alt+Left/Ctrl+Alt+Right | Choose these commands to go through the history of the recently navigated items. These commands are duplicated with and buttons on the main toolbar. |
Last/Next Edit Location | Ctrl+Shift+Backspace | Choose these commands to jump to the latest edit location and back. |
Bookmarks | Point to this node to reveal the sub-menu of commands related to using bookmarks. | |
Select In... | Alt+F1 | Choose this command to select the desired component from the pop-up list of possible targets. |
Jump to Navigation Bar | Alt+Home | Choose this command to navigate across your project using the Navigation Bar. |
Declaration | Ctrl+B | Choose this command to . |
Definition(s) | Ctrl+Alt+B | Choose this commend to jump to a definition of a symbol. |
Type Declaration | Ctrl+Shift+B | Choose this command to . |
Super Method | Ctrl+U | Choose this command to jump to a super method of the method at caret. |
Test | Ctrl+Shift+T | Choose this command to navigate to an existing test, or create a test. |
Related Symbol... | Ctrl+Alt+Home | |
File Structure | Ctrl+F12 | Choose this command to navigate through the source code using the File Structure view. |
File Path | Ctrl+Alt+F12 | See Navigating to File Path. |
Type/Method/Call Hierarchy | Ctrl+H/Ctrl+Shift+H/Ctrl+Alt+H | Choose these commands to navigate using the hierarchy views. Refer to the sections Viewing Structure and Hierarchy of the Source Code. |
Next/Previous Highlighted Error | F2Shift+F2 | Choose these commands to navigate through the highlighted errors. |
Next/Previous Change | Ctrl+Shift+Alt+DownCtrl+Shift+Alt+Up | Choose these commands to navigate through the change markers (when VCS integration is enabled). |
Next/Previous Method | Alt+DownAlt+Up | Choose these commands to go up and down through the methods and tags. |
Code
Menu item | Keyboard shortcut | Description |
---|---|---|
Override Methods... | Ctrl+O | Choose this command to override a method. See Overriding Functions. |
Implement Methods... | Ctrl+I | Choose this command to implement a method. See Implementing Functions. |
Generate... | Alt+Insert | Choose this command to create a new element. See (depending on the context) Populating Projects, Generating Code. |
Surround With... | Ctrl+Alt+T | Choose this command to . |
Unwrap/Remove... | Ctrl+Shift+Delete | Choose this command to unwrap an expression from enclosing statements. |
Completion | Point to this node to reveal the nested auto-completion commands. | |
Folding | Point to this node to reveal the nested folding commands. | |
Insert Live Template... | Ctrl+J | Choose this command to create code constructs by live templates. |
Surround with Live Template... | Ctrl+Alt+J | Choose this command to create code constructs using surround templates. |
Comment with Line Comment | Ctrl+Slash | Choose this command to comment an entire line of code. See Commenting and Uncommenting Blocks of Code. |
Comment with Block Comment | Ctrl+Shift+Slash | Choose this command to comment out a block of code. See Commenting and Uncommenting Blocks of Code. |
Reformat Code... | Ctrl+Alt+L | Choose this command to perform code reformatting. See Reformatting Source Code. |
Show Reformat File Dialog | Ctrl+Shift+Alt+L | Choose this command to activate Reformat File dialog. |
Auto-Indent Lines | Ctrl+Alt+I | Choose this command to change indentation. |
Optimize Imports... | Ctrl+Alt+O | Choose this command to optimize import statements. See Optimizing Imports. |
Rearrange Code | Choose this command to rearrange code according to the arrangement rules. | |
Move Statement Up/Down | Ctrl+Shift+Up/Ctrl+Shift+Down | Choose this command to move a statement up or down. |
Move Element Left/Right | Ctrl+Shift+Alt+Left/ Ctrl+Shift+Alt+Right | Choose this command to move element at caret left or right. |
Move Line Up/Down | Shift+Alt+Up/Shift+Alt+Down | Choose this command to move a line at caret up or down. |
Inspect Code... | Choose this command torun an inspection. | |
Code Cleanup | Choose this command to open the dialogSpecify Code Cleanup Scope Dialog. | |
Run Inspection by Name... | Ctrl+Shift+Alt+I | Choose this command torun the specified inspection. |
Configure Current File Analysis... | Ctrl+Shift+Alt+H | Choose this command tochange highlighting level of the current file. |
Refactor
Note that the composition of this menu item depends upon the current context.
Menu item | Keyboard shortcut | Description |
---|---|---|
Refactor This... | Ctrl+Shift+Alt+T | Choose this command to open a popup menu of the refactorings available in the current context. Refer to the section Refactoring Source Code. |
Rename... | Shift+F6 | Choose this command to rename an element. |
Change Signature... | Ctrl+F6 | Choose this command to perform the change signature refactoring. |
Move... | F6 | Choose this command to move a symbol to the specified location. |
Copy... | Ctrl+C | Choose this command to create a copy of an element in the specified location. See Copy for details. |
Safe Delete | Alt+Delete | Choose this command to delete a symbol, performing search for its usages. |
Extract | Choose this command to perform one of the extract refactorings. | |
Inline... | Ctrl+Alt+N | Choose this command to perform inline refactoring. |
Pull Members Up... | Choose this command to perform pull members up refactoring. | |
Push Members Down | Choose this command to perform push members down refactoring. |
Run
Menu item | Keyboard shortcut | Description |
---|---|---|
Build | Ctrl+F9 | Use this command to build a current project. |
Clean | use this command to | |
Run <current run/debug configuration> | Shift+F10 | Choose this command to run the current with the corresponding temporary run/debug configuration. This command is duplicated with icon on the main toolbar. |
Debug <current run/debug configuration> | Shift+F9 | Choose this command to debug the current with the corresponding temporary run/debug configuration. This command is duplicated with icon on the main toolbar. |
Run... | Shift+Alt+F10 | Choose this command to select the desired run/debug configuration, and then launch it. Refer to the section Creating and Editing Run/Debug Configurations. |
Debug... | Shift+Alt+F9 | Choose this command to select the desired run/debug configuration, and then launch it in debugging mode. Refer to the section Creating and Editing Run/Debug Configurations. |
Attach to local process | Choose this command to attach to a C/C++ script. Refer to the section Attaching to Local Process for details. | |
Edit Configurations... | Choose this command to change run/debug configuration. Refer to the section Creating and Editing Run/Debug Configurations. | |
Import Test Results | Choose this command to import test results from a file. | |
Stop | Ctrl+F2 | Choose this command to terminate execution of a run/debug configuration. This command is duplicated with icon in the toolboxes of the Run and Debug tool windows. |
Stepping Commands | These commands become enabled with the debugger session on. Refer to the section Stepping Through the Program. See also descriptions of the stepping toolbar buttons in the Debug tool window reference. | |
Resume Program | F9 | Choose this command to resume the debugger session with the selected run/debug configuration. This command is duplicated with icon in the toolbox of the Debug tool windows. |
Evaluate Expression | Alt+F8 | Choose this command to evaluate expression during the debug session. |
Quick Evaluate Expression | Ctrl+Alt+F8 | Choose this command to performquick evaluation of an expression in the editor during the debug session. |
Show Execution Point | Alt+F10 | Choose this command to show execution point during the debug session. |
Toggle Line Breakpoint | Ctrl+F8 | Choose this command to turn on or off a line breakpoint. Refer to the section Adding Line Breakpoints. |
Toggle Temporary Line Breakpoint | Ctrl+Shift+Alt+F8 | Choose this command to turn on or off a temporary line breakpoint. Refer to the section Adding Line Breakpoints. |
View Breakpoints... | Ctrl+Shift+F8 | Choose this command to show all available breakpoints and change them in the Breakpoints dialog. |
Tools
Note that composition of the menu plugins and external tools.
depends on the enabledMenu item | Keyboard shortcut | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tasks and Contexts | Point to this node to reveal the sub-menu of commands related to tasks and contexts management.See also Tasks reference page. | |||||||||||||
Save File as Template | Choose this command to save the current file as a template file. | |||||||||||||
IDE Scripting Console | Choose this command to launch the interactive scripting console. | |||||||||||||
Capture Memory Snapshot | Choose this command to get the memory state of the profiled application. | |||||||||||||
Python Console | Choose this command to launch the Python interactive console. | |||||||||||||
Create setup.py / Run setup.py | Use these commands to create and run setup.py . | |||||||||||||
Deployment | Point to this node to reveal the sub-menu of deployment-related commands. Refer to the section Working with Web Servers: Copying Files. | |||||||||||||
Test RESTful Web Service | Choose this command to compose and run requests to a RESTful web service. Refer to the section Testing RESTful Web Services. | |||||||||||||
CMake |
|
VCS
Note that the
menu contains different commands, depending on the enabled version control system. The following table shows the menu commands available when no version control integration is enabled.Menu item | Keyboard shortcut | Description |
---|---|---|
Local History | Point to this node to reveal the list of commands related to working with the Local History. | |
Enable Version Control Integration... | Choose this command to associate a project root with one of the supported version control systems. | |
VCS Operations Popup | Alt+Back Quote | Choose this command to invoke the popup list of the most popular VCS actions. |
Apply Patch... | Choose this command to apply a patch. | |
Checkout from Version Control | Point to this node to reveal the sub-menu of the checkout commands, specific for the supported version control systems. With no version control integration enabled, it is possible to check out from SVN, Mercurial, Git, GitHub, and CVS. | |
Import into Version Control | Point to this node to reveal the sub-menu of the import commands, specific for the supported version control systems. With no version control integration enabled, it is possible to import to SVN, Mercurial, Git, GitHub, and CVS. | |
Browse VCS Repository | Point to this node to reveal the sub-menu of the browse commands, specific for the supported version control systems. With no version control integration enabled, it is possible to browse Subversion, Git, and CVS repositories that are not associated with the currently opened project.
|
It is important to note that with VCS integration enabled, the composition of the VCS menu is different. Refer to the following help sections for details:
Window
Menu item | Keyboard shortcut | Description |
---|---|---|
Store Current Layout as Default | Choose this command to save the current way the tool windows are arranged. | |
Restore Default Layout | Shift+F12 | Choose this command to restore the initial way the tool windows are arranged. |
Active Tool Window | Choose this command to reveal the sub-menu of commands, related to the active tool window. Refer to the sections Tool Windows, Manipulating the Tool Windows, Specifying the Appearance Preferences for Tool Windows, Tool Windows Viewing Modes. | |
Editor Tabs | Choose this command to reveal the sub-menu of commands, related to the editor tabs. Refer to the section Managing Editor Tabs. Note that these commands can also be found on the context menu of an editor tab. | |
Background Tasks | Choose this command to reveal the sub-menu of commands, related to performing tasks in background. Refer to the section Working with Background Tasks. |
Help
Menu item | Keyboard shortcut | Description |
---|---|---|
Find Action | Ctrl+Shift+A | Choose this command to invoke an action by its name. |
Keymap Reference | Choose this command to see the CLion shortcuts map in PDF format. | |
Demos and Screencasts | Choose this command to see the CLion demo videos and screencasts . | |
Help | Choose this command to visit CLion online Help topics. | |
Tip of the Day | Choose this command to show an arbitrary tip. | |
Productivity Guide | Choose this command to show productivity guide. | |
Edit Custom VM Options | Choose this command to open the custom file *.vmoptions , located under the user home. If this file does not exist, CLion suggests to create it. Refer to the section Tuning CLion for details. | |
Register... | Choose this command to register CLion. | |
Check for Updates... | Choose this command to obtain information about the current version, and the availability of newer versions of CLion. Refer to Updates page. This command in available on Windows/Linux. On Mac OS it appears on the CLion menu. | |
About | Choose this command to obtain information about the current version of CLion, current build, etc. Press Escape to close the popup window. This command in available on Windows/Linux. On Mac OS it appears on the CLion menu. |