Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CTRL-TAB in NetBeans not working as it should?

Tags:

netbeans

Currently, if I have 4 tabs and I press CTRL TAB, it does not go from 1 to 2, then from 2 to 3 and so on. It jumps between windows in the order I last had them open.

  1. Is there a way to switch Zend so that if I press CTRL-TAB it goes from 1 to 2, 2 to 3 and so on.
  2. Ideally, will this also allow for CTRL-SHIFT-TAB to go from 4 to 3, then 3 to 2 and so on?
like image 284
coderama Avatar asked Jun 21 '13 12:06

coderama


1 Answers

Depending on the version of your NetBeans installation, the Ctrl+Tab, Ctrl+Shift+Tab shortcuts are hardcoded to the PopupSwitcher which appears when pressing Ctrl+Tab/Ctrl+Shift+Tab a little longer or repeatedly.

The "proper" tab switch you're probably looking for is achieved when pressing Ctrl+PgUp/Ctrl+PgDown. That should switch between tabs in a circular manner.

As for the current version (7.3.1), there seems to be no way to change the key bindings (Tools|Options|Keymap) to Ctrl+Tab/Ctrl+Shift+Tab, because they are caught by that PopupSwitcher.

The only solution that comes to my mind is to either catch Ctrl+Tab, Ctrl+Shift+Tab a level before NetBeans (with something like AutoHotkey) and forward Ctrl+PgUp/Ctrl+PgDown. Or you could modify the sources and build NetBeans yourself. See NetBeans sources, module core.windows, package org.netbeans.core.windows.view.ui.popupswitcher.

like image 157
bcause Avatar answered Oct 25 '22 12:10

bcause