PyCharm 4.0.0 Web Help

Function Shortcut Use this shortcut to...
Close Active Tab Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+Shift+4Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+WControl Shift F4Shift ⌘ F4⌘ W Close an active tab in a tool window (for example, Find tool window).
Close Editor Ctrl+F4Ctrl+F4Ctrl+4Ctrl+F4Ctrl+F4, Ctrl+X, K or Ctrl+X, 0Ctrl+F4Ctrl+F4 or Ctrl+WCtrl+F4⌘ W⌘ F4⌘ W Close an active editor.
Edit Source F4F4F4F4F4F4F4F12 or Ctrl+Shift+E⌘ Down or F4F4F3 Open an editor for the selected item or items and give focus to the last opened file.
Escape EscapeEscapeEscapeEscapeEscape, Escape or Ctrl+GEscapeEscapeEscapeEscapeEscapeEscape Depending on the context:
  • In the editor: close pop-up windows, terminate search, or remove highlighting.
  • In a tool window: return focus to the editor.
Export to Text File Alt+OAlt+OAlt+OAlt+OAlt+OAlt+OAlt+OAlt+OControl OControl OControl O Export contents of a tool window to a text file. This feature applies to the Changes, Messages, and other tool windows that provide the export button img on the window toolbar.
New... Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertCtrl+N or Alt+InsertAlt+InsertAlt+Insert⌘ N or Control EnterControl N or Control Enter⌘ N or Control Enter Create a new class, file or directory. See Populating Modules.
Save All Ctrl+SCtrl+SCtrl+SCtrl+SCtrl+X, Ctrl+SCtrl+SCtrl+S or Ctrl+Shift+SCtrl+S⌘ S⌘ S⌘ S Save all files and settings.
Select Next Tab Alt+RightAlt+RightAlt+RightAlt+RightAlt+Right, Ctrl+X, N or Ctrl+X, OAlt+RightCtrl+Page DownCtrl+F6, Ctrl+Alt+Left or Ctrl+Page DownShift ⌘ Close Bracket or Control RightControl Right⌘ F6 or 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+LeftAlt+LeftAlt+LeftAlt+LeftAlt+Left or Ctrl+X, PAlt+LeftCtrl+Page UpCtrl+Shift+F6, Ctrl+Alt+Right or Ctrl+Page UpShift ⌘ Open Bracket or Control LeftControl LeftShift ⌘ F6 or 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+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+Enter, Shift+Alt+J or Ctrl+Shift+MAlt EnterAlt Enter⌘ 1 Display intention actions (if any) for the code where the caret is currently located, or the selected GUI component in a form.
Synchronize Ctrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YAlt ⌘ YAlt ⌘ YAlt ⌘ Y Detect all externally changed files and reload them from disk.
View Source Ctrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+Enter⌘ Enter⌘ Enter⌘ 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.

See Also



Web Resources: