Closed SmartManoj closed 4 years ago
There is already a feature as part of SOX that lets you copy code blocks to the clipboard ("Add a button to code in posts to let you copy it" under "Extras").
Is this what you're looking for?
Yep but with a shortuct
How should the shortcut know which code block on the page to copy?
On Sat, 13 Jul 2019, 04:13 SmartManoj, notifications@github.com<mailto:notifications@github.com> wrote:
Yep but with a shortuct
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/soscripted/sox/issues/416?email_source=notifications&email_token=ACDQ3DWWKTGPEZP63DFETV3P7FB43A5CNFSM4ICLNTPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3IEDY#issuecomment-511083023, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACDQ3DUMIAGELTXDAWB5SRTP7FB43ANCNFSM4ICLNTPA.
copy when hovering the snippet
I'm not sure if this would be very useful then, because if you have to hover over the code block, you're already using your mouse -- it's probably easier to just click the button using the existing feature at that point!
On Sat, 13 Jul 2019 at 08:30, SmartManoj notifications@github.com<mailto:notifications@github.com> wrote:
copy when hovering the snippet
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/soscripted/sox/issues/416?email_source=notifications&email_token=ACDQ3DT7XRRSKGCRZ2ZMSXDP7GABNA5CNFSM4ICLNTPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3L2AA#issuecomment-511098112, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACDQ3DRTVO3O2D2YDO2VIFDP7GABNANCNFSM4ICLNTPA.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
The button is too small and hard to click
I can make the button bigger if that's the issue you find with it?
click the button
Harder to move the cursor to corner
There is already a feature as part of SOX that lets you copy code blocks to the clipboard ("Add a button to code in posts to let you copy it" under "Extras").
Is this what you're looking for?
Not working
@SmartManoj again, please could you post another issue with more details, and steps to reproduce, otherwise comments on closed issues tend to get buried, and because this issue is for a new feature!
Describe the feature you'd like A clear and concise description of what you would like to see SOX implement.
pressing c inside code will copy ; Currently c is mapped to comments
Use case A short example of where this feature could be used
Suggested descriptions If you have suggestions for a short concise description (to include in the settings dialog), please mention them!