Possible Duplicate:
Shortcut for copying posted code from Stack Overflow

I think we need a button to copy the code snippet into our clipboard.

MSDN uses this feature also. It is cool!

marked as duplicate by Jon Seigel, Shog9, mmyers Dec 23 '10 at 18:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    possible duplicate (but I would like to have it): meta.stackexchange.com/questions/32625/… – Carlos Heuberger Dec 23 '10 at 12:27
  • SO is not a "snippet site". If you're copying out entire code blocks to use in your projects, you're doing it wrong. Interestingly, this nearly always applies to MSDN as well: code blocks are written to illustrate a specific concept, and are almost never suitable for production use. – Shog9 Dec 23 '10 at 18:32
  • @Shog9: You are thinking in a wrong view point. – xport Jun 19 '11 at 17:48
  • @xport: Feel free to correct me... (on the other question). – Shog9 Jun 19 '11 at 21:51
  • @Shog9: You should not generalize that copying and pasting are only used in production project. It is totally very narrow viewpoint. In tex.stackexchange.com, a questioner usually needs to provide a minimal working code snippet so other people can reproduce the issue. Providing the copy to clipboard button will make it more convenient since we no longer need to scroll until the end of the code. – xport Jun 19 '11 at 22:20
  • @xport: I suggest you post on meta.tex.stackexchange.com then, providing links to posts where such a feature would prove beneficial, and let your peers contribute their support and ideas. Obviously this is a rather different use-case than the one MSDN supports (incidentally, MSDN's copy feature does not work in Firefox or Chrome - AFAIK, the current hack for these involves a Flash applet, so this is kind of a PitA to implement; you'd want to demonstrate a strong benefit from having it vs. some other solution). – Shog9 Jun 19 '11 at 23:02

Browse other questions tagged .