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

How to Resolve OneNote Lost all Spaces When You Copy Code from Android Studio and Paste to OneNote?

2019-11-24 00:18
 
Copy Code from Android Studio

Select a piece of code, and press Ctrl+C copy them to clipboard from Android Studio.
Copy Code from Android Studio
 
Paste the Code to OneNote, It will Lost all Spaces

It is very strange, OneNote will keep the highlight, but lost all spaces when you press Ctrl+V to paste the code to OneNote.
Paste the Code to OneNote, It will Lost all Spaces
 
Using Gem's Paste Feature to Keep the Spaces in Code

You can using the Gem's Paste Rich Text feature to keep the spaces in code in OneNote.

After copy the code from Android Studio, in OneNote, click Gem for OneNote -> "Edit" tab -> "Paste Rich Text" feature. Gem will paste your code to OneNote, it can keep the highlight and spaces.
Using Gem's Paste Feature to Keep the Spaces in Code
 
In addition, there may be some code editors that have similar situations, you can also try this "Paste Rich Text" feature to keep space.
 
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?
  • The code copied from OneNote has errors in the Android Studio (Space issues)
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.