PyCharm 3.4.0 Web Help

In this section:

To navigate from the current tab to the next or previous tab, do one of the following
  • Right-click the current editor tab and choose Select Next/Previous Tab on the context menu.
  • Press Alt+RightAlt+RightAlt+RightAlt+RightAlt+Right, Ctrl+X, N or Ctrl+X, OAlt+RightCtrl+Page DownCtrl+F6, Ctrl+Alt+Left or Ctrl+Page DownShift Command Close Bracket or Control RightControl RightCommand F6 or Alt Command Right or Alt+LeftAlt+LeftAlt+LeftAlt+LeftAlt+Left or Ctrl+X, PAlt+LeftCtrl+Page UpCtrl+Shift+F6, Ctrl+Alt+Right or Ctrl+Page UpShift Command Open Bracket or Control LeftControl LeftShift Command F6 or Alt Command Left. So doing, the focus moves to the editor tab located next to the right or to the left from the active editor tab.
  • Press Ctrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+X, BCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabControl Tab or Control Shift TabControl Tab or Control Shift TabControl Tab or Control Shift Tab to use the Switcher.

This approach allows jumping from one tab to another as your editing session requires. While you move between the editor tabs, PyCharm remembers the caret position within each opened file.

To go back and forth through the history of visited tabs, do one of the following
  • On the main toolbar, click arrowBack.png or arrowForward.png.
  • On the main menu, choose Navigate | Back / Forward.
  • Press 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 or 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.

This approach enables you to move back and forth through the history of your navigation, same way as it is done in a Web browser. As you move from file to file during your editing session, PyCharm keeps track of the visited locations and enables you to go back, using the Navigate | Back / Forward commands.

Note

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

2.5+
To view all editor tabs and select the active editor

If all opened tabs are shown in a single row, some of the tabs may become invisible. PyCharm helps display the list of the opened editor tabs that did not fit in the editor window and have become invisible whereupon you can choose the tab to activate.

  1. Do one of the following:
    • On the main menu, choose Window | Editor Tabs | Show All Tabs
    • Click show-all-tabs

    The list of all the tabs that are opened but invisible appears. So doing the names of the tabs, which are currently visible, are displayed on the light background; the names of the tabs outside of the main window are shown on the darker background.

  2. Click the name of the desired editor tab:

    view-all-tabs

    The selected editor tab becomes active and gets the focus.

The command Show All Tabs and the icon show-all-tabs are only available when:

  • The Show tabs in single row check box is selected in the Editor tabs page of the Editor settings.
  • Some of the opened tabs are not visible because they do not fit in the editor window.

See Also

Procedures:

Reference:

Web Resources: