There are multiple ways to setup it up, it appears, which makes it confusing. While other answers are not wrong, also try opening settings (File > Preferences > Settings), type "formatter" into the search and find "Editor: Default Formatter" setting. Is it set to use Prettier?