简体   繁体   中英

Ctrl-tab in IntelliJ IDEA

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

Googling finds this old thread that says "no".

You can't get a pop-up, but you can switch between open tabs with Alt + and Alt + , 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.

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.

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 + Enter .

If you are looking for the functionality you normally get by clicking ctrl + tab with web browsers, changing "Select Next Tap" can achieve that.

Window -> Editor Tabs -> Select Next Tap

You can't enter 'Ctrl+Tab' using a keyboard, but you can select it from the drop-down menu:

Ctrl+Tab

It already works that way. You don't need to configure IntelliJ to use Ctrl + Tab for switching between files, it comes installed to accomplish this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM