Notepad++: is there a way to force it to keep the autoindented-whitespace type?

Posted by daVe on Super User See other posts from Super User or by daVe
Published on 2014-08-20T08:56:24Z Indexed on 2014/08/20 22:23 UTC
Read the original article Hit count: 293

Filed under:
|
|

I wonder if we can force notepad++ to respect the previous whitespace character when it autoindents a new line:

list[CR][LF]
····item1[CR][LF]
····item2[CR][LF]
--->|

(notepadd++ screenshot recreation showing hidden characters, because I don't have enough reputation to post images, sorry xP)

If I am indenting with tabs I want a tab when notepad++ does an autoindent.

But if I am indenting with spaces, I do want spaces.

© Super User or respective owner

Related posts about notepad++

Related posts about whitespace