Auto indent
-
I am writing a HTML file and it’s not auto indenting. I have read online documentation, but it is mostly refering to older versions of Notepad++
Can anyone guide me in the right direction?
Thanks
-
I’m not sure what documentation you are referring to. The only official online docs, npp-user-manual.org, which you can get to by following the ? menu’s Notepad++ Online Document menu entry, is up to date to v7.9.2, the newest release.
As described there, the auto-indent feature just keeps the same indent as the line above it. So if you indent one line while typing, Notepad++ will maintain that indentation on subsequent lines, until you change the indent level one way or the other.
If you use a plugin like XML Tools, you can use the plugin’s menu to “pretty print” the XML/HTML, but that’s not a live as-you-type formatting.
-
@Justin-Gaughan said in Auto indent:
and it’s not auto indenting
It would maybe help if you said something about your expectation for auto-indenting, if @PeterJones 's explanation does not satisfy.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login