I've copied some sample code from Visual Studio 2013 (in Microsoft Windows 8). I'm doing ctrl + v to paste into an online Google Document.

The paste loses all the formatting and text. Is there anyway to get around this?

We don't want to paste a screenshot, as we want editable text which retains color + formatting.

  • Import a screenshot....
    – Jacob Jan
    Commented Apr 22, 2014 at 11:32
  • We want editable text. I'll amend the question
    – DermFrench
    Commented Apr 22, 2014 at 13:39

2 Answers 2


Without a sample from Visual Studio 2013 (in Microsoft Windows 8) to hand, I can't be sure but believe enhancements to Docs since OP was posted have changed the circumstances upon which the question was based. Certainly now Ctrl+v does not lose "all the formatting and text", necessarily.

For example the clip on the left is from Word and on the right from Docs after the text in Word was pasted there:

Word Docs

There were changes around the time the web clipboard was 'retired' in September 2017.


I use this way: from Visual Studio I copy to MS Word, from there I copy to Google Doc so the fonts are retained.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.