Can we please, finally, have a Select All / Copy All button for code on Stack Overflow?
Yes, this question, again.
Shortcut or button for copying posted code from Stack Overflow
The main reason I am asking this again is because this feature request has been ignored (not denied that I am aware of, but then I'm not sure how obvious it would be that it was denied) for years. There is literally a comment from three years ago complaining about how this feature request had already existed for two years.
Meanwhile, with tablets and smartphones saturating third-world countries in which access to computers is scarce and Internet connectivity was practically non-existent five years ago (see: Burma) it is more important than ever from a usability standpoint. I personally save snippets relevant to a problem I'm looking to solve while on a smartphone, and a select all or copy code button would be very helpful.
Pros:
- Even on the computer selecting a single line that extends beyond the right border can be an exercise in frustration.
- Selecting large amounts of code is cumbersome.
- Selecting anything on a tablet/phone is cumbersome.
- It is all-around faster for everyone planning on pasting into an IDE or etc.
- It is faster for people trying to help a newer user by creating a jsfiddle, which typically requires the copying of 3 different large blocks of code.
- It is more accurate for pasting anywhere. I have often accidentally copied other things or just missed a semicolon, etc.
Cons:
- It normally only takes a few seconds and a few more steps, never mind the caveats mentioned above or tablets/phones.
- People are lazy and we should fight against laziness. And air conditioning, and credit.
- This would encourage people to copy-paste code from one answer into another, because even though a one-hit button would only save three or four steps and nobody should sweat the few seconds it normally takes, those few seconds will somehow deter someone from copy-pasting and cause them to write out their own answer for like 10 minutes.