简体   繁体   中英

Is it possible to get Visual Studio 2010 Express Web Developer to autoindent it's markup?

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?

Yes.

  • Press Ctrl + E , D
  • Click Format Document in the HTML Source Editing toolbar
  • Click Edit , Advanced , Format Document

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM