ioquatix / script-runner

This package will run various script files inside of Atom. It currently supports JavaScript, CoffeeScript, Ruby, and Python. You can add more.
http://atom.io/packages/script-runner
Other
62 stars 23 forks source link

[Enhancement] Window Closing #33

Open ajclarke90 opened 9 years ago

ajclarke90 commented 9 years ago

Would it be possible to have the window automatically close post-script?

Obviously this would have to be a toggle-able thing since people may want to see their output, but for some of my more simple scripts, I just want to get back to the main atom window.

Or, perhaps like how atom's Find window works, just using Esc could close the new panel?

huba commented 9 years ago

It is definitely possible to add a hook to the child proccess' on close event. We do not have any user settings yet in script runner and thus we have no config page. @ioquatix do you think it's a good idea to add one?

ioquatix commented 9 years ago

Perhaps have a different command for doing this? Run and close?

ioquatix commented 7 years ago

@ajclarke90 What's your preference, a user option, or a different run action?

ioquatix commented 7 years ago

@ajclarke90 Would you be okay with run and close as a separate action, e.g. alt-shift-x