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

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

I like to print out my code sometimes, so I was wondering if there was a way to get Word (2007 for me) to automatically preserve the amount of tab space for the whole of a wrapped line.

Interestingly, even Visual Studio 2010 doesn't have this option, but a plugin can be used to allow this.

enter image description here

The screenshot above, shows what I want Word to do.

share|improve this question
When you paste your code in from VS, the tab space is not preserved (Note: it is not required to use an extension to get that behavior, a check box must be checked, not quite the biggest deal (it may even be the default, I don't think I changed it, and that is how mine operates)). – soandos Jan 17 '12 at 15:12

The tab space won't be preserved when copying from VS to Word. However perhaps you will have more luck in directly printing from Visual Studio instead. Please see the following link for details:

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.