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.

How can I change Notepad++ setting so that wrapped lines gets indented automatically?

Right now I have something like this:

some text that wraps to
next line
    some indented text 
that also wraps

What I want to get is:

some text that wraps to
next line
    some indented text 
    that also wraps
share|improve this question

2 Answers 2

up vote 11 down vote accepted

In Settings → Preferences... → Editing set the Line Wrap option to Indent.

share|improve this answer
    
This worked. I was using older version, so did not have the setting available. –  mythealias Oct 7 '12 at 14:46
    
Strange, I have to use the Line Wrap setting Aligned to get what is shown in the original question. If I use Indent, the wrapped line is indented 1 step further (to indicate that it is a wrapped line, I assume) –  Rabarberski Nov 2 '12 at 18:25
    
For this to work, remember to enable Word wrap from the menu: View->Word wrap –  matsr Sep 16 '13 at 12:08

You need to enable auto indentation in Notepad++:

Settings → Preferences → Misc. → check "Auto-indent".

You can also click the "Show Indent Guide" button for better view.

share|improve this answer
4  
That will auto-indent new lines, but it will not indent wrapped lines. –  Ansgar Wiechers Oct 7 '12 at 14:28

Your Answer

 
discard

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.