PyCharm 4.0.0 Web Help

Function Shortcut Use this shortcut to...
File Structure Pop-up Ctrl+F12Ctrl+F12Ctrl+0Ctrl+F12Ctrl+F12Ctrl+F12Ctrl+F12 or Ctrl+Shift+F12Ctrl+F3 or Ctrl+OCommand F12Command F12Command O Display the Structure pop-up window for quick navigation through the current file.
Select target 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 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 Navigating Between IDE Components.
Recent Files Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+ECommand ECommand ECommand E Show the list of recently opened files.
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 Show the list of recently updated files.
Type Hierarchy Ctrl+HCtrl+HCtrl+HCtrl+HCtrl+HAlt+HShift+Alt+F12F4Control HControl HF4 Browse hierarchy for the selected class.
Navigate to Class Ctrl+NCtrl+NCtrl+NCtrl+NShift+Alt+GCtrl+CommaCtrl+OCtrl+Shift+TCommand OCommand NShift Command T Navigate directly to a class in project by specifying its name in a pop-up dialog box.
Navigate to File Ctrl+Shift+NCtrl+Shift+NCtrl+Shift+NCtrl+Shift+NCtrl+X, Ctrl+FCtrl+Shift+NShift+Alt+OCtrl+Shift+RShift Command OShift Command NShift Command R Navigate directly to a file in project by specifying its name in a pop-up dialog box.
Navigate to Recently Opened File Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+ECommand ECommand ECommand E Show the list of recently opened files.
Navigate to Recently Changed File Ctrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+EShift Command EShift Command EShift Command E Show the list of recently updated files.
Navigate to Line Ctrl+GCtrl+GCtrl+GCtrl+GAlt+GCtrl+GCtrl+GCtrl+LCommand LCommand GCommand L Navigate to any line in the current file by specifying its number.
Navigate to 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 Navigate to declaration of a symbol at caret.
Navigate to Implementation 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 Navigate to implementation of the item at caret.
Navigate to 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 ClickShift Command B, Control Shift B, Shift Command Button1 Click or Shift Button2 ClickControl Shift B, Shift Command Button1 Click or Shift Button2 ClickShift Command B, Control Shift B, Shift Command Button1 Click or Shift Button2 Click Navigate to a type declaration of a symbol at caret, the symbol being a variable or a method call.
Navigate to Super Method Ctrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+Shift+PCtrl+UCommand UCommand UCommand U Navigate to a super method declaration of a method under the caret.
Navigate to Test/Test Subject Ctrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TShift Command TShift Command TShift Command 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+HomeCtrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeControl Command UpAlt Command HomeControl Command Up Navigate between files with complicated relationships between them.

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

Navigate to Next Method Alt+DownAlt+DownAlt+DownAlt+DownAlt+Down or Ctrl+Alt+EAlt+DownCtrl+Alt+DownCtrl+Shift+DownControl DownControl DownControl Alt Down Navigate to the next method declaration in the active editor tab.
Navigate to Previous Method Alt+UpAlt+UpAlt+UpAlt+UpAlt+Up or Ctrl+Alt+AAlt+UpCtrl+Alt+UpCtrl+Shift+UpControl UpControl UpControl Alt Up Navigate to the previous method declaration in the active editor tab.
Navigate to Opening Brace Ctrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open Bracket, Ctrl+Alt+Open Bracket or Ctrl+Alt+FCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketAlt Command Open BracketCommand Open BracketAlt Command Open Bracket Navigate to the start of the current code block.
Navigate to Closing Brace Ctrl+Close BracketCtrl+Close BracketCtrl+Close BracketCtrl+Close BracketCtrl+Close Bracket, Ctrl+Alt+Close Bracket or Ctrl+Alt+BCtrl+Close Bracket or Ctrl+AsteriskCtrl+Close BracketCtrl+Close Bracket or Ctrl+Shift+PAlt Command Close BracketCommand Close BracketControl Close Bracket or Control Shift P Navigate to the end of the current code block.
Back 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 Undo last navigation operation.

Note

On a OS X computer, you can also use the three-finger right-to-left swipe gesture.

Forward 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 Redo last undone navigation operation.

Note

On a OS X computer, you can also use the three-finger left-to-right swipe gesture.

Navigate to Previous Occurrence Ctrl+Alt+UpShift+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpAlt+UpCtrl+Alt+UpAlt Command UpAlt Command UpAlt Command Up Navigate to a previous found item.
Navigate to Next Occurrence Ctrl+Alt+DownShift+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownAlt+DownCtrl+Alt+DownAlt Command DownAlt Command DownAlt Command Down Navigate to a next found item.
Last Edit Location Ctrl+Shift+BackspaceCtrl+Shift+BackspaceCtrl+Shift+BackspaceCtrl+Shift+BackspaceCtrl+Shift+BackspaceCtrl+Shift+F2Ctrl+Shift+BackspaceCtrl+QShift Command BackspaceShift Command BackspaceControl Q Move through the most recent change points.
Navigate to Next Highlighted Error F2F2F2F2F2 or Ctrl+X, Back QuoteF2F2 or Ctrl+PeriodF2F2F2Command Period Navigate to the next found error/warning.
Navigate to Previous Highlighted Error Shift+F2Shift+F2Shift+F2Shift+F2Shift+F2 or Ctrl+Shift+X, Back QuoteShift+F2Shift+F2 or Ctrl+CommaShift+F1Shift F2Shift F2Shift Command Period Navigate to the previous found error/warning.

See Also

Procedures:

Reference:

Web Resources: