extension prettier - code formatter cannot format code example
Example: prettier not working vscode
-> open visual studio code
-> go to view
-> open command palette
-> search for "format document with"
-> set prettier to default
-> open visual studio code
-> go to view
-> open command palette
-> search for "format document with"
-> set prettier to default