Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .