PyCharm 2018.3 Help

Navigation In Source Code

Function

Shortcut

Use this shortcut to...

File Structure Pop-up

Ctrl+F12

Display the Structure pop-up window for quick navigation through the current file.

Select target

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. See Navigate 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+E

Show the list of recently updated files .

Type Hierarchy

Ctrl+H

Browse hierarchy for the selected class class .

Navigate to Class

Ctrl+N

Navigate directly to a class in project by specifying its name in a pop-up dialog box.

Navigate to File

Ctrl+Shift+N

Navigate directly to a file in project by specifying its name in a pop-up dialog box.

Navigate to Recently Opened File

Ctrl+E

Show the list of recently opened files .

Navigate to Recently Changed File

Ctrl+Shift+E

Show the list of recently updated files .

Navigate to Line

Ctrl+G

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

Navigate to Declaration

Ctrl+B

Navigate to declaration 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 Test/Test Subject

Ctrl+Shift+T

Navigate to a test for the class at caret, if any, or navigate from a test to a test subject.

Navigate to Related Symbol

Ctrl+Alt+Home

Navigate between files with complicated relationships between them.

For example, use this shortcut to navigate between views and templates.

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: 14 December 2018

See Also