up vote 2 down vote favorite 1

Annoyingly, in ALL Jetbrains IDEs, when you press ENTER to open a file in a new tab, the tab does not also become active.

For example when navigating within the project window using arrow keys, when i then open a file using ENTER, i have to additionally invoke the 'switcher' with ctrl + tab if i want to start moving about/typing within that file.

This is very very annoying as it is pretty standard in IDEs that when you open a file, it also becomes active.

If i double-click the file the opened tab does become active - but i don't want to use the mouse or trackpad, it's annoying and tiring. It seems a shame to have so many keyboard shortcuts only to make the user return to the mouse/trackpad just for that ...

IS THERE a shortcut key to do this? Any setting i can change? I have looked hard but haven't even found other people complaining about this - they must be there!

intellij-idea pycharm webstorm rubymine jetbrains share | improve this question asked Aug 16 '14 at 8:00 Robin Smith 116 7 add a comment  | 

1 Answer 1

active oldest votes up vote 1 down vote accepted

Finally found the answer: assign the keyboard shortcut ENTER to the command "Jump to source".

This can be declared in XML keymap file like this:

<action id="EditSource">
  <keyboard-shortcut first-keystroke="ENTER" />
</action>
share | improve this answer answered Aug 16 '14 at 9:20 Robin Smith 116 7 add a comment  | 

Your Answer

  draft saved draft discarded

Sign up or log in

Sign up using Google

Sign up using Facebook

Sign up using Email and Password

Post as a guest

Name Email

Post as a guest

Name Email discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged intellij-idea pycharm webstorm rubymine jetbrains or ask your own question.

相关推荐:java - Request processing failed; nested exception is org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned

d;private String uname; private String password;private String email;public Integer getUid() { return uid;}public void setUid(Integer uid) { this.uid = uid;}public String getUname() { return uname

相关推荐:Hibernate throws org.hibernate.HibernateException: Unable to resolve property: id

ase, I've begun to throw org.hibernate.HibernateException: Unable to resolve property: id. Previously the User.hbm.xml defined username to be the index, while in actuality id is the database key. This came into play when

快照源:http://my.oschina.net/u/2308739/blog/394076