Is there an option to align the aspx source page tags to the correct format

Is there an option to allow the aspx page tags to be aligned correctly and it should avoid blank lines in the original page. I am spending my time aligning tags.

+2


a source to share


1 answer


In visual studio, you can use the automatic formatting option. It works in aspx pages as well as in code.

Use Ctrl+ kand then Ctrl+ d. Also available from the menus: Edit β†’ Advanced β†’ Document Format.



There is an additional command that will allow you to format the current selection:

Use Ctrl+ kand then Ctrl+ f. Also available from the menus: Edit β†’ Advanced β†’ Format selection.

+3


a source







All Articles