Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way I could copy the source code from Eclipse IDE and paste it on PowerPoint preserving the formatting?

When I try to do it I get zero indentation when pasting it to PowerPoint 2010.

The copy-paste from Eclipse to Microsoft Word works just fine, but not with PowerPoint.

share|improve this question
This is similar to… In my case I had folded code and copying did not keep the formatting. To solve it, make sure you unfold all code, as shown on:… – nkatsar Nov 10 '14 at 12:56

2 Answers 2

Depending on your version of office, there are always the three options available while pasting in any office product, they are

  1. Use Destination Theme.
  2. Keep Source Formatting. (suitable for your case)
  3. Keep Text Only.

However, I would suggest if you are doing this for only presentation purpose, you should take screenshots from eclipse and use them with suitable styles in your presentation. Hope this helps.

share|improve this answer
For some reasons I lose the indentation in the formatting when I paste the code into power point, 2010. but the coloring remains intact. – skip May 18 '14 at 8:45

If I paste from Eclipse straight to PowerPoint I get some format mistakes. Some things stay bold or colored. But if you go from Eclipse to Word and then copy from Word to PowerPoint then the formatting is preserved. This is true for PowerPoint 2013 too.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.