shortcut to use prettier visual studio code example
Example 1: format code in vs code
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
Example 2: enable prettier vscode
ext install esbenp.prettier-vscode
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
ext install esbenp.prettier-vscode