Frage

One thing I do like about visual studio is the autoindent feature in the code behind where you can essentially close off the bracket of a loop or method or class and it'll automatically indent everything to make it consistent looking.

Is that possible to do in the markup as well?

War es hilfreich?

Lösung

Yes.

  • Press Ctrl+E, D
  • Click Format Document in the HTML Source Editing toolbar
  • Click Edit, Advanced, Format Document
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top