[BUG] Opens wrong window
JustinAiken opened this issue · 3 comments
JustinAiken commented
Instead of opening up a new tab in my active window, it seems to pick one at random...
danhper commented
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 commented
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.
piccolbo commented
Also my I add bring atom to foreground? Or should it be a different issue?