I'm learning python and am making notes in and adding code snippets to MS OneNote. I'd like be able to copy from the PyCharm editor and paste with formatting. However, all spaces are lost on pasting. Seems to be something specific about the PyCharm / OneNote combination (e.g. works fine with VS).
My current workaround is to paste into Notepad++ with that using Python formatting, copying from there and pasting into OneNote. Obviously a bit of a pain.
I can't find any settings on either programme to get around this.