blueimp / atom-open-terminal-here

Open the Terminal (Mac OS X, Linux) or Command Prompt (Windows) in the given directory via context menu or keyboard shortcut in the Atom text editor.
https://atom.io/packages/open-terminal-here
MIT License
47 stars 20 forks source link

Opens previously focused directory when using context-menu (unconfirmed) #11

Open pekkanikolaus opened 7 years ago

pekkanikolaus commented 7 years ago

When I right click any directory in Atom’s directory tree and choose „Open in Terminal“, it doesn’t take me to the directory I right clicked, but to the one that still has focus (I suppose). Makes it useless for me unfortunately.

blueimp commented 7 years ago

Hi @pekkanikolaus

thanks for your report, unfortunately I could not reproduce it.

Although right-clicking doesn't select the menu item directly, it still opens the correct location in the Terminal, as shown in this atom-open-terminal-here screen recording (I recorded this with Atom 1.10.2 on OSX 10.12).

Regarding the right-clic focus-change, atom issue https://github.com/atom/atom/issues/2991 might provide more insight.

blueimp commented 7 years ago

Closing this since there was no response from @pekkanikolaus.

pekkanikolaus commented 7 years ago

Apologies for the delayed response.

I tried again and it's definitely buggy for me: even when I left-click a directory in the file tree first, when right-clicking and choosing "Open in Terminal" I am taken to the directory of the file that is currently open and focused.

This is on macOS, with Nuclide installed. Let me know if there's anything else I can try or info I can provide.

blueimp commented 7 years ago

No worries, I'm gonna reopen this issue since this is still happening for you. Unfortunately I'm not sure what I can do about it without being able to reproduce it.