views:

384

answers:

3

Can I configure IntelliJ on Windows to use Ctrl-Tab for switching between files?

Googling finds this old thread that says "no".

+4  A: 

You can't get a pop-up, but you can switch between open tabs with alt-right and alt-left arrow keys, and you can press ctrl-e to get a list of recently opened files, which is almost the same thing.

EDIT: (In response to comment) Oh, if that is what, it is just a question of changing the KeyMap. You go to File->Settings and under there you have a keymap option. You will have to create a new KeyMap (can't change the default) by clicking copy, and then look in the other section for "Select Next Tab in multi-editor file" and change/add the keymap you want. Ctrl-Tab is legit - it is just defaulted to switching between splits.

EDIT 2: (In response to second comment) The function you are looking for in IDEA (at least as close as it gets) is Go Back, which is in the other group of the key map as well. That being said, you said you were looking for how it works in firefox (don't know about Visual Studio) and "Select Next Tab" is the firefox behavior.

Yishai
I was hoping to keep the key binding I'm used to from Firefox, Visual Studio, ...
ripper234
This is not 100% correct - CTRL-Tab finds the last tab that you opened, while "Select Next Tab" finds the next tab in the arbitrary tab order of the editor.
ripper234
+4  A: 

Have you tried downloading and installing the TabSwitch plugin? It will allow you to cycle through your open editors and display them in a pop-up window when you hit Alt+a. This default keymapping is easy enough to change to Ctrl+Tab in the Keymap IDE Settings.

Keith
+1  A: 

TabSwitch is certainly the answer to this question. Without doing this, you can use Ctrl + E to pop up the list of recent files and navigate there. So jumping to the most recent file would be Ctrl+E.

joeslice