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

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
I just wanted to do exactly opposite. So Line Wrap option to default worked well for me. – Kuncevic Apr 29 at 6:57
up vote 16 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
The amount of indentation may be further customized: – Desik Oct 16 '15 at 21:46

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
That will auto-indent new lines, but it will not indent wrapped lines. – Ansgar Wiechers Oct 7 '12 at 14:28

You must log in to answer this question.

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