I was thinking you may be reporting bug #5538 , which the formatting isn't immediately applied when a snippet like the "switch" snippet is used, but manually invoking a … Contribute to prettier/prettier-vscode development by creating an account on GitHub. (Actually we could but that would feel like a hack) What you can do however is create a .prettierrc file with the … 这样引入 Prettier 不会影响原有的设置. Whether or not to indent the code inside