PyCharm 2019.3 Help

General

Function

Shortcut

Use this shortcut to...

Close Active Tab

Ctrl+Shift+F4

Close an active tab in a tool window (for example, Find tool window).

Close Editor

Ctrl+F4

Close an active editor.

Edit Source

F4

Open an editor for the selected item or items and give focus to the last opened file.

Escape

Escape Depending on the context:
  • In the editor: close popups, terminate search, or remove highlighting.

  • In a tool window: return focus to the editor.

Export to Text File

Alt+O

Export contents of a tool window to a text file. This feature applies to the Version Control tool window Alt+9, Messages tool window, and the other tool windows that provide the export button icons toolbarDecorator export on the window toolbar.

New...

Alt+Insert

Create a new class, file or directory. See Populating Modules.

Save All

Ctrl+S

Save all files and settings.

Select Next Tab

Alt+Right

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

Select Previous Tab

Alt+Left

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

Show Intention Action

Alt+Enter

Display intention actions (if any) for the code where the caret is currently located, or the selected GUI component in a form.

Reload All from Disk

Ctrl+Alt+Y

Detect all externally changed files and reload them from disk.

View Source

Ctrl+Enter Depending on the context:
  • In Tool Windows: Open an Editor tab or tabs for the selected item or items, respectively.

  • In the editor: Intelligently split the current line into 2 lines, shifting quotes, etc. as necessary.

Last modified: 2 April 2020