2

I usually indent code files with two spaces, not the default in notepad++. That leads to the problem that if I type two indents, it gets converted to a tab, and then I have to delete it and type in its place two spaces.
The problem is that I can't just change the tab indentation length or turn it off at all, because I'm also working on a file which has strict tab-indentation rules.

My question is: Is there any way to make notepad++ indent a line with the same spacing as on the previous line?

1 Answer 1

2

Check Notepad++ plugin "TabIndentSpaceAlign": http://code.google.com/p/kereds-notepad-plus-plus-plugins/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.