Copy-paste code from Visual Studio, but paste UNFORMATTED code

前端 未结 9 1831
春和景丽
春和景丽 2021-02-11 15:34

Is there any way to force Visual Studio to copy selected code to the clipboard as unformatted text?

When I am copy-pasting code into Word or more often Outlook

9条回答
  •  梦如初夏
    2021-02-11 15:45

    In Outlook 2007, I've changed my default paste to do text only. Go to Editor Options | Advanced Under the "Cut, copy, paste" heading choose Pasting from other programs: [Keep Text Only]

    And if you still want to paste formatted (less often in my case), use paste special...

提交回复
热议问题