22

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
Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
mythealias
  • 390
  • 1
  • 2
  • 9

2 Answers2

25

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

0

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.

Indrek
  • 24,874
amiregelz
  • 8,297