Community
Participate
Working Groups
Build Identifier: Eclipse 4.2m7 Build id: I20120503-1800 I'm trying to set Ctrl+Tab to the next editor action, but Eclipse does not make the binding correct when Eclipse is restarted (it works in Eclipse 3.7 and does NOT work in Eclipse 4.2m7). Reproducible: Always Steps to Reproduce: 1. Go to the keybinding preferences page 2. Copy the next editor action 3. Bind Ctrl+Tab to it 4. Try to use Ctrl+Tab: works for next editor action 5. Restart Eclipse 6. Try to use Ctrl+Tab: instead of doing the next editor action it'll traverse the visible UI items.
I would advise staying away from rebinding Ctrl+Tab to anything because in Eclipse, Ctrl+Tab is actually used for "tab traversal". In other words, typing either the "Tab" key or "Ctrl+Tab" will move focus to the next item in the "tab order". The reason that Ctrl+Tab was needed is to "tab out of" an editor, which consumes tab keys to allow typing TAB into the text. In addition, please note that "Shift+Tab" and "Ctrl+Shift+Tab" will traverse backwards. To get to the next editor in the stack, you can type Ctrl+PageDown when you are in an editor stack (or Ctrl+PageUp to go backwards). The "next editor" command is currently bound to Ctrl+F6 (hold ctrl down and keep typing F6 to go through the list of editors). Is the problem that you don't have F6 on you keyboard? Or maybe you need to hold an additional key down to type F6? Another alternative is to try Ctrl+3 if you have not tried it already. This takes you to any view or editor just by typing Ctrl+3 and then typing the first few characters of the view or editor that you wish to go to. Hope this helps.
Well, I find that to change editors, Ctrl+Tab is the only sane choice... for me this is a really serious regression from 3.x I do know the other alternatives but this is something I use so much that it's worth staying on 3.x for this reason alone... (in fact, I was going to upgrade to 4.x for all my needs and decided against it because of this -- Ctrl+number is way too far away for something that common -- and Ctrl page up/down is for traversing left/right, not for getting to editors chronologically). Also, take into account that most tabbed editor interfaces do use Ctrl+Tab for switching between tabs (notepad++, firefox, chrome, etc.), whereas Eclipse is the only one I know which has a strange default (Ctrl+F6), but it was fine until now because one could reassign to Ctrl+Tab...
Wow, you could rebind Ctrl+Tab in 3.x - I would have guessed that it wasn't possible there either. Paul and Eric, maybe he should be able to do this in 4.x too? I know that Ctrl+Tab does have different behavior in 4.x, but if it is bound to something else, maybe it should persist. Fabio, please do try Ctrl+3 (just for fun). I really mean the number 3 exactly. Type Ctrl+3 and then type the first few characters of the name of the editor you want to go to. You can use arrow keys and Enter to select.
(In reply to comment #3) > Paul and Eric, maybe he should be able to do this in 4.x too? I know that > Ctrl+Tab does have different behavior in 4.x, but if it is bound to something > else, maybe it should persist. He's successfully binding it, so the question is why is it not being saved on restart. Fabio, after you bind it once and restart, could you please attach these 2 files: .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs Thanx, PW
Created attachment 218213 [details] org.eclipse.ui.workbench.prefs
Created attachment 218214 [details] workbench.xmi
Created attachment 218215 [details] Screenshot of keybinding preferences Screenshot showing that after a restart, the command is still bound -- but it doesn't work.
(In reply to comment #3) > Wow, you could rebind Ctrl+Tab in 3.x - I would have guessed that it wasn't > possible there either. > > Paul and Eric, maybe he should be able to do this in 4.x too? I know that > Ctrl+Tab does have different behavior in 4.x, but if it is bound to something > else, maybe it should persist. > > Fabio, please do try Ctrl+3 (just for fun). I really mean the number 3 exactly. > Type Ctrl+3 and then type the first few characters of the name of the editor > you want to go to. You can use arrow keys and Enter to select. I'm aware of other ways to find the editor (Ctrl+E is what I usually use to find by the name -- Ctrl+3 would be another choice, but I don't really want any of those, I just want to go back to the editor I was before the current one, where Ctrl+Tab is the default for almost all applications with a tabbed-browsing experience, but it's bound to Ctrl+F6 in Eclipse). Also, as Paul pointed, it does work, but upon a restart it stops working -- although I discovered that I can unbind it, press "OK" (apply does not work), then bind it back and press "OK" again and it works again -- it's very annoying doing this on every restart but it does work :)
(In reply to comment #2) > Well, I find that to change editors, Ctrl+Tab is the only sane choice... for > me this is a really serious regression from 3.x > I opened this related bug report a long time ago: 272313 https://bugs.eclipse.org/bugs/show_bug.cgi?id=272313 I agree that ctrl+tab is the only sane choice for changing editors. It is the de facto standard, and it has the usability feature that I can do it with one hand. For all other options it seems that I have to use two hands, which interrupts my workflow. Btw. I also do this rebinding of keys, and I have never seen this error. Have you tried downloading a new eclipse installation to see if you can reproduce the error?
Defered to 4.3
Actually, I think this issue can be closed. I haven't been able to reproduce it anymore in the latest version.
Closed. Please reopen it if problem arise in the future.