vscode用Prettier - Code formatter自动格式化 白之 2023-09-25 297 阅读1分钟 1.conmand+, 出来setting 搜索format on save ,然后打勾 2.随便找个文件,然后右键选择图中所示 3.如果没有default,就选择设置下