Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to indent HTML tags in Notepad++

Tags:

notepad++

I installed Notepad++. How to make tags automatically indent especially when nesting? All the tags seem to be lining up to the left of the screen.

like image 327
Deke Avatar asked Jan 28 '15 18:01

Deke


1 Answers

Use the XML Tools plugin for Notepad++ and then you can Auto-Indent the code with Ctrl+Alt+Shift+B .For the more point-and-click inclined, you could also go to Plugins --> XML Tools --> Pretty Print.

like image 174
ahjohnston25 Avatar answered Sep 18 '22 13:09

ahjohnston25