Format Selection: Ctrl + K, Ctrl + F

The format of code is important. For example, poorly indented code breaks the flow we expect when reading; this makes it harder to follow and slower to understand. So next time you write or read code needing formatted, simply select it and use this Visual Studio shortcut.

format selection gif