PyCharm 2020.3 Help


This section lists and describes the keyboard shortcuts that include the Ctrl+Alt keys:

Ctrl+Alt+Alphanumeric keys

Shortcut Function Use this shortcut to...
Ctrl+Alt+B Navigate to Implementation

Navigate to implementation of an item at the caret.

Ctrl+Alt+C Extract Constant Replace selected expression with a constant (static final field) (Refactoring).
Ctrl+Alt+F Introduce Field Put the selected expression result into a field (Refactoring).
Ctrl+Alt+H Call Hierarchy Browse call hierarchy for the selected method. See pageSource code hierarchy.
Ctrl+Alt+I Auto-indent Lines Indent current line or selected block according to the Code Style settings.
Ctrl+Alt+J Surround with Live Template Surround the selection with one of the Live Templates.
Ctrl+Alt+L Reformat code Rearrange the selected block of code.
Ctrl+Alt+M Extract Method Create a method from the selected code (Refactoring).
Ctrl+Alt+N Inline Inline the selected method/variable (Refactoring).
Ctrl+Alt+P Introduce Parameter Turn the selected expression into a method parameter (Refactoring).
Ctrl+Alt+T Surround with Surround selected code fragment with if, while, try/catch, or another construct.
Ctrl+Alt+V Introduce Variable Put selected expression result into a variable (Refactoring). See pageExtract/Introduce variable.
Ctrl+Alt+Y Reload All from Disk Detect all externally changed files and reload them from disk.

Ctrl+Alt+Navigation keys

Shortcut Function Use this shortcut to...
Ctrl+Alt+Enter Start new line before current one Start a new line before the current one.
Navigate to Next/Previous Occurrence Navigate to the next/previous found item.
Ctrl+Alt+Left Back

Undo last navigation operation. See page about navigated items

Ctrl+Alt+Right Forward

Redo last undone navigation operation. See page about navigated items

Ctrl+Alt+Home Navigate to Related Symbol Navigates between files with the various relationships.

Ctrl+Alt+Function (F) keys

Shortcut Function Use this shortcut to...
Ctrl+Alt+F6 Switch to another coverage suite. Open the Coverage Suites popu-up window and select the desired suite to run.
Ctrl+Alt+F7 Show usages

Show usages of a symbol at the caret.

See page View usages of a symbol

Ctrl+Alt+F8 Quick Evaluate Expression Evaluate an arbitrary expression without calling Evaluate Expression dialog.
Ctrl+Alt+F9 Force Run to Cursor Run to the line where the caret is located, ignoring breakpoints. See page Step through the program.
Last modified: 17 August 2020