PyCharm 2020.1 Help

Alt

This section lists and describes the keyboard shortcuts that include the Alt key:

Alt+Alphanumeric keys

ShortcutFunctionUse this shortcut to...
Alt+OExport to Text FileExport a tool window's content to a text file.
Alt+QContext InfoShow the current method or class declaration when it is not visible.
Alt+NumberOpen tool windowOpen a tool window with the corresponding number.
Alt+/Code completion / Expand wordExpand string at caret to any word in the visible scope that starts with the same characters.
Alt+`VCS operationsShow quick list with the most required version control commands.

Alt+Navigation keys

ShortcutFunctionUse this shortcut to...
Alt+DeleteSafe DeleteDelete selected class/method/field checking its usages.
Alt+EnterShow Intention ActionDisplay intention actions (if any) for a code where the caret is currently located.
Alt+HomeActivate Navigation BarBring focus to the Navigation bar.
Alt+InsertCreate new entity

Depending on the context:

  • In the navigation views: create a new class, file or directory, using the New popup.

Alt+DownNavigate to Next MethodNavigate to the next method declaration in the active editor tab.
Alt+LeftSelect Previous Tab

Depending on the context:

  • When several tabs are opened in the editor or a view, open the next tab to the left (or the last tab if the current one is the first).

  • In the Differences Viewer for Files invoked from the Update Project Info tab of the Version Control tool window Alt+9, compare the local copy of the previous file with its update from the server.

Alt+RightSelect Next Tab

Depending on the context:

  • When several tabs are opened in the editor or a view, open the next tab to the right (or the first tab if the current one is the last).

  • In the Differences Viewer for Files invoked from the Update Project Info tab of the Version Control tool window Alt+9, compare the local copy of the next file with its update from the server.

Alt+UpNavigate to Previous MethodNavigate to the previous method declaration in the active editor tab.

Alt+Function (F) keys

ShortcutFunctionUse this shortcut to...
Alt+F1Select TargetMove focus from the current file, class, method or reference to a data source table to a view suggested in the Select Target popup. See Source code navigation.
Alt+F7Find UsagesInitiate search for usages.
Alt+F8Evaluate ExpressionDebugger: Evaluate an arbitrary expression.
Alt+F9Run to CursorDebugger: Run to the line where the caret is located.
Last modified: 08 May 2020