PyCharm 3.1.0 Web Help

PyCharm menu structure doesn't align with PyCharm help structure. This page lists PyCharm menu items, linked to the corresponding help topics.

In this section:

File

Menu item Keyboard shortcut Description
New Project Use this command to create a new project.
New Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertCtrl+N or Alt+InsertAlt+InsertAlt+InsertCommand N or Control EnterControl N or Control EnterCommand N or Control Enter Use this command to create a new element in a project. This command is only available in the corresponding context.
Open Directory Use this command to open the specified directory, or an existing PyCharm project. A directory that contains a project is marked with python_ProjectIcon.png icon.

Refer to the section Opening, Reopening, and Closing Projects.

This command is duplicated with folder icon on the main toolbar.

Open URL Use this command to open source code of a web page in the editor.
Save as... Use this command to save a file currently opened in the editor, in the specified directory. Refer to the section Saving and Reverting Changes. This operation produces the same result, as copy refactoring.
Reopen Use this command to open one of the recent projects. Refer to the reopening projects procedure.
Close Projects in Current Window Use this command to close all the projects opened in the current window. Refer to the sections Opening Multiple Projects and Opening, Reopening and Closing Projects for details.
Settings Ctrl+Alt+SCtrl+Alt+SCtrl+Alt+SCtrl+Alt+SCtrl+Alt+SAlt+F7Ctrl+Alt+SCtrl+Alt+SCommand CommaCommand CommaCommand Comma Use this command to change the project and IDE configurations in the Settings dialog. See also the sections Configuring IDE Settings and Configuring Project Settings.

This command is duplicated with settings icon on the main toolbar.

Default Settings... Choose this command to change settings that will apply to all newly created projects. Refer to the section Accessing Default Project Settings and Structure.
Import Settings... Choose this command to import settings from an archive. See also the section Importing PyCharm Settings on First Launch.
Export Settings... Choose this command to export settings to an archive.
Save All Ctrl+SCtrl+SCtrl+SCtrl+SCtrl+X, Ctrl+SCtrl+SCtrl+S or Ctrl+Shift+SCtrl+SCommand SCommand SCommand S Choose this command to save all changes, when editing is over.

This command is duplicated with mainToolbarSave icon on the main toolbar.

Synchronize Ctrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YAlt Command YAlt Command YAlt Command Y Choose this command to check the PyCharm caches and bring them up-to-date by keeping in sync with external changes.

This command is duplicated with refresh icon on the main toolbar.

Invalidate Caches/Restart... Choose this command to clean the system cache.
Export to HTML... Use this command results to save selected files in HTML format.
Print... Choose this command to print selected file on the default printer. Refer to the Print dialog description.
Add to Favorites Use this command to add the selected files to the list of Favorites. Click the right arrow to select the list of favorites you want to be modified.

Refer to the description of the Favorites tool window.

File Encoding Use this command to change encoding of an individual file. See also the section Encoding.
Line Separators Use this command to select the desired line separator style. Refer to the section Configuring Line Separators.
Make File Read-Only / Make File Writable Use these toggle commands to change read-only status of a file selected in the Project tool window, or currently active in the editor. If a file is made read-only, it is marked with lock, and doesn't allow editing.

You can also toggle read-only attribute of a file in the Status bar.

Power Save Mode Use this mode if you are working with a laptop. If Power-Save mode is on, then the background processes are turned off, to minimize the power consumption.

You can also turn this mode on or off by clicking hector in the Status bar.

Exit Choose this command to quit PyCharm.

Edit

Menu item Keyboard shortcut Description
Undo Ctrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Shift+Minus or Ctrl+SlashCtrl+ZCtrl+Z or Alt+BackspaceCtrl+ZCommand ZCommand ZCommand Z Use this command to roll actions back.

This command is duplicated with mainToolbarUndo icon on the main toolbar.

Redo Ctrl+Shift+Z or Shift+Alt+BackspaceCtrl+Shift+Z or Shift+Alt+BackspaceCtrl+Shift+Z or Shift+Alt+BackspaceCtrl+Shift+Z or Shift+Alt+BackspaceCtrl+Shift+Z or Shift+Alt+MinusCtrl+Y or Ctrl+Shift+ZCtrl+Shift+Z, Shift+Alt+Backspace or Ctrl+YCtrl+YShift Command Z or Shift Alt BackspaceShift Command Z or Shift Alt BackspaceShift Command Z Use this command to repeat the last actions.

This command is duplicated with mainToolbarRedo icon on the main toolbar.

Cut Ctrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteShift+Delete or Alt+XCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCommand X or Shift DeleteCommand X or Shift DeleteCommand X or Shift Delete Choose this command to take the selected characters to the clipboard and delete them. Refer to the section Cutting, Copying, and Pasting.

This command is duplicated with mainToolbarCut icon on the main toolbar.

Copy Ctrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Escape, WCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert Choose this command to take the selected characters to the clipboard. Refer to the section Cutting, Copying, and Pasting.

This command is duplicated with copy icon on the main toolbar.

Copy Reference Ctrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CCtrl+Shift+Alt+CShift Alt Command CShift Alt Command CShift Alt Command C Choose this command to take a reference to a symbol to the clipboard. Refer to the section Cutting, Copying, and Pasting.
Paste Ctrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertAlt+P, Shift+Insert or Ctrl+YCtrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertCommand V or Shift InsertCommand V or Shift InsertCommand V or Shift Insert Choose this command to place the latest entry from the Clipboard at the insertion point. Refer to the section Cutting, Copying, and Pasting.

This command is duplicated with mainToolbarPaste icon on the main toolbar.

Paste from History... Ctrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertAlt+YCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertShift Command V or Shift Command InsertShift Command V or Shift Command InsertShift Command V or Shift Command Insert Choose this command to place at the insertion point the selected entry from the Clipboard. Refer to the section Cutting, Copying, and Pasting.
Paste Simple Ctrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VCtrl+Shift+Alt+VShift Alt Command VShift Alt Command VShift Alt Command V Choose this command to place the last entry from the Clipboard at the insertion point as plain text. Refer to the section Cutting, Copying, and Pasting.
Delete DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDelete or BackspaceDeleteDelete or Backspace Choose this command to delete the selected files, or folder from the project tool window, or selected fragment of text from the active editor.
Find Point to this node to reveal the sub-menu of search commands:
Find/Replace Ctrl+F or Alt+F3Ctrl+F or Shift+Alt+3Ctrl+F or Shift+Alt+3Ctrl+F or Alt+F3Ctrl+Alt+S, Alt+F3 or Ctrl+SCtrl+F or Alt+F3Ctrl+F or Alt+F3Ctrl+F or Alt+F3Command FCommand F or Alt F3Command F/Ctrl+RCtrl+RCtrl+RCtrl+RShift+Alt+5Ctrl+HCtrl+HCtrl+FCommand RCommand RCommand R Find or replace text in a current file.

These commands are duplicated by find and renameFavoritesList icons on the main toolbar.

Find Next/Find Previous F3 or Ctrl+LF3 or Ctrl+LF3 or Ctrl+LF3 or Ctrl+LF3 or Alt+SF3F3 or Ctrl+LCtrl+KCommand GF3 or Control LCommand K/Shift+F3 or Ctrl+Shift+LShift+F3 or Ctrl+Shift+LShift+F3 or Ctrl+Shift+LShift+F3 or Ctrl+Shift+LShift+F3, Alt+R or Ctrl+RShift+F3Shift+F3 or Ctrl+Shift+LCtrl+Shift+KShift Command GShift F3 or Control Shift LShift Command K Use these commands to navigate through the search results in a file. See Finding and Replacing Text in File.
Find Word at Caret Ctrl+F3Ctrl+F3Ctrl+3Ctrl+F3Ctrl+F3Ctrl+F3Ctrl+F3Ctrl+F12FindWordAtCaretCommand F3FindWordAtCaret Use this command to jump to the next occurrence of the word where the caret rests. See Finding and Replacing Text in File.
Find in Path/Replace in Path Ctrl+Shift+FCtrl+Shift+FCtrl+Shift+FCtrl+Shift+FCtrl+Shift+FCtrl+Shift+FCtrl+Shift+FCtrl+HShift Command FControl Shift FControl H/Ctrl+Shift+RCtrl+Shift+RCtrl+Shift+RCtrl+Shift+RCtrl+Shift+RCtrl+Shift+RCtrl+Shift+HCtrl+Shift+RShift Command RControl Shift RShift Command R Use these commands to search for, and replace a text fragment in a whole project. Refer to the section Finding and Replacing text in Project.
Find Usages Alt+F7Shift+Alt+7Shift+Alt+7Alt+F7Alt+F7 or Shift+Alt+SShift+Alt+F7Alt+F7Ctrl+GAlt F7Alt F7Shift Command G Use this command to search for the usages of a symbol across an entire project. Refer to the section Finding Usages in Project.
Find Usages Settings Ctrl+Shift+Alt+F7Ctrl+Shift+Alt+7Ctrl+Shift+Alt+7Ctrl+Shift+Alt+7Ctrl+Shift+Alt+F7Ctrl+Shift+Alt+F7Ctrl+Shift+Alt+F7Ctrl+Shift+Alt+F7Shift Alt Command F7Shift Alt Command F7Shift Alt Command F7 Use this command to search for the usages of a symbol across an entire project, after setting the desired search options. Refer to the section Finding Usages in Project.
Show Usages Ctrl+Alt+F7Ctrl+Alt+7Ctrl+Alt+7Ctrl+Alt+7Ctrl+Alt+F7Ctrl+Alt+F7Ctrl+Alt+F7Ctrl+Alt+F7Alt Command F7Alt Command F7Alt Command F7 Use this command to bring up a list of the usages of a symbol across the whole project. Refer to the section Viewing Usages of a Symbol.
Find Usages in a File Ctrl+F7Ctrl+F7Ctrl+7Ctrl+F7Ctrl+F7Ctrl+Shift+F7 or Shift+F12Ctrl+F7Ctrl+Shift+GCommand F7Command F7Shift Command U Refer to the section Finding Usages in the Current File.
Highlight Usages in a File Ctrl+Shift+F7Ctrl+Shift+F7Ctrl+Shift+7Ctrl+Shift+F7Ctrl+Shift+F7Ctrl+Shift+F7Ctrl+Shift+F7Shift+Alt+O or Ctrl+Shift+F7Shift Command F7Shift Command F7Shift Command F7 Use this command to visualize usage of a symbol in the current file. Refer to the section Highlighting Usages.
Recent Find Usages Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+ECommand ECommand ECommand E Choose this command to view the recent search results. Refer to the section Viewing Recent Find Usages.
Macros Point to this node to reveal the sub-menu of the macros-related commands. Refer to the section Using Macros in the Editor.
Column Selection Mode Shift+Alt+InsertShift+Alt+InsertShift+Alt+InsertShift+Alt+InsertShift+Alt+InsertShift+Alt+InsertShift+Alt+InsertShift+Alt+InsertShift Command 8Shift Command NumPad *Shift Command 8 Use this command to toggle between column selection and line selection modes. Refer to the section Selecting Text in the Editor.
Select All Ctrl+ACtrl+ACtrl+ACtrl+ACtrl+X, HCtrl+ACtrl+ACtrl+ACommand ACommand ACommand A Choose this command to select all contents of the current file. Refer to the section Selecting Text in the Editor.
Select Word at Caret Ctrl+WCtrl+WCtrl+WCtrl+WCtrl+Alt+WCtrl+WShift+Alt+PeriodShift+Alt+UpAlt UpCommand WControl Shift Up Choose this command to select the current word. Use this command successively to extend selection. Refer to the section Selecting Text in the Editor.
Unselect Word at Caret Ctrl+Shift+WCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WShift+Alt+CommaShift+Alt+DownAlt DownShift Command WControl Shift Down Choose this command to unselect the currently selected word. Use this command successively to shrink selection. Refer to the section Selecting Text in the Editor.
Join Lines Ctrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JControl Shift JControl Shift JControl Shift J Choose this command to join lines or literals.
Fill Paragraph Choose this command to create soft wraps in a paragraph.
Duplicate Lines Ctrl+DCtrl+DCtrl+DCtrl+DMeta+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCtrl+DCommand DCommand DCommand D Choose this command to duplicate a line or fragment of text. Refer to Adding, Deleting and Moving Lines.
Indent Selection/Unindent Selection TabTabTabTabTabTabTabTabTabTabTab/Shift+TabShift+TabShift+TabShift+TabShift+TabShift+TabShift+Alt+Left or Shift+TabShift+TabShift TabShift TabShift Tab Choose this command to change indentation of the line at caret. Refer to the section Changing Indentation.
Toggle Case Ctrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+U, SCtrl+Shift+U, Ctrl+Shift+X or Ctrl+Shift+YShift Command UShift Command UShift Command X or Shift Command Y Choose this command to change case of the selection. See Toggling Case.
Convert Indents Point to this node to reveal the sub-menu of the possible indentation and toggle indentation style. Refer to Changing Indentation.

View

Menu item Keyboard shortcut Description
Tool Windows Point to this node to reveal the list of the available tool windows. Refer to the section Manipulating the Tool Windows.
Quick Definition Ctrl+Shift+ICtrl+Shift+ICtrl+Shift+ICtrl+Shift+ICtrl+Shift+ICtrl+Shift+ICtrl+Shift+ICtrl+Shift+IAlt Space or Command YShift Command IAlt Space or Command Y Choose this command to open the quick definition pop-up. Refer to the section Viewing Definition.
Quick Documentation Ctrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+QCtrl+Q or Alt+Button2 ClickAlt+Button2 Click, Ctrl+Shift+Space or F2F1, Control J or Control Button2 ClickControl J or Control Button2 ClickAlt Button2 Click or F2 Choose this command to view qiock documentation pop-up window.
Parameter Info Ctrl+PCtrl+PCtrl+PCtrl+PShift+Alt+PCtrl+Shift+SpaceCtrl+PCtrl+PCommand PCommand PControl Shift Space Choose this command to view method parameter information.
Context Info Alt+QAlt+QAlt+QAlt+QAlt+QAlt+QAlt+QAlt+QControl Shift QControl Shift QControl Shift Q Choose this command to show the current cursor position, if it runs out of the visible editor pane.
Recent Files Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+ECommand ECommand ECommand E Choose this command to show the pop-up list of recently opened files and tool windows, and navigate to them.
Recently Changed Files Ctrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+EShift Command EShift Command EShift Command E Choose this command to show the pop-up list of recently changed files and navigate to them.
Recent Changes Shift+Alt+CShift+Alt+CShift+Alt+CShift+Alt+CShift+Alt+CShift+Alt+CShift+Alt+CShift+Alt+CShift Alt CShift Alt CShift Alt C Choose this command to open the pop-up list of recent changes.
Compare with Clipboard Choose this command to compare the file currently opened in the editor with the contents of the system clipboard. See Comparing Files.
Quick Switch Scheme Ctrl+Back QuoteCtrl+Back QuoteCtrl+Back QuoteCtrl+Back QuoteCtrl+Back QuoteCtrl+Back QuoteCtrl+Back QuoteCtrl+Back QuoteControl Back QuoteControl Back QuoteControl Back Quote Choose this command to switch between schemes.
Toolbar Check this command to show or hide the main toolbar.
Tool Buttons Check this command to show or hide the tool window buttons.
Status Bar Check this command to show or hide the Status toolbar.
Navigation Bar Check this command to show or hide the Navigation bar.
Enter/Exit Presentation Mode Choose this command to enter or exit from presentation mode.
Enter/Exit Full Screen Choose this command to enter or exit from full screen mode.

Navigate

Menu item Keyboard shortcut Description
Class/File/Symbol Ctrl+NCtrl+NCtrl+NCtrl+NShift+Alt+GCtrl+CommaCtrl+OCtrl+Shift+TCommand OCommand NShift Command T /
Ctrl+Shift+NCtrl+Shift+NCtrl+Shift+NCtrl+Shift+NCtrl+X, Ctrl+FCtrl+Shift+NShift+Alt+OCtrl+Shift+RShift Command OShift Command NShift Command R
Ctrl+Shift+Alt+NCtrl+Shift+Alt+NCtrl+Shift+Alt+NCtrl+Shift+Alt+NCtrl+Shift+Alt+NCtrl+Shift+Alt+NCtrl+Shift+Alt+OCtrl+Shift+Alt+NAlt Command OShift Alt Command NAlt Command O
Choose these commands to find and jump to a class, file, or symbol by name.
Custom Region... Ctrl+Alt+PeriodCtrl+Alt+PeriodCtrl+Alt+PeriodCtrl+Alt+PeriodCtrl+Alt+PeriodCtrl+Alt+PeriodCtrl+Alt+PeriodCtrl+Alt+PeriodAlt Command PeriodAlt Command PeriodAlt Command Period Choose this command to navigate between custom regions.
Line... Ctrl+GCtrl+GCtrl+GCtrl+GAlt+GCtrl+GCtrl+GCtrl+LCommand LCommand GCommand L Choose this command to navigate to the specified line of code.
Back/Forward Ctrl+Alt+Left or Button4 ClickShift+Alt+Left or Button4 ClickCtrl+Alt+Left or Button4 ClickCtrl+Alt+Left or Button4 ClickCtrl+Alt+Left or Button4 ClickCtrl+Alt+Left or Button4 ClickAlt+Left or Button4 ClickAlt+Left or Button4 ClickCommand Open Bracket, Alt Command Left or Button4 ClickAlt Command Left or Button4 ClickCommand Open Bracket or Button4 Click/Ctrl+Alt+Right or Button5 ClickShift+Alt+Right or Button5 ClickCtrl+Alt+Right or Button5 ClickCtrl+Alt+Right or Button5 ClickCtrl+Alt+Right or Button5 ClickCtrl+Alt+Right or Button5 ClickAlt+Right or Button5 ClickAlt+Right or Button5 ClickCommand Close Bracket, Alt Command Right or Button5 ClickAlt Command Right or Button5 ClickCommand Close Bracket or Button5 Click> Choose these commands to go through the history of the recently navigated items. These commands are duplicated with arrowBack.png and arrowForward.png buttons on the main toolbar.
Last Edit Location Ctrl+Shift+BackspaceCtrl+Shift+BackspaceCtrl+Shift+BackspaceCtrl+Shift+BackspaceCtrl+Shift+BackspaceCtrl+Shift+F2Ctrl+Shift+BackspaceCtrl+QShift Command BackspaceShift Command BackspaceControl Q Choose this command to jump to the latest edit location.
Bookmarks Point to this node to reveal the sub-menu of commands related to using bookmarks.
Select In... Alt+F1Shift+Alt+1 or Alt+F1Shift+Alt+1Alt+F1Alt+F1Alt+F1Ctrl+Shift+1, Ctrl+Shift+2, Ctrl+Shift+3 or Ctrl+Shift+9Alt+F1Alt F1Alt F1Alt Command W Choose this command to select the desired component from the pop-up list of possible targets.
Jump to Navigation Bar Alt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeCommand Up or Alt HomeAlt HomeAlt Command B Choose this command to navigate across your project using the Navigation Bar.
Declaration Ctrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+Alt+G, Escape, Period, Alt+Period or Ctrl+Button1 ClickF12, Shift+F2, Ctrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickF3 or Ctrl+Button1 ClickCommand B, Command Button1 Click or Button2 ClickCommand B, Command Button1 Click or Button2 ClickF3 or Control Button1 Click Choose this command to jump to a declaration of a symbol.
Implementation(s) Ctrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+T or Ctrl+Alt+BAlt Command B or Alt Command Button1 ClickAlt Command B or Alt Command Button1 ClickAlt Command B or Alt Command Button1 Click Choose this command to jump to an implementation of a method.
Type Declaration Ctrl+Shift+B or Ctrl+Shift+Button1 ClickCtrl+Shift+B or Ctrl+Shift+Button1 ClickCtrl+Shift+B or Ctrl+Shift+Button1 ClickCtrl+Shift+B or Ctrl+Shift+Button1 ClickCtrl+Shift+B or Ctrl+Shift+Button1 ClickShift+Alt+F12 or Shift+Alt+F2Ctrl+Shift+B or Ctrl+Shift+Button1 ClickCtrl+Shift+B or Ctrl+Shift+Button1 ClickControl Shift B, Shift Command Button1 Click or Shift Button2 ClickControl Shift B, Shift Command Button1 Click or Shift Button2 ClickControl Shift B, Shift Command Button1 Click or Shift Button2 Click Choose this command to jump to the type declaration of a symbol.
Super Method Ctrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+Shift+PCtrl+UCommand UCommand UCommand U Choose this command to jump to a super method of the method at caret.
Test Ctrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TShift Command TShift Command TShift Command T Choose this command to navigate to an existing test, or create a test. See section Creating Tests.
Related File... Ctrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeControl Command UpAlt Command HomeControl Command Up See Navigating Between Templates and Views.
File Structure Ctrl+F12Ctrl+F12Ctrl+0Ctrl+F12Ctrl+F12Ctrl+F12Ctrl+F12 or Ctrl+Shift+F12Ctrl+F3 or Ctrl+OCommand F12Command F12Command O Choose this command to navigate through the source code using the File Structure view.
File Path Ctrl+Alt+F12Ctrl+Shift+Alt+2Ctrl+Shift+Alt+2Ctrl+Shift+Alt+2Ctrl+Alt+F12Ctrl+Alt+F12Ctrl+Alt+F12Ctrl+Alt+F12Alt Command F12Alt Command F12Alt Command F12 See Navigating to File Path.
Type/Method/Call Hierarchy Ctrl+HCtrl+HCtrl+HCtrl+HCtrl+HAlt+HShift+Alt+F12F4Control HControl HF4/Ctrl+Shift+HCtrl+Shift+HCtrl+Shift+HCtrl+Shift+HCtrl+Shift+HCtrl+Shift+HCtrl+Shift+HCtrl+Shift+HShift Command HShift Command HShift Command H/Ctrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HControl Alt HControl Alt HControl Alt H Choose these commands to navigate using the hierarchy views. Refer to the sections Viewing Structure and Hierarchy of the Source Code.
Next/Previous Highlighted Error F2F2F2F2F2 or Ctrl+X, Back QuoteF2F2 or Ctrl+PeriodF2F2F2Command PeriodShift+F2Shift+F2Shift+F2Shift+F2Shift+F2 or Ctrl+Shift+X, Back QuoteShift+F2Shift+F2 or Ctrl+CommaShift+F1Shift F2Shift F2Shift Command Period Choose these commands to navigate through the highlighted errors.
Next/Previous Change Ctrl+Shift+Alt+DownCtrl+Shift+Alt+DownCtrl+Shift+Alt+DownCtrl+Shift+Alt+DownCtrl+Shift+Alt+DownCtrl+Shift+Alt+DownCtrl+Shift+Alt+DownCtrl+Shift+Alt+DownControl Shift Alt DownControl Shift Alt DownControl Shift Alt DownCtrl+Shift+Alt+UpCtrl+Shift+Alt+UpCtrl+Shift+Alt+UpCtrl+Shift+Alt+UpCtrl+Shift+Alt+UpCtrl+Shift+Alt+UpCtrl+Shift+Alt+UpCtrl+Shift+Alt+UpControl Shift Alt UpControl Shift Alt UpControl Shift Alt Up Choose these commands to navigate though the change markers (when VCS integration is enabled).
Next/Previous Method Alt+DownAlt+DownAlt+DownAlt+DownAlt+Down or Ctrl+Alt+EAlt+DownCtrl+Alt+DownCtrl+Shift+DownControl DownControl DownControl Alt DownAlt+UpAlt+UpAlt+UpAlt+UpAlt+Up or Ctrl+Alt+AAlt+UpCtrl+Alt+UpCtrl+Shift+UpControl UpControl UpControl Alt Up Choose these commands to go up and down through the methods and tags.

Code

Menu item Keyboard shortcut Description
Override Methods... Ctrl+OCtrl+OCtrl+OCtrl+OCtrl+OCtrl+Shift+OCtrl+OCtrl+OControl OCommand OControl O Choose this command to override a method.
Generate... Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertCtrl+N or Alt+InsertAlt+InsertAlt+InsertCommand N or Control EnterControl N or Control EnterCommand N or Control Enter Choose this command to create a new element. See (depending on the context) Populating Projects, Generating Code.
Surround With... Ctrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TShift+Alt+Z or Ctrl+Alt+TAlt Command TAlt Command TAlt Command Z Choose this command to surround a logical fragment with code construct.
Unwrap/Remove... Ctrl+Shift+DeleteCtrl+Shift+DeleteCtrl+Shift+DeleteCtrl+Shift+DeleteCtrl+Shift+DeleteCtrl+Shift+DeleteCtrl+Shift+DeleteAlt+RShift Command DeleteShift Command DeleteShift Command Delete Choose this command to unwrap an expression from enclosing statements.
Insert Live Template... Ctrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+Shift+Alt+JCommand JCommand JCommand J Choose this command to create code constructs by live templates.
Surround with Live Template... Ctrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JAlt Command JAlt Command JAlt Command J Choose this command to create code constructs using surround templates.
Comment with Line Comment Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Alt+SemicolonCtrl+Slash, Ctrl+NumPad / or Ctrl+ColonCtrl+Slash, Ctrl+NumPad / or Ctrl+Shift+CCtrl+Slash or Ctrl+NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad / Choose this command to comment an entire line of code. See Commenting and Uncommenting Blocks of Code.
Comment with Block Comment Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash, Ctrl+Shift+NumPad / or Ctrl+Shift+ColonCtrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+SlashAlt Command Slash, Alt Command NumPad /, Control Shift Slash, Control Shift NumPad /, Shift Command Slash or Shift Command NumPad /Control Shift Slash, Control Shift NumPad /, Shift Command Slash or Shift Command NumPad /Control Shift Slash Choose this command to comment out a block of code. See Commenting and Uncommenting Blocks of Code.
Reformat Code... Ctrl+Alt+LCtrl+Alt+LShift+Alt+LCtrl+Alt+LCtrl+Alt+LAlt+F8 or Ctrl+Alt+FShift+Alt+FCtrl+Alt+L or Ctrl+Shift+FAlt Command LAlt Command LShift Command F Choose this command to perform code reformatting. See Reformatting Source Code.
Auto-Indent Lines Ctrl+Alt+ICtrl+Alt+ICtrl+Alt+ICtrl+Alt+ICtrl+Alt+I or Ctrl+Alt+QCtrl+Alt+ICtrl+Alt+ICtrl+IControl Alt IAlt Command ICommand I Choose this command to change indentation.
Optimize Imports... Ctrl+Alt+OCtrl+Alt+OCtrl+Alt+OCtrl+Alt+OCtrl+Alt+OCtrl+Alt+OCtrl+Shift+ICtrl+Alt+O or Ctrl+Shift+OControl Alt OAlt Command OShift Command O Choose this command to optimize import statements. See Optimizing Imports.
Rearrange Code Choose this command to rearrance code according to the arrangement rules. See Rearranging Code Using Arrangement Rules.
Move Statement Up/Down Ctrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpShift+Alt+UpAlt+UpShift Command UpShift Command UpAlt Up/Ctrl+Shift+DownCtrl+Shift+DownCtrl+Shift+DownCtrl+Shift+DownCtrl+Shift+DownCtrl+Shift+DownShift+Alt+DownAlt+DownShift Command DownShift Command DownAlt Down Choose this command to move a statement up or down.
Move Line Up/Down Shift+Alt+UpShift+Alt+UpShift+Alt+UpShift+Alt+UpShift+Alt+UpShift+Alt+UpShift+Alt+UpShift+Alt+UpShift Alt UpShift Alt UpShift Alt Up/Shift+Alt+DownShift+Alt+DownShift+Alt+DownShift+Alt+DownShift+Alt+DownShift+Alt+DownShift+Alt+DownShift+Alt+DownShift Alt DownShift Alt DownShift Alt Down Choose this command to move a line at caret up or down.
Inspect Code... Choose this command to run an inspection.
Run Inspection by Name... Ctrl+Shift+Alt+ICtrl+Shift+Alt+ICtrl+Shift+Alt+ICtrl+Shift+Alt+ICtrl+Shift+Alt+ICtrl+Shift+Alt+ICtrl+Shift+Alt+ICtrl+Shift+Alt+IShift Alt Command IShift Alt Command IShift Alt Command I Choose this command to run the specified inspection.
Configure Current File Analysis... Ctrl+Shift+Alt+HCtrl+Shift+Alt+HCtrl+Shift+Alt+HCtrl+Shift+Alt+HCtrl+Shift+Alt+HCtrl+Shift+Alt+HCtrl+Shift+Alt+HCtrl+Shift+Alt+HShift Alt Command HShift Alt Command HShift Alt Command H Choose this command to change highlighting level of the current file.
View Offline Inspection Results... Choose this command to see inspection results stored on your computer. See Viewing Offline Inspections Results.
Locate Duplicates... Choose this command to find code duplicates. Refer to Analyzing Duplicates.

Refactor

Menu item Keyboard shortcut Description
Refactor This... Ctrl+Shift+Alt+TCtrl+Shift+Alt+TCtrl+Shift+Alt+TCtrl+Shift+Alt+TCtrl+Shift+Alt+TCtrl+Shift+Alt+TCtrl+Shift+Alt+TCtrl+Shift+Alt+TControl TShift Alt Command TControl T Choose this command to open a pop-up menu of the refactorings available in the current context. Refer to the section Refactoring Source Code.
Rename... Shift+F6Shift+F6Shift+F6Shift+F6Shift+F6Shift+F6Ctrl+RShift+Alt+RShift F6Shift F6Shift F6 Choose this command to rename an element.
Change Signature... Ctrl+F6Ctrl+F6Ctrl+6Ctrl+F6Ctrl+F6Ctrl+F6Ctrl+F6Shift+Alt+CCommand F6Command F6Alt Command C Choose this command to perform change signature refactoring.
Move... F6F6F6F6F6F6Ctrl+MShift+Alt+VF6F6Alt Command V Choose this command to move a symbol to the specified location.
Copy... Ctrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Escape, WCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert Choose this command to create a copy of an element in the specified location.
Safe Delete Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteCommand Delete or Command BackspaceCommand DeleteCommand Delete or Command Backspace Choose this command to delete a symbol, performing search for its usages.
Extract Choose this command to perform one of the extract refactorings.
Inline... Ctrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NShift+Alt+IAlt Command NAlt Command NAlt Command I Choose this command to perform inline refactoring.
Pull Members Up... Choose this command to perform pull members up refactoring.
Push Members Down Choose this command to perform push members down refactoring.
Invert Boolean Choose this command to perform invert boolean refactoring.

Run

Menu item Keyboard shortcut Description
Run <current script> Shift+F10Shift+F10Shift+F10Shift+F10Shift+F10Ctrl+F5F6Shift+Alt+X or Shift+F10Control RShift F10Shift Command F11 Choose this command to run the current script with the corresponding temporary run/debug configuration.

This command is duplicated with run icon on the main toolbar.

Debug <current script> Shift+F9Shift+F9Shift+F9Shift+F9Shift+F9Alt+F5Ctrl+F5Shift+Alt+D or Shift+F9Control DShift F9Command F11 Choose this command to debug the current script with the corresponding temporary run/debug configuration.

This command is duplicated with debug icon on the main toolbar.

Run <current script> with Coverage Choose this command to run with coverage the current script with the corresponding temporary run/debug configuration.

This command is duplicated with runWithCoverage icon on the main toolbar.

Run... Shift+Alt+F10Shift+Alt+F10Shift+Alt+F10Shift+Alt+F10Shift+Alt+F10Shift+Alt+F10Shift+Alt+F10Shift+Alt+F10Control Alt RShift Alt F10Control Alt R Choose this command to select the desired run/debug configuration, and then launch it. Refer to the section Creating and Editing Run/Debug Configurations.
Debug... Shift+Alt+F9Shift+Alt+F9Shift+Alt+F9Shift+Alt+F9Shift+Alt+F9Shift+Alt+F9Shift+Alt+F9Shift+Alt+F9Control Alt DShift Alt F9Control Alt D Choose this command to select the desired run/debug configuration, and then launch it in debugging mode. Refer to the section Creating and Editing Run/Debug Configurations.
Edit Configurations... Choose this command to change run/debug configurations.
Stop Ctrl+F2Ctrl+F2Ctrl+2Ctrl+F2Ctrl+F2Shift+F5Shift+F5 or Ctrl+Shift+DeleteCtrl+F2Command F2Command F2Command F2 Choose this command to terminate execution of a run/debug configuration. This command is duplicated with stop icon in the toolboxes of the Run and Debug tool windows.
Stepping Commands These commands become enabled with the debugger session on. Refer to the section Stepping Through the Program. See also descriptions of the stepping toolbar buttons in the Debug tool window reference.
Pause Program Choose this command to pause output of the current run or debug session. This command is duplicated with pauseIcon icon in the toolboxes of the Run and Debug tool windows.
Resume Program F9F9F9F9F9F5F5F8 or F9Alt Command RF9F8 Choose this command to resume the debugger session with the selected run/debug configuration. This command is duplicated with debug_resume icon in the toolbox of the Debug tool windows.
Evaluate Expression Alt+F8Shift+Alt+8Shift+Alt+8Alt+F8Alt+F8Alt+F8Ctrl+F9Ctrl+UAlt F8Alt F8Command U Choose this command to evaluate expression during the debug sessino.
Quick Evaluate Expression Ctrl+Alt+F8 or Alt+Button1 ClickCtrl+Alt+8 or Shift+Alt+Button1 ClickCtrl+Alt+8 or Shift+Alt+Button1 ClickCtrl+Alt+8 or Shift+Alt+Button1 ClickCtrl+Alt+F8 or Alt+Button1 ClickShift+F9Ctrl+Alt+F8 or Alt+Button1 ClickCtrl+Alt+F8 or Alt+Button1 ClickAlt Command F8 or Alt Button1 ClickAlt Command F8 or Alt Button1 ClickAlt Command F8 or Alt Button1 Click Choose this command to performquick evaluation of an expression in the editor during the debug session.
Show Execution Point Alt+F10Shift+Alt+0Shift+Alt+0Alt+F10Alt+F10Alt+NumPad * or Ctrl+LAlt+F10Alt+F10Alt F10Alt F10Alt F10 Choose this command to show execution point during the debug session.
Toggle Line Breakpoint Ctrl+F8Ctrl+F8Ctrl+8Ctrl+F8Ctrl+F8F9Ctrl+F8Ctrl+Shift+B or Ctrl+F8Command F8Command F8Shift Command B Choose this command to turn on or off a line breakpoint. Refer to the section Creating Breakpoints.
Toggle Temporary Line Breakpoint Ctrl+Shift+Alt+F8Ctrl+Shift+Alt+F8Ctrl+Shift+Alt+F8Ctrl+Shift+Alt+F8Ctrl+Shift+Alt+F8Ctrl+Shift+Alt+F8Ctrl+Shift+Alt+F8Ctrl+Shift+Alt+F8Shift Alt Command F8Shift Alt Command F8Shift Alt Command F8 Choose this command to turn on or off a temporary line breakpoint. Refer to the section Creating Breakpoints.
View Breakpoints... Ctrl+Shift+F8Ctrl+Shift+F8Ctrl+Shift+F8Ctrl+Shift+F8Ctrl+Shift+F8Alt+F9Ctrl+Shift+F8Ctrl+Shift+F8Shift Command F8Shift Command F8Shift Command F8 Choose this command to show all available breakpoints and change them in the Breakpoints dialog.

Tools

Note

Note that composition of the menu Tools depends on the enabled plugins.

Menu item Keyboard shortcut Description
Tasks and Contexts Point to this node to reveal the sub-menu of commands related to tasks and contexts management. See also Tasks reference page.
Analyze Stacktrace... Choose this command to analyze external stacktrace.
Run Python Console / Run Django Console... Choose these commands to launch the interactive consoles. Refer to the section Running Console for details.

Note that Run Django Console command is only available for the Django projects.

Create setup.py / Run setup.py Use these commands to create and run setup.py.
Show Code Coverage Data Ctrl+Alt+F6Ctrl+Alt+6Ctrl+Alt+6Ctrl+Alt+6Ctrl+Alt+F6Ctrl+Alt+F6Ctrl+Alt+F6Ctrl+Alt+F6Alt Command F6Alt Command F6Alt Command F6 Choose this command to view coverage results. Refer to the section Code Coverage.
Vim Emulator Choose this check command to enable or disable Vim emulation. Refer to the tutorial Configuring PyCharm to work as a Vim editor.
Reconfigure Vim Keymap This command is only visible, when Vim Emulator is checked. Choose it to select a different base keymap for Vim emulator.
Deployment Point to this node to reveal the sub-menu of deployment-related commands. Refer to the section Working with Web Servers: Copying Files.
Open terminal Choose this command to run the embedded local terminal.
Start SSH Session Choose this command to launch a terminal on a remote SSH server. Refer to the section Running SSH Terminal.
Test RESTful Web Service Choose this command to compose and run requests to a RESTful web service. Refer to the section Testing RESTful Web Services.
Vagrant Point to this node to reveal the sub-menu of standard Vagrant actions. Refer to the section Vagrant, and to the tutorial Configuring PyCharm to work on a VM.

VCS

Note that the VCS menu contains different commands, depending on the enabled version control system. The following table shows the menu commands available when no version control integration is enabled.

Menu item Keyboard shortcut Description
Local History Point to this node to reveal the list of commands related to working with the Local History.
Enable Version Control Integration... Choose this command to associate a project root with one of the supported version control systems.
VCS Operations Popup Alt+Back QuoteAlt+Back QuoteAlt+Back QuoteAlt+Back QuoteAlt+Back QuoteAlt+Back QuoteAlt+Back QuoteAlt+Back QuoteControl VControl VControl V Choose this command to invoke the pop-up list of the most popular VCS actions.
Apply Patch... Choose this command to apply a patch.
Checkout from Version Control Point to this node to reveal the sub-menu of the checkout commands, specific for the supported version control systems. With no version control integration enabled, it is possible to check out from SVN, Mercurial, Git, GitHub, and CVS.
Import into Version Control Point to this node to reveal the sub-menu of the import commands, specific for the supported version control systems. With no version control integration enabled, it is possible to import to SVN, Mercurial, Git, GitHub, and CVS.
Browse VCS Repository Point to this node to reveal the sub-menu of the browse commands, specific for the supported version control systems. Refer to the section Browsing Contents of the Repository. With no version control integration enabled, it is possible to browse the SVN, Git, and CVS repositories.

Note

It is important to note that with VCS integration enabled, the composition of the VCS menu is different. Refer to the following help sections for details:

See also the following tutorials:

Window

Menu item Keyboard shortcut Description
Store Current Layout as Default Choose this command to save the current way the tool windows are arranged.
Restore Default Layout Shift+F12Shift+F12Shift+Alt+F12Shift+F12Shift+F12Shift+F12Shift+F12Shift+F12Shift F12Shift F12Shift F12 Choose this command to restore the initial way the tool windows are arranged.
Active Tool Window Choose this command to reveal the sub-menu of commands, related to the active tool window. Refer to the sections PyCharm Tool Windows, Manipulating the Tool Windows, Specifying the Appearance Settings for Tool Windows, Viewing Modes.
Editor Tabs Choose this command to reveal the sub-menu of commands, related to the editor tabs. Refer to the section Managing Editor Tabs.

Note that these commands can be also found on the context menu of an editor tab.

Background Tasks Choose this command to reveal the sub-menu of commands, related to performing tasks in background. Refer to the section Working with Background Tasks.
Next Project Window / Previous Project Window Ctrl+Alt+Close BracketCtrl+Alt+Close BracketCtrl+Alt+Close BracketCtrl+Alt+Close BracketCtrl+X, Ctrl+OCtrl+Alt+Close BracketCtrl+Alt+Close BracketCtrl+Alt+Close BracketCommand Back QuoteAlt Command Close BracketCommand Back Quote /
Ctrl+Alt+Open BracketCtrl+Alt+Open BracketCtrl+Alt+Open BracketCtrl+Alt+Open BracketCtrl+Alt+Open BracketCtrl+Alt+Open BracketCtrl+Alt+Open BracketCtrl+Alt+Open BracketShift Command Back QuoteAlt Command Open BracketShift Command Back Quote
Choose this command to switch between currently opened projects.
<project> Select project to be shown in the active window.

Help

Menu item Keyboard shortcut Description
Find Action Ctrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+ICtrl+Shift+AShift Command AShift Command ACommand 3 Choose this command to invoke an action by name.
Help Topics Choose this command to show the help topics. Refer to the section Using Help Topics.
Tip of the Day Choose this command to show an arbitrary tip. Refer to the section Using Tips of the Day.
Productivity Guide Choose this command to show productivity guide.
Submit Feedback Choose this command to report your overall impression of PyCharm to the support service.
Show Log in Explorer Choose this command to find PyCharm's log.
Default keymap Reference Choose this command to open the default keymap in PDF format. See Keymap Reference.
JetBrains TV Choose this command to open JetBrains TV page.
Register Choose this command to register PyCharm.
Check for Update Choose this command to obtain information about the current version, and the availability of newer versions of PyCharm. Refer to Updates page.
About Choose this command to obtain information about the current version of PyCharm, current build, etc. Press EscapeEscapeEscapeEscapeEscape, Escape or Ctrl+GEscapeEscapeEscapeEscapeEscapeEscape to close the pop-up window.