Search
OneNoteGem
  • Home
  • Addins
    • Windows Office Addins >
      • Gem for OneNote
      • OneNote Search Bar
      • OneNote Gem - Favorites
      • OneNote Batch
      • Pons for MindManager and OneNote
      • Mind Map for OneNote
      • Pons for Visio and OneNote
      • Row to OneNote
      • Auto OneNote
      • Favorite to OneNote
      • Bridge for EndNote and OneNote
      • Anchor to OneNote
      • Anchor to OneNote for PDF
      • Bring to OneNote
      • Gem Table for OneNote
    • Windows UWP Addins >
      • Gem Menu for OneNote UWP
      • CiteBoard for OneNote
      • OneReader
      • OneMind for Windows OneNote
      • OneNote Reminder Cloud (UWP)
      • OneNote Batch Cloud (UWP)
    • Mac Addins >
      • Gem Menu for Mac OneNote
      • CiteBoard for OneNote
      • Bring to Mac OneNote
      • OneMind for Mac OneNote
      • OneNote Reminder for Mac
      • OneNote Batch for Mac
      • Fix One for Mac - Fix OneNote Login, Sync Tools
    • Android Addins >
      • CiteBoard for OneNote
      • Fix One for Android - Fix OneNote Login, Sync Tools
    • Cross-Platform Addins >
      • OneNote Reminder
      • OneMind for OneNote
      • CiteBoard for OneNote
      • Fix One - Fix OneNote Login, Sync Tools
    • Markdown Addins >
      • Gem for OneNote
      • One Markdown
    • Mind Map Addins >
      • OneNote Gem - Favorites
      • Pons for MindManager and OneNote
      • Mind Map for OneNote
      • Pons for Visio and OneNote
      • OneMind for OneNote
    • Other Addins >
      • One Markdown
      • Clip to OneNote
      • WordNote
      • OneShare
      • Fix One for Windows - Fix OneNote Login, Sync Tools
  • Buy
  • Documents
  • FAQs
  • Templates
  • Support
  • Release
  • WordNote
Gem Table for OneNote
 
 
The table of merged cells for OneNote

The code copied from OneNote has errors in the Android Studio (Space issues)

2019-11-24 00:18
 
In this article, let's repeat a scene of the code issue occurred.
 
Copy Code from Android Studio

In Android Studio, press Ctrl+C to copy a piece of code.
Copy Code from Android Studio
 
Code in Outlook.com

Then, paste the code into Outlook, and send the code as email to a teammate.
Code in Outlook.com
 
Then, login Outlook.com in browser, and navigate to this email. Select this piece of code and press Ctrl+C to copy them to clipboard.
(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 OneNote from Outlook.com
 
In OneNote, select this piece of code, and press Ctrl+C  to copy to clipboard.

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)
Paste Code to Android Studio from OneNote
 
Gem's Copy Feature

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.
Gem's Copy Feature
 

 
Download Gem for OneNote

Related Documents

  • EXE: Delete an Empty Paragraph in Each Empty Paragraph block on the Current OneNote Page
  • EXE: Convert OneNote Empty Headings to Normal Paragraphs by One Click
  • Quickly Extract Text from Content as Page Title in OneNote
  • How to use Gem's Cornell Note Template with Fields in OneNote?
  • How to Resolve OneNote Lost all Spaces When You Copy Code from Android Studio and Paste to OneNote?
Command Line
Tag System
MindMap Add-Ins Comparison
Search Add-Ins Comparison
One Markdown Syntax
Table Formula
Gantt

Gem Menu Templates
Repair OneNote
OneNote Download
English website Chinese website
Mobile Site
Copyright © 2011-2025 Digital GemSoft. OneNoteGem.com All Rights Reserved.