How to auto indenting in visual studio?

Simply press

Ctrl + K
Ctrl + D

Comments