I'm trying to enable the Prettier extension to format JSX code when document is saved in VS Code, but after installing the extension does not work for me. I've tried to fix using the ways listed below:

* Restarting VS Code (force quitting)
* Reinstalling Prettier extension
* Toggling the extension on and off inside settings
* Enabling "format on save" in the Prettier settings
* Toggling "React Snippets Experimental" in prettier settings