Is it possible to copy code from Visual Studio and paste formatted code to OneNote?

后端 未结 12 1697
时光说笑
时光说笑 2021-01-31 07:53

Is there a way to copy code from visual studio (C#) and paste it into OneNote, without losing the formatting?

I was able to do this, but only if I copy from VS, paste

12条回答
  •  北荒
    北荒 (楼主)
    2021-01-31 08:19

    Try this elegant solution directly from Microsoft: Productivity Power Tools 2015

    https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.ProductivityPowerTools2015

    The HTML copy-paste works nicely with OneNote.

提交回复
热议问题