randy3k / remote-atom

rmate for atom
https://atom.io/packages/remote-atom
MIT License
85 stars 16 forks source link

Files don't open in most recently used window and does not bring Atom to the foreground #22

Closed mafredri closed 8 years ago

mafredri commented 8 years ago

When I have multiple Atom windows open, files keep opening in the first, not the most recently used one. Opening a file does also not bring Atom to the foreground. This is quite annoying and often results in the user (me) believing remote-atom isn't working.

randy3k commented 8 years ago

It should be fixed now.

mafredri commented 8 years ago

Thanks for the prompt fix! It definitely fixes the issue of focusing atom, but it still doesn't open in the most recently active window, no matter what I do it keeps opening in one specific Atom window.

randy3k commented 8 years ago

Atom windows do not communicate as far as I know, see. Each window is a new process, there are not easy ways to tell another window (the active window) to do something, for example, opening a file. I am afraid that the second issue is unfixable, at least, for the moment.

mafredri commented 8 years ago

I see, thanks for the explanation! It's a shame that Atom doesn't support this, one can hope that it gets better down the road.

Anyway, this new focus feature makes it so much better already, thanks a lot for the plugin!

randy3k commented 8 years ago

:)