Galooshi / atom-import-js

Atom plugin for ImportJS
MIT License
36 stars 3 forks source link

"Goto word" always opens new window when running Atom in dev mode #31

Closed nene closed 6 years ago

nene commented 6 years ago

I'm almost always running Atom in dev mode, as I'm using some packages that I'm also hacking on.

I checked the source code and seems like it should never open a new window: https://github.com/Galooshi/atom-import-js/blob/master/lib/import-js.js#L138

I tried various things:

...but no success. Only when I switch Atom to non-dev mode will it open a new tab as expected.

trotzig commented 6 years ago

That's annoying. It sounds like a bug in Atom to me, although there might be some way we can workaround this. Any help here is appreciated, I don't have the bandwidth to look into this myself.