vscode prettify code example
Example 1: prettier config vscode
npm install --save-dev --save-exact prettier
Example 2: vscode format code
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
Example 3: format in visual studio code
Ctrl+K Ctrl+F