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

后端 未结 12 1698
时光说笑
时光说笑 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:41

    The best way of keeping the format of your code completely is constituted from two steps:

    1. In the first step right click the code and click "copy" then paste it in "wordPad"
    2. In the second step copy from "WordPad" to word.

提交回复
热议问题