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

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

    You have hit the nail on the head on the process. The application that you are pasting to must be able to accept the code with the formatting properly. MS Word is one of the few that handles this properly, therefore, going from VS -> Word -> OneNote will work. But VS -> OneNote doesn't work.

提交回复
热议问题