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