In Android Studio, press Ctrl+C to copy a piece of code.
Then, paste the code into Outlook, and send the code as email to a teammate.
(In fact, this piece of code have changed in browser)
Paste Code to OneNote from Outlook.com
Press Ctrl+V to paste the code into OneNote.
We still didn't find anything unusual.
Paste Code to Android Studio from OneNote
Press Ctrl+V to paste the code into Android Studio, and the code hint error was found.
From the error tip of Android Studio, it was found to be the spaces errors.
(Obviously, the spaces are replaced in browser)
Gem also provide "Copy" feature. It copy selected text to plain text to clipboard.
Copy the text as plain text, and paste to Android Studio, it has no spaces error.
Gem's Copy feature located in Gem for OneNote "Edit" tab.