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

Copy output to clipboard #6

Closed zanona closed 10 years ago

zanona commented 10 years ago

Hey @ioquatix, thanks so much for this package. It’s amazingly useful. One thing I miss though, is the ability to copy the output to clipboard? Apparently even when right clicking the option does not appear. I am just not sure if this is a current Atom limitation or if it can be tweaked.

Thanks once again.

ioquatix commented 10 years ago

Thanks @zanona for the generous feedback.

I've noticed copy and pasting doesn't work and it bothers me too.

Do you have any ideas where to look firstly to get this to work? Do I need to add keyboard bindings perhaps?

zanona commented 10 years ago

hey @ioquatix, that sounds a good idea. While focusing on the preview pane and pressing cmd+C could copy the entire output to the clipboard. I am not sure whether it is possible to also copy only what is currently selected on the preview pane, but that would be a good options as well. I am sorry not being of any more help at the moment. I just switched to Atom and will probably dive into package development during the next few days :+1:

ioquatix commented 10 years ago

I might take a quick look at the issue tomorrow as it's been bothering me too.

zanona commented 10 years ago

Sounds great! All the best man.

Iyozhikov commented 10 years ago

Selected output could be copied with left mouse button pressed(Atom Linux x64)

ioquatix commented 10 years ago

Okay, I've committed a fix for this issue, it will be included in the next release, out in a day or two.

zanona commented 10 years ago

Thanks so much @ioquatix. You are appreciated ;)

ioquatix commented 10 years ago

Okay can you please try out 1.6.0 - it has both a keyboard shortcut (as typical for the platform) and a right click context menu for copy. Please give me your feedback.

zanona commented 10 years ago

@ioquatix that works flawlessly for me and it is a great help improving my productivity ;) thanks again