Hi, I'm Jason Nguyen. I author this blog, develop software, and am a Microsoft Certified Professional.

Visual Studio Shortcut: Format Selection

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.

FormatSelection.gif

Visual Studio Shortcut: Format Document

Visual Studio Shortcut: Collapse to Definitions