format code in visual studio mac code example Example: visual studio code formatting settings mac shift + option + f (for macOS )