Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Ctrl-tab requires pressing the enter key in Eclipse

Tags:

eclipse

I went into Window->Preferences->General->Keys in Eclipse to map Ctrl+Tab to "Previous Editor". At first it worked just like Visual Studio's Ctrl+Tab..I can switch the last file I was editing. Now, for some reason, Eclipse will not switch to the previous file after I release the Ctrl key. Instead, I have to press Enter after releasing the Ctrl key. It's very annoying.

Does anyone know how I can have Eclipse switch to the previous file by just pressing Ctrl+Tab?

Thanks

like image 824
User1 Avatar asked Jan 24 '11 23:01

User1


3 Answers

You're looking for this: Eclipse's Visual Studio Ctrl+Tab and Ctrl+Shift+Tab Equivalent.

By pressing Ctrl+F6 you get the behaviour (I think) you're looking for. On Window->Preferences->General->Keys you could switch the key binding to Ctrl+Tab.

like image 117
AxeEffect Avatar answered Oct 21 '22 17:10

AxeEffect


Go to the .metadata directory in the workspace's folder and open the file org.eclipse.ui.workbench.prefs located in .plugins\org.eclipse.core.runtime\.settings.

You have in it an option named STICKY_CYCLE which must be set to true. Put it to false or simply remove the whole line.

The matching line when exporting the preferences is : /instance/org.eclipse.ui.workbench/STICKY_CYCLE=false

like image 25
bobito77 Avatar answered Oct 21 '22 17:10

bobito77


Eclipse Juno Window Menu/Preferences/General Uncheck "Keep next/previous editor view and prespectives dialog open

fixed for me

like image 24
Systemsplanet Avatar answered Oct 21 '22 16:10

Systemsplanet