首先进入 File ----> Preferences —> Setting 打开后右上角 点击后,出现 将 “editor.formatOnSave”: true, 改为false 这样就可以取消自动格式化啦