Cory Klein
Cory Klein

Reputation: 55870

Keyboard shortcut for switching tabs in a pane

When I have focus on my Debug panel:

enter image description here

I would like to use the keyboard to switch to the "Console" tab, visible right next to the currently selected "Debugger" tab.

There are several Keymap settings that refer to switching Editor tabs, but this is not a code editor window, it is an IntelliJ specific pane. How can I specify a keyboard shortcut for navigating tabs in an IntelliJ pane?

Upvotes: 11

Views: 6260

Answers (2)

Jeeter
Jeeter

Reputation: 6105

Right-clicking the tabs gives the menu: enter image description here

(on Mac):

Next tab: Ctrlright

Prev tab: Ctrlleft


Note that on Mac these keystrokes are automatically configured to switch Spaces. You need to go into Keyboard settings to turn it off

Upvotes: 18

UserF40
UserF40

Reputation: 3611

alt+right to move right a tab.

alt+left to move left a tab.

You will need to have the correct panel of tabs in the current context for effect. To get to these you can use the shortcuts which are the form alt+NUM.

alt+5 for instance would jump you to the debug panel.

Upvotes: 6

Related Questions