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

前端 未结 11 1301

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

11条回答
  •  执念已碎
    2021-02-11 15:55

    This Microsoft Office site offers a workaround that involves writing a macro to replace ctrl+v functionality to paste plain text all the time, but that may not be what you want. You can alternatively remap an unused shortcut (ctrl+?) to provide you with this functionality so you don't have to keep enabling / disabling the macro.

提交回复
热议问题