Take the 2-minute tour ×
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 stackoverflow.com/questions/8386299/… 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: cmanios.wordpress.com/2012/03/08/… –  nkatsar Nov 10 '14 at 12:56

1 Answer 1

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

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.