add a file extension prettiier vscode code example
Example 1: prettier on save vscode
{
"folders": [],
"settings": {},
"editor.formatOnSave": true,
}
Example 2: vscode format code
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
{
"folders": [],
"settings": {},
"editor.formatOnSave": true,
}
On Windows Shift + Alt + F.
On Mac Shift + Option + F.