vscode prettier commands code example
Example 1: format code in vs code
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
Example 2: prettier on save vscode
{
"folders": [],
"settings": {},
"editor.formatOnSave": true,
}
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
{
"folders": [],
"settings": {},
"editor.formatOnSave": true,
}