krasa / FrameSwitcher

IntelliJ plugin - https://plugins.jetbrains.com/plugin/7138?pr=idea
Apache License 2.0
40 stars 5 forks source link

Activating editor after switch #5

Closed PsychodelEKS closed 10 years ago

PsychodelEKS commented 10 years ago

How do one activate the editor after switching frame? My opens fine, but I can't find where focus is after switch (may be in the old frame) so I have to click with the mouse in the editor window or use Alt+1 to activate "Project" tool window and then activate editor with Esc. Is there any way to activate editor automatically after switch? PhpStorm 7.1.3 133.982

krasa commented 10 years ago

Right, it should work better, and it will.

krasa commented 10 years ago

The bad thing is that different OS and different JDK behave differently...

krasa commented 10 years ago

Done

PsychodelEKS commented 10 years ago

It work fine for already opened frames for me, but when openning the previously closed one - it does not. I can see cursor for a fraction of a second in the editor, but then the editor looses focus and "Project" tool window is activated, I have to manually hit Esc to return to editor.

krasa commented 10 years ago

Same for me on Win XP. It is IntelliJ bug/feature.

PsychodelEKS commented 10 years ago

May be just dumbly emulate Esc key press in that case?

krasa commented 10 years ago

Yea, I will try to hack it until they fix it http://youtrack.jetbrains.com/issue/IDEA-121348