CLion 2021.3 Help

Navigation in source code

Function

Shortcut

Use this shortcut to...

File Structure Popup

Ctrl+F12

Display the Structure popup for quick navigation through the current file.

Select In

Alt+F1

Move focus from the current file, class, method or reference to a data source table to a view suggested in the Select Target pop-up menu. SeeNavigate with Select In to a target in the Project view.

Recent Files

Ctrl+E

Show the list of recently opened files.

Recently Changed Files

Ctrl+Shift+Comma

Show the list of recently updated files.

Type Hierarchy

Ctrl+H

Browse hierarchy for the selected class.

Method Hierarchy

Ctrl+Shift+H

Browse hierarchy for the selected method.

Call Hierarchy

Ctrl+Alt+H

Browse call hierarchy for the selected method.

Navigate to Class

Ctrl+N

Navigate directly to a class in project by specifying its name in a popup.

Navigate to File

Ctrl+Shift+N

Navigate directly to a file in project by specifying its name in a popup.

Navigate to Symbol

Ctrl+Alt+Shift+N

Navigate to specified symbol.

Navigate to Custom Folding

Ctrl+Alt+.

Navigate to Custom region of source code

Navigate to Line

Ctrl+G

Navigate to any line in the current file by specifying its number.

Jump to Navigation Bar

Alt+Home

Move focus to the Navigation Bar

Navigate to Declaration

Ctrl+B

Navigate of a symbol at caret.

Navigate to Implementation

Ctrl+Alt+B

Navigate to implementation of the item at caret.

Navigate to Type Declaration

Ctrl+Shift+B

Navigate to a type declaration of a symbol at caret, the symbol being a variable or a method call.

Navigate to Super Method

Ctrl+U

Navigate to a super method declaration of a method under the caret.

Navigate to Related Symbol

Ctrl+Alt+Home

Navigate between files with complicated relationships between them.

Go to Header/Source

F10

Switch between source and header files.

Navigate to Next Method

Alt+Down

Navigate to the next method declaration in the active editor tab.

Navigate to Previous Method

Alt+Up

Navigate to the previous method declaration in the active editor tab.

Navigate to Opening Brace

Ctrl+[

Navigate to the start of the current code block.

Navigate to Closing Brace

Ctrl+]

Navigate to the end of the current code block.

Back

Ctrl+Alt+Left

Undo last navigation operation.

Forward

Ctrl+Alt+Right

Redo last undone navigation operation.

Navigate to Previous Occurrence

Ctrl+Alt+Up

Navigate to a previous found item.

Navigate to Next Occurrence

Ctrl+Alt+Down

Navigate to a next found item.

Last Edit Location

Ctrl+Shift+Backspace

Move through the most recent change points.

Navigate to Next Highlighted Error

F2

Navigate to the next found error/warning.

Navigate to Previous Highlighted Error

Shift+F2

Navigate to the previous found error/warning.

Last modified: 08 March 2021