CLion 2023.2 Help

Navigation in source code

Function

Shortcut

Use this shortcut to...

File Structure Popup

Control+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

Control+E

Show the list of recently opened files.

Recently Changed Files

Control+Alt+Shift+Backspace

Show the list of recently updated files.

Type Hierarchy

Control+H

Browse hierarchy for the selected class.

Method Hierarchy

Control+Shift+H

Browse hierarchy for the selected method.

Call Hierarchy

Control+Alt+H

Browse call hierarchy for the selected method.

Navigate to Class

Control+N

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

Navigate to File

Control+Shift+N

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

Navigate to Symbol

Control+Alt+Shift+N

Navigate to specified symbol.

Navigate to Custom Folding

Control+Alt+.

Navigate to Custom region of source code

Navigate to Line

Control+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

Control+B

Navigate of a symbol at caret.

Navigate to Implementation

Control+Alt+B

Navigate to implementation of the item at caret.

Navigate to Type Declaration

Control+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

Control+U

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

Navigate to Related Symbol

Control+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+ArrowDown

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

Navigate to Previous Method

Alt+ArrowUp

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

Navigate to Opening Brace

Control+[

Navigate to the start of the current code block.

Navigate to Closing Brace

Control+]

Navigate to the end of the current code block.

Back

Control+Alt+ArrowLeft

Undo last navigation operation.

Forward

Control+Alt+ArrowRight

Redo last undone navigation operation.

Navigate to Previous Occurrence

Control+Alt+ArrowUp

Navigate to a previous found item.

Navigate to Next Occurrence

Control+Alt+ArrowDown

Navigate to a next found item.

Last Edit Location

Control+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: 18 January 2023