Format Code on Visual Studio Code

The code formatting is available in Visual Studio Code through the following shortcuts: Alternatively, you can find the shortcut, as well as other shortcuts, through the submenu View / Command Palette, also provided in the editor with Ctrl +Shift+ P (or Command + Shift + P on Mac), and then searching for format document. For unsaved snippets Unformat ‘Show the pics‘ Source: https://stackoverflow.com/a/29973358