atomic-chrome-atom icon indicating copy to clipboard operation
atomic-chrome-atom copied to clipboard

[BUG] Opens wrong window

Open JustinAiken opened this issue 8 years ago • 3 comments

Instead of opening up a new tab in my active window, it seems to pick one at random...

JustinAiken avatar Feb 03 '16 00:02 JustinAiken

Thanks for reporting. It currently opens a window in the editor in which the server started, but it would indeed be better to use the last used window. I think this should be possible, I am going to check Atom API.

danhper avatar Feb 03 '16 00:02 danhper

I looked around the Atom API but could not find any way of detecting all open instances of Atom. If there is not any way to do this with the existing Atom API, I guess we are going to need to do some IPC between Atom windows. This issue is also starting to bug me a little, so I will tackle it as soon as possible.

danhper avatar Feb 09 '16 16:02 danhper

Also my I add bring atom to foreground? Or should it be a different issue?

piccolbo avatar Nov 22 '16 02:11 piccolbo